Release v2.3.0

Changed the versionCode to be aligned with our versioning.
multisite^2 v2.3.0
Floens 8 years ago
parent 550abaeec1
commit 1be4fdfe18
  1. 6
      CHANGES.txt
  2. 6
      Clover/app/build.gradle
  3. 8
      Clover/app/src/main/java/org/floens/chan/ui/helper/VersionHandler.java
  4. 67
      Clover/app/src/main/res/values/strings.xml

@ -1,3 +1,9 @@
New in 2.3.0 (2017-03-19)
- Added update checker to notify of new releases.
- Force new captcha for thread making.
- Buf fixes.
New in 2.2.0 (2016-10-03) New in 2.2.0 (2016-10-03)
- Add sliding of threads back. - Add sliding of threads back.
- Rewrote thread watching, it's more stable and works correctly with doze now. - Rewrote thread watching, it's more stable and works correctly with doze now.

@ -21,8 +21,10 @@ android {
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 25 targetSdkVersion 25
versionName "v2.2.0" versionName "v2.3.0"
versionCode 56 // of the format XXYYZZ, where XX is major, YY is minor, ZZ is patch
// (watch out for octal notation, never start with a 0)
versionCode 20300
} }
compileOptions { compileOptions {

@ -27,6 +27,7 @@ import android.text.Html;
import android.text.Spanned; import android.text.Spanned;
import android.widget.Button; import android.widget.Button;
import org.floens.chan.BuildConfig;
import org.floens.chan.R; import org.floens.chan.R;
import org.floens.chan.core.net.UpdateApiRequest; import org.floens.chan.core.net.UpdateApiRequest;
import org.floens.chan.core.settings.ChanSettings; import org.floens.chan.core.settings.ChanSettings;
@ -62,8 +63,11 @@ public class VersionHandler implements UpdateManager.UpdateCallback {
* 54 = v2.1.2 = 2 * 54 = v2.1.2 = 2
* 55 = v2.1.3 = 2 * 55 = v2.1.3 = 2
* 56 = v2.2.0 = 3 * 56 = v2.2.0 = 3
* Since v2.3.0, this has been aligned with the versionCode as defined in build.gradle
* It is of the format XXYYZZ, where XX is major, YY is minor, ZZ is patch.
* 20300 = v2.3.0 = 20300
*/ */
private static final int CURRENT_VERSION = 3; private static final int CURRENT_VERSION = BuildConfig.VERSION_CODE;
/** /**
* Context to show dialogs to. * Context to show dialogs to.
@ -239,7 +243,7 @@ public class VersionHandler implements UpdateManager.UpdateCallback {
} }
private void showMessage(int version) { private void showMessage(int version) {
int resource = context.getResources().getIdentifier("previous_version_" + version, "string", context.getPackageName()); int resource = context.getResources().getIdentifier("changelog_" + version, "string", context.getPackageName());
if (resource != 0) { if (resource != 0) {
CharSequence message = Html.fromHtml(context.getString(resource)); CharSequence message = Html.fromHtml(context.getString(resource));

@ -19,73 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<!-- Defined in gradle flavor --> <!-- Defined in gradle flavor -->
<!--<string name="app_name">Clover</string>--> <!--<string name="app_name">Clover</string>-->
<string name="previous_version_1"> <string name="changelog_20300">
<![CDATA[ <![CDATA[
<h3>Clover was updated</h3> <h3>Clover was updated</h3>
This is the beta of Clover v2, redesigned with the Google Material Design guidelines in mind.<br> Clover was updated to v2.3.0<br>
<br>
<b>Biggest changes:</b><br>
- New design.<br>
- New inline reply layout.<br>
- Support for thread hiding.<br>
- Support for filtering threads, making posts either highlighted, hidden or completely removed.<br>
- Support for history.<br>
- More themes were added.<br>
- Album downloads have been improved.<br>
- Catalog mode now uses cards.<br>
- More advanced options added.<br>
- Minor features and bug fixes.<br>
<br>
<b>Please provide feedback on GitHub or by writing an email, links are at the bottom of the settings screen.</b>
]]>
</string>
<string name="previous_version_2">
<![CDATA[
<h3>Clover was updated</h3>
This is the release of Clover v2, redesigned with the Material design guidelines in mind.<br>
<br>
<b>Biggest changes are:</b><br>
- New design.<br>
- New inline reply layout.<br>
- Added thread hiding.<br>
- Added filtering threads, making posts either highlighted, hidden or removed.<br>
- Added history.<br>
- Added more themes.<br>
- Better album download screen.<br>
- Catalog mode now uses cards.<br>
- More advanced options added.<br>
- Minor features and bug fixes.<br>
<br>
<b>Please provide feedback on GitHub or by writing an email, links are at the bottom of the settings screen.</b>
]]>
</string>
<string name="previous_version_3">
<![CDATA[
<h3>Clover was updated</h3>
Clover was updated to v2.2.0<br>
<br> <br>
<b>New in this version:</b><br> <b>New in this version:</b><br>
Add sliding of threads back.<br> Added update checker, you\'ll be notified of new releases.<br>
Rewrote thread watching, it\'s more stable and works correctly with doze now.<br> Force new captcha for thread making.<br>
Optimized parsing with multithreading.<br> Bug fixes.
Added album view.<br>
Added bookmark clearing.<br>
<br>
Added inline reporting.<br>
All boards are added by default now.<br>
Thread positions are retained across restarts.<br>
Allow setting of multiple types on filters simultaneously.<br>
Made single frame gifs zoomable.<br>
Add saving of images into their own board folder.<br>
More advanced settings.<br>
Many bug fixes.<br>
<br>
Many thanks to the contributors on GitHub!
]]> ]]>
</string> </string>

Loading…
Cancel
Save