Commit Graph

9275 Commits

Author SHA1 Message Date
zurdi
66e185db47 Merge branch 'master' into feature/fav_for_siblings 2024-07-01 08:34:04 +02:00
Georges-Antoine Assi
9a32f6b251 Merge pull request #970 from adamantike/misc/simplify-stat-query-platforms
misc: Simplify statistics query to retrieve platforms count
2024-06-30 20:45:51 -04: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
11f273e088 Merge pull request #968 from adamantike/misc/split-db-handler-logic-to-get-list
misc: Split database handler logic to get/list entities
2024-06-30 19:49:44 -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
Georges-Antoine Assi
7b024863b3 Merge pull request #967 from adamantike/misc/use-future-annotations
misc: Use Python future annotations
2024-06-30 19:24:39 -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
zurdi
987ced3a08 fixed new_column type 2024-06-29 01:01:36 +02:00
zurdi
62878319df fixed updated_at migration 2024-06-29 00:55:22 +02:00
Zurdi
c022e9cef7 added user_rom_props entity 2024-06-29 00:13:28 +02:00
Zurdi
be65034802 Merge branch 'master' into feature/fav_for_siblings 2024-06-28 23:25:53 +02:00
Zurdi
1454395c78 Update backend/endpoints/platform.py
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com>
2024-06-28 22:47:33 +02:00
Zurdi
bd0c8579bb Merge pull request #965 from rommapp/fix/scan
Fix socket scan logs
2024-06-28 22:44:20 +02:00
Zurdi
1390cb1990 fixed datetime serialization on socketio dump 2024-06-28 19:14:02 +02:00
Zurdi
08ff388edf little ui tweaks 2024-06-28 18:39:16 +02:00
Zurdi
8a9869f148 Merge remote-tracking branch 'origin/master' into feature/fav_for_siblings 2024-06-28 18:02:29 +02:00
Zurdi
bfb8ab371b tweak collections/platforms drawers 2024-06-28 18:02:07 +02:00
Zurdi
1772f333fb Merge pull request #960 from rommapp/feature/steamgriddb
SteamGridDB integration
2024-06-28 18:00:01 +02:00
Zurdi
ed01149d11 Merge branch 'feature/fav_for_siblings' into feature/collections 2024-06-28 17:39:11 +02:00
Zurdi
b2587fa759 fixed missing cover aspect ratio 2024-06-28 17:38:43 +02:00
Zurdi
2515b1f0c1 Merge branch 'feature/fav_for_siblings' into feature/collections 2024-06-28 17:33:21 +02:00
Zurdi
3145aa6003 Merge branch 'feature/steamgriddb' into feature/fav_for_siblings 2024-06-28 17:33:05 +02:00
Zurdi
dc479b289b fixes from trunk 2024-06-28 17:32:04 +02:00
Zurdi
1156a10913 Merge branch 'feature/fav_for_siblings' into feature/collections 2024-06-28 17:28:55 +02:00
Zurdi
9b38704399 Merge branch 'feature/steamgriddb' into feature/fav_for_siblings 2024-06-28 17:28:43 +02:00
Zurdi
818872e345 fixed migrations 2024-06-28 17:28:01 +02:00
Zurdi
35ddac5c84 Merge branch 'feature/fav_for_siblings' into feature/collections 2024-06-28 16:48:29 +02:00
Zurdi
835339cdf6 Merge branch 'feature/steamgriddb' into feature/fav_for_siblings 2024-06-28 16:48:08 +02:00
Zurdi
d2fe08f525 added update_at and created_at to base model 2024-06-28 16:45:39 +02:00
Zurdi
0f1db6be5d Update frontend/src/components/common/Game/AdminMenu.vue
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com>
2024-06-28 16:35:53 +02:00
zurdi
70200d858e Merge branch 'feature/fav_for_siblings' into feature/fav_collection 2024-06-28 16:24:04 +02:00
zurdi
a282384bb5 fixed platform error on gallery 2024-06-28 14:23:51 +02:00
zurdi
02f4bf4961 collections view added 2024-06-28 14:19:47 +02:00
zurdi
87d7eb51a5 fixed supported platforms endpoint 2024-06-28 12:31:31 +02:00
zurdi
715a7d3a1f main navigation components extracted 2024-06-28 10:56:01 +02:00
zurdi
77b344cc96 reverted size info 2024-06-28 09:36:13 +02:00
zurdi
f6d476b7b6 ui tweak play view 2024-06-28 00:40:04 +02:00