T13: Three fixes: 1. backup.py: _decrypt_db_to_bytes() decrypts SQLCipher DB before archiving so the zip is portable to any local Docker install (plain SQLite). 2. backup.py: _encrypt_db_from_bytes() re-encrypts on restore in cloud mode so the app can open the restored DB normally. 3. 2_Settings.py: _base_dir uses get_db_path().parent in cloud mode (user's per-tenant data dir) instead of the hardcoded app root; db_key wired through both create_backup() and restore_backup() calls. 6 new cloud backup tests + 2 unit tests for SQLCipher helpers (pysqlcipher3 mocked — not available in the local conda test env). 419/419 total passing. |
||
|---|---|---|
| .. | ||
| 0_Setup.py | ||
| 1_Job_Review.py | ||
| 2_Settings.py | ||
| 4_Apply.py | ||
| 5_Interviews.py | ||
| 6_Interview_Prep.py | ||
| 7_Survey.py | ||