This commit introduces support for prioritized events, allowing certain events to take precedence over others during overlap resolution.
This is achieved by:
- Introducing a `PriorityEventToken` model to manage tokens for priority events.
- Modifying the overlap resolution logic to skip overlaps if a prioritized event is involved.
- Updating email templates to include information about prioritization and overlap events.
- Adding a check for priority tokens in event descriptions.
Sets up environment variables within the docker-compose file,
replacing the use of a .env file. This includes defining
variables for Django secret key, allowed hosts, SMTP settings,
and sender name. This change improves configuration management
and clarifies the necessary environment settings.
Implements a mechanism to automatically clear overlapping events in user calendars.
Introduces a new model for email templates, enabling customizable notifications to event organizers when their events are declined due to overlaps.
Adds a background task to find overlapping events based on calendar settings and automatically cancels the later event, sending a notification email to the organizer, if configured.