81 Commits

Author SHA1 Message Date
21fdb349d9 refactor: revamp devtools page
This commit refactors the development tools page to make it look better. Additionally, it makes small adjustments in the notifications and corrects missing strings from the page.
2022-04-04 09:59:18 +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
e567094f40 feat: add loa requests
This commit adds a feature that allows users to request periods of inactivity from their managers. This is effectively known as a leave of absence.

The commit also introduces new permissions and migrations, therefore, you'll need to adapt your database according to these changes.
2022-02-24 00:56:46 +00:00
19a8d7a619 improvement: remove deprecated api route 2022-02-22 04:22:44 +00:00
23a191deb9 Add LOA feature, improve components 2022-02-07 18:59:22 +00:00
4da435dc1e Remove "staff member" list 2022-02-02 05:36:09 +00:00
93b015f98b Remove giveaway page and announcements 2021-12-19 03:43:30 +00:00
10da9f6797 feat: add Discord authentication framework 2021-12-15 02:27:32 +00:00
236695c505 Fix typo 2021-12-09 21:46:25 +00:00
abf48897e4 Add page specific metadata 2021-12-09 21:45:59 +00:00
4d1bfe7c46 Add temporary giveaway page 2021-12-09 21:22:40 +00:00
aed473a01a Add logic for forced application rejection 2021-11-06 14:52:48 +00:00
c6a2d2a449
Remove noisy debug log 2021-11-05 06:25:31 +00:00
fce6e92d9d
Added an appointment cancellation button 2021-11-03 00:38:20 +00:00
93172d1e81
Improve devtools interface
This commit revamps the interface and adds more commands.
2021-10-30 04:37:10 +01:00
59cfbd7ed1
Fix broken suspension cleaner
This commit rewrites the previously broken auto ban cleaner. It's now much more efficient and compact, and it removes bans correctly and on the right date.

Fixes #1
2021-10-30 03:53:32 +01:00
230eda1974
Removed API key feature
Removed API key generation feature in preparation for JWT authentication
2021-10-29 20:23:45 +01:00
587f695fe1
Added uptime endpoint 2021-10-28 23:57:58 +01:00
c657da951c
Allow vacancies to be deleted 2021-10-25 05:45:45 +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
620453c1e4
Separation of Concerns + old coude cleanup 2021-07-20 00:35:03 +01:00
f62ea9669b
Finished applications API endpoint group 2021-03-31 19:39:42 +01:00
6940b1816e
Merge remote-tracking branch 'origin/develop' into develop 2021-03-31 15:50:55 +01:00
ddd79d38fe
API Resources and first endpoints 2021-03-31 03:55:09 +01:00
2bc07d8ca0
Add key management page 2021-03-30 18:16:01 +01:00
99779c9053
API key management interface 2021-03-30 01:27:49 +01:00
Miguel N
26e5a53efb Reverse route add 2021-01-27 02:35:55 +00:00
Miguel N
8769f279ac Add confirmation route 2021-01-27 02:26:12 +00: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
5cf6b2b241
Selectable game integration 2021-01-06 01:55:22 +00:00
2ec2a92645
Saveable settings 2021-01-06 00:57:27 +00:00
7323ffec2b
Added Team Authorization Policy 2020-12-08 02:58:10 +00:00
32c01f6e0b Removed useless feature 2020-11-03 03:00:03 +00:00
96aa01b9c6 Recent changes 2020-11-02 21:44:05 +00:00
06d1e0ad3f RSM-8 Add team files page and ability to download files 2020-10-11 02:54:09 +01:00
6541e25a39 Apply fixes from StyleCI 2020-10-10 16:30:26 +00:00
077ead9612 RSM-5 Made Vacancies easily linkable to Teams 2020-10-09 22:27:36 +01:00
0930c29b9a RSM-5 Update to Laravel 8 2020-10-08 23:47:23 +01: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
75f4404259 RSM-6 Team features 2020-10-03 21:36:35 +01:00
87f8e63b24 Force new users to verify email 2020-09-03 20:06:29 +01:00
3fe3df7357 Vacancy tweaks 2020-09-03 02:26:05 +01:00
cbe660f4ad Fix broken notes 2020-09-03 00:39:59 +01:00
81c0b65404 Add localization middleware 2020-09-02 18:39:45 +01:00
a0192cdb02 Added route localization and auto detection 2020-09-02 17:43:27 +01:00
faa3a65e2b Added unchecked checkbox workaround 2020-08-31 18:32:08 +01:00
ca82f5882d Add settings page 2020-08-30 23:06:01 +01:00
2c0c404d73
Change wrong param name 2020-07-19 06:01:46 +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