Commit Graph

811 Commits

Author SHA1 Message Date
Yahor Berdnikau 50a0923cf4 Fix app doesn't open album using ID3 tags browsing.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 11:59:00 +02:00
Yahor Berdnikau 17eb92c71b
Merge pull request #211 from ultrasonic/fix-app-closes-on-error
Don't close app on background task error.
2018-07-15 10:29:35 +02:00
Yahor Berdnikau 75d81fe920 Don't close app on background task error.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 10:24:46 +02:00
Yahor Berdnikau 7f36c74060
Merge pull request #206 from ultrasonic/add-image-loader
Add new image loader implementation
2018-07-15 09:55:22 +02:00
Yahor Berdnikau a63c47112c Add feature flags that contains new image loader flag.
This allows to release new versions of the app with unfinished/
not fully implemented features.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 09:50:07 +02:00
Yahor Berdnikau 02467cb05b Add loading user avatars.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-14 20:55:45 +02:00
Yahor Berdnikau c0b6500b47 Provide configuration for image load request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-28 22:03:47 +02:00
Yahor Berdnikau c23420a83a Fix lint error by excluding support library from picasso dependency.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 6f6e2470d8 Enable jacoco coverage for subsonic-api-image-loader module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 77eb257d84 Glue together old ImageLoader impl and new one.
Currently it is working in a pretty limited way.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 74591571bf Add initial implementation of image loader.
Currently it only supports loading cover art images from network.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau e4e962faa0 Changed android namespace from a to android.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau b27ce42d02 Extract ImageLoader interface.
This will allow to swap it with a new implementation.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 36e813bed7
Merge pull request #207 from Tapchicoma/fix-album-list-image-size
Set album list item image size to fixed value.
2018-06-26 23:06:07 +02:00
Yahor Berdnikau 3f02dba004 Set album list item image size to fixed value.
Value is taken from currently playing view.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:01:54 +02:00
Yahor Berdnikau 0bbc7448c5
Merge pull request #205 from ultrasonic/version-updates
Version updates
2018-06-24 18:01:19 +02:00
Yahor Berdnikau 1cd892a3bd Update kotlin to 1.2.50 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:46:08 +02:00
Yahor Berdnikau 44ad8d75aa Update KtLint to 0.24.0 version.
Also update gradle plugin to 4.1.0 version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:44:22 +02:00
Yahor Berdnikau 1308e2d561 Update Android build tools to 3.1.3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:42:52 +02:00
Yahor Berdnikau 50157eb811
Merge pull request #204 from ultrasonic/introduce-di
Introduce initial dependency injection setup.
2018-06-24 17:36:51 +02:00
Yahor Berdnikau b97e09b14b Provide app okhttp client instance to subsonic api client.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
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