29 Commits

Author SHA1 Message Date
0940ad715f
feat(discord): finish discord login/logout sequence
Signed-off-by: miguel456 <me@nogueira.codes>
2022-10-15 02:18:41 +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
99d9414913
refactor: update method signature to support permanent suspensions 2022-08-19 00:51:03 +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
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
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
025f69f622 Update email salutations/greetings 2022-02-10 20:33:08 +00:00
6a4ba00c78 Prepared Pusher push notifications 2022-02-07 22:54:10 +00:00
befc2ebdc6
Added better cancel log message
Added a better cancellation log message that details the reason for cancelling the appointment.
2021-11-05 10:36:19 +00:00
fce6e92d9d
Added an appointment cancellation button 2021-11-03 00:38:20 +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
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
8942623bde
Added services
This commit moves most controller logic onto Services. Services are part of the Service-Repository pattern. The models act as repositories.

Services are easily testable and are needed for the upcoming API, in order to avoid duplicated code and to maintain a single source of "truth".

 The User, Vacancy and Vote controllers still need their logic moved onto services.
2021-07-25 22:54:15 +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
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