mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 21:45:25 +02:00
feat: Handle Safari-mangled backup ZIPs and improve backup UI (#3674)
This commit is contained in:
parent
94e91d3602
commit
4bc88e653f
6 changed files with 41 additions and 3 deletions
|
@ -22,6 +22,9 @@ backup_version_ba1e4a6cfe99_1 = CWD / "backups/backup_version_ba1e4a6cfe99_1.zip
|
|||
backup_version_bcfdad6b7355_1 = CWD / "backups/backup_version_bcfdad6b7355_1.zip"
|
||||
"""bcfdad6b7355: remove tool name and slug unique contraints"""
|
||||
|
||||
backup_version_09aba125b57a_1 = CWD / "backups/backup_version_09aba125b57a_1.zip"
|
||||
"""09aba125b57a: add OIDC auth method (Safari-mangled ZIP structure)"""
|
||||
|
||||
migrations_paprika = CWD / "migrations/paprika.zip"
|
||||
|
||||
migrations_chowdown = CWD / "migrations/chowdown.zip"
|
||||
|
|
BIN
tests/data/backups/backup_version_09aba125b57a_1.zip
Normal file
BIN
tests/data/backups/backup_version_09aba125b57a_1.zip
Normal file
Binary file not shown.
|
@ -81,6 +81,7 @@ def test_database_restore():
|
|||
test_data.backup_version_44e8d670719d_4,
|
||||
test_data.backup_version_ba1e4a6cfe99_1,
|
||||
test_data.backup_version_bcfdad6b7355_1,
|
||||
test_data.backup_version_09aba125b57a_1,
|
||||
],
|
||||
ids=[
|
||||
"44e8d670719d_1: add extras to shopping lists, list items, and ingredient foods",
|
||||
|
@ -89,6 +90,7 @@ def test_database_restore():
|
|||
"44e8d670719d_4: add extras to shopping lists, list items, and ingredient foods",
|
||||
"ba1e4a6cfe99_1: added plural names and alias tables for foods and units",
|
||||
"bcfdad6b7355_1: remove tool name and slug unique contraints",
|
||||
"09aba125b57a: add OIDC auth method (Safari-mangled ZIP structure)",
|
||||
],
|
||||
)
|
||||
def test_database_restore_data(backup_path: Path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue