Georges-Antoine Assi
f2e8e337b2
Merge branch 'master' into save-sync
2026-04-05 21:47:53 -04:00
Georges-Antoine Assi
ef35ecaea9
props rom updte endpoint
2026-04-04 14:16:00 -04:00
copilot-swe-agent[bot]
674061c1d3
fix: narrow OSError catch and clean up test mock
...
Agent-Logs-Url: https://github.com/rommapp/romm/sessions/303f2c27-6b65-41a9-b201-c055142b1edb
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-04-03 17:31:14 +00:00
copilot-swe-agent[bot]
394799d7c3
fix: wrap empty parent dir cleanup in try-except and add test coverage for it
...
Agent-Logs-Url: https://github.com/rommapp/romm/sessions/303f2c27-6b65-41a9-b201-c055142b1edb
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-04-03 17:28:50 +00:00
copilot-swe-agent[bot]
e540d7c1a2
fix: handle nested ROM directories in delete endpoint and reorder FS/DB operations
...
Agent-Logs-Url: https://github.com/rommapp/romm/sessions/303f2c27-6b65-41a9-b201-c055142b1edb
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-04-03 17:26:22 +00:00
Georges-Antoine Assi
4c97eddfc3
fix trunk check
2026-03-22 16:30:14 -04:00
Georges-Antoine Assi
55ca39cacb
fix deprecations in pydantic
2026-03-15 09:34:48 -04:00
Georges-Antoine Assi
ed6f9f5907
cleanup endpoint tests
2026-03-14 23:56:46 -04:00
HydroSulphide
6a1c1597ce
Fix: directly import constants from config and preventing silent fallback on wrong user input for env variable
2026-03-12 20:18:48 +01:00
HydroSulphide
48091225c7
Fix: imports in all test files with renamed constants
2026-03-12 20:04:19 +01:00
Georges-Antoine Assi
b1cd003625
run fmt
2026-03-11 22:27:33 -04:00
copilot-swe-agent[bot]
d45530cd8b
Add typed RomUserData model for documented partial ROM user props update
...
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-03-12 01:41:10 +00:00
HydroSulphide
8758cb31b7
Tried to fix everything the bot complained about and the failed pytests.
...
Three tests were also implemented to check initial implementation that now invalidates expired access and refresh tokens and also rotating refresh tokens.
Since I introduced wrapper functions for create_oauth_token to distinguish between access and refresh token there is no need to set the token type in the data dict, since the type is now enforced in the wrapper functions create_access_token and create_refresh_token.
By convention I renamed create_oauth_token to _create_oauth_token as it is considered a private helper function now.
2026-03-10 07:22:02 +01:00
Georges-Antoine Assi
1f64e8437b
Switch ACCESS_TOKEN_EXPIRE_MINUTES to SECONDS
2026-03-08 22:46:54 -04:00
Georges-Antoine Assi
e81659ab0f
cleanup and add tests
2026-03-08 15:32:49 -04:00