Commit Graph

690 Commits

Author SHA1 Message Date
Yahor Berdnikau f007418298 Move subsonic api client to it's own DI module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau 8dc9534327 Move api client configuration to separate data class.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau 52b32d0fd6 Add DI for MusicService.
It is still hidden behind MusicServiceFactory, but opens a way to use
it directly via injection.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Óscar García Amor b3ac85d833
Merge pull request #202 from ultrasonic/develop
New 2.5.0 release.
2018-06-14 14:56:33 +02:00
Yahor Berdnikau 24a36e641c Bump version to 2.5.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 22:36:39 +02:00
Yahor Berdnikau 30dde80d4e
Merge pull request #201 from ultrasonic/fix-bookmarks-resume
Fix bookmark doesn't restore saved song position.
2018-06-12 22:32:41 +02:00
Yahor Berdnikau 91b5941c7c Fix bookmark doesn't restore saved song position.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 22:29:19 +02:00
Yahor Berdnikau 58110fbf1a
Merge pull request #200 from ultrasonic/fix-f-droid-publishing
Fix f-droid can't build new app version.
2018-06-12 21:58:10 +02:00
Yahor Berdnikau c55ca02865 Fix f-droid can't build new app version.
F-Droid has a strict limitation (😞) that version code and
version name should be in the app build.gradle.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 21:53:06 +02:00
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