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
1d6ba70080
collections get_roms endpoint added
2024-07-02 14:31:27 +02:00
Zurdi
cc9e05f668
collections migration added
2024-07-01 23:47:15 +02:00
Georges-Antoine Assi
7530fdd576
mega refactor of pr
2024-07-01 15:12:07 -04: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
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
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
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
c022e9cef7
added user_rom_props entity
2024-06-29 00:13:28 +02:00
Zurdi
7d9ce05c3c
added main sibling to the front and database
2024-06-27 21:50:04 +02:00
Georges-Antoine Assi
7635bbeac2
run trunk fixes
2024-05-24 16:59:54 -04:00
Georges-Antoine Assi
b075e93321
Merge branch 'master' into trunk-io
2024-05-24 16:47:19 -04:00
Georges-Antoine Assi
d99c1996ae
use platforms store + fix scan
2024-05-24 12:01:47 -04:00
Georges-Antoine Assi
2d4d1b5ae3
improve roms loading time
2024-05-24 10:14:44 -04:00
Georges-Antoine Assi
1840390c8a
finish mypy fixes
2024-05-21 21:28:17 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
da784fc7ab
Merge branch 'master' into firmware-bios-support
2024-05-13 09:13:55 -04:00
Georges-Antoine Assi
dc33054ba1
more name refactoring
2024-05-05 16:45:58 -04:00