Commit Graph

152 Commits

Author SHA1 Message Date
dependabot[bot] 0ec94d456f
Bump versions.mockito from 3.5.5 to 3.8.0
Bumps `versions.mockito` from 3.5.5 to 3.8.0.

Updates `mockito-core` from 3.5.5 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.5...v3.8.0)

Updates `mockito-inline` from 3.5.5 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.5...v3.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 08:57:11 +00:00
dependabot[bot] e4af2b603f
Bump dexter from 6.1.2 to 6.2.2
Bumps [dexter](https://github.com/karumi/Dexter) from 6.1.2 to 6.2.2.
- [Release notes](https://github.com/karumi/Dexter/releases)
- [Commits](https://github.com/karumi/Dexter/compare/6.1.2...6.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 08:56:56 +00:00
tzugen 410e1df980
Upgrade detekt to v1.16.0 to get Type Resolution support
In course I had to modify the rules (many were renamed or dropped),
and create a new baseline (many new rules added errors in old files)
2021-04-23 11:26:15 +02:00
tzugen 8640d39438
We need androidx.media at v1.3.0.
Also do the minor gradle update
2021-04-23 11:13:44 +02:00
tzugen c59a38777f
Set okHTTP to version 3.12.x, it is the last branch with full API compatibility, which still receives important fixes 2021-04-19 18:35:50 +02:00
tzugen 9cb2ed3356
Update gradle plugin and androidxcore
We need core at 1.5.0-rc01 to be able to clearActions()
2021-04-19 12:21:42 +02:00
tzugen f1ce568b5e
Update kotlin, room, okhttp 2021-04-19 12:21:42 +02:00
Nite d70d2cc2fb
Fixed TODOs:
- Updated Koin
- Fixed Player start from widgets and notification
- Added cancellation to LoadingTask
- Minor fixes and cleanup
2021-02-11 21:51:27 +01:00
Nite 3dc6df9116
Fixed colors and theme changing
Other minor fixes
2021-02-10 19:57:09 +01:00
Nite 95773c7994
Started refactoring to NavigationUI
Main menu items are refactored, except Now Playing
2021-02-04 20:15:58 +01:00
Nite fe120a0bf2
Updated API to 29, fixed failing tests 2020-11-29 13:25:06 +01:00
Nite 7dcaf5b1a6
Added Fastscroll Library with section popup support
Fixed collation for the sorting of tha Artist list
2020-11-23 13:55:28 +01:00
Nite 7217f2cca8
Refactored Log calls to Timber 2020-09-30 14:47:59 +02:00
Nite 6721500202
Updated Server Settings UI and Storage
Updated Koin to latest
2020-09-18 09:37:19 +02:00
Nite 16b7bbedff
Updated Robolectric 2020-08-24 15:06:58 +02:00
Nite 1c83f5c67d
Updated Mockito 2020-08-24 13:38:14 +02:00
Óscar García Amor af5ecae7f5 First approach to API 28
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-17 15:08:30 +02:00
Nite de7eaef668
Updated Gradle to 6.5
Tried to satisfy ktlint rules
2020-06-13 19:04:31 +02:00
Nite b23c1b4a6a
Cleaned up dependencies.gradle
Moved MultiDex to debug only
2020-06-05 17:09:33 +02:00
Nite cb09be0a64
Fixed gradle 2020-06-05 09:50:10 +02:00
Nite f4ae87fffe
Migrated to Androidx 2020-04-26 12:05:28 +02:00
Nite 7ce8bf921b
Updated Gradle and Kotlin 2020-04-26 08:37:24 +02:00
Yahor Berdnikau f422ba30b9 Use JUnit5 engine to run unit tests in kotlin modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 4c0e55ccdd Update Android Gradle plugin to 3.2.0 version. 2018-10-07 20:48:23 +02:00
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 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 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 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
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 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 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 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
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 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 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 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 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
Ó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 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 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 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 c49e447240 Add permanent file storage.
It serialize domain objects to byte array and store it to file.
For now it only uses for MusicFolder entity store.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-10 22:20:34 +01:00
Yahor Berdnikau 29f2d1eea8 Update detekt to 1.0.0.RC6-3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-25 22:23:55 +01:00
Yahor Berdnikau e59acc880e Update ktlint to 0.15.1 version.
Also update gradle plugin to 3.0.1 version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-25 22:19:56 +01:00
Yahor Berdnikau 9b4155c06f Update gradle to 4.5.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-25 22:16:30 +01:00
Yahor Berdnikau 5e716f5026 Update kotlin to 1.20.21 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-25 22:11:47 +01:00
Yahor Berdnikau 4218698a16 Convert Version class to Kotlin.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-20 21:54:53 +01:00
Yahor Berdnikau e85aa610ab Bump version to 2.2.2 for new release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-10 20:15:53 +01:00
Óscar García Amor e140e7fbcd Set versions into dependencies.gradle
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-01-29 17:48:34 +01:00
Óscar García Amor 60b0374952 Revert "Add versioning plugin."
This reverts commit c84482729d.
2018-01-29 16:26:08 +01:00
Yahor Berdnikau 697a689632 Decrease target sdk version to 22.
This is required for a new release as runtime permissions support is not yet implemented.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-20 11:27:34 +01:00
Yahor Berdnikau c84482729d Add versioning plugin.
This will allow to easy automate auto publishing of the app.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-27 21:38:40 +01:00
Yahor Berdnikau b5c0fa10f3 Update kotlin to 1.2.10 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 07802e9206 Update KtLint to 0.14.0 version.
Also fix style problems.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 11c1b92098 Update Detekt to 1.0.0.RC6 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau c76ffe4db7 Update android plugin to 3.0.1 version.
Yay!

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau 0943276a50 Update gradle wrapper to 4.4.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:41 +01:00
Yahor Berdnikau f528ad8845 Bump target api level to 23.
Also set compile sdk level to 27 and android support libs version to
23.4.0.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:54:01 +01:00
Yahor Berdnikau e838750ee2 Add proxy password interceptor.
It passes request chain either to hex password interceptor or
to md5+salt interceptor depending on current protocol version.
2017-12-02 21:51:26 +01:00
Yahor Berdnikau c917bcb1a6 Update ktlint to 0.12.1 version.
Also updated ktlint-gradle to 2.3.0 version. Added ktlint reports to
circle CI.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:04:38 +01:00
Yahor Berdnikau f7b1140b2c Update detekt to 1.0.0.RC5-4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:49:53 +01:00
Yahor Berdnikau deb734c8e5 Update gradle wrapper to 4.3.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:40:35 +01:00
Yahor Berdnikau 1fbcddc233 Update kotlin to 1.1.60 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:23:18 +01:00
Yahor Berdnikau be75511bb7 Update okhttp to 3.9.0 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-19 22:27:45 +02:00
Yahor Berdnikau 351f51df28 Update gradle to 4.2.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-07 20:59:16 +02:00
Yahor Berdnikau bd7e7416a6 Update kotlin to 1.1.51 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-07 20:46:53 +02:00
Yahor Berdnikau 7210eb448b Update kotlin to 1.1.4-3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-30 21:57:17 +02:00
Yahor Berdnikau a1e59efceb Update gradle to 4.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 21:47:22 +02:00
Yahor Berdnikau f54ecd29fb Update kotlin to 1.1.4-2 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 2b484ad667 Update kotlin to 1.1.4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:00:57 +02:00
Yahor Berdnikau d66556e307 Update kotlin to 1.1.3-2 version.
Also have to update jackson to 2.9.0 that uses the same kotlin version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:17:32 +02:00
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau 8d09f8ff49 Update gradle to 3.5 version.
Also added a task to update wrapper version through gradle run.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:50:12 +02:00
Yahor Berdnikau 07c2bfaeaf Add detekt - static code analysis tool for Kotlin.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:22:13 +02:00
Yahor Berdnikau 2d3316964a Add ktlint check.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:31:33 +02:00
Yahor Berdnikau f1ab0a3e0c Add using new authentication method since 1.13.0.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-23 20:03:25 +02:00
Yahor Berdnikau 20d95ce19d Add optional logging to SubsonicAPI.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:49:26 +02:00
Yahor Berdnikau 24d68fcf3c Revert back to compile api 22.
Some used classes are missing in the newest sdk like FloatMath and apache http client.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:19:38 +02:00
Yahor Berdnikau f686ebfb16 Update kotlin and android dependencies. 2017-07-19 17:02:47 +02:00
Yahor Berdnikau cfa90e0a8d Switched to using Jackson for json parsing.
Also changed how response is parsed, allowing base response has different models to parse.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +02:00
Yahor Berdnikau 0dd01d18ba Base implementation of Subsonic API in Kotlin. 2017-07-19 17:02:47 +02:00
Óscar García Amor 7c484f78ec Updated version 2017-02-06 19:36:24 +01:00
Yahor Berdnikau 9f23778bf7 Move app settings to PreferenceFragment.
That allows display Material theme also in preferences.
2017-02-05 14:46:22 +01:00
Yahor Berdnikau 9ce1f288c0 Change app theme to Theme.AppCompat.
This changes main app theme to Material theme from support library.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-04 23:18:02 +01:00
Óscar García Amor 07e2d3baf0 Set gradle and sdk to latest version 2017-01-15 12:36:08 +01:00
Egor Berdnikov 91fc11d771 Bump target version to 22.
Can't bump to 25 because several classes uses removed api.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-01-14 23:56:35 +01:00