Merge branch 'maint/misc-fixes' into 'develop'
Maint/misc fixes See merge request webvokestudio/athenahr!9
This commit is contained in:
commit
f8e0ef5cfa
0
.editorconfig
Executable file → Normal file
0
.editorconfig
Executable file → Normal file
4
.env.example
Executable file → Normal file
4
.env.example
Executable file → Normal file
@ -58,8 +58,10 @@ NONPROD_FORCE_SECURE=false
|
||||
LOG_CHANNEL=daily
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
|
||||
# Using docker? You don't need to set these, they're managed in docker-compose.yml.
|
||||
DB_HOST=localhost
|
||||
DB_DATABASE=laravel
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
0
.gitattributes
vendored
Executable file → Normal file
0
.gitattributes
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
0
.styleci.yml
Executable file → Normal file
0
.styleci.yml
Executable file → Normal file
0
CODEOWNERS
Executable file → Normal file
0
CODEOWNERS
Executable file → Normal file
0
CODE_OF_CONDUCT.md
Executable file → Normal file
0
CODE_OF_CONDUCT.md
Executable file → Normal file
0
CONTRIBUTING.md
Executable file → Normal file
0
CONTRIBUTING.md
Executable file → Normal file
0
Dockerfile
Executable file → Normal file
0
Dockerfile
Executable file → Normal file
173
SECURITY.md
Executable file → Normal file
173
SECURITY.md
Executable file → Normal file
@ -4,20 +4,25 @@
|
||||
|
||||
The following versions are currently supported:
|
||||
|
||||
| Version | Supported |
|
||||
|---------|--------------------|
|
||||
| 0.1.x | :x: |
|
||||
| 0.5.x | :x: |
|
||||
| 0.6.x | :x: |
|
||||
| 0.7.0 | :x: |
|
||||
| 0.7.1 | :x: |
|
||||
| 0.8.0 | :x: |
|
||||
| 0.8.1 | :x: |
|
||||
| 0.8.2 | :white_check_mark: |
|
||||
| 0.9.0 | :white_check_mark: |
|
||||
| Version | Supported |
|
||||
|--------------|--------------------|
|
||||
| 0.1.x | :x: |
|
||||
| 0.5.x | :x: |
|
||||
| 0.6.x | :x: |
|
||||
| 0.7.0 | :x: |
|
||||
| 0.7.1 | :x: |
|
||||
| 0.8.0 | :x: |
|
||||
| 0.8.1 | :x: |
|
||||
| 0.8.2 | :x: |
|
||||
| 0.9.0 | :x: |
|
||||
| 1.0.0 onward | :white_check_mark: |
|
||||
|
||||
Please note that all current versions are pre-release versions. This means that, until version `1.0.0` is reached, anything may change or break at any time, and releases are made often.
|
||||
However, all commits releases are thoroughly tested before they are pushed out, ensuring that the `main` branch is never broken.
|
||||
|
||||
All versions below 1.0.0 are considered pre-release versions and therefore are not supported; this means they won't receive any security updates, nor will they receive regular maintenance updates.
|
||||
|
||||
Versions above v.1.0.0 are currently supported and will receive security and maintenance updates for at least 6 months from their release date. This table will be updated when releases are no longer supported. Additionally, some versions will be marked as LTS, which means they will continue receiving support for at least two years.
|
||||
|
||||
Long story short, if you're using something below 1.0.0, you're own your own!
|
||||
|
||||
## Supported PHP Versions
|
||||
|
||||
@ -25,15 +30,17 @@ However, all commits releases are thoroughly tested before they are pushed out,
|
||||
|---------|--------------------|
|
||||
| 5.x | :x: |
|
||||
| 7.x | :x: |
|
||||
| 8.0 | :white_check_mark: |
|
||||
| 8.0 | :x: |
|
||||
| 8.1 | :white_check_mark: |
|
||||
|
||||
At the moment, only PHP versions 8.1 and above are officially supported.
|
||||
|
||||
## Supported Operating Systems
|
||||
|
||||
| Name | Supported |
|
||||
| ------- | ------------------ |
|
||||
| Windows NT | :x: |
|
||||
| MacOS | Docker only |
|
||||
| ------- |--------------------|
|
||||
| Windows NT | Docker Only |
|
||||
| MacOS | Docker Only |
|
||||
| Ubuntu 22.10 | :white_check_mark: |
|
||||
| Other Linux distros | :white_check_mark: |
|
||||
|
||||
@ -48,17 +55,129 @@ Use this public PGP key to encrypt your message:
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mDMEYigDUBYJKwYBBAHaRw8BAQdAPSmEMgZc23ouaPwdW7IF5Ej5H7VUGR6Um8N4
|
||||
SAW92i60I01pZ3VlbCBOb2d1ZWlyYSA8bWVAbm9ndWVpcmEuY29kZXM+iJYEExYI
|
||||
AD4WIQTmfmRZELec2wocoaqNKugPeLO16wUCYigDUAIbAwUJAMo64AULCQgHAgYV
|
||||
CgkICwIEFgIDAQIeAQIXgAAKCRCNKugPeLO169kWAQCwd4E0WBB98/1IdMrFAFPZ
|
||||
7zGrIeVGdUD4zg9E8ssLwgEAwYIhnZI9bDaMUit2Fat7PEiqYIiNd1vKev3vO2wm
|
||||
Iw+4OARiKANQEgorBgEEAZdVAQUBAQdAMqfyInidoScxFQAXOdrmpEJW0auO7D+4
|
||||
UnCZr87CugUDAQgHiH4EGBYIACYWIQTmfmRZELec2wocoaqNKugPeLO16wUCYigD
|
||||
UAIbDAUJAMo64AAKCRCNKugPeLO165kGAP4if46/uChEaEwtlQO5fPbMwLmnAKyw
|
||||
K2ImmP3ksxhh1wEA8R0fD0etl5VfcG2lp7h1e/VckbVaQzYwpyETHku39gM=
|
||||
=9azb
|
||||
mQINBGTa3HUBEADPF0ebCIBogj32QxgHCU8NJjuGa+lVgR367+bDP7uf+LeMMsVY
|
||||
v/a478w+tOr1UbO8zIcskiJQeNZenwgzYfpOlxyHyhXW5Gr7XG4rPSzbHQ/YmWMQ
|
||||
39v8/o1hekS7HuAKzOvtcEA2RVUHiREbQdEdOzfRSmVOfSJHWa2+WU1YL8eGOz6Q
|
||||
6h21aUbBhcSbbv5h0XBbTjRFAg3neYpsrI/YXFf+CtYT/014BLdfv5nZ9ED2/WiM
|
||||
CDA7rPPed6jiabNvpQ2RRp3I9xHqqVDRzTqQC3kTucbYxiLwQsl1A0/QU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OVTl7zRXakVqbWFOLHnE3QHqW/b3NTwQkJe
|
||||
ZcTHE7wvxid5R2qzETx3Hl3reajaaLTlYqTLkS1PsJY6hOm9tRUW03Dp/lMGxhuA
|
||||
c4XN7NTsLve0+VoOqyARFutO9XHRzhAg+0iO/ATaUmkPoNEzYxSwcHmPffb49kVO
|
||||
nfoz71l6LDLl9sABrU9GkrKpQKt1HbomJ0uHGqYlXIRqrH8qqv2Sj2XfkoVgeXxC
|
||||
jQoK3Vg/rCkiM7YUMADks66rTD/GezWOv2pyBvoD31vITKMd8A89g2SVdPo/JpG6
|
||||
O4biekGbnoPZsF+39AT1mbKFDhK5vOHoiSNmdDQRHwq3mBTpzywm4tC+kSN9owNl
|
||||
cPqY7wsYVU7eS7WEIl5jnQOkGYQIEDtqoJUrUf0/n0frKs7o084TuP8ednzbpDIC
|
||||
K4WgPkxodgUOYJDiXio94TRgBN8H0uW6ew3allO9R5iB/5WKfUbx6BfqLKNtSdar
|
||||
NyOygnYabChA7CP4t77KPsOWDL+OcmHOK//QeID/hbqxOfBnkARq1zuLex6bS6kO
|
||||
/k925kCtzpT9dRpwmvccf9Hag36LItLzInt526MG
|
||||
=eyRs
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
|
||||
You may use [this tool](https://pgptool.org/) to encrypt and sign your message.
|
||||
|
||||
|
||||
## Using the Issue Tracker
|
||||
|
||||
This GitLab system is intended for internal use only, therefore, only authorized users may sign up and sign in via the currently configured idP integration. However, if you want to contribute to the project or submit a bug report, please feel free to request an account!
|
||||
|
||||
Account requests are granted regularly, though requests will be expedited/prioritised for users with their own email domain and users with an established GitLab/GitHub account.
|
||||
|
||||
To request an account, please follow the format below and send it to ``security@webvokestudio.pt``:
|
||||
|
||||
Subject: Future Gamers GitLab Account Request - [Your Name]
|
||||
Body:
|
||||
|
||||
Reason: I want an account because A and B
|
||||
GitLab/GitHub: https://gitlab.com/YourAccount OR https://github.com/YourAccount
|
||||
|
0
app/Absence.php
Executable file → Normal file
0
app/Absence.php
Executable file → Normal file
0
app/Application.php
Executable file → Normal file
0
app/Application.php
Executable file → Normal file
0
app/Appointment.php
Executable file → Normal file
0
app/Appointment.php
Executable file → Normal file
0
app/Ban.php
Executable file → Normal file
0
app/Ban.php
Executable file → Normal file
0
app/Comment.php
Executable file → Normal file
0
app/Comment.php
Executable file → Normal file
0
app/Console/Commands/CountVotes.php
Executable file → Normal file
0
app/Console/Commands/CountVotes.php
Executable file → Normal file
0
app/Console/Commands/CreateUser.php
Executable file → Normal file
0
app/Console/Commands/CreateUser.php
Executable file → Normal file
0
app/Console/Commands/Install.php
Executable file → Normal file
0
app/Console/Commands/Install.php
Executable file → Normal file
0
app/Console/Commands/MakeFile.php
Executable file → Normal file
0
app/Console/Commands/MakeFile.php
Executable file → Normal file
0
app/Console/Commands/SetEnv.php
Executable file → Normal file
0
app/Console/Commands/SetEnv.php
Executable file → Normal file
0
app/Console/Kernel.php
Executable file → Normal file
0
app/Console/Kernel.php
Executable file → Normal file
0
app/CustomFacades/IP.php
Executable file → Normal file
0
app/CustomFacades/IP.php
Executable file → Normal file
0
app/Enums/Overrides.php
Executable file → Normal file
0
app/Enums/Overrides.php
Executable file → Normal file
0
app/Events/ApplicationApprovedEvent.php
Executable file → Normal file
0
app/Events/ApplicationApprovedEvent.php
Executable file → Normal file
0
app/Events/ApplicationDeniedEvent.php
Executable file → Normal file
0
app/Events/ApplicationDeniedEvent.php
Executable file → Normal file
0
app/Events/NewApplicationEvent.php
Executable file → Normal file
0
app/Events/NewApplicationEvent.php
Executable file → Normal file
0
app/Events/UserBannedEvent.php
Executable file → Normal file
0
app/Events/UserBannedEvent.php
Executable file → Normal file
0
app/Exceptions/AbsenceNotActionableException.php
Executable file → Normal file
0
app/Exceptions/AbsenceNotActionableException.php
Executable file → Normal file
0
app/Exceptions/AccountNotLinkedException.php
Executable file → Normal file
0
app/Exceptions/AccountNotLinkedException.php
Executable file → Normal file
0
app/Exceptions/ApplicationNotFoundException.php
Executable file → Normal file
0
app/Exceptions/ApplicationNotFoundException.php
Executable file → Normal file
0
app/Exceptions/DiscordAccountRequiredException.php
Executable file → Normal file
0
app/Exceptions/DiscordAccountRequiredException.php
Executable file → Normal file
0
app/Exceptions/EmptyFormException.php
Executable file → Normal file
0
app/Exceptions/EmptyFormException.php
Executable file → Normal file
0
app/Exceptions/EmptyOptionsException.php
Executable file → Normal file
0
app/Exceptions/EmptyOptionsException.php
Executable file → Normal file
0
app/Exceptions/FailedCaptchaException.php
Executable file → Normal file
0
app/Exceptions/FailedCaptchaException.php
Executable file → Normal file
0
app/Exceptions/FileUploadException.php
Executable file → Normal file
0
app/Exceptions/FileUploadException.php
Executable file → Normal file
0
app/Exceptions/FormHasConstraintsException.php
Executable file → Normal file
0
app/Exceptions/FormHasConstraintsException.php
Executable file → Normal file
0
app/Exceptions/Handler.php
Executable file → Normal file
0
app/Exceptions/Handler.php
Executable file → Normal file
0
app/Exceptions/IncompatibleAgeException.php
Executable file → Normal file
0
app/Exceptions/IncompatibleAgeException.php
Executable file → Normal file
0
app/Exceptions/IncompleteApplicationException.php
Executable file → Normal file
0
app/Exceptions/IncompleteApplicationException.php
Executable file → Normal file
0
app/Exceptions/InvalidAgeException.php
Executable file → Normal file
0
app/Exceptions/InvalidAgeException.php
Executable file → Normal file
0
app/Exceptions/InvalidAppointmentException.php
Executable file → Normal file
0
app/Exceptions/InvalidAppointmentException.php
Executable file → Normal file
0
app/Exceptions/InvalidAppointmentStatusException.php
Executable file → Normal file
0
app/Exceptions/InvalidAppointmentStatusException.php
Executable file → Normal file
0
app/Exceptions/InvalidGamePreferenceException.php
Executable file → Normal file
0
app/Exceptions/InvalidGamePreferenceException.php
Executable file → Normal file
0
app/Exceptions/InvalidInviteException.php
Executable file → Normal file
0
app/Exceptions/InvalidInviteException.php
Executable file → Normal file
0
app/Exceptions/OptionCategoryNotFoundException.php
Executable file → Normal file
0
app/Exceptions/OptionCategoryNotFoundException.php
Executable file → Normal file
0
app/Exceptions/OptionNotFoundException.php
Executable file → Normal file
0
app/Exceptions/OptionNotFoundException.php
Executable file → Normal file
0
app/Exceptions/ProfileAlreadyExistsException.php
Executable file → Normal file
0
app/Exceptions/ProfileAlreadyExistsException.php
Executable file → Normal file
0
app/Exceptions/ProfileCreationFailedException.php
Executable file → Normal file
0
app/Exceptions/ProfileCreationFailedException.php
Executable file → Normal file
0
app/Exceptions/ProfileNotFoundException.php
Executable file → Normal file
0
app/Exceptions/ProfileNotFoundException.php
Executable file → Normal file
0
app/Exceptions/PublicTeamInviteException.php
Executable file → Normal file
0
app/Exceptions/PublicTeamInviteException.php
Executable file → Normal file
0
app/Exceptions/UnavailableApplicationException.php
Executable file → Normal file
0
app/Exceptions/UnavailableApplicationException.php
Executable file → Normal file
0
app/Exceptions/UserAlreadyInvitedException.php
Executable file → Normal file
0
app/Exceptions/UserAlreadyInvitedException.php
Executable file → Normal file
0
app/Exceptions/VacancyNotFoundException.php
Executable file → Normal file
0
app/Exceptions/VacancyNotFoundException.php
Executable file → Normal file
0
app/Facades/ContextAwareValidation.php
Executable file → Normal file
0
app/Facades/ContextAwareValidation.php
Executable file → Normal file
0
app/Facades/DigitalStorageHelper.php
Executable file → Normal file
0
app/Facades/DigitalStorageHelper.php
Executable file → Normal file
0
app/Facades/Discord.php
Executable file → Normal file
0
app/Facades/Discord.php
Executable file → Normal file
0
app/Facades/IP.php
Executable file → Normal file
0
app/Facades/IP.php
Executable file → Normal file
0
app/Facades/JSON.php
Executable file → Normal file
0
app/Facades/JSON.php
Executable file → Normal file
0
app/Facades/Options.php
Executable file → Normal file
0
app/Facades/Options.php
Executable file → Normal file
0
app/Facades/UUID.php
Executable file → Normal file
0
app/Facades/UUID.php
Executable file → Normal file
0
app/Form.php
Executable file → Normal file
0
app/Form.php
Executable file → Normal file
0
app/Helpers/ContextAwareValidator.php
Executable file → Normal file
0
app/Helpers/ContextAwareValidator.php
Executable file → Normal file
0
app/Helpers/DigitalStorageHelper.php
Executable file → Normal file
0
app/Helpers/DigitalStorageHelper.php
Executable file → Normal file
0
app/Helpers/Discord.php
Executable file → Normal file
0
app/Helpers/Discord.php
Executable file → Normal file
0
app/Helpers/JSON.php
Executable file → Normal file
0
app/Helpers/JSON.php
Executable file → Normal file
0
app/Helpers/Options.php
Executable file → Normal file
0
app/Helpers/Options.php
Executable file → Normal file
0
app/Http/Controllers/AbsenceController.php
Executable file → Normal file
0
app/Http/Controllers/AbsenceController.php
Executable file → Normal file
0
app/Http/Controllers/ApplicationController.php
Executable file → Normal file
0
app/Http/Controllers/ApplicationController.php
Executable file → Normal file
0
app/Http/Controllers/AppointmentController.php
Executable file → Normal file
0
app/Http/Controllers/AppointmentController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/ConfirmPasswordController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/ConfirmPasswordController.php
Executable file → Normal file
10
app/Http/Controllers/Auth/DiscordController.php
Executable file → Normal file
10
app/Http/Controllers/Auth/DiscordController.php
Executable file → Normal file
@ -23,6 +23,8 @@ namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\User;
|
||||
use GuzzleHttp\Exception\ClientException;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Laravel\Socialite\Facades\Socialite;
|
||||
@ -37,8 +39,13 @@ class DiscordController extends Controller
|
||||
->redirect();
|
||||
}
|
||||
|
||||
public function discordCallback()
|
||||
public function discordCallback(Request $request)
|
||||
{
|
||||
if($request->has('error'))
|
||||
{
|
||||
abort(401, __("Access Denied: To sign in with your Discord account or apply for positions requiring it, please ensure you authorize our application (:applicationName). We request permissions to manage your account, maintain it, and handle your permissions within our community servers. Feel free to read our Privacy Policy if you have any concerns.", ['applicationName' => config('app.name')]));
|
||||
}
|
||||
|
||||
try {
|
||||
$discordUser = Socialite::driver('discord')->user();
|
||||
} catch (InvalidStateException $stateException) {
|
||||
@ -49,6 +56,7 @@ class DiscordController extends Controller
|
||||
]);
|
||||
|
||||
return redirect(route('discordRedirect'));
|
||||
|
||||
}
|
||||
|
||||
$appUser = User::where('email', $discordUser->getEmail())->first();
|
||||
|
0
app/Http/Controllers/Auth/ForgotPasswordController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/ForgotPasswordController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/LoginController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/LoginController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/RegisterController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/RegisterController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/ResetPasswordController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/ResetPasswordController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/TwofaController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/TwofaController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/VerificationController.php
Executable file → Normal file
0
app/Http/Controllers/Auth/VerificationController.php
Executable file → Normal file
0
app/Http/Controllers/CommentController.php
Executable file → Normal file
0
app/Http/Controllers/CommentController.php
Executable file → Normal file
0
app/Http/Controllers/Controller.php
Executable file → Normal file
0
app/Http/Controllers/Controller.php
Executable file → Normal file
0
app/Http/Controllers/DashboardController.php
Executable file → Normal file
0
app/Http/Controllers/DashboardController.php
Executable file → Normal file
0
app/Http/Controllers/DevToolsController.php
Executable file → Normal file
0
app/Http/Controllers/DevToolsController.php
Executable file → Normal file
0
app/Http/Controllers/FormController.php
Executable file → Normal file
0
app/Http/Controllers/FormController.php
Executable file → Normal file
0
app/Http/Controllers/HomeController.php
Executable file → Normal file
0
app/Http/Controllers/HomeController.php
Executable file → Normal file
0
app/Http/Controllers/OptionsController.php
Executable file → Normal file
0
app/Http/Controllers/OptionsController.php
Executable file → Normal file
0
app/Http/Controllers/ProfileController.php
Executable file → Normal file
0
app/Http/Controllers/ProfileController.php
Executable file → Normal file
0
app/Http/Controllers/SecuritySettingsController.php
Executable file → Normal file
0
app/Http/Controllers/SecuritySettingsController.php
Executable file → Normal file
0
app/Http/Controllers/TeamController.php
Executable file → Normal file
0
app/Http/Controllers/TeamController.php
Executable file → Normal file
0
app/Http/Controllers/TeamFileController.php
Executable file → Normal file
0
app/Http/Controllers/TeamFileController.php
Executable file → Normal file
0
app/Http/Controllers/UserController.php
Executable file → Normal file
0
app/Http/Controllers/UserController.php
Executable file → Normal file
0
app/Http/Controllers/VacancyController.php
Executable file → Normal file
0
app/Http/Controllers/VacancyController.php
Executable file → Normal file
0
app/Http/Controllers/VoteController.php
Executable file → Normal file
0
app/Http/Controllers/VoteController.php
Executable file → Normal file
0
app/Http/Kernel.php
Executable file → Normal file
0
app/Http/Kernel.php
Executable file → Normal file
0
app/Http/Middleware/ApplicationEligibility.php
Executable file → Normal file
0
app/Http/Middleware/ApplicationEligibility.php
Executable file → Normal file
0
app/Http/Middleware/Authenticate.php
Executable file → Normal file
0
app/Http/Middleware/Authenticate.php
Executable file → Normal file
0
app/Http/Middleware/Bancheck.php
Executable file → Normal file
0
app/Http/Middleware/Bancheck.php
Executable file → Normal file
0
app/Http/Middleware/CheckForMaintenanceMode.php
Executable file → Normal file
0
app/Http/Middleware/CheckForMaintenanceMode.php
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user