Commit Graph

49 Commits

Author SHA1 Message Date
robigan
208936fefc Fix backend to recalculate start time on match update (#587) 2024-09-01 19:13:07 +02:00
robigan
e3fa10e2a9 Team logos (#529) 2024-02-28 08:41:19 +01:00
Erik Vroon
d016e50537 Check foreign keys belong to tournament (#516)
Handles a security vulnerability where it's possible to link to columns
of other tournaments, such as add players from another tournament to a
team
2024-02-23 21:11:13 +01:00
Erik Vroon
880d212ce9 Use uuids for logos (#488)
Otherwise uploads can replace current files with the same name.
Also fixes and adds more tests for logo uploads.
2024-02-18 11:24:35 +01:00
Erik Vroon
0c0d99f8fe Write files async (non-blocking) (#485)
Also remove unused files and reload image in frontend when uploading a
new image.
2024-02-17 18:20:01 +01:00
Erik Vroon
f4c8bcdd65 Improve ui when there is no content (#473)
Adds more skeletons, fixes user page, fixes bug in modal for stage item
creation, etc.
2024-02-13 18:57:41 +01:00
Erik Vroon
f834fab2de Add pagination (#472)
Adds pagination (backend and frontend) to teams and players GET
endpoints
2024-02-12 19:08:50 +01:00
Erik Vroon
9479c92c97 Increase code coverage (#466)
Remove unused code and add some tests
Also fix detection of running pytest
2024-02-10 20:59:36 +01:00
Erik Vroon
14728a62bb Make dashboard endpoint unique (#454) 2024-02-10 16:15:27 +01:00
Erik Vroon
b42fce38ab Fix demo account deletion (#450)
Fixes error due to `._mapping` invalid return type
2024-02-09 16:52:14 +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
31818c374e Fix db initialisation (#427)
fixes https://github.com/evroon/bracket/issues/426
2024-02-04 11:52:18 +01:00
Erik Vroon
469316efd4 Use Ruff format instead of Black (#420) 2024-02-03 14:29:33 +01:00
Erik Vroon
5659cd7344 Add demo functionality (#413)
Lets users create a temporary demo account to test the tool
2024-02-03 14:18:57 +01:00
Erik Vroon
b2a2dd1ea1 Implement hcaptcha (#410) 2024-01-17 16:31:38 +01:00
Erik Vroon
b21840ee2d Add Prometheus metrics (#372) 2023-12-03 16:45:35 +01:00
Erik Vroon
ac53331590 Add statistics columns to teams (#365) 2023-12-02 12:12:53 +01:00
Erik Vroon
4b3dfb9b20 Implement custom time per match (#337) 2023-11-21 21:11:25 +01:00
Erik Vroon
4e616d8d97 Multi users and teams creation (#342)
fixes https://github.com/evroon/bracket/issues/292
2023-11-21 20:07:35 +01:00
Erik Vroon
00cac360eb Improve swiss scheduling (#336) 2023-11-19 11:54:08 +01:00
Erik Vroon
0698c9f831 Test activate next stage (#331) 2023-11-11 13:57:57 +01:00
Erik Vroon
91d40b8e91 Add tests for scheduling logic (#329) 2023-11-11 12:57:06 +01:00
Erik Vroon
664b13b0db Fix swiss scheduling (#328) 2023-11-11 10:59:52 +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
f4d7aae2ea Add ruff check (#294) 2023-10-07 17:02:05 +02:00
Erik Vroon
6c741fd821 Dashboard endpoint (#285) 2023-10-01 11:19:56 +02:00
Erik Vroon
d1484a0bb3 Add behavior to go to next stage (#265) 2023-09-14 11:51:05 +02:00
Erik Vroon
aaca527647 Add courts functionality (#256) 2023-09-12 13:33:20 +02:00
Erik Vroon
f59c6f6965 Implement stage type specific round scheduling (#226) 2023-09-10 11:51:45 +02:00
Erik Vroon
a24766c210 Display stage name and select active stage by default (#210) 2023-05-09 21:31:27 +02:00
Erik Vroon
731488ec1e Stop using fixed db ids in tests (#203) 2023-05-02 21:21:59 +02:00
Erik Vroon
352f46113c Add stages in backend (#181) 2023-05-02 19:23:52 +02:00
Erik Vroon
127f0be934 Add integration tests for users (#174)
Adds various integration tests for users, tournaments and upcoming
matches.
2023-04-16 15:17:48 +02:00
Erik Vroon
7c487952da Improve auth and user management (#125) 2023-04-16 13:15:41 +02:00
Erik Vroon
45cd04137f Fix round order (#119) 2023-02-21 00:01:48 +01: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
557debf14c Add tournaments and club endpoints (#43) 2023-01-07 15:00:43 +01:00
Erik Vroon
e5cbe941dd Create db tables when the db is empty (#42) 2022-12-27 20:46:28 +01:00
Erik Vroon
e77eecb09c Add more integration tests (#41) 2022-12-27 17:27:08 +01:00
Erik Vroon
cca3aedb7f Add more integration tests (#40) 2022-12-27 15:39:04 +01:00
Erik Vroon
ab917dc2ee Rename ladderz to bracket (#24) 2022-12-27 12:49:44 +01:00
Erik Vroon
089659e71f Create tournaments system (#2) 2022-12-24 14:33:51 +01:00
Erik Vroon
9b29b6a430 Fix pipenv caching (#13) 2022-12-17 17:34:49 +01:00
Erik Vroon
6ac8b0fdfb First version of backend and frontend (#1) 2022-12-11 17:55:11 +01:00