Commit Graph

672 Commits

Author SHA1 Message Date
Yahor Berdnikau 6b950f7b28 Extract password param providing in separate interceptors.
Added interceptor for api version before 1.12.0 and after.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-22 21:56:16 +01:00
Yahor Berdnikau b9cfc0ed6d
Merge pull request #81 from ultrasonic/add-stream-url
Add stream url
2017-11-21 21:33:52 +01:00
Yahor Berdnikau c4f28280f9 Use getStreamUrl() method for video urls.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-21 21:29:24 +01:00
Yahor Berdnikau 6503ce2e4c Add method to get final stream url.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-21 21:29:24 +01:00
Yahor Berdnikau 1607f923b6
Merge pull request #78 from ultrasonic/update-get-video-url
Update get video url
2017-11-19 22:27:12 +01:00
Yahor Berdnikau d1256d2b77 Remove unused Apache http client.
Finally!

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 22:13:46 +01:00
Yahor Berdnikau 4b789e4c88 Disable getVideoUrl() method.
This method uses some assuptions on endpoint urls.
The right way is to use stream() api call to get video stream.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 22:10:34 +01:00
Yahor Berdnikau 7f5e04ebb2
Merge pull request #76 from ultrasonic/add-get-avatar
Add get avatar
2017-11-19 21:50:57 +01:00
Yahor Berdnikau 91d93b713d Remove unused methods.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:47:58 +01:00
Yahor Berdnikau 662e99ff5a Use new getAvatar() api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:40:27 +01:00
Yahor Berdnikau f2ce22ef08 Fix response check NPE
Fix response check doens't take into account that body will be null
if response is not successfull.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:39:13 +01:00
Yahor Berdnikau 52545bc714 Add getAvatar() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:19:33 +01:00
Yahor Berdnikau 3e5159a1a2
Merge pull request #75 from ultrasonic/add-update-share
Add update share
2017-11-19 15:53:43 +01:00
Yahor Berdnikau 48f8d35e4f Use new api updateShare() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 15:51:15 +01:00
Yahor Berdnikau 22ec570b69 Add updateShare() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 15:25:31 +01:00
Yahor Berdnikau 81bb21c841
Merge pull request #74 from ultrasonic/add-delete-share
Add delete share
2017-11-19 15:04:34 +01:00
Yahor Berdnikau b1f7e7a14c Use new api deleteShare() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 14:41:31 +01:00
Yahor Berdnikau a1d5450515 Add deleteShare() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 14:36:41 +01:00
Yahor Berdnikau fe12c440e7
Merge pull request #73 from ultrasonic/add-get-videos
Add get videos
2017-11-19 14:01:15 +01:00
Yahor Berdnikau 51ed43978b Use new api getVideos() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 13:58:48 +01:00
Yahor Berdnikau d26b6dce7d Add getVideos() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 13:51:20 +01:00
Yahor Berdnikau c5bf541c45
Merge pull request #72 from ultrasonic/add-delete-bookmark
Add delete bookmark
2017-11-18 22:21:34 +01:00
Yahor Berdnikau a9516ecab6 Use new api deleteBookmark() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:19:00 +01:00
Yahor Berdnikau ca2ffc7279 Add deleteBookmark() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:14:48 +01:00
Yahor Berdnikau c6ad07f56f
Merge pull request #71 from ultrasonic/add-create-bookmark
Add create bookmark
2017-11-18 22:04:42 +01:00
Yahor Berdnikau 445c3a4944 Use new api createBookmark() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:01:33 +01:00
Yahor Berdnikau 010d7679b9 Add createBookmark() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:55:07 +01:00
Yahor Berdnikau f583006ad6
Merge pull request #70 from ultrasonic/add-get-bookmarks
Add get bookmarks
2017-11-18 21:39:37 +01:00
Yahor Berdnikau 59ff48860a Use new api getBookmarks() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:37:11 +01:00
Yahor Berdnikau 6b2a682646 Add helper functions to convert api Bookmark entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:34:03 +01:00
Yahor Berdnikau 0cc0bbedaf Add getBookmarks() api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:33:02 +01:00
Yahor Berdnikau b4e18f9bfb
Merge pull request #69 from ultrasonic/add-chat-message
Add chat message
2017-11-16 22:25:26 +01:00
Yahor Berdnikau 4d2d7b9318 Use new api addChatMessage() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:20:25 +01:00
Yahor Berdnikau c618538b14 Add addChatMessage() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:18:13 +01:00
Yahor Berdnikau 87a28990d7
Merge pull request #68 from ultrasonic/update-ktlint
Update ktlint to 0.12.1 version.
2017-11-16 22:07:51 +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 7c3d19b048
Merge pull request #67 from ultrasonic/update-detekt
Update detekt to 1.0.0.RC5-4 version.
2017-11-16 21:55:16 +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 2cfca3ff26
Merge pull request #66 from ultrasonic/update-gradle
Update gradle wrapper to 4.3.1 version.
2017-11-16 21:43:43 +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 52f63cb2b9
Merge pull request #65 from ultrasonic/add-get-chat-messages
Add get chat messages
2017-11-16 21:36:55 +01:00
Yahor Berdnikau b6f9c733bc Delete unused ChatMessageParser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:34:22 +01:00
Yahor Berdnikau 74bf89ef26 Use new api getChatMessages() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:33:04 +01:00
Yahor Berdnikau 6c1039126e Add converter function for ChatMessage entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:32:36 +01:00
Yahor Berdnikau 9cecebb314 Add getChatMessages() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:19:24 +01:00
Yahor Berdnikau f1639bab48 Delete unused parser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 22:05:52 +01:00
Yahor Berdnikau 59609c5125
Merge pull request #64 from ultrasonic/add-get-user
Add get user
2017-11-15 22:02:18 +01:00
Yahor Berdnikau e537b7ae1b Use new api getUser() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 21:59:49 +01:00
Yahor Berdnikau 2402ed6a50 Add converter from api User entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 21:56:01 +01:00
Yahor Berdnikau 6b74a3e563 Add getUser api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:46:51 +01:00