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
d2f292852d
Merge pull request #136 from ultrasonic/error-parser-stability-improvments
...
Error parser stability improvments
2018-01-20 11:15:56 +01:00
Yahor Berdnikau
749c257731
Replace generic error empty message with custom message.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-20 11:12:00 +01:00
Yahor Berdnikau
0b5cc5d3f3
Make subsonic error parser more fail safe.
...
Now it should parse more malformed error json, though having "code" field is still mandatory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-20 10:56:58 +01:00
Yahor Berdnikau
b38f4894c3
Merge pull request #132 from ultrasonic/fix-api-error-parsing
...
Fix api error parses always in generic error.
2018-01-13 11:01:11 +01:00
Yahor Berdnikau
fff0762e08
Add more test for error responses.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-13 10:54:30 +01:00
Yahor Berdnikau
3e1dbe3476
Fix api error parses always in generic error.
...
Now it parses to right error representation. Also fix that right
exception for error is not thrown on api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-13 10:19:42 +01:00
Yahor Berdnikau
fa03cf3881
Merge pull request #127 from ultrasonic/add-generic-error-message
...
Append generic error message to displayed text.
2018-01-08 19:53:29 +01:00
Yahor Berdnikau
1e7f2989eb
Append generic error message to displayed text.
...
As generic error can provide different reasons, it is worth to add received message to displayed error text.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-08 19:45:55 +01:00
Yahor Berdnikau
86fcbb5650
Merge pull request #126 from ultrasonic/better-error-handling
...
Better error handling
2018-01-07 13:33:01 +01:00
Yahor Berdnikau
ada94dc24f
Change to handle json parse exception instead of xml.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-07 13:30:37 +01:00
Yahor Berdnikau
27465a086d
Add displaying more specific api errors.
...
Now app will show more specific api errors to user.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-07 13:17:53 +01:00
Yahor Berdnikau
deaa75938b
Merge pull request #115 from ultrasonic/resume-playback-headphones
...
Add option to resume playback on headphones insertion.
2017-12-28 22:03:56 +01:00
Yahor Berdnikau
e96eae29d5
Add option to resume playback on headphones insertion.
...
This is disabled by default and should be enabled in app settings.
Playback resume only happened when app is not in Jukebox mode and
playback is paused.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-28 22:02:09 +01:00
Yahor Berdnikau
b5aae0c01c
Merge pull request #113 from ultrasonic/add-support-api-implementations
...
Add supported (tested) subsonic api implementations in README.
2017-12-27 22:30:31 +01:00
Yahor Berdnikau
70c2e5213c
Fix checkstyle problem.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-27 22:28:36 +01:00
Yahor Berdnikau
ea3d36110d
Add supported (tested) subsonic api implementations in README.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-27 22:25:59 +01:00
Yahor Berdnikau
c9bc3df543
Merge branch 'master' into develop
2017-12-27 22:01:10 +01:00
Yahor Berdnikau
3379e491dd
Merge pull request #112 from ultrasonic/add-versioning-plugin
...
Add versioning plugin.
2017-12-27 21:43:18 +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
bd69a3a231
Merge pull request #110 from ultrasonic/readme
...
Detailed in README.md the supported API version
2017-12-27 17:42:03 +01:00
Óscar García Amor
48e2e5d983
Detailed in README.md the supported API version
2017-12-27 17:18:57 +01:00
Óscar García Amor
bed26a3705
Merge pull request #105 from ultrasonic/allow-self-signed-certificates
...
Allow self signed certificates
2017-12-26 19:40:06 +01:00
Óscar García Amor
6b6c8a045f
Updated versionCode and versionName
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2017-12-26 19:35:25 +01:00
Óscar García Amor
7451ee2d19
Fix spanish translation
2017-12-26 19:17:53 +01:00
Yahor Berdnikau
592ab16b94
Add setting to server config to allow self-signed certificates.
...
It is disabled by default.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-26 12:34:52 +01:00
Yahor Berdnikau
1333534988
Allow to use self-signed certificates.
...
By default OkHttpClient will not allow self-signed certificates, but
some of app users use them.
This is disabled by default, should be enabled explicitly.
It also allows any CN in self-signed certificate.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-26 12:34:16 +01:00
Yahor Berdnikau
0a67f175fc
Merge pull request #101 from ultrasonic/api-23
...
Api 23
2017-12-21 11:56:20 +01:00
Yahor Berdnikau
ae3ef770c7
Regenerate lint baseline.
...
Also have to fix some of the lint issues, for some reason they don't
get into baseline.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 11:53:15 +01:00
Yahor Berdnikau
a86925d0b8
Delete old api resources.
...
Delete resources that was dedicated to pre 14 api level.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 11:37:39 +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
2e9935e182
Remove usage of HttpRequest from StreamProxy.
...
Apache http client classes was removed since api 23. And actually this
HttpRequest doesn't required here at all.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:53:23 +01:00
Yahor Berdnikau
ed78fce31c
Remove deprecated HttpClient.
...
Apache HttpClient package was removed from Android since api 23.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:53:23 +01:00
Yahor Berdnikau
c0fe52b2b3
Replace removed FloatMath with Math class.
...
FloatMath was removed since api 23.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:53:23 +01:00
Óscar García Amor
4f44977e55
Merge pull request #89 from ultrasonic/develop
...
New 2.0.0 release
2017-12-18 14:51:55 +01:00
Óscar García Amor
7aba11bb03
Merge pull request #97 from ultrasonic/update-version
...
Updated versionCode and versionName
2017-12-18 14:48:14 +01:00
Óscar García Amor
047b67164c
Updated versionCode and versionName
2017-12-18 14:45:05 +01:00
Yahor Berdnikau
2150a548f5
Merge pull request #96 from ultrasonic/add-store-badges
...
Update with store badges instead of links.
2017-12-16 22:41:22 +01:00
Yahor Berdnikau
d12dd58aaa
Update with store badges instead of links.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:40:07 +01:00
Yahor Berdnikau
0bda4476ee
Merge pull request #95 from ultrasonic/update-contributing
...
Update doc with what branch use by default for PR.
2017-12-16 22:29:55 +01:00
Yahor Berdnikau
385790d601
Update doc with what branch use by default for PR.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:28:31 +01:00
Yahor Berdnikau
4715deb159
Merge pull request #94 from ultrasonic/bug/entities-ids
...
Bug/entities ids
2017-12-16 22:22:54 +01:00
Yahor Berdnikau
aadb14eb4e
Fix service try download covert art for empty id.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:20:44 +01:00
Yahor Berdnikau
b2384a43ce
Update api definition to use String type for ids.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:14:01 +01:00
Yahor Berdnikau
5bf5af2842
Change MusicDirectoryChild ids type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 21:28:18 +01:00