11 Commits

Author SHA1 Message Date
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
99d9414913
refactor: update method signature to support permanent suspensions 2022-08-19 00:51:03 +01:00
92a3972371 feat(main): several improvements, home page updates 2022-06-28 16:25:56 +01: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
294c678283 Fix broken opt-in notifications 2022-02-11 00:51:16 +00: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
c739933668
Push suspension logic onto Service
In preparation to the upcoming API, most logic is being moved to services. Models function as repositories.
2021-07-21 19:33:52 +01:00