zurdi
e9363b0335
Merge branch 'feature/setup-wizard' into feature/user-own-edit
2024-07-04 23:58:20 +02:00
zurdi
8a2a4d6099
fixes from trunk
2024-07-04 23:54:18 +02:00
zurdi
3d27a05c22
fixes from trunk
2024-07-04 23:47:14 +02:00
zurdi
bab71b00c2
fixes from trunk
2024-07-04 23:45:44 +02:00
Zurdi
46ce99b2e6
fixed stats and user handler
2024-07-04 23:16:13 +02:00
zurdi
bc99663fe6
fixed tests
2024-07-04 23:16:13 +02:00
Zurdi
7cdc12c7b2
fixed stats and user handler
2024-07-04 23:11:07 +02:00
zurdi
4b81c01140
fixed tests
2024-07-04 22:26:35 +02:00
zurdi
9ff5eeb367
modified update user endpoint to allow own edition
2024-07-04 21:19:20 +02:00
Zurdi
17c9108992
fixed from PR comment
2024-07-04 19:21:41 +02:00
Zurdi
b66a41f86b
Update backend/endpoints/collections.py
...
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2024-07-04 19:21:40 +02:00
Zurdi
3f0609a4ca
Update backend/endpoints/collections.py
...
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2024-07-04 19:21:40 +02:00
zurdi
2ec4debd61
setup wizard added
2024-07-04 14:19:00 +02:00
zurdi
f2f202de9e
add user collections to details
2024-07-04 01:25:44 +02:00
Zurdi
5126c56ba9
get collections for detailed rom info
2024-07-04 00:05:37 +02:00
Zurdi
9a4283805c
check steamgriddb api key on endpoint
2024-07-03 23:42:59 +02:00
Zurdi
2a7def81ac
added reactivity to collections
2024-07-03 21:58:58 +02:00
Zurdi
b1b55f16be
fixed migrations
2024-07-03 17:19:49 +02:00
zurdi
59c2a51a6f
added collection cover management
2024-07-03 14:31:17 +02:00
zurdi
39708ff828
fixes from trunk
2024-07-03 10:03:55 +02:00
zurdi
50bcd00361
added remove rom from collection dialog
2024-07-03 01:29:01 +02:00
Zurdi
23e0a064ab
added update collection endpoint
2024-07-02 23:34:50 +02:00
Zurdi
857573e607
Merge remote-tracking branch 'origin/master' into feature/collections
2024-07-02 17:53:35 +02:00
Zurdi
4a413db4c5
fixes from PR review
2024-07-02 17:49:48 +02:00
zurdi
1d6ba70080
collections get_roms endpoint added
2024-07-02 14:31:27 +02:00
zurdi
2b6a86898a
cleanup scan socket
2024-07-02 01:48:43 +02:00
Zurdi
cc9e05f668
collections migration added
2024-07-01 23:47:15 +02:00
Zurdi
9f2f98d405
Merge branch 'feature/fav_for_siblings' into feature/collections
2024-07-01 22:42:34 +02:00
Georges-Antoine Assi
16764407a3
fix showing duplicate own nates
2024-07-01 16:17:48 -04:00
Georges-Antoine Assi
7530fdd576
mega refactor of pr
2024-07-01 15:12:07 -04:00
Zurdi
a417af9d41
fixed update user_rom_props
2024-07-01 18:18:33 +02:00
Zurdi
a937b0ddcf
added publicNotes schema
2024-07-01 17:42:23 +02:00
zurdi
15f7522da5
rom db hanlder refactor to adapt to user_rom_props
2024-07-01 15:30:14 +02:00
zurdi
66e185db47
Merge branch 'master' into feature/fav_for_siblings
2024-07-01 08:34:04 +02:00
Georges-Antoine Assi
b7c2350123
Merge branch 'master' into misc/simplify-stat-query-platforms
2024-06-30 20:24:47 -04:00
Georges-Antoine Assi
bffffcc9c3
Merge pull request #969 from adamantike/fix/implement-total-filesize-stat
...
fix: Add implementation for total filesize statistic
2024-06-30 20:00:00 -04:00
Georges-Antoine Assi
8750e343e5
Merge branch 'master' into misc/split-db-handler-logic-to-get-list
2024-06-30 19:24:59 -04:00
Michael Manganiello
bc13e69a5b
misc: Simplify statistics query to retrieve platforms count
...
Instead of counting `Platform` rows, and filtering based on a subquery
in `Rom`, we can simply count the different `platform_id` values in
`Rom`.
2024-06-30 17:55:11 -03:00
Michael Manganiello
b0f834282a
fix: Add implementation for total filesize statistic
...
Add query that calculates total filesize statistic, currently hardcoded
to zero.
2024-06-30 17:40:48 -03:00
Michael Manganiello
8281d5679b
misc: Split database handler logic to get/list entities
...
The current implementation for some of the database handlers, where the
same method is used to retrieve either a single entity (when an `id` is
passed), a list of entities, or `None`, makes the typing and overall
design more complex.
This change simplifies database handlers, by having two separate methods
where appropiate:
* A method that receives an `id`, and returns either an entity, or `None`.
* A method that optionally receives filters, and returns (depending on
the current handler implementation) a list of entities, or a `Select`
object that allows chaining more SQLAlchemy operations.
2024-06-30 13:12:48 -03:00
Michael Manganiello
e1bcd9cc06
misc: Use Python future annotations
...
Simplify annotations by using `__future__.annotations`, so there's no
need to add typing using types as strings.
2024-06-30 12:19:37 -03:00
zurdi
aff4bb65de
add user_rom_props to get_roms
2024-06-30 13:26:50 +02:00
zurdi
4749bf84c6
atomic update user_rom_props
2024-06-30 01:50:08 +02:00
Zurdi
d3381e16b0
Update backend/handler/auth/base_handler.py
...
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2024-06-29 18:20:01 +02:00
Zurdi
d17e02987c
Update backend/endpoints/responses/rom.py
...
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com >
2024-06-29 18:19:52 +02:00
Zurdi
43cd6a8383
added main sibling per user
2024-06-29 14:09:41 +02:00
zurdi
0a0bab6730
migrated rom_notes to user_rom_props
2024-06-29 11:26:16 +02:00
zurdi
5a527fefa8
Merge branch 'master' into feature/fav_for_siblings
2024-06-29 01:29:27 +02:00
zurdi
447b5b8a75
added default value on migration
2024-06-29 01:29:10 +02:00
zurdi
72e71d8ffa
Merge branch 'master' into feature/fav_for_siblings
2024-06-29 01:02:42 +02:00