Commit Graph

1031 Commits

Author SHA1 Message Date
Yahor Berdnikau 1c7e5bb0f2 Support json with UTF-8 bom in VersionInterceptor.
Previously it was peeking at response body and put it into intermediate
string that later used in json parsing. This preserves bom character
and leads to parse fail. Now it passes peek body input stream to
json parser that handles bom internally.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-05-15 22:10:37 +02:00
Yahor Berdnikau 6f4c8baeb5 Update Jackson to 2.9.5 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-05-15 22:10:37 +02:00
Yahor Berdnikau 89cdb689c3
Merge pull request #193 from ultrasonic/remove-default-server-settings
Default server settings removed
2018-04-08 15:05:18 +02:00
Óscar García Amor 8b58691246 Default server settings removed
Now when you configure a new server connection the input boxes will
appear clean instead of with default garbage.

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-04-07 17:23:23 +02:00
Óscar García Amor 9c117386ba
Merge pull request #191 from ultrasonic/develop
New release 2.4.0
2018-04-06 21:24:02 +02:00
Yahor Berdnikau d35888213b
Merge pull request #190 from ultrasonic/fix-notification-dismiss
Fix notification can't be killed when player is not playing.
2018-04-06 19:05:00 +02:00
Yahor Berdnikau 41fe68db0f Fix notification can't be killed when player is not playing.
Fix clicking on close (x) in notification does nothing when player has
neither playing nor paused state.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-04-06 19:00:59 +02:00
Yahor Berdnikau d3dc851419
Merge pull request #189 from ultrasonic/update-android-gradle-plugin
Update android gradle plugin to 3.1.0 version.
2018-04-05 20:55:52 +02:00
Yahor Berdnikau e7caddaf99 Add workaround for transitive dependency conflict.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-04-05 20:48:43 +02:00
Yahor Berdnikau 4ac27dcd4e Update android gradle plugin to 3.1.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-04-04 21:26:31 +02:00
Yahor Berdnikau 2ac346441b
Merge pull request #188 from ultrasonic/fix_wrong_server_settings
Fix inconsistent behaviour when adding new server on debug build.
2018-04-04 20:33:11 +02:00
Yahor Berdnikau 68cb1af02b Fix inconsistent behaviour when adding new server on debug build.
After adding special suffix for debug builds, default shared preferences
name was changed.
2018-04-03 22:09:22 +02:00
Yahor Berdnikau e2a36850d3
Merge pull request #185 from ultrasonic/update-check-plugins
Update check plugins
2018-03-24 20:00:24 +01:00
Yahor Berdnikau eb09e9b417 Update Ktlint to 0.20.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:54:12 +01:00
Yahor Berdnikau 46922d98ae Update ktlintGradle to 3.2.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:40:08 +01:00
Yahor Berdnikau aaa04bc849 Update detekt to 1.0.0.RC6-4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:39:08 +01:00
Yahor Berdnikau 1d7698a59f
Merge pull request #184 from ultrasonic/prepare-new-release
Prepare new release
2018-03-24 19:36:48 +01:00
Yahor Berdnikau 55a0e7cb3c Update Kluent to 1.35 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:30:03 +01:00
Yahor Berdnikau 385779933b Update mockito to 2.16.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:00:33 +01:00
Yahor Berdnikau 4959891f9f Update OkHttp to 3.10.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 18:58:33 +01:00
Yahor Berdnikau 61b92bee39 Update Retrofit to 2.4.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 18:57:18 +01:00
Yahor Berdnikau ce9edae390 Update kotlin to 1.2.31 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 18:43:27 +01:00
Yahor Berdnikau 9bbb9b3263 Bump version to 2.4.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 18:41:18 +01:00
Yahor Berdnikau a9f1a5f724
Merge pull request #183 from ultrasonic/icon
New adaptive icon
2018-03-24 10:30:32 +01:00
Óscar García Amor 3c1debc51a New adaptive icon 2018-03-23 14:16:31 +01:00
Óscar García Amor 95496eb120
Merge pull request #182 from ultrasonic/develop
New 2.3.1 release
2018-03-22 09:15:59 +01:00
Óscar García Amor db29c86472 Bump version code
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-03-22 09:06:46 +01:00
Yahor Berdnikau 929836b00b
Merge pull request #181 from ultrasonic/fix-release-build
Fix release build
2018-03-21 22:28:07 +01:00
Yahor Berdnikau d8d9893733 Bump version to 2.3.1
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-21 22:22:48 +01:00
Yahor Berdnikau 661b8c2e97 Fix failing AAPT.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-21 22:22:48 +01:00
Yahor Berdnikau 52a5ceb5d6 Fix proguard removing too much.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-21 22:10:37 +01:00
Óscar García Amor 5f77cf40dc
Merge pull request #179 from ultrasonic/translation
Update translations
2018-03-19 21:23:31 +01:00
Óscar García Amor 49ba219a57 Update translations
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-03-19 20:58:34 +01:00
Óscar García Amor 6137b0af26
Merge pull request #178 from ultrasonic/develop
New 2.3.0 release
2018-03-19 19:18:27 +01:00
Yahor Berdnikau b0119281f2
Merge branch 'master' into develop 2018-03-18 19:43:17 +01:00
Yahor Berdnikau 2c2968f780
Merge pull request #177 from ultrasonic/update-version
Bump version to 2.3.0 for next release.
2018-03-18 19:36:38 +01:00
Yahor Berdnikau c5bcc49e40 Bump version to 2.3.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 19:32:50 +01:00
Yahor Berdnikau d102f6d60b
Merge pull request #176 from ultrasonic/fix-server-version-is-not-updated
Fix server version is not updated
2018-03-18 19:19:50 +01:00
Yahor Berdnikau d476ddfa0c Make a ping to server on app start.
This will update supported server version in subsonic api client.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 19:15:22 +01:00
Yahor Berdnikau 44114e90ab Increase response peek bytes to 1000.
This will increase the probability that version is parsed.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 18:38:28 +01:00
Yahor Berdnikau bf6026087a
Merge pull request #175 from ultrasonic/enable-minify-for-release
Enable minify for release
2018-03-18 18:22:55 +01:00
Yahor Berdnikau 32990acb2a Add assemble release step to build job.
This will check that minification of release is not broken.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 18:18:43 +01:00
Yahor Berdnikau 7bf39ca877 Enable minification for release build.
This reduces result apk size around 2x times.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 18:09:42 +01:00
Yahor Berdnikau 3de18ed282
Merge pull request #173 from ultrasonic/persistent-cache
Persistent cache
2018-03-18 17:42:35 +01:00
Yahor Berdnikau 1737fd69e7 Remove unused method from FileUtil.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:38:47 +01:00
Yahor Berdnikau cd02aff0f5 Remove ununsed companion object from MusicFolder entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:37:11 +01:00
Yahor Berdnikau b6140d841f Update twitter serial to 0.1.6 version.
This fixes unknown type deserialization error.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:36:22 +01:00
Yahor Berdnikau 72743346dc Hide implementation under typealias.
Though it is not working for java interop.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:30:55 +01:00
Yahor Berdnikau 8076956786 Clear persistent storage on server deletion.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-12 22:21:07 +01:00
Yahor Berdnikau 334ffbf5e9 Make persistent storage per server base.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-12 21:40:55 +01:00