Commit graph

31 commits

Author SHA1 Message Date
Yarne Coppens
51cd2dda07 Made plays work with refactored changes 2024-08-22 09:55:31 +02:00
Yarne Coppens
929e45380b Made wishlist work with refactored changes 2024-08-22 09:35:53 +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
b27b6a2fd7 Created refresh endpoint 2024-08-16 10:13:47 +02:00
Yarne Coppens
eafb2b386f Added a shelf of shame statistic 2024-08-15 13:47:50 +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
226c7be5a2 Using sessionmaker to avoid thread issues 2024-08-15 09:29:31 +02:00
Yarne Coppens
e59fd63237 Fixed bug when retrieving plays. BGG was queried too much 2024-08-14 10:54:11 +02:00
Yarne Coppens
40980ae89a DB now returns missing boardgame ids when retrieving multiple board games, to more efficiently retrieve them from BGG 2024-08-14 10:02:25 +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
fc551be2a4 Removed None id's from plays 2024-08-14 09:12:20 +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
9ef700aef8 Fixed boardgame retrieval bug 2024-08-12 20:35:12 +02:00
Yarne Coppens
c2e6e755c3 Created a play <-> boardgame relationship 2024-08-12 20:11:34 +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
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
75e68dbd89 Created base method on db_connection for retrieving board games instead of a method for each board game type 2024-08-11 15:58:07 +02:00
Yarne Coppens
52dfd0395d Added ability to filter wishlist on wishlist_priority 2024-08-11 12:05:29 +02:00
Yarne Coppens
a34b482b95 Added more typing 2024-08-08 18:41:18 +02:00
Yarne Coppens
3e9347d71c Owned collection is properly stored in db 2024-08-08 18:13:18 +02:00
Yarne Coppens
a7f9b63556 When getting base board game, connection will check if board game is already in db and return it, if not it will add it. 2024-08-08 17:56:22 +02:00
Yarne Coppens
dfec34acc7 Created ability to add board games to db 2024-08-08 17:13:29 +02:00
Yarne Coppens
962a842b44 Added ability to fully remove database 2024-08-08 16:50:52 +02:00
Yarne Coppens
aaf0319151 Created boardgame DB classes for table creation 2024-08-03 15:42:19 +02:00
Yarne Coppens
ec30a9c364 Started work on db connection. data_connection will control where data will be returned from 2024-08-03 10:44:52 +02:00