Commit graph

98 commits

Author SHA1 Message Date
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
b8bb824115 Added filters 2024-08-12 09:31:27 +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
45ffc7e89c Made unknown acquisition dates be much later 2024-08-11 23:04:08 +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
fa9fe046a9 Wrote players retrieval pytest 2024-08-11 21:50:16 +02:00
Yarne Coppens
01d8c769f8 Play class date is now a date type 2024-08-11 21:45:27 +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
2b7fcdbae3 Created Play and PlayPlayer tables with link table 2024-08-11 20:21:54 +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
f83d8eb897 Merge branch 'fastapi' of https://gitea.yarnecoppens.com/Yarninator/bgg_api into fastapi 2024-08-11 16:03:56 +02:00
Yarne Coppens
e889e14c6c Replaced boardgame ID path parameter with a GET parameter 2024-08-11 16:03:36 +02:00
Yarne Coppens
03fb8d5f0b Replaced boargame ID path parameter with a GET parameter 2024-08-11 16:02:55 +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
58746833bd Unescapes HTML encoding from game description 2024-08-11 10:44:35 +02:00
Yarne Coppens
2c26e87ec5 Added database to gitignore 2024-08-08 18:59:25 +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
3e9347d71c Owned collection is properly stored in db 2024-08-08 18:13: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
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
1ad9985377 Added test for correct weight conversion 2024-08-08 17:00:34 +02:00
Yarne Coppens
42b13b8413 Fixed unpacking bug 2024-08-08 17:00:22 +02:00
Yarne Coppens
f47c7cfd16 Bgg connection owned info now unpacks board game extra info 2024-08-08 16:52:48 +02:00
Yarne Coppens
962a842b44 Added ability to fully remove database 2024-08-08 16:50:52 +02:00
Yarne Coppens
f96494cf07 Added weight to board game class 2024-08-08 16:50:42 +02:00
Yarne Coppens
d6b0fee842 Added CORS 2024-08-08 16:35:06 +02:00
Yarne Coppens
aaf0319151 Created boardgame DB classes for table creation 2024-08-03 15:42:19 +02:00
Yarne Coppens
b7d3f2d0d2 Created definitions for sqlite database file 2024-08-03 14:19:18 +02:00
Yarne Coppens
5ee3f89647 Created boardgame class for DB 2024-08-03 14:18:54 +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
Yarne Coppens
82694d84ed Wrote wishlist test 2024-08-03 10:31:16 +02:00
Yarne Coppens
fd6e6827f2 Made 2 definitions ints instead of floats 2024-08-02 15:09:20 +02:00
Yarne Coppens
98cef3603c Added the abililty to retrieve all plays 2024-08-02 12:48:35 +02:00
Yarne Coppens
592c416820 Added more constant definitions 2024-08-02 12:06:53 +02:00
Yarne Coppens
56e2325740 Fixed PlayPlayer wrong type assignment 2024-08-02 11:51:25 +02:00
Yarne Coppens
b820f3b78c Created base play class 2024-08-02 11:43:30 +02:00
Yarne Coppens
aad61804e6 Started work on play class 2024-08-02 11:32:56 +02:00
Yarne Coppens
8b829c4f7c Put secret file path in definitions 2024-08-02 11:22:08 +02:00
Yarne Coppens
86c3f54d03 Created wishlist test 2024-08-02 10:54:41 +02:00
Yarne Coppens
f963b8ae07 Renamed collection endpoint to owned to avoid confusion 2024-08-02 10:54:29 +02:00
Yarne Coppens
1036205acc Fixed wishlist endpoint. Application no longer assumes wishlist board games are owned 2024-08-02 10:50:18 +02:00
Yarne Coppens
5b87e45523 Created a wishlist expansion boardgame class 2024-08-02 10:37:47 +02:00