23 Commits

Author SHA1 Message Date
0c463d1f10
Revert "merge 1"
This reverts commit 0bc6c20a6d6ad9b906827b9d3f3034a811178f60.
2022-10-24 01:03:43 +01:00
0bc6c20a6d
merge 1
Signed-off-by: miguel456 <me@nogueira.codes>
2022-10-24 01:01:10 +01:00
952e307f46 fix: add missing translation functions to controllers 2022-03-31 17:25:25 +01:00
a4f41b8f8d fix: add constraint actions to db structure
This commit adds several missing "cascade delete" actions to relationships on database tables. This effectively fixes errors while trying to delete user accounts because of pending child records.

Additionally, the observers for applications and vacancies were removed, since they are now obsolete.

The account deletion system was also refactored.
2022-03-07 18:14:42 +00:00
ec23c05c5f fix: paginate user search results 2022-03-06 12:56:41 +00:00
f61a287c78 chore: upgrade to L9
BREAKING CHANGE: This commit updates the Laravel framework to version 9. Additionally, it also updates outdated and abandoned dependencies in the composer.json file.

The resources/lang directory has also been moved to the repository's root directory.
2022-02-22 19:46:18 +00:00
4da435dc1e Remove "staff member" list 2022-02-02 05:36:09 +00:00
3c0e33fef7
Fix issue with account deletions
Also, added the ignition file for customising the error page for devs
2021-10-25 02:08:32 +01:00
3f4bc28fd4
Added Demo mode
Demo mode allows to safely run a demo version of the app, with destructive features limited.

Some bugs were also fixed in this commit.
2021-09-04 00:44:54 +01:00
6cda1fe183
More refactoring
Refactored some old code and added missing translation calls.
2021-07-20 10:32:43 +01:00
620453c1e4
Separation of Concerns + old coude cleanup 2021-07-20 00:35:03 +01:00
14a8e9e9d5
Force users to change password
This commit applies the password_expiration setting to all users.
Users won't be able to do anything other than update password until it's done.
2021-01-06 05:03:38 +00:00
96aa01b9c6 Recent changes 2020-11-02 21:44:05 +00:00
6541e25a39 Apply fixes from StyleCI 2020-10-10 16:30:26 +00:00
596a469e15 Add user invitation facilities RSM-5
Adds user invitation to teams, and framework for assigning taems
Also adds user acc. deletion.
2020-10-08 19:19:10 +01:00
d392c0593f Add two factor authentication 2020-07-17 22:44:10 +01:00
5f1f92a9ce Code review
This commit fixes some superficial instances of Broken Access Control 
(https://owasp.org/www-project-top-ten/OWASP_Top_Ten_2017/Top_10-2017_A5-Broken_Access_Control).
There may be some more instances of this, as authorization was only done 
after most of the controllers were done (big mistake).

Some refactoring was also performed, where Route Model Binding with DI 
(dependency injection) was used whenever possible, to increase 
testability of the codebase.
Some reused code was also moved to Helper classes as to enforce DRY; 
There may be some lines of code that are still copy-pasted from other 
parts of the codebase for reuse.

Non-breaking refactoring changes were made, but the app as a whole still 
needs full manual testing, and customised responses to HTTP 500 
responses. Some errors are also not handled gracefully and this wasn't 
checked in this commit.
2020-07-16 21:21:28 +01:00
33c16fcf46 Add user directory & isolate authorisation 2020-06-27 19:15:33 +01:00
5a8c080a31 Beta version
This commit is too large to list all changes.
2020-06-27 00:32:33 +01:00
2ff0da3e4f Made Profile & Account Settings functional
Also moved redundant HTML markup to component file for reuse.
Username to UUID converter also added as Middleware
2020-05-13 22:47:51 +01:00
f5bb92b3c8 Add Registered Player listing 2020-05-03 04:31:02 +01:00
cfb8e6bbca Add Staff Member listing 2020-05-03 04:10:33 +01:00
669fbc1ae5 Add Mojang's status to dashboard
Also adds a Cache table to the database. Contains incomplete routes.
2020-05-03 00:45:29 +01:00