zurdi
1d6ba70080
collections get_roms endpoint added
2024-07-02 14:31:27 +02:00
Georges-Antoine Assi
7530fdd576
mega refactor of pr
2024-07-01 15:12:07 -04:00
zurdi
66e185db47
Merge branch 'master' into feature/fav_for_siblings
2024-07-01 08:34:04 +02: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
c022e9cef7
added user_rom_props entity
2024-06-29 00:13:28 +02:00
Zurdi
dc479b289b
fixes from trunk
2024-06-28 17:32:04 +02:00
Zurdi
d2fe08f525
added update_at and created_at to base model
2024-06-28 16:45:39 +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
Michael Manganiello
b99ededced
misc: Migrate to SQLAlchemy declarative models
...
This change applies the guided migration process recommended by
SQLAlchemy [1], up to step 4, to have declarative ORM models that better
support Python typing.
The change was tested by running `alembic check`, which does not find
any schema changes.
Errors reported by `mypy` go down to 170, from the original 223 in the
current `master` commit.
[1] https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#migrating-an-existing-mapping
2024-06-25 23:03:20 -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
b075e93321
Merge branch 'master' into trunk-io
2024-05-24 16:47:19 -04:00
Georges-Antoine Assi
2d4d1b5ae3
improve roms loading time
2024-05-24 10:14:44 -04:00
Georges-Antoine Assi
2b60402a04
start fixing mypy issues
2024-05-21 19:22:14 -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
2749aaee4a
rename back to old names
2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
9ad28f3294
more refactoring again
2024-05-05 16:32:40 -04:00
Georges-Antoine Assi
def2608c28
refactor db handlers
2024-05-05 15:46:07 -04:00
Georges-Antoine Assi
1a2c914045
refactor handlers out into own files
2024-05-05 12:45:56 -04:00
Georges-Antoine Assi
e4b9b09525
create and load self and public notes with editor
2024-04-28 13:30:12 -04:00
Georges-Antoine Assi
c3e1f4f44c
[ROMM-618] Add last logged in and last active for users
2024-04-06 15:29:40 -04:00
Georges-Antoine Assi
eb18388a81
Mega refactor of asset
2024-02-01 17:59:06 -05:00
Georges-Antoine Assi
092df45e4a
Misc hotfixes from backend refactor
2024-01-18 16:55:35 -05:00
Georges-Antoine Assi
7963e243dc
Fix batch of test fixes
2024-01-17 10:26:37 -05:00
Zurdi
4b9e76f550
backend structure refactor
2024-01-12 23:44:27 +01:00
Georges-Antoine Assi
5762270f62
Merge branch 'master' into romm-55
2024-01-09 13:06:51 -05:00
Zurdi
eea7e41940
docstrings added to endpoints + organized imports + formatted code
2024-01-09 16:22:31 +01:00
Georges-Antoine Assi
f560d03b86
Get saves and states loading
2023-11-14 00:00:33 -05:00
zurdi
f4f936f624
user avatar and enable/disable user support added
2023-08-23 14:16:31 +02:00
Georges-Antoine Assi
58b7e9adcf
Tweaks to db handelr test
2023-08-13 09:44:49 -04:00
Georges-Antoine Assi
5943489f51
Oauth scheme and security list
2023-08-12 21:46:32 -04:00
Georges-Antoine Assi
590ea89972
Place auth behind flag
2023-08-11 13:42:16 -04:00
Georges-Antoine Assi
a8a402d250
Add scopes and roles
2023-08-10 23:37:05 -04:00
Georges-Antoine Assi
cb306d3099
Working authentication via starlette
2023-08-10 00:06:25 -04:00
Georges-Antoine Assi
9c3bc6b842
Add jwt based auth
2023-08-09 22:15:05 -04:00