Commit Graph

10 Commits (master)

Author SHA1 Message Date
John Montagu, the 4th Earl of Sandvich ad45e1530e
fix(backend): Ensure event details are updated
Fixed an issue where event name and description were not being updated
correctly from the provided JSON data in the update_event function.
2024-12-07 17:25:09 -08:00
John Montagu, the 4th Earl of Sandvich f0e2e28d65
feat: Add attendance options dropdown 2024-11-30 22:26:28 -08:00
John Montagu, the 4th Earl of Sandvich a2712504e2
fix: Player participation not actually updating 2024-11-30 20:02:18 -08:00
John Montagu, the 4th Earl of Sandvich bb82f20a47
feat: Add delete event functionality
- Add delete_event endpoint in backend-flask
- Add cascade delete-orphan to Event model relationship
2024-11-30 19:01:23 -08:00
John Montagu, the 4th Earl of Sandvich 7043877a9f
Add updating events 2024-11-30 13:08:42 -08:00
John Montagu, the 4th Earl of Sandvich 6f49053dac
feat: Add event details in roster builder 2024-11-29 00:06:34 -08:00
John Montagu, the 4th Earl of Sandvich e1c6a7bb14
Implement event stuff 2024-11-27 01:03:41 -08:00
John Montagu, the 4th Earl of Sandvich eee3241cae
Add events in frontend 2024-11-24 10:47:45 -08:00
John Montagu, the 4th Earl of Sandvich 061499b822
Add additional arguments to decorator
This allows for `@requires_team_membership()` to be able to
retrieve the team_id from a JSON or query parameter.
2024-11-21 18:18:43 -08:00
John Montagu, the 4th Earl of Sandvich ea030e012d
Add event management endpoints
- Implemented endpoints for creating, retrieving, and managing events.
- Added `EventSchema` for event serialization and deserialization.
- Updated `Event` model to include relationships with `PlayerEvent` and `Team`.
- Modified `Player` and `Team` models to include relationships with `Event`.
- Added new file `events.py` to handle event-related API routes.
2024-11-20 15:12:44 -08:00