Commit graph

57 commits

Author SHA1 Message Date
Yarne Coppens
e70481b664 Added h-index statistic 2024-10-10 09:07:12 +02:00
Yarne Coppens
b30ead8ac9 Get more specific board games first on refresh, this makes refresh make less requests to bgg 2024-09-07 16:08:10 +02:00
Yarne Coppens
fb5995c88f Added preordered games endpoint 2024-09-06 09:18:03 +02:00
Yarne Coppens
61d7abd7f3 Added most bought artist statistic 2024-08-26 15:02:30 +02:00
Yarne Coppens
4965b48e9e Added most bought from designers statistics 2024-08-25 20:32:32 +02:00
Yarne Coppens
a321a184a4 GameStatistic now returns games and results seperately, results might not be a board game attribute 2024-08-25 17:19:25 +02:00
Yarne Coppens
93c5e65af5 Created statistic cache 2024-08-25 10:49:54 +02:00
Yarne Coppens
0b412b8951 Added winrate over time statistic 2024-08-24 20:42:22 +02:00
Yarne Coppens
96a8f21af1 Added player winrate statistic 2024-08-24 18:25:52 +02:00
Yarne Coppens
7bb210ba83 Can now retrieve players from endpoint 2024-08-24 18:13:32 +02:00
Yarne Coppens
4c0a3ec600 Boardgame lists no longer contain plays (response became way too big) 2024-08-22 21:42:06 +02:00
Yarne Coppens
da3af316fa Made statistics work with refactored changes 2024-08-22 10:16:16 +02:00
Yarne Coppens
51cd2dda07 Made plays work with refactored changes 2024-08-22 09:55:31 +02:00
Yarne Coppens
8241635e69 Made Owned collection work with refactoring 2024-08-22 09:18:18 +02:00
Yarne Coppens
f9ab7bf535 Started work on the refactoring 2024-08-21 21:03:49 +02:00
Yarne Coppens
c1ae021dae Added designers to boardgames (howly mowly) 2024-08-19 13:54:04 +02:00
Yarne Coppens
35f104cedc Added a BoardGamePublic class to get plays from endpoint 2024-08-18 17:12:19 +02:00
Yarne Coppens
cd624d8c4c Created a statistic creator module 2024-08-17 09:01:00 +02:00
Yarne Coppens
b27b6a2fd7 Created refresh endpoint 2024-08-16 10:13:47 +02:00
Yarne Coppens
767214b1aa Return full shelf of shame by default 2024-08-15 21:48:30 +02:00
Yarne Coppens
1579666db4 Added collection cost statistic 2024-08-15 19:47:30 +02:00
Yarne Coppens
eafb2b386f Added a shelf of shame statistic 2024-08-15 13:47:50 +02:00
Yarne Coppens
427a482b7c Fixed wrong variable naming 2024-08-15 11:21:33 +02:00
Yarne Coppens
6992b1a6b3 Made generic params for boardgame and play filtering 2024-08-15 11:18:27 +02:00
Yarne Coppens
92849b898b Made db session persist through the entire web request 2024-08-15 11:07:11 +02:00
Yarne Coppens
1bc8733cf9 Made DB thread safe 2024-08-15 10:29:54 +02:00
Yarne Coppens
d0918ae953 Changed timelinestatistic to allow dates & ints as key, as to allow a simple 'year' key 2024-08-14 22:19:56 +02:00
Yarne Coppens
1ea7a24694 Fixed bug with retrieving single boardgame if table is not empty 2024-08-14 09:19:02 +02:00
Yarne Coppens
b0826b875c Added expansion filtering on most endpoints 2024-08-13 10:45:34 +02:00
Yarne Coppens
259f82fa8d Fixed plays not containing expanions 2024-08-13 10:35:25 +02:00
Yarne Coppens
36330749c7 Added ability to add multiple plays at once to db 2024-08-12 20:39:25 +02:00
Yarne Coppens
9679aeb44d Added ability to request plays of specific boardgame 2024-08-12 20:23:05 +02:00
Yarne Coppens
c2e6e755c3 Created a play <-> boardgame relationship 2024-08-12 20:11:34 +02:00
Yarne Coppens
fa6c6807b0 players endpoint no longer also yields the play, as the play_id is a required parameter 2024-08-12 12:16:28 +02:00
Yarne Coppens
633e84b9b5 Made db session persistent. This was done for the change in Play and PlayPlayer, these have Public models now 2024-08-12 12:08:08 +02:00
Yarne Coppens
e976d2e83e Added expansion filtering to games_over_time 2024-08-12 09:18:43 +02:00
Yarne Coppens
f21d63d23e Added way to filter out expansions 2024-08-12 09:10:03 +02:00
Yarne Coppens
0abb778536 Created timeline statistic 2024-08-11 22:52:15 +02:00
Yarne Coppens
e7b9c4d0c1 Added most expensive games statistic 2024-08-11 22:18:12 +02:00
Yarne Coppens
7778813206 Wrote basic number statistic retrieval pytest 2024-08-11 21:52:36 +02:00
Yarne Coppens
cca5584c74 Started work on statistic classes 2024-08-11 21:42:07 +02:00
Yarne Coppens
9e82b16254 Changed play-playplayer to one-to-many relationship 2024-08-11 21:27:59 +02:00
Yarne Coppens
bb1f255c6c Fixed wrong board game type being set on retrieving from BGG 2024-08-11 19:58:22 +02:00
Yarne Coppens
e889e14c6c Replaced boardgame ID path parameter with a GET parameter 2024-08-11 16:03:36 +02:00
Yarne Coppens
52dfd0395d Added ability to filter wishlist on wishlist_priority 2024-08-11 12:05:29 +02:00
Yarne Coppens
32304d0c7d Purge database on startup 2024-08-08 18:50:28 +02:00
Yarne Coppens
b98d19f9ec Merge db_creation 2024-08-08 18:44:50 +02:00
Yarne Coppens
a34b482b95 Added more typing 2024-08-08 18:41:18 +02:00
Yarne Coppens
c73d7b31ce Response models can now properly return expansions as well 2024-08-08 18:13:01 +02:00
Yarne Coppens
962a842b44 Added ability to fully remove database 2024-08-08 16:50:52 +02:00