257 Commits

Author SHA1 Message Date
30f0ef6586
feat: remove user directory
The user directory feature has been removed. This means users can no longer see the user list unless they have admin privileges.
2022-09-04 13:27:56 +01:00
949f94bb5d
feat(users): remove roles from profile view 2022-09-02 10:49:57 +01:00
667425e4e3
feat: added eligibility check to application save method
This commit addresses an issue where users could submit as many applications as they wanted by simply navigating to the previous page and resubmitting the form, therefore bypassing validation that was only existent in the  front end.
Fixes #20.
2022-09-02 00:00:28 +01:00
b96a20a0a9
refactor: moved user eligibility check
Additionally, deprecated the ApplicationEligibility middleware
2022-09-01 23:14:13 +01:00
43e6859366
refactor: revamp the user seeder 2022-09-01 16:03:23 +01:00
c793596a3a
feat: add Discord facade 2022-08-28 05:46:32 +01:00
3c36b299db
feat: add getGuildRoles 2022-08-23 04:51:21 +01:00
5512d0045e
feat: add removeGuildBan 2022-08-23 04:42:47 +01:00
43a19fc11f
feat: add getGuildBan 2022-08-23 04:28:35 +01:00
b23b32dc4c
refactor: reduce repetiton: add fluent conditional setter for users
Upon setting a user, common validation will be performed, thus sparing the other methods of having to do this all the time.
2022-08-23 03:38:56 +01:00
988e5c4579
feat: add addGuildMember and banGuildMember to Discord helper 2022-08-23 03:09:59 +01:00
59fdb3fd2a
refactor: remove encryption from Discord entrypoint 2022-08-23 03:01:13 +01:00
a5cbd31b76
feat: add accessor and mutator for encrypting/decrypting discord tokens 2022-08-23 03:00:11 +01:00
d4c144b2d2
feat: add unlinked account exception 2022-08-23 02:04:08 +01:00
28e2de65ca
feat(users): add check for discord account connection 2022-08-23 02:03:51 +01:00
992854320c
refactor(options): update doc comment 2022-08-22 20:22:24 +01:00
bcdc4b83e6
refactor(auth): move discord handlers to own file 2022-08-22 17:06:25 +01:00
1f08ea12c0
feat(auth): add Discord auth boilerplate 2022-08-20 22:02:17 +01:00
b41d3b8d67
refactor(suspensions): reorder methods to a logical order, remove makePermanent 2022-08-19 02:57:46 +01:00
980f3a2ee0
refactor(suspensions): change method signature to support null argument for suspension duration 2022-08-19 02:55:22 +01:00
075e9492c3
feat(users): add suspended user warning 2022-08-19 02:08:39 +01:00
0f4ce2d7b0
refactor: simplify suspension method, better support for permanent suspensions 2022-08-19 01:13:40 +01:00
1ed2a0f5e1
refactor: update deceiving arg description in suspension service 2022-08-19 00:57:57 +01:00
2b79ae4d09
feat(users): add account indicators to management page, update old refs 2022-08-19 00:54:32 +01:00
e691e61bb5
refactor: deprecate isStaffMember; add isVerified 2022-08-19 00:52:46 +01:00
e6f02ce07f
refactor: expanded AccountStatus data 2022-08-19 00:52:02 +01:00
656ce0ca11
refactor: update current ip name in variable 2022-08-19 00:51:20 +01:00
99d9414913
refactor: update method signature to support permanent suspensions 2022-08-19 00:51:03 +01:00
a608a0e1ea
refactor: remove deprecated isBanned method 2022-08-18 23:31:39 +01:00
5b0e1d2bbf chore: ide files 2022-07-03 18:37:22 +01:00
92a3972371 feat(main): several improvements, home page updates 2022-06-28 16:25:56 +01:00
dcbff0f52e feat: allow users to delete/create own profile 2022-04-08 19:40:35 +01:00
85962de188 fix: prevent display of non-existing profiles 2022-04-08 17:26:51 +01:00
6c93789358 fix: corrected issue with bad date checking for app eligibility 2022-04-07 23:55:43 +01:00
10748f0c7b feat: log restricted login attempts 2022-04-04 13:58:50 +01:00
7fa1e1e11c fix: add remaining missing strings 2022-04-04 13:06:01 +01:00
e8cdc7c710 feat: add links to legal docs, force users to accept legal docs 2022-04-04 11:03:09 +01:00
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
2ddfb62f17 feat: add absence notifications 2022-04-03 22:25:44 +01:00
a9c2617713 feat: automatically end absences that expired 2022-04-03 20:35:55 +01:00
06df0e7906 refactor: add logging to absences 2022-04-03 20:18:40 +01:00
7bf5c1fbe1 refactor: move absence logic to service 2022-04-03 20:09:33 +01:00
952e307f46 fix: add missing translation functions to controllers 2022-03-31 17:25:25 +01:00
a7c76ad7b8 fix: add validation to home contact form
The form wasn't previosly being validated, allowing spammers to proliferate and bypass the captcha.
2022-03-31 17:25:25 +01:00
498fe5d09e refactor: refactored administration strings
This commit also removes support for French and Spanish, and adds support for Brazillian Portuguese.
Additionally, the accidental leave protection on the form builder has also been fixed.
2022-03-31 17:25:25 +01:00
b8242dbc87 feat: add account deletion notifications
This also sets up notifications for all site admins
2022-03-07 21:14:51 +00:00
a265debe4c feat: add account unlock/lock notifications 2022-03-07 19:43:14 +00: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
0e85f81fe6 chore: update verify email wording 2022-03-06 10:05:55 +00:00