Zurdi
4a413db4c5
fixes from PR review
2024-07-02 17:49:48 +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
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
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
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
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
zurdi
a07133d678
added filter for static/animated cover
2024-06-27 16:45:56 +02:00
zurdi
7dfbcc9a0b
dinamic ratio for small artwork
2024-06-26 19:37:50 +02:00
Zurdi
c8f9015561
Merge branch 'master' into feature/steamgriddb
2024-06-26 18:17:03 +02:00
zurdi
180c373e1e
steamgridDB integration added
2024-06-26 17:36:02 +02:00
Michael Manganiello
3bd37165d4
fix: Call Redis HSET in bulk
2024-06-26 00:17:49 -03: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
Georges-Antoine Assi
92d5c60f43
run trunk fmt
2024-06-23 15:09:55 +00:00
Georges-Antoine Assi
74cb0625b2
Merge branch 'master' into misc/move-fakeredis-to-test-dependency
2024-06-23 11:04:07 -04:00
Michael Manganiello
ed635d69cc
misc: Move fakeredis to test dependencies
...
`fakeredis` is only needed when running tests, so we can move it to the
`test` dependency group.
2024-06-23 11:10:25 -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
8de804ff27
redesigned select source on match rom dialog
2024-06-20 13:41:46 +02:00
zurdi
8386625f7f
bigger small size cover
2024-06-20 11:36:13 +02:00
Georges-Antoine Assi
057fef7ce9
better error handling when image fetch 503
2024-06-19 23:00:56 -04:00
Georges-Antoine Assi
6e049c1012
can accept nulls
2024-06-19 10:19:00 -04:00
Georges-Antoine Assi
e2c5ba68cb
backend tweaks + refactor
2024-06-18 23:21:17 -04:00
zurdi
d3fd75bff4
format from trunk
2024-06-18 19:20:26 +02:00
zurdi
d02d416f40
generate small version of custom cover
2024-06-18 14:20:49 +02:00
zurdi
44fe44bbe5
Merge remote-tracking branch 'origin/master' into refactor/main_layout
2024-06-18 13:13:04 +02:00
Zurdi
7cc478613e
Merge branch 'master' into patch-oct-key
2024-06-18 13:09:23 +02:00
zurdi
72b63322e4
fixed resources migration
2024-06-18 11:46:36 +02:00
zurdi
84e442c0c5
cover path platform migrated to id
2024-06-18 01:24:19 +02:00
zurdi
851f354e9e
fixed from trunk check
2024-06-17 19:11:12 +02:00
zurdi
ed67cfff12
fixed unit tests
2024-06-17 18:05:48 +02:00
zurdi
43846e3583
added new version card
2024-06-17 17:47:25 +02:00
Zurdi
242dbb9da5
cover path migration to id
2024-06-17 13:45:35 +02:00
Zurdi
b5383d3cb2
fixed getting 1080p cover from manual search
2024-06-16 18:35:37 +02:00
Georges-Antoine Assi
652047ad66
update test cassettes
2024-06-15 12:18:01 -04:00
Georges-Antoine Assi
8ab3aba614
fix trunk issues
2024-06-15 11:43:33 -04:00
Zurdi
cf38949a65
fetch 1080p cover and huge screenshots
2024-06-15 16:58:13 +02:00
Hsiaoming Yang
5d82be1ca4
use OctKey directly to prevent joserfc deprecate message
2024-06-14 17:13:36 +09:00
Zurdi
408f9d2e1d
improved config file unit test handling
2024-06-13 23:07:57 +02:00
Georges-Antoine Assi
2c3bd796de
manual fixes
2024-06-02 14:00:12 -04:00