copilot-swe-agent[bot]
4835aa7311
Replace databases dependency with asyncpg, remove SQLAlchemy except schema.py
...
- Rewrite database.py with asyncpg pool-based DatabasePool class
- Support named params (:param) → positional ($N) conversion
- Transaction context manager using contextvars for connection reuse
- Replace all SQLAlchemy query building with raw SQL in routes and sql modules
- Update utils/db.py to use raw SQL strings instead of SQLAlchemy Select
- Update utils/db_init.py to use local engine creation for DDL only
- Update all test files to use string table names and raw SQL
- Remove databases and sqlalchemy-stubs from dependencies
- Keep sqlalchemy only for schema.py definitions and alembic migrations
2026-07-28 19:00:52 +00:00
Erik Vroon
558c3163d1
Update pytest asyncio to 0.25.3 ( #1110 )
...
Updates the requirements on
[pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) to permit
the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](pytest-dev/pytest-asyncio@v0.21 .2...v0.25.3)
2025-02-08 11:12:32 +00:00
Erik Vroon
cdde8c1fd3
Swiss scheduling improvements ( #1019 )
2024-11-21 19:59:02 +01:00
Erik Vroon
9f123babc2
Update elimination matches when updating rankings ( #1002 )
2024-11-08 17:51:41 +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
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
388afa585a
Make primary key typing stricter ( #904 )
2024-09-10 20:32:59 +02:00
Erik Vroon
b3073c0fa6
Fix paths of swiss endpoints ( #903 )
2024-09-10 19:21:24 +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
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
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
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
0698c9f831
Test activate next stage ( #331 )
2023-11-11 13:57:57 +01:00
Erik Vroon
664b13b0db
Fix swiss scheduling ( #328 )
2023-11-11 10:59:52 +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
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
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
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