39 Commits

Author SHA1 Message Date
Jack Jackson
2fb5a291e5 Implement incremental updating
When `seed/all_in_one` is now called, it will update with only that data
that exists later than the most-recently-played* game, allowing the
upload to be used repeatedly without having to clear the database.

\* Actually, "highest-ID game", as we haven't implemented
`list_games_by_date`, yet
2024-07-27 20:05:28 -07:00
Jack Jackson
1c9aa30721 Add "Latest Score" in Decks view
Also experiment with auto-helm-update and caching, and make some updates
to seed data
2024-07-10 21:20:48 -07:00
Jack Jackson
624ef62345 Lookup decks in seeding by player+deck-name (to take account of duplicates 2024-06-29 13:46:33 -07:00
Jack Jackson
d605293c8f Correction to seed-data 2024-06-29 13:45:28 -07:00
Jack Jackson
4d4d9aa55f Remove cache-to 2024-06-28 18:18:50 -07:00
Jack Jackson
7545966aed Add "Games Played" column in deck list 2024-06-28 18:12:52 -07:00
Jack Jackson
87a336787c Add explicit cache-to instruction 2024-06-28 17:54:52 -07:00
Jack Jackson
22768b70eb Reintroduce no-limits in get_decks 2024-06-27 10:22:33 -07:00
Jack Jackson
bf7039aa41 Remove negative limit
Legal for SQLite but not for Postgres 🤷
2024-06-27 09:48:37 -07:00
Jack Jackson
01e4c5e36b Factor out rendering of game participants 2024-06-26 19:23:04 -07:00
Jack Jackson
61078f0201 Correction to Docker buildx cache-from in Drone CI 2024-06-26 18:50:36 -07:00
Jack Jackson
e75f23e3d9 Add psycopg2 dependency for prod 2024-06-24 21:22:51 -07:00
Jack Jackson
3183b56075 Address case-mismatch warning 2024-06-23 18:11:17 -07:00
Jack Jackson
3239c4c037 Introduce caching 2024-06-23 16:04:49 -07:00
Jack Jackson
9f73d26809 Specify build-target 2024-06-23 15:55:38 -07:00
Jack Jackson
deff3a6344 Build with Drone 2024-06-09 10:25:03 -07:00
Jack Jackson
e4ea529fbe Cosmetic and final-basic functionality
At this point it _should_ be just about usable for folks to poke-around
in, though ugly as sin.
2024-06-09 09:45:56 -07:00
Jack Jackson
ac4bdd09b8 First implementation of ELO logic 2024-03-03 19:18:06 -08:00
Jack Jackson
6f0e7cd593 Docker-ify development process 2024-03-03 16:24:19 -08:00
Jack Jackson
817f52b359 Game views 2024-03-01 23:08:46 -08:00
Jack Jackson
cc6c4818ad Initial seeding logic 2024-03-01 21:35:06 -08:00
Jack Jackson
c36c4bd3b8 Enable ruff, black, and pytest in pre-commit 2024-02-14 22:43:25 -08:00
Jack Jackson
7e54b9dc65 Player List (and default responseClass) 2024-02-11 15:07:29 -08:00
Jack Jackson
e7831948b2 Start of Game-creation HTML 2024-02-05 21:24:42 -08:00
Jack Jackson
4517b4e31f Add WinType and Game 2024-02-04 11:09:48 -08:00
Jack Jackson
92aa031eba Add Jinja as dependency 2024-02-01 10:37:14 -08:00
Jack Jackson
83d2fcb9d1 Ruff-format 2024-01-31 20:46:04 -08:00
Jack Jackson
608df42388 Factor out common prefixes 2024-01-31 20:44:51 -08:00
Jack Jackson
fbbaadd098 Flesh out player and deck HTML 2024-01-31 19:48:58 -08:00
Jack Jackson
5472dbc8b9 Convert to FastAPI 2024-01-26 22:53:56 -08:00
Jack Jackson
ba457170ba List Players API 2024-01-24 23:17:50 -08:00
Jack Jackson
c38187a64e Add OpenAPI definition and Swagger UI 2024-01-24 20:53:27 -08:00
Jack Jackson
ada7473610 Add Deck CRUD 2024-01-24 19:57:47 -08:00
Jack Jackson
af0ab022ce Add GHA with Ruff and Pytest 2024-01-23 23:09:45 -08:00
Jack Jackson
9758991ca5 Add ruff (no automation yet) 2024-01-23 22:48:36 -08:00
Jack Jackson
51d6a85955 Very rudimentary tests 2024-01-23 22:41:37 -08:00
Jack Jackson
5af581923d Can return HTML content for a player 2024-01-23 22:16:10 -08:00
Jack Jackson
731bce91a7 Player Addition 2024-01-22 23:20:29 -08:00
Jack Jackson
ab3899e5c5 first commit 2024-01-22 21:34:27 -08:00