40 Commits

Author SHA1 Message Date
Jack Jackson
f120336f1d Add cursory "biggest movers" stats
Also adds rudimentary testing framework for seeding a database from a
given `.db` SQLite file. Probably extract this for general use!
2024-08-23 09:26:22 -07:00
Jack Jackson
bf7997bd1d Add score-graph on player page 2024-08-07 22:26:39 -07:00
Jack Jackson
fff79bf883 Specify sort-order for deck-detail page 2024-08-07 21:08:18 -07:00
Jack Jackson
b01831b5ac Add scores-by-date for deck 2024-08-07 21:02:02 -07:00
Jack Jackson
5d71f422f3 Allow check/unchecking all decks for a player in graph page 2024-07-31 20:50:21 -07:00
Jack Jackson
fff4fa6c57 Styling suggestions from Jeff 2024-07-30 09:59:41 -07:00
Jack Jackson
3b1c3d7eb3 Add filtering on graph 2024-07-29 20:16:01 -07:00
Jack Jackson
dee0c26260 Support filtering for graph (no frontend support yet) 2024-07-29 11:04:13 -07:00
Jack Jackson
fbdc98f967 Styling tweak 2024-07-29 10:38:19 -07:00
Jack Jackson
e263683ce6 Committing to save - incomplete implementation of graphing 2024-07-28 23:23:11 -07:00
Jack Jackson
105dc438bd Support sorting in the list of games 2024-07-28 19:18:36 -07:00
Jack Jackson
0e69452403 Support sort-by and sort-order in game listing
Not yet supported on the front-end - we'll get to that in the next
commit!
2024-07-27 21:14:09 -07:00
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
7545966aed Add "Games Played" column in deck list 2024-06-28 18:12: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
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
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
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