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
8fc25cde99
use timezone aware datetimes
2024-09-09 10:11:46 -04:00
zurdi
8a2a4d6099
fixes from trunk
2024-07-04 23:54:18 +02:00
zurdi
3d27a05c22
fixes from trunk
2024-07-04 23:47:14 +02:00
zurdi
4b81c01140
fixed tests
2024-07-04 22:26:35 +02:00
zurdi
2ec4debd61
setup wizard added
2024-07-04 14:19:00 +02:00
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
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
c022e9cef7
added user_rom_props entity
2024-06-29 00:13:28 +02:00
zurdi
d3fd75bff4
format from trunk
2024-06-18 19:20:26 +02:00
Hsiaoming Yang
5d82be1ca4
use OctKey directly to prevent joserfc deprecate message
2024-06-14 17:13:36 +09:00
Georges-Antoine Assi
b2085f87a8
bunch of fixes for trunk
2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
2756121f06
Merge branch 'master' into python-pkg-drop
2024-05-14 09:22:59 -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