Commit graph

195 commits

Author SHA1 Message Date
Alex Sytnyk
d28ffcea05 Make small refactoring in TelegramHelper 2018-07-02 21:43:24 +03:00
Alex Sytnyk
82a11bac60 Fix typo 2018-07-02 18:37:10 +03:00
Alex Sytnyk
5e2f617ec9 Get message from telegram library if needed 2018-07-02 18:25:20 +03:00
Alex Sytnyk
bb8996530e Add TODOs 2018-07-02 17:54:17 +03:00
Alex Sytnyk
fbaa4dae6b Use userId as key for usersLocationMessages instead of messageId 2018-07-02 17:51:06 +03:00
Alex Sytnyk
d98e870765 Convert TelegramHelper#isAppropriateMessage to extension function 2018-07-02 17:37:08 +03:00
Alex Sytnyk
c9148af7f6 Replace usersLiveMessages with usersLocationMessages 2018-07-02 17:31:28 +03:00
Alex Sytnyk
c5ce8cd2c5 Refactoring of receiving the location messages in progress 2018-07-02 17:22:32 +03:00
Alex Sytnyk
01a8fc7994 Update live locations list after receiving new location messages 2018-07-02 12:17:00 +03:00
Alex Sytnyk
add6499830 Replace hardcoded strings with strings from resources 2018-07-02 11:58:39 +03:00
Alex Sytnyk
45fe2c83f3 Add the ability to select duration on the "Set time" screen 2018-07-01 13:41:11 +03:00
Alex Sytnyk
948ffd1b8e Add selected chats list to the "Set time" screen 2018-06-28 16:23:14 +03:00
Alex Sytnyk
385ff6dc02 Extract logic for setting the user's photo into a separate class 2018-06-28 15:53:13 +03:00
Dmitriy Prodchenko
cf6619b157 Add images for My location screen 2018-06-28 14:00:30 +03:00
Alex Sytnyk
1e2e40e862 "Set time" dialog in progress 2018-06-28 13:45:23 +03:00
Alex Sytnyk
0aa9eb77a4 Change typeface for title on "My location" tab 2018-06-28 12:25:14 +03:00
Alex Sytnyk
4a1e8f847f Add "RobotoMono-Bold" font 2018-06-28 12:16:22 +03:00
Alex Sytnyk
eef6b7e654 Improve animation 2018-06-28 11:48:50 +03:00
Alex Sytnyk
f7b49495e3 Fix small UI issues 2018-06-27 19:00:40 +03:00
Alex Sytnyk
b56ffe8fc7 Fix dimen name 2018-06-27 18:36:46 +03:00
Alex Sytnyk
1641e23a8a Fix text style for list items 2018-06-27 18:35:29 +03:00
Alex Sytnyk
b724cf67de Add action buttons bar to the main screen 2018-06-27 18:15:25 +03:00
Alex Sytnyk
4c4236fcc3 Fix font for text buttons; fix secondary button name 2018-06-27 17:16:01 +03:00
Alex Sytnyk
bcae09f8ae Add assets folder to the sourceSet 2018-06-27 17:12:32 +03:00
Dmitriy Prodchenko
25b205c99b Images for Introduction screen 2018-06-27 16:47:21 +03:00
Alex Sytnyk
52b48ce6ef Add the ability to use custom fonts with TextViewEx 2018-06-27 14:56:45 +03:00
Alex Sytnyk
56ceb6a666 Increase list item content margin 2018-06-27 12:52:15 +03:00
Alex Sytnyk
6a8890a4be Fix "Live now" list 2018-06-27 12:43:33 +03:00
Alex Sytnyk
2c4cb0407d Increase list item icon size 2018-06-27 11:34:42 +03:00
Alex Sytnyk
4bf25a499b Remove RecyclerView from MainActivity 2018-06-27 11:26:15 +03:00
Alex Sytnyk
7e2a2d9ea3 Get rid of unnecessary companion objects 2018-06-27 11:06:24 +03:00
Alex Sytnyk
5c87061d29 Add primary and secondary buttons 2018-06-26 21:29:38 +03:00
Alex Sytnyk
4c553ac008 Add chats list to the "My location" tab 2018-06-26 18:45:59 +03:00
Dmitriy Prodchenko
50db75c017 Add OsmAnd logo icon 2018-06-26 18:22:24 +03:00
Alex Sytnyk
52bad1a6da Rename the layout from "live_now_contact_item" to "user_list_item" 2018-06-26 17:35:56 +03:00
Alex Sytnyk
da1e23ffa6 Hide recycler view and show view pager 2018-06-26 17:21:10 +03:00
Dmitriy Prodchenko
54f1b62845 Add icon for Sort 2018-06-26 15:47:20 +03:00
Alex Sytnyk
ffbba588ff "My location" tab in progress 2018-06-26 15:33:44 +03:00
Dmitriy Prodchenko
2501a20006 Add icons for: Expand less and more, backward and forward arrow 2018-06-26 14:02:12 +03:00
Alex Sytnyk
3e5fd7a8a6 Fix icons for bottom navigation view 2018-06-26 12:10:06 +03:00
Dmitriy Prodchenko
2ee6f8a808 Add icons for: Visible time, and modify Search icon 2018-06-26 12:00:00 +03:00
Dmitriy Prodchenko
d961431d25 Add icons for bottom bar: My location and Live now 2018-06-25 18:49:09 +03:00
Alex Sytnyk
e5c918d017 Layout for "My location" tab in progress 2018-06-25 17:52:17 +03:00
Alex Sytnyk
d4a7932a61 Refactor LiveNowTabFragment according to Kotlin code style guide 2018-06-25 11:40:47 +03:00
Alex Sytnyk
59b3693f88 Show user photos in the "Live now" list 2018-06-25 10:30:24 +03:00
Alex Sytnyk
aa33de7fbb Extract check if chat is a channel to the method 2018-06-22 19:22:22 +03:00
Alexey
f2069eef9c
Merge pull request #5609 from osmandapp/fix_telegram_helper
Fix telegram helper
2018-06-22 19:09:59 +03:00
Alex Sytnyk
8056de8b3e Remove unnecessary method 2018-06-22 19:01:58 +03:00
Alex Sytnyk
25f39eefa7 Do not request location messages for channels 2018-06-22 19:00:40 +03:00
Alex Sytnyk
be1f620946 "Live now" list in progress 2018-06-22 18:45:52 +03:00
Alex Sytnyk
fea5807de8 Fix requesting of chats 2018-06-22 18:29:30 +03:00
Alex Sytnyk
0a96ffafa4 Add bottom padding for "Live now" list 2018-06-22 17:18:41 +03:00
Alex Sytnyk
00b73a6ef5 Live now list in progress 2018-06-21 18:47:08 +03:00
Alex Sytnyk
bfe26cc461 Rename live_now_dialog_card with live_now_chat_card 2018-06-21 13:50:36 +03:00
Alex Sytnyk
e920019da0 Add live_now_contact_item 2018-06-21 13:10:36 +03:00
Alex Sytnyk
797366c142 Add live_now_dialog_card and related resources; refactor dimens 2018-06-21 12:44:43 +03:00
Alex Sytnyk
298dd25b6f Add list_item_divider and related resources 2018-06-21 11:04:38 +03:00
Alex Sytnyk
a4e421892f Rename colors 2018-06-20 19:49:53 +03:00
Alex Sytnyk
7827509e7a Create "My Location" and "Live now" tabs 2018-06-20 18:01:15 +03:00
Alex Sytnyk
24afcc2c52 Fix typo 2018-06-20 15:00:04 +03:00
Alex Sytnyk
29acba902e Move the UI classes into a separate package 2018-06-20 13:34:20 +03:00
crimean
3f52aebedd Fix sending location right after checkbox switched 2018-06-19 16:33:15 +03:00
crimean
49c3e495e8 Detect first location. Stop sharing if no permission. UI fix. 2018-06-19 16:00:13 +03:00
crimean
46b1bba997 Refactored Login screen 2018-06-18 00:08:29 +03:00
crimean
6114df46d7 Telegram - fixed location sending interval 2018-06-16 19:28:39 +03:00
crimean
c3ca853451 Telegram - added location expire feature 2018-06-16 14:55:14 +03:00
crimean
0d89b958ce Telegram - show images on map 2018-06-14 21:01:10 +03:00
crimean
3e71d85235 Telegram - fix service 2018-06-14 15:21:58 +03:00
crimean
d3ad3c8707 Upgrade kotlin version 2018-06-14 14:50:49 +03:00
crimean
b347c8a45c Telegram - delayed location done 2018-06-13 21:01:16 +03:00
crimean
cfa3861d4d Telegram - fix possible npe 2018-06-13 20:52:43 +03:00
crimean
ae2aa88578 Telegram - added chat photos 2018-06-13 20:14:08 +03:00
Alexey Kulish
668d3e9835 Telegram - working on service 2018-06-13 17:18:54 +03:00
crimean
092e0b26b6 Telegram - single service. Right way of cleanup resources. 2018-06-11 21:22:07 +03:00
crimean
911126e3f9 Telegram - cleanup code 2018-06-11 19:57:33 +03:00
crimean
52db9a54c3 Telegram - simple notifications 2018-06-11 17:12:03 +03:00
crimean
08c65712a4 Telegram - added service for showing locations on map 2018-06-11 13:41:43 +03:00
crimean
dd54d3ad30 Telegram - fixed gitignore 2018-06-10 19:28:22 +03:00
crimean
5573fcb5f2 Telegram - added osmand api 2018-06-10 19:27:03 +03:00
crimean
3892f944ac Telegram - working on show on map 2018-06-10 15:20:11 +03:00
crimean
78c1e5a5a8 Telegram - store chat titles instead of ids 2018-06-09 22:37:00 +03:00
crimean
74052f02d5 Telegram - fix sending live messages 2018-06-09 17:55:14 +03:00
crimean
dabc6fbe21 Telegram - drop channels from the list, don't send if no internet connection 2018-06-09 13:19:28 +03:00
crimean
656faca471 Telegram - introduced live location sharing with chats 2018-06-09 12:20:21 +03:00
crimean
27ccc38a08 Telegram - added chats list 2018-06-07 17:44:43 +03:00
crimean
a28358992e Telegram: Fixed minor ui issues. Added simple auth error handling. 2018-06-06 14:06:56 +03:00
Victor Shcherb
06fa219581 Add debug version 2018-06-05 23:50:28 +02:00
Victor Shcherb
35f3ec9279 Exclude mips non pakcaged for telegram 2018-06-05 23:24:06 +02:00
Victor Shcherb
4cf87a6b09 Fix error 2018-06-05 23:12:24 +02:00
Victor Shcherb
9048b96612 Update configs 2018-06-05 23:10:35 +02:00
Victor Shcherb
5fc334568c Change package name 2018-06-05 23:08:46 +02:00
Victor Shcherb
507462b4a9 Update name 2018-06-05 22:59:25 +02:00
Victor Shcherb
ca4d103e18 Update telegram sources 2018-06-05 22:45:25 +02:00
crimean
a5a635e4d1 Fix Unknown device 2018-06-05 23:17:24 +03:00
crimean
2286f52a7a Added OsmAnd-telegram module
Drop telegram so files
2018-06-05 22:02:47 +02:00