From f844297c2b2b8c32769f10354dc037e1537f2be4 Mon Sep 17 00:00:00 2001 From: Anton Gustafsson Date: Sun, 2 Jun 2024 22:32:58 +0200 Subject: [PATCH 1/2] feat: add ability to restore backups without accessing filesystem --- android/app/build.gradle | 4 +- .../android/en-US/changelogs/15000.txt | 1 + src/modules/user/backups/backups.html | 31 ++++++++- src/modules/user/backups/backups.ts | 7 ++ .../user/backups/load-backup-dialog.html | 26 ++++++++ .../user/backups/load-backup-dialog.ts | 64 +++++++++++++++++++ 6 files changed, 129 insertions(+), 4 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/15000.txt create mode 100644 src/modules/user/backups/load-backup-dialog.html create mode 100644 src/modules/user/backups/load-backup-dialog.ts diff --git a/android/app/build.gradle b/android/app/build.gradle index 3af93635..4ae86830 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.moimob.drinkable" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 14900 - versionName "1.49.0" + versionCode 15000 + versionName "1.50.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/fastlane/metadata/android/en-US/changelogs/15000.txt b/fastlane/metadata/android/en-US/changelogs/15000.txt new file mode 100644 index 00000000..655cb40e --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/15000.txt @@ -0,0 +1 @@ +• Added ability to restore backup without accessing files in the filesystem \ No newline at end of file diff --git a/src/modules/user/backups/backups.html b/src/modules/user/backups/backups.html index 18c0b65f..210f4f69 100644 --- a/src/modules/user/backups/backups.html +++ b/src/modules/user/backups/backups.html @@ -1,7 +1,34 @@