Commit Graph

1993 Commits

Author SHA1 Message Date
Yahor Berdnikau 6b8d953751 Merge pull request #25 from ultrasonic/use-get-artists
Use getArtists new api implementation call
2017-08-16 07:42:51 +02:00
Yahor Berdnikau 61006cdfd1 Use new api getArtists() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau 84198d38c8 Add getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau b9f885b521 Merge pull request #24 from ultrasonic/add-checkstyle-badge
Add codestyle badge to project README.
2017-08-15 13:09:13 +02:00
Yahor Berdnikau 8d34ea89da Add codestyle badge to project README.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-15 13:08:15 +02:00
Yahor Berdnikau 4645546d86 Merge pull request #23 from ultrasonic/use-get-indexes
Use get indexes
2017-08-12 21:33:05 +02:00
Yahor Berdnikau 13cf2cd8bf Add parsing shortcuts info.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 21:19:46 +02:00
Yahor Berdnikau b02df33b9c Use new subsonic api method for getIndexes().
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:24:41 +02:00
Yahor Berdnikau b57a425e9d Implement converting Indexes Subsonic api entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:19:27 +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 3c4f91efef Change to extension functions in api converter.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 10:11:14 +02:00
Yahor Berdnikau 437877750c Make models for getIndexes have default values.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 21:01:02 +02:00
Yahor Berdnikau 23fd3b03fb Increase API log level to full.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 20:48:55 +02:00
Yahor Berdnikau fff47280a3 Merge pull request #22 from ultrasonic/add-coverage-badge
CI: Add uploading coverge report to codecov.io.
2017-08-11 20:00:33 +02:00
Yahor Berdnikau 0e39549ad4 Add codecov badge to README.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 19:57:57 +02:00
Yahor Berdnikau bf15324594 CI: Add uploading coverge report to codecov.io.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 19:46:43 +02:00
Yahor Berdnikau 5bdf31966f Merge pull request #21 from ultrasonic/add-code-coverage
Add code coverage
2017-08-10 19:24:49 +02:00
Yahor Berdnikau 5ab988f625 Update CI unit test job to generate full coverage report. 2017-08-09 22:25:43 +02:00
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau f6113ae0dc Merge pull request #20 from ultrasonic/add-lint
Add lint
2017-08-06 22:59:01 +02:00
Yahor Berdnikau e9d244320a Limit building only support locales.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau e7953a10e0 CI: added lint task.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau 438af4de7e Add generated lint baseline files.
This disables lint warnings for already existing issues, but it will work for a new issues.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau 7cb01ae571 Merge pull request #19 from ultrasonic/gradle-wrapper
Update gradle to 3.5 version.
2017-07-30 23:07:33 +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 ba265b1bbe Merge pull request #18 from ultrasonic/add-detekt
Add detekt
2017-07-30 22:29:45 +02:00
Yahor Berdnikau 5227897580 Add detekt job to CI config.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:26:47 +02:00
Yahor Berdnikau 317ccd2ed8 Fix detekt issues.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:23:25 +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 61de665997 Merge pull request #15 from ultrasonic/add-circle-ci
Add CircleCI config.
2017-07-30 16:16:00 +02:00
Yahor Berdnikau 4b4fb1806f Add CircleCI build badge.
Currently it is showing status for develop branch.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 16:14:40 +02:00
Yahor Berdnikau d97b7de6e2 Add CircleCI config.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 15:40:47 +02:00
Yahor Berdnikau f1041d247d Merge pull request #14 from ultrasonic/add-ktlint
Add ktlint
2017-07-29 23:05:52 +02:00
Yahor Berdnikau 3907d10950 Fix ktLint issues.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:52:02 +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 343d6fc4d7 Merge pull request #13 from ultrasonic/remove-unused-methods
Remove unused methods from MusicService.
2017-07-29 21:48:39 +02:00
Yahor Berdnikau 4f42301752 Remove unused methods from MusicService.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 10:32:13 +02:00
Yahor Berdnikau 4d2a8a16bb Merge pull request #11 from ultrasonic/feature-9
Add initial usage of new Subsonic API implementation in RESTMusicService
2017-07-27 09:37:47 +02:00
Yahor Berdnikau 7a5035e725 Reset MusicService when user changes active server.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-27 08:16:33 +02:00
Yahor Berdnikau ce90d5a3e9 Use different messages in progress listener.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:58:16 +02:00
Yahor Berdnikau 987ed9faf6 Remove unused MusicFolderParser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:56:47 +02:00
Yahor Berdnikau a8ab61ec3b Remove unused LicenseParser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:54:56 +02:00
Yahor Berdnikau 4fd5493d15 Use getMusicFolders() method from SubsonicAPI kotlin implementation.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:04:20 +02:00
Yahor Berdnikau 9ed0921218 Make MusicFolder has default values.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:02:35 +02:00
Yahor Berdnikau 67601262de Use getLicense() method from Subsonic API kotlin implementation.
Replace in RESTMusicService isLicenseValid() method body to use new kotlin subsonic API.
2017-07-25 22:31:49 +02:00
Yahor Berdnikau 0d3c0f0334 Add missing fields to License entity.
Add email and licenseExpires fields. Make all fields have default value,
this allows to make license field in LicenseResponse non-null.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-25 22:23:55 +02:00
Yahor Berdnikau 1caeaa9fe6 Add using new api for ping call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:41:26 +02:00
Yahor Berdnikau f054fae2aa Add missing 1.15.0 subsonic api version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:38:57 +02:00
Yahor Berdnikau 24b85a1647 Fix base url is not have rest endpoint part.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:35:59 +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