Georges-Antoine Assi
d172f2f3ef
hotfix some sqlalchemy models
2024-12-09 19:21:00 -05:00
Michael Manganiello
743ecd83e7
misc: Fix some typing issues
2024-12-07 12:29:45 -03:00
zurdi
5eefdda9d8
refactor aspect_ratio field to use string type and update related components
2024-12-03 10:51:29 +00:00
zurdi
b670b68df3
added default aspect ratio in platform table
2024-12-01 18:22:27 +00:00
zurdi
be87d92cf7
fixed platform info migration and models
2024-11-28 12:28:29 +00:00
zurdi
80b7cc7333
added basic platform info from the igdb api call
2024-11-27 11:43:06 +00:00
Michael Manganiello
beeb9f0c31
misc: Create enum for authorization scopes
...
Instead of using just strings, this change converts the scopes to a
`StrEnum`, to be compatible with places where a string is expected. This
avoids typos when using these scopes, simplifies searching for usages,
and improves type hints.
An extra change was the fix to the Firmware download endpoint, which
wasn't respecting the `DISABLE_DOWNLOAD_ENDPOINT_AUTH` flag.
2024-10-18 23:57:42 -03:00
Georges-Antoine Assi
6880d11a73
Merge branch 'master' into romm-1114
2024-09-21 12:30:39 -04:00
SaraVieira
7b8d46b90b
Merge branch 'master' of github.com:rommapp/romm into feat/retro_achievements
2024-09-10 21:07:57 +01:00
Georges-Antoine Assi
fc6455eccb
Merge pull request #1137 from rommapp/romm-829
...
[ROMM-829] Status fields on rom user
2024-09-09 19:41:38 -04:00
Georges-Antoine Assi
8fc25cde99
use timezone aware datetimes
2024-09-09 10:11:46 -04:00
Georges-Antoine Assi
2765a6e2c3
[ROMM-1176] Fetch video ID and place in carousel
2024-09-08 23:47:25 -04:00
SaraVieira
dc3a363bf2
finish endpoint; add final FE
2024-09-04 23:29:15 +01:00
Georges-Antoine Assi
5544ae1011
Merge branch 'master' into romm-1114
2024-08-31 23:55:13 -04:00
SaraVieira
11b46494a7
start work on retro achievements
2024-08-31 19:09:20 +01:00
Georges-Antoine Assi
962f5835af
add 4 more from retrodeck
2024-08-31 09:49:58 -04:00
Georges-Antoine Assi
5649ebfc03
Add bios files for doom
2024-08-30 17:20:27 -04:00
Georges-Antoine Assi
5f27c1cf39
Create new fields on rom_user
2024-08-29 15:56:01 -04:00
Georges-Antoine Assi
2acc822834
Add known bios files from retropie project
2024-08-27 16:47:24 -04:00
Georges-Antoine Assi
c3ea419c68
Add age ratings to UI + filters
2024-08-26 15:55:45 -04:00
Michael Manganiello
0fdbbe4625
misc: Upgrade Python to v3.12 and Alpine to v3.20
...
Included upgrades:
* Python: v3.12
* Alpine: v3.20 (which uses Python 3.12)
* nginx: v1.27.1
2024-08-15 20:14:32 -03:00
Georges-Antoine Assi
1ea1b326d3
move hashes to rom model
2024-08-11 22:38:22 -04:00
Georges-Antoine Assi
56037070fb
only calc hashes exlpicit
2024-08-11 19:36:52 -04:00
Georges-Antoine Assi
a4e162e2c1
Merge branch 'master' into calc-file-hashes-roms
2024-08-11 19:07:06 -04:00
Georges-Antoine Assi
7e086cec67
fixes from code review
2024-08-11 19:06:16 -04:00
Georges-Antoine Assi
5f0577b900
more cleanup
2024-08-09 00:17:11 -04:00
Georges-Antoine Assi
1ae9cd0b5a
remove unneded code
2024-08-09 00:10:31 -04:00
Georges-Antoine Assi
3a1986f453
single lines for the virtual table
2024-08-08 23:27:31 -04:00
Georges-Antoine Assi
cd54d902a7
create database view for sibling roms
2024-08-08 22:25:50 -04:00
Georges-Antoine Assi
9386ca9e4a
changes from self-review
2024-07-27 16:31:32 -04:00
Georges-Antoine Assi
efc0b75cdb
Merge branch 'master' into calc-file-hashes-roms
2024-07-25 22:42:46 -04:00
Georges-Antoine Assi
ad3a588631
filter collections for each user
2024-07-25 19:53:44 -04:00
Michael Manganiello
6eb8e6aeff
misc: Add Redis async cache
...
Introduce an asynchronous Redis instance to be used in async functions.
Also, this change migrates most of the sync cache usage to the new async
cache.
2024-07-21 18:23:19 -03:00
Georges-Antoine Assi
2b2ff875ee
Calculate hashes for rom files
2024-07-15 18:27:29 -04:00
Michael Manganiello
004c0b634e
fix: Make some DB columns non-nullable
...
This change makes some database columns non-nullable, and includes the
migration to seamlessly upgrade the schema.
It includes:
* User and Platform names
* Every boolean column
2024-07-07 11:07:27 -03: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
59c2a51a6f
added collection cover management
2024-07-03 14:31:17 +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
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
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
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
43cd6a8383
added main sibling per user
2024-06-29 14:09:41 +02:00