Commit Graph

562 Commits

Author SHA1 Message Date
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
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
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
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
8750e343e5 Merge branch 'master' into misc/split-db-handler-logic-to-get-list 2024-06-30 19:24:59 -04: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
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
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
1390cb1990 fixed datetime serialization on socketio dump 2024-06-28 19:14:02 +02:00
zurdi
a282384bb5 fixed platform error on gallery 2024-06-28 14:23:51 +02:00
zurdi
87d7eb51a5 fixed supported platforms endpoint 2024-06-28 12:31:31 +02:00
Zurdi
7d9ce05c3c added main sibling to the front and database 2024-06-27 21:50:04 +02:00
zurdi
b9b861d684 set main sibling added to the backend 2024-06-27 19:26:19 +02:00
zurdi
d3324b6d31 added created_at column 2024-06-27 12:12:35 +02:00
zurdi
542cc6aa64 added updated_at column to tables 2024-06-27 11:59:45 +02:00
zurdi
180c373e1e steamgridDB integration added 2024-06-26 17:36:02 +02:00
Georges-Antoine Assi
176c57c792 run trunk fmt 2024-06-23 18:17:19 -03:00
Michael Manganiello
33ac3ca56d misc: Apply changes generated by pyupgrade
Changes automatically made by
[`pyupgrade`](https://github.com/asottile/pyupgrade), using the
`--py311-plus` flag, to be compatible with Python 3.11.
2024-06-23 18:17:08 -03:00
Michael Manganiello
fc53d77a58 misc: Compile constant regular expressions
Improve efficiency on reusable regular expressions, by compiling them.
2024-06-23 00:36:22 -03:00
zurdi
749f1bcc77 added renaming message on match 2024-06-20 14:15:10 +02:00
Georges-Antoine Assi
e2c5ba68cb backend tweaks + refactor 2024-06-18 23:21:17 -04:00
zurdi
65aaae615f added fs platform list to platform bind/version dialog 2024-06-19 01:24:51 +02:00
zurdi
d02d416f40 generate small version of custom cover 2024-06-18 14:20:49 +02:00
zurdi
84e442c0c5 cover path platform migrated to id 2024-06-18 01:24:19 +02:00