Commit Graph

89 Commits (13fd7fdfc00d24869bd9a1f831d6ce1c2f685f7d)
 

Author SHA1 Message Date
John Montagu, the 4th Earl of Sandvich 13fd7fdfc0
Move matches tab to team settings 2024-12-11 17:20:04 -08:00
John Montagu, the 4th Earl of Sandvich 52d8ea5988
Prepare for production 2024-12-10 18:18:40 -08:00
John Montagu, the 4th Earl of Sandvich 64b2d129eb
refactor(migrations): Consolidate migrations
Consolidate multiple migration files into a single migration file to
help the database prepare for production.
2024-12-10 16:45:06 -08:00
John Montagu, the 4th Earl of Sandvich caaee983f2
feat(frontend): Implement matches 2024-12-10 10:25:33 -08:00
John Montagu, the 4th Earl of Sandvich 45ac071a7f
Improve readability 2024-12-10 10:24:50 -08:00
John Montagu, the 4th Earl of Sandvich a509c797ff
feat(backend): Implement submitting matches 2024-12-10 10:22:32 -08:00
John Montagu, the 4th Earl of Sandvich aaa4d40ed9
feat(backend): Add Celery + redis 2024-12-09 17:04:40 -08:00
John Montagu, the 4th Earl of Sandvich b620470739
feat: Improve site user experience
- Added changes for better mobile responsive UI
- AvailabilityGrid shows players available at the selected time
2024-12-08 12:10:42 -08:00
John Montagu, the 4th Earl of Sandvich 36bc19c96d
feat: Add consume invite dialog 2024-12-08 12:10:23 -08:00
John Montagu, the 4th Earl of Sandvich 242562d662
Revamp homepage layout and components
Added git commit history and two-column responsive layout
2024-12-08 01:34:04 -08:00
John Montagu, the 4th Earl of Sandvich 69df0a49e4
feat: Add minimum ringers required in events
Implement Hopcroft-Karp algorithm to determine maximal bipartite
matching to determine if every role in an event can be filled without
ringers.
2024-12-08 01:31:16 -08:00
John Montagu, the 4th Earl of Sandvich ee4f3715ab
Add additional data when fetching teams
Added TeamWithRoleSchema to extend TeamRoleSchema with team role/TL data.
2024-12-08 01:26:10 -08:00
John Montagu, the 4th Earl of Sandvich 3c83eca380
feat: Implement user settings 2024-12-07 17:33:22 -08:00
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 42b7e603f0
Improve user experience quality of life 2024-12-07 17:21:57 -08:00
John Montagu, the 4th Earl of Sandvich d3abf67d88
Use tzdb timezones library 2024-12-07 17:18:44 -08:00
John Montagu, the 4th Earl of Sandvich 40641f80a3
feat: Implement changing team settings 2024-12-05 17:20:50 -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 d1c5e8987f
feat(components): Add loader to roster builder 2024-11-30 20:00:37 -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 8527d874d0
Add EventCard dropdown 2024-11-30 18:59:17 -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 3d5d9574e3
feat: Add webhook profile picture support
- Added `webhookBotProfilePicture` field to
  `TeamDiscordIntegrationSchema`.
- Updated `DiscordIntegrationForm.vue` to include profile picture input.
- Created migration to add `webhook_bot_profile_picture` column.
- Updated `Team` model to handle new profile picture field.
- Modified `TeamDiscordIntegration` and `TeamDiscordIntegrationSchema`
  to include the new profile picture attribute.
2024-11-29 00:04:46 -08:00
John Montagu, the 4th Earl of Sandvich ebbd969afd
Improve event card UI 2024-11-29 00:02:12 -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 e11bcc2a08
refactor(models): Upgrade to pydantic v2
Resolves #4.
2024-11-25 21:57:19 -08:00
John Montagu, the 4th Earl of Sandvich 71cc25dbb2
refactor: Change team integrations structure
Refactor the team integrations structure to use one-to-one relationships
for Discord and logs.tf integrations. Update the frontend to handle the
new structure and remove unused integration types. Adjust backend
endpoints and models accordingly. Add migration scripts to update the
database schema.
2024-11-25 20:16:01 -08:00
John Montagu, the 4th Earl of Sandvich 77aff078da
feat(components): Improve event and player card UI
- Add conditional rendering for event list to show a message when no events
- Update player team card to show edit button conditionally
- Style crown icon for team leader
- Adjust role icon styles for better alignment
2024-11-25 13:56:19 -08:00
John Montagu, the 4th Earl of Sandvich 67ef999017
Add player_event.has_confirmed 2024-11-25 11:35:39 -08:00
John Montagu, the 4th Earl of Sandvich b71926f4f3
Add Highlander roles 2024-11-24 22:43:41 -08:00
John Montagu, the 4th Earl of Sandvich ef6321d4f6
Add player_team_role_id to player_event 2024-11-24 17:17:12 -08:00
John Montagu, the 4th Earl of Sandvich 8bef735756
Improve user experience 2024-11-24 15:45:42 -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 2c5cf3f4ca
Update README.md
Added more detailed information about tech stack.
2024-11-21 18:24:58 -08:00
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