section-app-client
section-app-client copied to clipboard
event log in "events/*/manage"
To track the history of events it would be nice to track in textform who changed the event status when, Interesting events to log would be:
- creation of the event (with responsible)
- change of the publication state (with responsible)
- change in tutor layout (added tutors (with responsible), signups as tutor, removed tutors (with responsible))
- change of date while "public" or "visible to tutors" (event start and end, signup start tutor and participant) (with responsible)
- change in price while "public" or "visible to tutors" (with responsible)
- change of number of participants while "public" or "visible to tutors" (with responsible)
- change of number of tutors while "public" or "visible to tutors" (with responsible)
The last four can be logged, each time the "save changes" button under "./events/*/edit/specification" is pressed, while the event is "public" or "visible to tutors"
example: 01.02.2023 14:36:03: "Boardgames" event was created by x 01.02.2023 14:38:37: "Max Mustermann" was added as tutor by x 01.02.2023 14:39:52: "Boardgames" event was set to "ready for approval" by x 01.02.2023 16:07:16: "Boardgames" event was set to "public" by y 01.02.2023 16:46:38: "Elias Musterfrau" signed up as tutor 01.02.2023 22:03:29: "Max Mustermann" was removed as tutor by z 02.02.2023 13:28:01: The number of participants was changed from 80 to 100 by y 02.02.2023 18:53:59: The event end date was changed from 08/02/2023-00:00 to 08/02/2023-00:30 by z
An audit log is an ongoing thing that will be refined in the coming months. I will take this into account