Commit Graph

53 Commits (ba2b568259bc091a6db7ba2f228b231636d69390)
 

Author SHA1 Message Date
John Montagu, the 4th Earl of Sandvich ba2b568259
Use surrogate keys for PlayerTeam models 2024-11-21 18:21:43 -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 3ff1ef7683
Add event migration 2024-11-20 15:18:09 -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
John Montagu, the 4th Earl of Sandvich 3394f2271e
refactor: Split team routes
The team routes have been split into separate blueprints for better
modularity and maintainability. The team invite and team integration
routes are now handled by their respective blueprints.
2024-11-19 16:34:51 -08:00
John Montagu, the 4th Earl of Sandvich 36591726b9
Enable Config.smart_union for spectree 2024-11-19 10:47:14 -08:00
John Montagu, the 4th Earl of Sandvich 22040f47a0
Add Event and PlayerEvent models 2024-11-19 10:46:45 -08:00
John Montagu, the 4th Earl of Sandvich 436359594b
refactor: Split teams store into separate stores
Refactor the codebase to move invites and integrations logic into
separate stores. This change improves the separation of concerns and
maintainability by isolating the invites and integrations logic from
the teams store.
2024-11-19 01:06:44 -08:00
John Montagu, the 4th Earl of Sandvich 6f504802d7
Improve UI elements readability 2024-11-19 00:38:07 -08:00
John Montagu, the 4th Earl of Sandvich c67bf14980
Add integration management for teams
- Add new models for team integrations
- Create IntegrationDetails component for managing integrations
- Update teams store with integration actions
- Modify IntegrationsView to display and manage integrations
2024-11-18 20:25:59 -08:00
John Montagu, the 4th Earl of Sandvich 8a00c53479
Add team integration endpoints
- Add new endpoints for managing team integrations:
  - GET /id/<team_id>/integrations
  - POST /id/<team_id>/integrations/<integration_type>
  - DELETE /id/<team_id>/integrations/<integration_id>
  - PATCH /id/<team_id>/integrations/<integration_id>
- Introduce schemas for TeamIntegration and TeamDiscordIntegration
- Update models to include nullable webhook_url
2024-11-18 18:59:39 -08:00
John Montagu, the 4th Earl of Sandvich 3cb9084a69
Add requires_team_membership middleware 2024-11-18 18:24:42 -08:00
John Montagu, the 4th Earl of Sandvich 9b2153266a
Improve team page usability 2024-11-18 11:59:13 -08:00
John Montagu, the 4th Earl of Sandvich abc456b7d1
Improve user experience 2024-11-17 15:36:46 -08:00
John Montagu, the 4th Earl of Sandvich bf45b64135
Move buttons around 2024-11-16 21:32:58 -08:00
John Montagu, the 4th Earl of Sandvich a0fadfca94
Redesign team page 2024-11-16 21:21:29 -08:00
John Montagu, the 4th Earl of Sandvich b4deeddfba
Improve code quality 2024-11-15 23:19:48 -08:00
John Montagu, the 4th Earl of Sandvich cb9e29b402
Improve usability 2024-11-15 19:40:28 -08:00
John Montagu, the 4th Earl of Sandvich afba73e1e8
Make registration RESTful 2024-11-15 19:40:24 -08:00
John Montagu, the 4th Earl of Sandvich 6821447c74
Move roster builder button to member list 2024-11-14 14:08:39 -08:00
John Montagu, the 4th Earl of Sandvich 5f45a8ebda
Add viewing teammate schedules 2024-11-13 16:05:15 -08:00
John Montagu, the 4th Earl of Sandvich 104282da30
Add integration models 2024-11-13 16:04:59 -08:00
John Montagu, the 4th Earl of Sandvich 325b3529fe
Add functionality for viewing available teammates 2024-11-11 18:05:27 -08:00
John Montagu, the 4th Earl of Sandvich 60f96f43f7
Refactor models into their own files 2024-11-10 17:21:25 -08:00
John Montagu, the 4th Earl of Sandvich ae6f5e8884
Add button to copy last week's availability 2024-11-10 02:46:16 -08:00
John Montagu, the 4th Earl of Sandvich 9b9b86171f
Use Moment instead of Date 2024-11-10 01:57:25 -08:00
John Montagu, the 4th Earl of Sandvich f5bcbb85b5
Implement leaving team 2024-11-10 01:40:03 -08:00
John Montagu, the 4th Earl of Sandvich 050a012318
Implement basic team features 2024-11-09 15:24:37 -08:00
John Montagu, the 4th Earl of Sandvich 2fda11bc9a
Make PutScheduleForm inherit from ViewScheduleForm 2024-11-08 12:51:09 -08:00
John Montagu, the 4th Earl of Sandvich 5d620c07ed
Added editing and viewing roles 2024-11-08 12:51:03 -08:00
John Montagu, the 4th Earl of Sandvich 708aafed9e
Fix API returning snake_case 2024-11-07 18:41:58 -08:00
John Montagu, the 4th Earl of Sandvich 067c287fc4
Update docker-compose for backend and reverse proxy 2024-11-07 18:13:12 -08:00
John Montagu, the 4th Earl of Sandvich 13e9bf390b
Remove flask_cors and flask_pydantic 2024-11-07 18:03:08 -08:00
John Montagu, the 4th Earl of Sandvich 1bf4cc3125
Add timezone-aware schedule window 2024-11-07 18:02:17 -08:00
John Montagu, the 4th Earl of Sandvich fc6092d282
Make auth cookie persist for 30 days 2024-11-07 15:47:09 -08:00
John Montagu, the 4th Earl of Sandvich 3a10668f40
Add README.md 2024-11-06 20:56:55 -08:00
John Montagu, the 4th Earl of Sandvich 2a41671d73
Add Dockerfile for frontend 2024-11-06 20:56:45 -08:00
John Montagu, the 4th Earl of Sandvich 4d76cdce44
Add backend stuff 2024-11-06 20:56:21 -08:00
John Montagu, the 4th Earl of Sandvich 67567046b8
Add frontend stuff 2024-11-06 20:55:58 -08:00
John Montagu, the 4th Earl of Sandvich 210b590544
Disable animations during page load 2024-11-05 17:24:56 -08:00
John Montagu, the 4th Earl of Sandvich 283624706e
Migrate to spectree for pydantic integration 2024-11-03 14:29:59 -08:00
John Montagu, the 4th Earl of Sandvich b76d2786e5
Remove Django backend 2024-11-03 14:24:06 -08:00
John Montagu, the 4th Earl of Sandvich 3fab130ae0
Implement some basic features 2024-11-02 12:33:27 -07:00
John Montagu, the 4th Earl of Sandvich 06ef477d65
Add availability page 2024-10-31 16:39:29 -07:00
John Montagu, the 4th Earl of Sandvich a11b6f454f
Implement AvailabilityGrid component 2024-10-26 15:36:52 -07:00
John Montagu, the 4th Earl of Sandvich 280e02c15a
Add playtime and end_time columns 2024-10-25 17:32:43 -07:00
John Montagu, the 4th Earl of Sandvich 849b628130
Add better player card details and ringers 2024-10-25 09:51:36 -07:00
John Montagu, the 4th Earl of Sandvich c08f2434e6
Update roster builder 2024-10-24 15:13:46 -07:00
John Montagu, the 4th Earl of Sandvich 684590e738
Create Vue components 2024-10-24 08:18:30 -07:00
John Montagu, the 4th Earl of Sandvich eb95ff3dcb
Add API Django app 2024-10-24 08:18:19 -07:00