From 11262f86f90ebe59790bd6528acffba513199745 Mon Sep 17 00:00:00 2001 From: len Date: Mon, 6 Jun 2016 14:43:02 +0200 Subject: [PATCH] Release 0.2.2 --- app/build.gradle | 6 ++--- .../tachiyomi/data/database/DbOpenHelper.kt | 4 ++++ .../main/res/layout/changelog_row_layout.xml | 5 +++- app/src/main/res/raw/changelog_release.xml | 24 +++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 94432f6920..3b83767cbe 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,9 +38,9 @@ android { minSdkVersion 16 targetSdkVersion 23 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - versionCode 7 - versionCode project.findProperty('versionCode')?.toInteger() ?: 7 - versionName "0.2.1" + versionCode 8 + versionCode project.findProperty('versionCode')?.toInteger() ?: 8 + versionName "0.2.2" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenHelper.kt index 7e1a53445e..60924901f9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenHelper.kt @@ -36,6 +36,10 @@ class DbOpenHelper(context: Context) override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) { if (oldVersion < 2) { db.execSQL(ChapterTable.sourceOrderUpdateQuery) + + // Fix kissmanga covers after supporting cloudflare + db.execSQL("""UPDATE mangas SET thumbnail_url = + REPLACE(thumbnail_url, '93.174.95.110', 'kissmanga.com') WHERE source = 4""") } } diff --git a/app/src/main/res/layout/changelog_row_layout.xml b/app/src/main/res/layout/changelog_row_layout.xml index 244da6845c..9044452765 100644 --- a/app/src/main/res/layout/changelog_row_layout.xml +++ b/app/src/main/res/layout/changelog_row_layout.xml @@ -30,7 +30,10 @@ android:layout_height="wrap_content" android:gravity="center_vertical" android:minHeight="@dimen/listPreferredItemHeightSmall" - android:padding="@dimen/chglib_material_keyline1" + android:paddingLeft="@dimen/chglib_material_keyline1" + android:paddingRight="@dimen/chglib_material_keyline1" + android:paddingTop="8dp" + android:paddingBottom="8dp" android:textAppearance="@style/TextAppearance.Regular.Body1" tools:text="Use DashClock with Android 4.2's Daydream feature; great for use with desktop docks!" /> diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index 61a9efd9ca..e6a0b567c1 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,4 +1,28 @@ + + [b]Important![/b] Now chapters follow the order of the sources. [b]It's required that you update your entire library + before reading to sync them.[/b] Old behavior can be restored for a manga in the overflow menu of the chapters tab. + + + Kissmanga now loads through CloudFlare. + + Persistent cookies have been added for a better experience with CloudFlare sites. + + Added link to manga website in the info page. [a href="https://github.com/inorichi/tachiyomi/issues/157"]#157[/a] + + Added notifications for downloads. [a href="https://github.com/inorichi/tachiyomi/pull/289"]#289[/a] + + Added more options to recent updates. [a href="https://github.com/inorichi/tachiyomi/pull/324"]#324[/a] + + Remember last active category. [a href="https://github.com/inorichi/tachiyomi/issues/261"]#261[/a] + + Fixed a bug with seamless mode for chapters with less than 5 pages. [a href="https://github.com/inorichi/tachiyomi/issues/291"]#291[/a] + + Improved chapter recognition. + + Bugfixes and more improvements. + + \ No newline at end of file