Commit graph

610 commits

Author SHA1 Message Date
Chumva
cc24288a2d fix tabs 2018-07-13 14:11:32 +03:00
Chumva
5c91ad9976 remove unnecessary search 2018-07-13 14:09:24 +03:00
Chumva
ea524b45da remove treeSet 2018-07-13 14:08:19 +03:00
Chumva
01d8e3f33e change chaiTitle to chatId 2018-07-13 14:02:59 +03:00
Alex Sytnyk
61a108dd81 Fix small UI issues 2018-07-12 20:40:43 +03:00
Alex Sytnyk
3e92d77988 Make small refactoring 2018-07-12 18:49:11 +03:00
Chumva
cad6730906 remove adjustOptionsImage and refactor showPopupMenu 2018-07-12 17:45:59 +03:00
Chumva
7e6a377dca improve my location ui 2018-07-12 16:38:20 +03:00
Alex Sytnyk
6b36209fe6 Format code 2018-07-11 15:33:05 +03:00
Alex Sytnyk
41a4d38765 Provide partial description for ChatItem 2018-07-11 14:53:41 +03:00
Alex Sytnyk
a821a872df Fix the ability to open locations from OsmAnd-Telegram on map in OsmAnd 2018-07-11 14:32:02 +03:00
Alex Sytnyk
bc5e504b94 Replace AIDL-API#showLayerPointOnMap with AIDL-API#showMapPoint in OsmAnd-Telegram 2018-07-11 13:28:25 +03:00
Alex Sytnyk
654b051020 Rename ShowLocationHelper#showLocationOnMap to ShowLocationHelper#addLocationToMap 2018-07-11 13:04:45 +03:00
Alex Sytnyk
53f4e1319f Use AIDL-API instead of Intents-API for opening OsmAnd 2018-07-10 17:26:55 +03:00
Alex Sytnyk
e5becea49b Add some data about chat to ChatItem 2018-07-10 15:08:25 +03:00
Alex Sytnyk
53b23dfcea Make small refactoring 2018-07-10 12:52:44 +03:00
Alex Sytnyk
e5e3918029 Fix TelegramHelper#removeOldMessages 2018-07-09 19:04:03 +03:00
Alex Sytnyk
90cc7dd8f4 Add the ability to open somebody`s location on map in OsmAnd 2018-07-09 18:51:04 +03:00
Alex Sytnyk
4e2500578c Move const from file to object 2018-07-09 16:53:20 +03:00
Chumva
cab3ef3f72 rename changeContinueButtonEnabled and clear resources 2018-07-09 16:17:39 +03:00
Chumva
7d0f4d314c Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-09 15:21:12 +03:00
Alex Sytnyk
6be07a1e7a Rename osmandHelper with osmandAidlHelper 2018-07-09 13:59:30 +03:00
Alex Sytnyk
c848155d53 Get distance instead of heading 2018-07-06 19:34:33 +03:00
Chumva
057d53dee1 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-06 19:20:16 +03:00
Alex Sytnyk
8a7a18f909 Do now show location arrow and text without location; try to fix distance text 2018-07-06 19:17:16 +03:00
Chumva
afdb83f848 add match parent continue button if keyboard visible 2018-07-06 19:15:53 +03:00
Chumva
69c668274c polish ui and refactor continueButton 2018-07-06 18:47:47 +03:00
Alex Sytnyk
50286c32e3 Fix direction arrow and distance text on "Live now" screen 2018-07-06 18:44:23 +03:00
Alex Sytnyk
fb0b299760 Replace TdApi.Chat with ChatItem 2018-07-06 18:27:22 +03:00
Chumva
aded984134 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-06 17:37:27 +03:00
Alex Sytnyk
18e7ffe594 Add direction arrow to chat card on "Live now" screen 2018-07-06 16:02:52 +03:00
Chumva
4f4e6c7ab5 remove keyboard listener and rename resources 2018-07-06 15:31:59 +03:00
Alex Sytnyk
f59176caec Direction arrow for "Live now" screen in progress 2018-07-06 15:05:19 +03:00
Chumva
57ace448a5 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-06 14:07:46 +03:00
Alex Sytnyk
3162283ce0 Add UiUtils#updateLocationView and related stuff 2018-07-06 12:35:02 +03:00
Chumva
2851d8d520 clean imports 2018-07-06 11:28:26 +03:00
Chumva
1490dbd67f remove unnecessary changes 2018-07-06 11:26:34 +03:00
Chumva
eb41225fbf fix continueButton active and not active version 2018-07-06 11:09:43 +03:00
Alex Sytnyk
34c17db447 Show distance to the user on the "Live now" screen 2018-07-05 20:42:29 +03:00
Chumva
981143cacd add get telegram dialog and improve ui 2018-07-05 19:09:01 +03:00
Chumva
5089aea3f4 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-05 19:07:34 +03:00
Alex Sytnyk
dfa3e5c4bd Add TelegramLocationProvider 2018-07-05 18:16:55 +03:00
Chumva
a1df9c3a1f Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LoginDialogsUiImprovements 2018-07-05 12:28:49 +03:00
Alex Sytnyk
c77d09acfe Replace "show on map switch" with text and popup menu 2018-07-05 11:18:31 +03:00
Chumva
fd3e71ce61 improve login dialogs ui 2018-07-04 19:21:10 +03:00
Alex Sytnyk
c2ed4acaae Handle TdApi.UpdateMessageEdited event; update list from UI thread 2018-07-04 18:25:52 +03:00
Alex Sytnyk
ee13ff7763 Fix TelegramSettings formatting 2018-07-04 16:00:51 +03:00
Alex Sytnyk
211a5fecf8 Show locations from osmand_bot in "Live now" list 2018-07-04 13:26:40 +03:00
Alex Sytnyk
906abf1aef Add the ability to show/hide location messages from osmand_bot on map 2018-07-04 12:24:50 +03:00
Alex Sytnyk
30fbbb909e Use messageId as key for usersLocationMessages instead of userId 2018-07-04 12:21:51 +03:00
Alex Sytnyk
db1e8ee1f0 Add support for messages from osmand_bot 2018-07-04 10:57:57 +03:00
Alex Sytnyk
1913c06739 Fix "time for all" row on the "Set time" screen 2018-07-03 13:36:51 +03:00
Alex Sytnyk
8072932e2d Create separate constants for UI and Telegram API 2018-07-03 12:45:52 +03:00
Alex Sytnyk
a8ee0e0fa6 Сщтмуке hardcoded value to the const 2018-07-03 12:00:37 +03:00
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
Alex Sytnyk
1e2e40e862 "Set time" dialog in progress 2018-06-28 13:45:23 +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
b724cf67de Add action buttons bar to the main screen 2018-06-27 18:15:25 +03:00
Alex Sytnyk
52b48ce6ef Add the ability to use custom fonts with TextViewEx 2018-06-27 14:56:45 +03:00
Alex Sytnyk
6a8890a4be Fix "Live now" list 2018-06-27 12:43:33 +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
4c553ac008 Add chats list to the "My location" tab 2018-06-26 18:45:59 +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
Alex Sytnyk
ffbba588ff "My location" tab in progress 2018-06-26 15:33:44 +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
00b73a6ef5 Live now list in progress 2018-06-21 18:47:08 +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
5573fcb5f2 Telegram - added osmand api 2018-06-10 19:27:03 +03:00