Commit Graph

561 Commits

Author SHA1 Message Date
Yahor Berdnikau a2a0c7ac62 Use new api getArtist call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 21:01:22 +02:00
Yahor Berdnikau 8c483e1f4a Add converting album api entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 21:01:22 +02:00
Yahor Berdnikau f4680ffeac Add getArtist request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 19:45:42 +02:00
Yahor Berdnikau c27bed2422 Merge pull request #29 from ultrasonic/use-get-music-directory
Use get music directory
2017-08-20 15:13:44 +02:00
Yahor Berdnikau ab7f39e667 Use new api call to get music directory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 768616d14a Add converter from api MusicDirectory to domain MusicDirectory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +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 0920cc94a8 Use default values for getMusicDirectory response.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau decf680076 Merge pull request #28 from ultrasonic/add-unstar-request
#9: Add unstar request
2017-08-17 23:10:43 +02:00
Yahor Berdnikau 23ee01d0f5 Use new subsonic api unstar call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 23:06:15 +02:00
Yahor Berdnikau 34b49f67a2 Add unstar request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 23:00:51 +02:00
Yahor Berdnikau 0563c39cdc Merge pull request #27 from ultrasonic/add-star-request
Add star request
2017-08-17 22:42:56 +02:00
Yahor Berdnikau 40e2dd4d8c Fix missing progress listener for getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:39:12 +02:00
Yahor Berdnikau 864488510c Use new subsonic api star request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:38:23 +02:00
Yahor Berdnikau fdd9540f75 Add star request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:06:20 +02:00
Yahor Berdnikau 67718a3095 Merge pull request #26 from ultrasonic/refactor-integration-tests
Refactor integration tests
2017-08-16 21:40:44 +02:00
Yahor Berdnikau b3dde1938f Split Subsonic API integration test into a smaller classes.
It will be easier to maintain and add new tests.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:37:58 +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 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