14 Commits

Author SHA1 Message Date
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