Ver Fonte

Move preview notes to GitHub

arkon há 4 anos atrás
pai
commit
367932de69

+ 28 - 0
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).

+ 1 - 1
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
     }

+ 2 - 3
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
         }
     }
 }

+ 2 - 1
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)
                 }
             }
         }

+ 0 - 45
app/src/main/res/raw/changelog_debug.xml

@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<changelog bulletedList="false">
-
-    <changelogversion changeDate="" versionName="r1810">
-        <changelogtext>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.
-        </changelogtext>
-    </changelogversion>
-
-    <changelogversion changeDate="" versionName="r1340">
-        <changelogtext>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.
-        </changelogtext>
-    </changelogversion>
-
-    <changelogversion changeDate="" versionName="r959">
-        <changelogtext>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.
-        </changelogtext>
-        <changelogtext>You can now download to any folder in your SD card.</changelogtext>
-        <changelogtext>The download directory setting has been reset.</changelogtext>
-    </changelogversion>
-
-    <changelogversion changeDate="" versionName="r857">
-        <changelogtext>[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
-        </changelogtext>
-    </changelogversion>
-
-    <changelogversion changeDate="" versionName="r736">
-        <changelogtext>[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.
-        </changelogtext>
-    </changelogversion>
-
-    <changelogversion changeDate="" versionName="r724">
-        <changelogtext>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).
-        </changelogtext>
-    </changelogversion>
-
-</changelog>