32 Commits

Author SHA1 Message Date
Georges-Antoine Assi
d45afb5dde
more fixes 2026-04-12 18:32:15 -04:00
Georges-Antoine Assi
f227a3145d
changes from bot review 2026-04-07 22:32:40 -04:00
Georges-Antoine Assi
f2619ac0d1
Merge branch 'master' into pegasus-metadata-export 2026-04-06 11:06:08 -04:00
Georges-Antoine Assi
d13e7b6783
fix tests again 2026-03-22 00:03:29 -04:00
nendo
55638d15dc fix: address bugs, security issues, and convention violations in save-sync
- Fix broken path construction in FSSyncHandler: build_* methods now
  return relative paths; sync_watcher uses paths relative to sync base
  instead of CWD (was completely non-functional in production)
- Fix SSH connection leak in push-pull task: conn.close() now in finally
- Add log.warning for disabled SSH host key verification
- Fix race condition in session operation counter: use atomic SQL
  increment instead of read-then-write
- Extract _increment_session_counter helper, add exc_info to warnings
- Replace legacy session.query() with select() in sync_sessions_handler
- Fix orphaned session: trigger_push_pull now passes session_id to job
- Fix wasteful SSH download when no matched_save exists
- Fix BaseModel import collision in sync.py (pydantic -> project base)
- Fix ORM mutation in UserSchema.from_orm_with_request: set field on
  schema instance instead of mutating live ORM object
- Mask ssh_password and ssh_key_path in DeviceSchema API response
- Fix migration PostgreSQL compatibility: condition ON UPDATE clause
  on MySQL, drop enum in downgrade
- Rename copy-paste artifact rom_user_status_enum
2026-03-16 10:56:43 +09:00
Georges-Antoine Assi
b3fbbf59fb
add tests 2026-03-14 23:35:04 -04:00
Georges-Antoine Assi
661a5504d7
find a couple more uses 2026-02-09 17:26:21 -05:00
Georges-Antoine Assi
1602688d08
fix one more test 2026-01-19 12:48:54 -05:00
Georges-Antoine Assi
dd5935f50c
fix tests 2026-01-19 12:20:11 -05:00
zurdi
bd52217462
Refactor library structure detection to use enum values for consistency 2026-01-02 13:09:37 +00:00
zurdi
cc816822d8
Refactor library structure detection to use enum values and update related tests and frontend logic 2026-01-02 11:54:29 +00:00
zurdi
06a1598bcc
Merge remote-tracking branch 'origin/master' into romm-1371 2026-01-02 11:12:36 +00:00
Georges-Antoine Assi
bdc7c265f1
fix tests 2025-12-30 11:44:42 -05:00
Georges-Antoine Assi
f867968f37
refactor get_rom_files return value 2025-12-30 11:42:38 -05:00
Georges-Antoine Assi
0971026f95
Add support for version tag 2025-12-30 11:37:06 -05:00
zurdi
cbe64ce29c
test: add tests for library structure detection in FSPlatformsHandler 2025-12-23 16:24:33 +00:00
zurdi
ecf4ae542f
fix: correct spelling of 'get_platform_fs_structure' in multiple files 2025-12-21 16:48:45 +00:00
Georges-Antoine Assi
76e67c7844
[HOTFIX] Catch RomsNotFoundException in scan file precalculation 2025-12-09 08:53:28 -05:00
sftwninja
9cd3649d8f fix: Fix comment from previous dummy test file 2025-11-17 03:03:00 -06:00
sftwninja
7581c0a8e8 fix: Address Gemini PR comments 2025-11-17 01:55:55 -06:00
sftwninja
90a5a66a12 Use internal SHA1 hash if CHD file is v5 2025-11-16 23:41:32 -06:00
Georges-Antoine Assi
cc309983ff
fix scrolling and test 2025-10-31 11:50:51 -04:00
Georges-Antoine Assi
438f514e76
fix tests 2025-10-28 11:38:57 -04:00
Georges-Antoine Assi
c1ac9a2133
fix screenshots dissapearing on scan 2025-10-28 11:00:45 -04:00
Georges-Antoine Assi
8975a7ed89
fix ra tests 2025-10-26 14:02:21 -04:00
Georges-Antoine Assi
bbade3e40e
fix tests 2025-10-23 17:05:23 -04:00
Georges-Antoine Assi
d48b2542b8
fix fixture 2025-10-18 18:20:24 -04:00
Georges-Antoine Assi
24a5acce5d
[ROMM-2552] Rom hashes should only include top-level nested files 2025-10-18 18:05:57 -04:00
Georges-Antoine Assi
35bfe9ed61
fix tests 2025-09-25 20:44:11 -04:00
Georges-Antoine Assi
b5776be475
Split rom.multi into more specific fields 2025-09-25 18:48:27 -04:00
Michael Manganiello
e4e3928d1b
misc: Apply import sorting 2025-09-04 11:17:00 -03:00
Michael Manganiello
ba21cbc1e1
misc: Separate tests folder from backend code
Create separate `tests/` folder for all tests. This will also simplify
not copying tests code into the Docker image.
2025-08-08 12:49:13 -03:00