From 367932de69c20280d227928144ec4de9b52db06a Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 4 Jul 2020 14:06:23 -0400 Subject: [PATCH] Move preview notes to GitHub --- PREVIEW_RELEASE_NOTES.md | 28 ++++++++++++ .../java/eu/kanade/tachiyomi/Migrations.kt | 2 +- .../ui/main/ChangelogDialogController.kt | 5 +-- .../tachiyomi/ui/more/AboutController.kt | 3 +- app/src/main/res/raw/changelog_debug.xml | 45 ------------------- 5 files changed, 33 insertions(+), 50 deletions(-) create mode 100644 PREVIEW_RELEASE_NOTES.md delete mode 100644 app/src/main/res/raw/changelog_debug.xml diff --git a/PREVIEW_RELEASE_NOTES.md b/PREVIEW_RELEASE_NOTES.md new file mode 100644 index 000000000..3e0392334 --- /dev/null +++ b/PREVIEW_RELEASE_NOTES.md @@ -0,0 +1,28 @@ +### r1810 +- Background jobs were migrated to a new system. You may need to toggle the settings to ensure they +run properly. This includes app updates, library updates, and automatic backups. + +### r1340 +- A new screen for managing extensions was added. If you previously installed extensions from FDroid, +you will have to uninstall all of them first (tap on the extension then uninstall), otherwise you won't be able +to update them due to signature mismatch. You won't lose anything in this process as the extensions themselves +don't store anything. + +### r959 +- The download manager has been rewritten and it's possible some of your downloads +aren't recognized anymore. You may have to check your downloads folder and manually delete those. +- You can now download to any folder in your SD card. +- The download directory setting has been reset. + +### r857 +- **Important!** Delete after read has been updated. +This means the value has been reset set to disabled. +This can be changed in Settings > Downloads + +### r736 +- **Important!** Now chapters follow the order of the sources. **It's required that you update your entire library +before reading in order for them to be synced.** Old behavior can be restored for a manga in the overflow menu of the chapters tab. + +### r724 +- Kissmanga covers may not load anymore. The only workaround is to update the details of the manga +from the info tab, or clearing the database (the latter won't fix covers from library manga). diff --git a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt index 3b748d77a..2fdeeac23 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt @@ -89,7 +89,7 @@ object Migrations { preferences.librarySortingMode().set(LibrarySort.ALPHA) } } - return true + return !BuildConfig.DEBUG } return false } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt index 900ca4f54..69dd80098 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt @@ -6,7 +6,6 @@ import android.os.Bundle import android.util.AttributeSet import com.afollestad.materialdialogs.MaterialDialog import com.afollestad.materialdialogs.customview.customView -import eu.kanade.tachiyomi.BuildConfig import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.ui.base.controller.DialogController import it.gmariotti.changelibs.library.view.ChangeLogRecyclerView @@ -17,7 +16,7 @@ class ChangelogDialogController : DialogController() { val activity = activity!! val view = WhatsNewRecyclerView(activity) return MaterialDialog(activity) - .title(res = if (BuildConfig.DEBUG) R.string.notices else R.string.changelog) + .title(R.string.changelog) .customView(view = view) .positiveButton(R.string.action_close) } @@ -26,7 +25,7 @@ class ChangelogDialogController : DialogController() { override fun initAttrs(attrs: AttributeSet?, defStyle: Int) { mRowLayoutId = R.layout.changelog_row_layout mRowHeaderLayoutId = R.layout.changelog_header_layout - mChangeLogFileResourceId = if (BuildConfig.DEBUG) R.raw.changelog_debug else R.raw.changelog_release + mChangeLogFileResourceId = R.raw.changelog_release } } } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt index c0661e4da..e5b6b9627 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt @@ -83,7 +83,8 @@ class AboutController : SettingsController() { titleRes = R.string.notices onClick { - ChangelogDialogController().showDialog(router) + val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/inorichi/tachiyomi/blob/dev/PREVIEW_RELEASE_NOTES.md")) + startActivity(intent) } } } diff --git a/app/src/main/res/raw/changelog_debug.xml b/app/src/main/res/raw/changelog_debug.xml deleted file mode 100644 index 3e1ab82df..000000000 --- a/app/src/main/res/raw/changelog_debug.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Background jobs were migrated to a new system. You may need to toggle the settings to ensure they - run properly. This includes app updates, library updates, and automatic backups. - - - - - A new screen for managing extensions was added. If you previously installed extensions from FDroid, - you will have to uninstall all of them first (tap on the extension then uninstall), otherwise you won't be able - to update them due to signature mismatch. You won't lose anything in this process as the extensions themselves - don't store anything. - - - - - The download manager has been rewritten and it's possible some of your downloads - aren't recognized anymore. You may have to check your downloads folder and manually delete those. - - You can now download to any folder in your SD card. - The download directory setting has been reset. - - - - [b]Important![/b] Delete after read has been updated. - This means the value has been reset set to disabled. - This can be changed in Settings > Downloads - - - - - [b]Important![/b] Now chapters follow the order of the sources. [b]It's required that you update your entire library - before reading in order for them to be synced.[/b] Old behavior can be restored for a manga in the overflow menu of the chapters tab. - - - - - Kissmanga covers may not load anymore. The only workaround is to update the details of the manga - from the info tab, or clearing the database (the latter won't fix covers from library manga). - - - -