Commit Graph

15 Commits

Author SHA1 Message Date
c5473fec5c fixed login and logout and started on player screen 2026-06-30 17:11:37 +01:00
201821d53c had opencode clean up all my nonsense comments too 2026-06-29 15:11:53 +01:00
2f3005ba2a some changed 2026-06-25 12:39:58 +01:00
fbc181c890 added login with pages and database, also correct errors in score submit 2026-06-22 13:36:34 +01:00
a44ee668c8 i cant read, and it punishes me 2026-05-30 17:28:46 +01:00
95fac2070a added seeding the winner 2026-05-30 16:13:50 +01:00
521f5b5a46 added finished event for testing 2026-05-30 16:13:46 +01:00
a6839c268b changed seed data for testing 2026-05-26 13:06:26 +01:00
d6fdddb972 added result presets to schema and seeding script, added seed data for consistency 2026-05-25 14:58:46 +01:00
32c5d2af7a added brackets and function to get them, updated data structure of players view 2026-05-24 15:17:48 +01:00
6b3baad695 added really satisfying log messages and made divisions apply correctly 2026-05-23 19:49:33 +01:00
3624ce9c00 new db schema works perfectly first try frfr 2026-05-22 17:22:24 +01:00
fdfbd4c7c7 trying to add score updates 2026-05-06 20:00:30 +01:00
8afc181b86 main screen works again, will come back to database.
duplicated placement data in the attribution table and the ledger scores
table. Means that setting placement in the attribution table is
meaningless. Probably best to remove the placement in the attribution,
or have it reference the placement in the ledger, else return 0. That
would mean that the only way to change the scores is in the ledger,
which is basically what I want, but also if the db dies then there's not
really anything that I can do to recover the scores (same is true for
the attribute table, but I can seed that so it doesn't matter as much).
To get around that, I would need to add seeding the ledger to a seperate
command, which defeats the point of a ledger.

Just add a way to import and export the whole ledger to csv, dumbass.
2026-05-06 16:16:32 +01:00
16acfd2b05 added script to reset and seed database (thanks opencode) 2026-05-06 15:47:24 +01:00