31 Commits

Author SHA1 Message Date
Erik Vroon
016ce4d9fe Use hey api tournament types (#1481) 2025-12-21 16:15:51 +00:00
Erik Vroon
a548ff6d61 Use hey-api (#1479)
Store the `openapi.json` of the backend in the repo and import it using
https://heyapi.dev/ to generate TypeScript types for the backend API
query params, responses, bodies.
2025-12-20 19:32:33 +01:00
Erik Vroon
05090b4efa Add tests for swiss rescheduling (#1125) 2025-02-16 10:49:51 +01:00
Erik Vroon
d06a797725 Add tests for conflict logic (#1124) 2025-02-15 15:19:05 +00:00
Erik Vroon
24bb16400f Fix number of elimination teams (#1123) 2025-02-15 14:17:21 +00:00
Erik Vroon
cdde8c1fd3 Swiss scheduling improvements (#1019) 2024-11-21 19:59:02 +01:00
Erik Vroon
6aa2c51f89 Assign teams to subsequent elimination rounds (#1001)
fixes https://github.com/evroon/bracket/issues/998
2024-11-08 17:34:12 +01:00
Erik Vroon
ed659ff686 Fix bugs in presentation dashboard (#999) 2024-11-08 14:37:14 +01:00
Erik Vroon
932e5a245d Show updates to stage item inputs when going to next stage (#966) 2024-11-06 14:52:42 +01:00
Erik Vroon
538b4e145c Show conflicts (#967) 2024-10-27 20:29:36 +01:00
Erik Vroon
52890fadb2 Use stage item inputs instead of teams (#909)
A match should contain two stage item inputs that oppose each other,
instead of two teams. This simplifies a lot and is more logical.
2024-10-21 18:44:25 +02:00
Erik Vroon
66c9251348 Small readability fixes (#905) 2024-09-10 20:37:42 +02:00
Erik Vroon
388afa585a Make primary key typing stricter (#904) 2024-09-10 20:32:59 +02:00
Erik Vroon
d6449e8d05 Customize rankings (#797)
Allows you to add rankings that specify how the ranking per stage item
is calculated.
Points are now stored per stage item input.
2024-09-07 12:03:16 +02:00
Erik Vroon
b395d148f0 Add newtypes for primary keys (#512)
Adds type safety
2024-02-23 20:41:55 +01:00
Erik Vroon
61611066cd Pydantic v2 migration (#252)
Upgrade Pydantic to V2.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 11:51:14 +01:00
Erik Vroon
469316efd4 Use Ruff format instead of Black (#420) 2024-02-03 14:29:33 +01:00
Erik Vroon
ac53331590 Add statistics columns to teams (#365) 2023-12-02 12:12:53 +01:00
Erik Vroon
f13c91d30f Prefer teams who have played much less (#351) 2023-11-25 17:05:29 +01:00
Erik Vroon
4b3dfb9b20 Implement custom time per match (#337) 2023-11-21 21:11:25 +01:00
Erik Vroon
00cac360eb Improve swiss scheduling (#336) 2023-11-19 11:54:08 +01:00
Erik Vroon
3dceda218a Time scheduling (#315) 2023-11-07 19:51:46 +01:00
Erik Vroon
145d5787e1 Implement scheduling for elimination stage items (#314) 2023-11-05 15:22:24 +01:00
Erik Vroon
ab86f7ea77 Add schedule builder (#267) 2023-11-02 20:34:49 +01:00
Erik Vroon
894f99c34a Extend dashboard pages (#289) 2023-10-11 19:15:16 +02:00
Erik Vroon
aaca527647 Add courts functionality (#256) 2023-09-12 13:33:20 +02:00
Erik Vroon
352f46113c Add stages in backend (#181) 2023-05-02 19:23:52 +02:00
Erik Vroon
dd81c6a83b Improve scheduling (#114) 2023-02-01 16:35:26 +01:00
Erik Vroon
f03bf6cb92 Various bugfixes (#77) 2023-01-16 16:35:44 +01:00
Erik Vroon
56df31c343 Add test coverage (#61) 2023-01-07 17:27:21 +01:00
Erik Vroon
6ac8b0fdfb First version of backend and frontend (#1) 2022-12-11 17:55:11 +01:00