Commit Graph

1031 Commits

Author SHA1 Message Date
Yahor Berdnikau 7a693b9705 Update Gradle wrapper to 4.6 version. 2018-10-07 20:48:23 +02:00
Yahor Berdnikau 73af16b9c5 Update ktlint to 0.28.0 version. 2018-10-07 20:48:23 +02:00
Yahor Berdnikau 6376a27b8b Update kotlin to 1.2.71 version. 2018-10-07 20:48:23 +02:00
Yahor Berdnikau 4d0955932a Set target api to 28. 2018-10-07 20:48:23 +02:00
Yahor Berdnikau 0762b7bcf8
Merge pull request #230 from ultrasonic/update-code-coverage
Update code coverage
2018-09-11 22:39:21 +02:00
Yahor Berdnikau e85fcc2def Update Jacoco version to 0.8.2.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 501015c649 Rework jacoco report generation for android projects.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 2a1dfc3e8d Enable running test for subsonic image loader on CI.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 12b2dce860 Update JacocoAndroid plugin to 0.1.3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 0bfa86de77 Update Jacoco to 0.8.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau 881c85a390
Merge pull request #220 from ultrasonic/use-koin-beta
Migrate koin to 1.0.0-beta-3 version.
2018-08-03 22:13:44 +02:00
Yahor Berdnikau c2924df25f Use Koin java module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 22:08:30 +02:00
Yahor Berdnikau 48acc64ee3 Migrate Koin to 1.0.0-beta3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 21:50:21 +02:00
Óscar García Amor ea9289b5db
Merge pull request #215 from ultrasonic/develop
New 2.6.0 release
2018-07-17 11:38:12 +02:00
Yahor Berdnikau 1c6dacb7fd
Merge pull request #214 from ultrasonic/new-release
New release 2.6.0
2018-07-15 12:33:15 +02:00
Yahor Berdnikau b33f7279b0 Bump version to 2.6.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 12:29:13 +02:00
Yahor Berdnikau 714b4bcf55 Update kotlin to 1.2.51 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 12:27:58 +02:00
Yahor Berdnikau bac78f91c0
Merge pull request #213 from ultrasonic/fix-image-size
Fix image doesn't use all view width with new image loader.
2018-07-15 12:24:35 +02:00
Yahor Berdnikau 5573634ded Fix image doesn't use all view width with new image loader.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 12:19:48 +02:00
Yahor Berdnikau 0f83368755
Merge pull request #212 from ultrasonic/fix-fail-to-open-album
Fix app doesn't open album using ID3 tags browsing.
2018-07-15 12:06:15 +02:00
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