Compare commits

...

26 Commits

Author SHA1 Message Date
4e4a1c659f chore(deps): update AdminLTE 2025-03-10 11:23:28 +00:00
Miguel Nogueira
8e0cb453ba Merge branch 'feat/docker-tweaks' into 'develop'
Docker and branding updates

See merge request webvokestudio/athenahr!11
2024-06-26 16:17:10 +00:00
a5db89d18c
chore(brand): branding updates 2024-06-26 17:06:02 +01:00
7ce6af5083
chore(brand): remove more outdated brand assets 2024-06-24 12:05:37 +01:00
05453105ac
chore(brand): add new brand auth banner
Added new banner, needs to be readjusted for all screens and sizes
2024-06-24 12:01:28 +01:00
297d9392d4
chore(brand): remove outdated logo files 2024-06-24 12:00:22 +01:00
cbacd5c0ff
chore(brand): updated outdated imagery
Updated the favicon package for the application, replacing old logos with the new AthenaHR logo
2024-06-24 01:22:58 +01:00
9d6b689916
chore(deps): add sitemap package 2024-06-24 01:11:42 +01:00
7e59e62338
refactor: remove outdated sitemap.xml
Sitemap still had references to "Games Club", the defunct org AthenaHR was customized for.
2024-06-24 01:10:34 +01:00
2dd6c2ca8e
chore(deps): update composer dependencies 2024-04-08 23:40:08 +01:00
aee7e505bc
feat(docker): optimize copy command to modify perms
The previous chown command is no longer needed, resulting in significant time savings.
2024-04-08 03:03:30 +01:00
f8e0ef5cfa Merge branch 'maint/misc-fixes' into 'develop'
Maint/misc fixes

See merge request webvokestudio/athenahr!9
2023-08-21 05:19:40 +00:00
c5721279a0
chore(docs): update composer, security policy 2023-08-20 03:46:58 +01:00
517ee13803
fix(strings): correct typo 2023-08-16 01:16:58 +01:00
f1f19d842a
fix(structure): update misspelled parameter name 2023-08-16 01:15:49 +01:00
895400c425
fix(strings): string copy changes 2023-08-16 01:12:20 +01:00
7dca30b57d
fix(auth): check for discord callback error status, update string copy 2023-08-16 01:04:56 +01:00
3fd397e858
chore(docs): update example env file 2023-08-15 19:29:49 +01:00
d62272e6f2 Merge branch 'feat/dockerize' into 'develop'
Initial docker configuration
2023-08-15 17:42:40 +00:00
ab7ea8bc18
chore(docs) update README 2023-08-15 06:25:05 +01:00
432db15386
chore(docker) update Dockerfile 2023-08-15 06:13:27 +01:00
bced142657
refactor(docker): add laravel perms
Signed-off-by: miguel456 <me@nogueira.codes>
2023-08-07 23:08:45 +01:00
0121d7ae77
refactor(docker): preserve storage directory structure in dockerignore
Signed-off-by: miguel456 <me@nogueira.codes>
2023-08-07 22:06:16 +01:00
c48db3f435
feat(docker): update docker, nginx config
Signed-off-by: miguel456 <me@nogueira.codes>
2023-08-07 21:56:09 +01:00
9dc82708dd
feat(docker): add docker-compose.yml, Dockerfile
Signed-off-by: miguel456 <me@nogueira.codes>
2023-08-05 02:56:54 +01:00
9f6cebc1a2
chore(deps): update dependencies
Signed-off-by: miguel456 <me@nogueira.codes>
2023-08-04 21:30:00 +01:00
770 changed files with 2298 additions and 1252 deletions

8
.dockerignore Normal file
View File

@ -0,0 +1,8 @@
# app is configured through docker-compose
.env
# deps are installed during build time
node_modules
vendor
# Let the framework create its own cache. we don't need your cache if you rebuild the image
/storage/*.*
!/storage/**/

0
.editorconfig Executable file → Normal file
View File

8
.env.example Executable file → Normal file
View File

@ -1,8 +1,8 @@
APP_NAME=Laravel APP_NAME=AthenaHR
APP_DESCRIPTION="AthenaHR - Your one-stop-shop for your community recruitment needs" APP_DESCRIPTION="AthenaHR - Your one-stop-shop for your community recruitment needs"
APP_ENV=local APP_ENV=local
APP_KEY= APP_KEY=
APP_DEBUG=true APP_DEBUG=false
APP_URL=http://localhost APP_URL=http://localhost
# Please note: Use relative URLs. Absolute URLs will not work. # Please note: Use relative URLs. Absolute URLs will not work.
@ -58,8 +58,10 @@ NONPROD_FORCE_SECURE=false
LOG_CHANNEL=daily LOG_CHANNEL=daily
DB_CONNECTION=mysql DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306 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_DATABASE=laravel
DB_USERNAME=root DB_USERNAME=root
DB_PASSWORD= DB_PASSWORD=

0
.gitattributes vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/bug_report.md vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/feature_request.md vendored Executable file → Normal file
View File

0
.gitignore vendored Executable file → Normal file
View File

0
.styleci.yml Executable file → Normal file
View File

0
CODEOWNERS Executable file → Normal file
View File

0
CODE_OF_CONDUCT.md Executable file → Normal file
View File

0
CONTRIBUTING.md Executable file → Normal file
View File

33
Dockerfile Normal file
View File

@ -0,0 +1,33 @@
FROM php:8.1-fpm
RUN apt-get update && apt-get install -y \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
libzip-dev \
unzip \
libcurl4-openssl-dev \
libonig-dev \
imagemagick \
libmagickwand-dev \
&& pecl install imagick \
&& docker-php-ext-enable imagick
RUN docker-php-ext-install gd pdo pdo_mysql zip curl mbstring xml
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs
WORKDIR /var/www/html
COPY --chown=www-data:www-data . .
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update && composer install
RUN npm ci
RUN chmod -R 755 /var/www/html/storage
RUN php artisan storage:link
EXPOSE 9000
CMD ["php-fpm"]

0
LICENSE Executable file → Normal file
View File

1
README.md Executable file → Normal file
View File

@ -18,6 +18,7 @@ Have you ever gotten tired of managing your community's staff member application
- Controllable permissions - Every user has permissions! Control who has access to what (You can skip the application process and add staff members directly here). - Controllable permissions - Every user has permissions! Control who has access to what (You can skip the application process and add staff members directly here).
- Account suspension system - Having trouble with pesky spammers? Suspend them! This will keep them from signing up or signing in until you lift their suspension. - Account suspension system - Having trouble with pesky spammers? Suspend them! This will keep them from signing up or signing in until you lift their suspension.
- Notifications: Notifies slack and email primarily (Slack notifications currently broken) - Notifications: Notifies slack and email primarily (Slack notifications currently broken)
- Complete API - Integrate your app/service with AthenaHR and automate processes (WIP)
And many more features! And many more features!

173
SECURITY.md Executable file → Normal file
View File

@ -4,20 +4,25 @@
The following versions are currently supported: The following versions are currently supported:
| Version | Supported | | Version | Supported |
|---------|--------------------| |--------------|--------------------|
| 0.1.x | :x: | | 0.1.x | :x: |
| 0.5.x | :x: | | 0.5.x | :x: |
| 0.6.x | :x: | | 0.6.x | :x: |
| 0.7.0 | :x: | | 0.7.0 | :x: |
| 0.7.1 | :x: | | 0.7.1 | :x: |
| 0.8.0 | :x: | | 0.8.0 | :x: |
| 0.8.1 | :x: | | 0.8.1 | :x: |
| 0.8.2 | :white_check_mark: | | 0.8.2 | :x: |
| 0.9.0 | :white_check_mark: | | 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 ## Supported PHP Versions
@ -25,15 +30,17 @@ However, all commits releases are thoroughly tested before they are pushed out,
|---------|--------------------| |---------|--------------------|
| 5.x | :x: | | 5.x | :x: |
| 7.x | :x: | | 7.x | :x: |
| 8.0 | :white_check_mark: | | 8.0 | :x: |
| 8.1 | :white_check_mark: | | 8.1 | :white_check_mark: |
At the moment, only PHP versions 8.1 and above are officially supported.
## Supported Operating Systems ## Supported Operating Systems
| Name | Supported | | Name | Supported |
| ------- | ------------------ | | ------- |--------------------|
| Windows NT | :x: | | Windows NT | Docker Only |
| MacOS | Docker only | | MacOS | Docker Only |
| Ubuntu 22.10 | :white_check_mark: | | Ubuntu 22.10 | :white_check_mark: |
| Other Linux distros | :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----- -----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEYigDUBYJKwYBBAHaRw8BAQdAPSmEMgZc23ouaPwdW7IF5Ej5H7VUGR6Um8N4 mQINBGTa3HUBEADPF0ebCIBogj32QxgHCU8NJjuGa+lVgR367+bDP7uf+LeMMsVY
SAW92i60I01pZ3VlbCBOb2d1ZWlyYSA8bWVAbm9ndWVpcmEuY29kZXM+iJYEExYI v/a478w+tOr1UbO8zIcskiJQeNZenwgzYfpOlxyHyhXW5Gr7XG4rPSzbHQ/YmWMQ
AD4WIQTmfmRZELec2wocoaqNKugPeLO16wUCYigDUAIbAwUJAMo64AULCQgHAgYV 39v8/o1hekS7HuAKzOvtcEA2RVUHiREbQdEdOzfRSmVOfSJHWa2+WU1YL8eGOz6Q
CgkICwIEFgIDAQIeAQIXgAAKCRCNKugPeLO169kWAQCwd4E0WBB98/1IdMrFAFPZ 6h21aUbBhcSbbv5h0XBbTjRFAg3neYpsrI/YXFf+CtYT/014BLdfv5nZ9ED2/WiM
7zGrIeVGdUD4zg9E8ssLwgEAwYIhnZI9bDaMUit2Fat7PEiqYIiNd1vKev3vO2wm CDA7rPPed6jiabNvpQ2RRp3I9xHqqVDRzTqQC3kTucbYxiLwQsl1A0/QUV+PEaJY
Iw+4OARiKANQEgorBgEEAZdVAQUBAQdAMqfyInidoScxFQAXOdrmpEJW0auO7D+4 fw1SVcMtvecCK2y+7dUzfOSUbpVY7q9NB/XvZX7UpsfI7itmfWbW5S7kthGGLVvg
UnCZr87CugUDAQgHiH4EGBYIACYWIQTmfmRZELec2wocoaqNKugPeLO16wUCYigD jrNggsYx3G1y6ZfIK/jS4rtCFMdl61tAIKrrBHhWcG2kPbi+8k52OpzUzQXxgdYv
UAIbDAUJAMo64AAKCRCNKugPeLO165kGAP4if46/uChEaEwtlQO5fPbMwLmnAKyw PdHX696/e1sTMhryvpot3DpPBnZU15qxt7cigxQC78db8mWcv9OBdRkSN97M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PUBLIC KEY BLOCK-----
You may use [this tool](https://pgptool.org/) to encrypt and sign your message. 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
View File

0
app/Application.php Executable file → Normal file
View File

0
app/Appointment.php Executable file → Normal file
View File

0
app/Ban.php Executable file → Normal file
View File

0
app/Comment.php Executable file → Normal file
View File

0
app/Console/Commands/CountVotes.php Executable file → Normal file
View File

0
app/Console/Commands/CreateUser.php Executable file → Normal file
View File

0
app/Console/Commands/Install.php Executable file → Normal file
View File

0
app/Console/Commands/MakeFile.php Executable file → Normal file
View File

0
app/Console/Commands/SetEnv.php Executable file → Normal file
View File

0
app/Console/Kernel.php Executable file → Normal file
View File

0
app/CustomFacades/IP.php Executable file → Normal file
View File

0
app/Enums/Overrides.php Executable file → Normal file
View File

0
app/Events/ApplicationApprovedEvent.php Executable file → Normal file
View File

0
app/Events/ApplicationDeniedEvent.php Executable file → Normal file
View File

0
app/Events/NewApplicationEvent.php Executable file → Normal file
View File

0
app/Events/UserBannedEvent.php Executable file → Normal file
View File

0
app/Exceptions/AbsenceNotActionableException.php Executable file → Normal file
View File

0
app/Exceptions/AccountNotLinkedException.php Executable file → Normal file
View File

0
app/Exceptions/ApplicationNotFoundException.php Executable file → Normal file
View File

0
app/Exceptions/DiscordAccountRequiredException.php Executable file → Normal file
View File

0
app/Exceptions/EmptyFormException.php Executable file → Normal file
View File

0
app/Exceptions/EmptyOptionsException.php Executable file → Normal file
View File

0
app/Exceptions/FailedCaptchaException.php Executable file → Normal file
View File

0
app/Exceptions/FileUploadException.php Executable file → Normal file
View File

0
app/Exceptions/FormHasConstraintsException.php Executable file → Normal file
View File

0
app/Exceptions/Handler.php Executable file → Normal file
View File

0
app/Exceptions/IncompatibleAgeException.php Executable file → Normal file
View File

0
app/Exceptions/IncompleteApplicationException.php Executable file → Normal file
View File

0
app/Exceptions/InvalidAgeException.php Executable file → Normal file
View File

0
app/Exceptions/InvalidAppointmentException.php Executable file → Normal file
View File

0
app/Exceptions/InvalidAppointmentStatusException.php Executable file → Normal file
View File

0
app/Exceptions/InvalidGamePreferenceException.php Executable file → Normal file
View File

0
app/Exceptions/InvalidInviteException.php Executable file → Normal file
View File

0
app/Exceptions/OptionCategoryNotFoundException.php Executable file → Normal file
View File

0
app/Exceptions/OptionNotFoundException.php Executable file → Normal file
View File

0
app/Exceptions/ProfileAlreadyExistsException.php Executable file → Normal file
View File

0
app/Exceptions/ProfileCreationFailedException.php Executable file → Normal file
View File

0
app/Exceptions/ProfileNotFoundException.php Executable file → Normal file
View File

0
app/Exceptions/PublicTeamInviteException.php Executable file → Normal file
View File

0
app/Exceptions/UnavailableApplicationException.php Executable file → Normal file
View File

0
app/Exceptions/UserAlreadyInvitedException.php Executable file → Normal file
View File

0
app/Exceptions/VacancyNotFoundException.php Executable file → Normal file
View File

0
app/Facades/ContextAwareValidation.php Executable file → Normal file
View File

0
app/Facades/DigitalStorageHelper.php Executable file → Normal file
View File

0
app/Facades/Discord.php Executable file → Normal file
View File

0
app/Facades/IP.php Executable file → Normal file
View File

0
app/Facades/JSON.php Executable file → Normal file
View File

0
app/Facades/Options.php Executable file → Normal file
View File

0
app/Facades/UUID.php Executable file → Normal file
View File

0
app/Form.php Executable file → Normal file
View File

0
app/Helpers/ContextAwareValidator.php Executable file → Normal file
View File

0
app/Helpers/DigitalStorageHelper.php Executable file → Normal file
View File

0
app/Helpers/Discord.php Executable file → Normal file
View File

0
app/Helpers/JSON.php Executable file → Normal file
View File

0
app/Helpers/Options.php Executable file → Normal file
View File

0
app/Http/Controllers/AbsenceController.php Executable file → Normal file
View File

0
app/Http/Controllers/ApplicationController.php Executable file → Normal file
View File

0
app/Http/Controllers/AppointmentController.php Executable file → Normal file
View File

View File

10
app/Http/Controllers/Auth/DiscordController.php Executable file → Normal file
View File

@ -23,6 +23,8 @@ namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\User; use App\User;
use GuzzleHttp\Exception\ClientException;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Log;
use Laravel\Socialite\Facades\Socialite; use Laravel\Socialite\Facades\Socialite;
@ -37,8 +39,13 @@ class DiscordController extends Controller
->redirect(); ->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 { try {
$discordUser = Socialite::driver('discord')->user(); $discordUser = Socialite::driver('discord')->user();
} catch (InvalidStateException $stateException) { } catch (InvalidStateException $stateException) {
@ -49,6 +56,7 @@ class DiscordController extends Controller
]); ]);
return redirect(route('discordRedirect')); return redirect(route('discordRedirect'));
} }
$appUser = User::where('email', $discordUser->getEmail())->first(); $appUser = User::where('email', $discordUser->getEmail())->first();

0
app/Http/Controllers/Auth/ForgotPasswordController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/LoginController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/RegisterController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/ResetPasswordController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/TwofaController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/VerificationController.php Executable file → Normal file
View File

0
app/Http/Controllers/CommentController.php Executable file → Normal file
View File

0
app/Http/Controllers/Controller.php Executable file → Normal file
View File

0
app/Http/Controllers/DashboardController.php Executable file → Normal file
View File

0
app/Http/Controllers/DevToolsController.php Executable file → Normal file
View File

0
app/Http/Controllers/FormController.php Executable file → Normal file
View File

0
app/Http/Controllers/HomeController.php Executable file → Normal file
View File

0
app/Http/Controllers/OptionsController.php Executable file → Normal file
View File

0
app/Http/Controllers/ProfileController.php Executable file → Normal file
View File

0
app/Http/Controllers/SecuritySettingsController.php Executable file → Normal file
View File

0
app/Http/Controllers/TeamController.php Executable file → Normal file
View File

0
app/Http/Controllers/TeamFileController.php Executable file → Normal file
View File

0
app/Http/Controllers/UserController.php Executable file → Normal file
View File

0
app/Http/Controllers/VacancyController.php Executable file → Normal file
View File

0
app/Http/Controllers/VoteController.php Executable file → Normal file
View File

0
app/Http/Kernel.php Executable file → Normal file
View File

0
app/Http/Middleware/ApplicationEligibility.php Executable file → Normal file
View File

0
app/Http/Middleware/Authenticate.php Executable file → Normal file
View File

0
app/Http/Middleware/Bancheck.php Executable file → Normal file
View File

Some files were not shown because too many files have changed in this diff Show More