Commit graph

1627 commits

Author SHA1 Message Date
Alex Sytnyk
4ca99c10ee Refactor TelegramHelper#addNewMessage 2018-08-16 12:23:50 +03:00
Chumva
ebd912bd42 fix lastUpdated item time and refactor onBindViewHolder for holder in SetTimeDialogFragment 2018-08-16 11:31:28 +03:00
Chumva
be04f298e6 add check for messages expire time 2018-08-16 10:41:46 +03:00
Chumva
801385f9d2 remove unnecessary string 2018-08-15 19:12:24 +03:00
Chumva
a09dc0a280 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TravelUiImprovements
# Conflicts:
#	OsmAnd-telegram/res/values/strings.xml
2018-08-15 19:11:28 +03:00
Chumva
cfaf362a5e add TelegramLocationListeners to SetTimeDialogFragment 2018-08-15 19:08:30 +03:00
Alexander Sytnyk
8a67ba2a22
Merge pull request #5876 from osmandapp/TravelUiImprovements
Live time ui updates
2018-08-15 17:43:02 +03:00
Chumva
0ebacc2c5e fix date from OsmAndBot text locations 2018-08-15 17:39:52 +03:00
Alex Sytnyk
c8df498231 Update disconnect_from_telegram_desc string 2018-08-15 17:34:30 +03:00
Alex Sytnyk
1631a78857 Show Welcome screen after log out 2018-08-15 17:02:20 +03:00
Chumva
4e102bb1e8 add time in ui for live now messages 2018-08-15 17:00:58 +03:00
Alexander Sytnyk
d02dcefae4
Merge pull request #5870 from osmandapp/ShareLocationImprovements
Fix sendLocationInterval and add check for existing live messages
2018-08-15 15:32:48 +03:00
Chumva
10ec2eb3c0 remove unnecessary changes 2018-08-15 15:24:38 +03:00
Chumva
928fec6560 remove ChatLiveMessagesListener 2018-08-15 15:22:16 +03:00
Chumva
117837aa54 add ChatLiveMessagesListener to MainActivity 2018-08-15 15:00:09 +03:00
Chumva
f1c4741076 fix sendTimeInterval and add check for existing live messages 2018-08-15 13:58:59 +03:00
Alex Sytnyk
2cee8dd5a2 Create DisconnectTelegramBottomSheet and related stuff 2018-08-14 22:37:35 +03:00
Alex Sytnyk
9b9690be1a Create theme for BottomSheetDialog 2018-08-14 22:30:59 +03:00
Alex Sytnyk
27d1bfec7b Create BottomSheetDialog and related stuff 2018-08-14 18:32:07 +03:00
Chumva
e1eba6ceeb rename handler 2018-08-14 16:05:30 +03:00
Chumva
c63a89f4ea fix two same live messages and refactor adapter updates 2018-08-14 15:57:17 +03:00
Chumva
21af6cc24e move startAdapterUpdate 2018-08-14 14:06:36 +03:00
Chumva
d8bdd0ddfe Merge branch 'master' of ssh://github.com/osmandapp/Osmand into ShareLocationImprovements 2018-08-14 13:26:09 +03:00
Chumva
965f908ace add chatLiveStartTimeSec and updates for adapter 2018-08-14 13:20:16 +03:00
Alex Sytnyk
cbe7051247 Make method "requestMessage" silent 2018-08-14 12:39:24 +03:00
Chumva
ad7bd6d1c5 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into ShareLocationImprovements 2018-08-14 10:34:41 +03:00
Alex Sytnyk
0ec2fb2895 Add synchronization 2018-08-13 18:40:40 +03:00
Alex Sytnyk
b41a2560a8 Rename method in the MessagesDbHelper 2018-08-13 18:25:31 +03:00
Alex Sytnyk
1d5360f58f Save live messages to DB 2018-08-13 17:35:49 +03:00
Chumva
4985db672b add ability to stop sending live messages in telegram 2018-08-13 16:08:03 +03:00
Chumva
1f9e39fa1d remove empty space 2018-08-10 17:23:47 +03:00
Chumva
6d1693614c rename animateStartSharingBtn 2018-08-10 17:14:37 +03:00
Chumva
c3f4221c01 add tools visibility for button 2018-08-10 17:11:17 +03:00
Chumva
34f0a3d8d3 change fab background 2018-08-10 17:07:20 +03:00
Chumva
7bdf07122e Merge branch 'master' of ssh://github.com/osmandapp/Osmand into MyLocationFab 2018-08-10 17:06:48 +03:00
Alex Sytnyk
a2d540f9ff Add background for extended fab 2018-08-10 17:05:11 +03:00
Chumva
577359c205 add ability to enter sharing mode in bottomBar cancel button 2018-08-10 16:57:13 +03:00
Alex Sytnyk
a52b40879f Add description to the "Settings" screen 2018-08-10 16:55:09 +03:00
Chumva
8ce3642345 add share location btn and support for it 2018-08-10 16:28:45 +03:00
Alex Sytnyk
59c90e548f Fix icons 2018-08-10 16:19:04 +03:00
Alex Sytnyk
27dd23f04b Add the ability to choose app to connect 2018-08-10 15:34:17 +03:00
Alex Sytnyk
a0c27af3d0 Use new icons for SettingsDialogFragment 2018-08-10 13:49:24 +03:00
Dmitriy Prodchenko
d8946a63da Add icons for Location Sharing 2018-08-10 13:38:17 +03:00
Alex Sytnyk
79799eab71 Fix TelegramHelper 2018-08-10 13:35:30 +03:00
Alexander Sytnyk
130ad85f3e
Merge pull request #5819 from osmandapp/LiveNowUiImprovements
Add appbar to LiveNowTabFragment
2018-08-10 13:20:36 +03:00
Alex Sytnyk
6f42612123 SettingsDialogFragment in progress; use values from settings instead of constants 2018-08-10 13:16:46 +03:00
Chumva
06594ff687 refactor setupOptionsBtn call 2018-08-10 13:14:19 +03:00
Chumva
4cd1a344ba refactor options button setup 2018-08-10 13:10:57 +03:00
Chumva
79fe8ae039 remove unnecessary apply 2018-08-10 13:06:11 +03:00
Chumva
cf47b3c4c0 move setupOptionsBtn to activity 2018-08-10 12:44:55 +03:00
Chumva
b14190c190 add setupOptionsBtn 2018-08-10 12:33:23 +03:00
Chumva
f047a655c8 clean imports 2018-08-10 12:25:36 +03:00
Chumva
4f0c51d42e removed unused field 2018-08-10 12:24:53 +03:00
Chumva
82987dd237 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LiveNowUiImprovements 2018-08-10 12:13:17 +03:00
Chumva
2c2837876b removed unused button 2018-08-10 12:08:52 +03:00
Chumva
cf8bdf06c0 add appbar to LiveNowTabFragment 2018-08-10 11:16:42 +03:00
Alex Sytnyk
c7ffc1afa8 Add small changes to AndroidUtils and OsmandFormatter 2018-08-10 11:12:29 +03:00
Chumva
c0938d1ce1 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into MyLocationSharingMode 2018-08-10 10:38:55 +03:00
Alex Sytnyk
a2200ea826 SettingsDialogFragment in progress 2018-08-09 22:07:47 +03:00
Alex Sytnyk
dfcaa846fd Extract logic for creating username into a separate method in the TelegramUiHelper 2018-08-09 22:00:18 +03:00
Alex Sytnyk
ce3afc5a38 Add "getActiveIcon" method to the UiUtils 2018-08-09 21:58:16 +03:00
Alex Sytnyk
3bc7fdc8b9 Fix logging out 2018-08-09 21:57:34 +03:00
Chumva
28fe361d3d rename const 2018-08-09 18:28:17 +03:00
Chumva
6768fd0745 remove unnecessary check in MyLocationTabFragment 2018-08-09 18:24:55 +03:00
Chumva
76fba24c4d remove unnecessary changes in MyLocationTabFragment and OsmandFormatter 2018-08-09 18:16:16 +03:00
Chumva
dd08aa3d31 remove unnecessary code in getChatListIds 2018-08-09 17:54:15 +03:00
Chumva
fb118fa1a4 return appBarScrollRange 2018-08-09 17:35:11 +03:00
Alex Sytnyk
6430ae0e3a Fix small issues caused by increasing api level 2018-08-09 17:13:12 +03:00
Chumva
0a28034449 remove unnecessary code and cleaned onBindViewHolder 2018-08-09 17:05:47 +03:00
Alex Sytnyk
71bf82ab22 Update compileSdkVersion and support libs from 27 to 28 API 2018-08-09 16:51:58 +03:00
Chumva
1d9ee00225 add time formatting and refactored MyLocationTabFragment 2018-08-09 16:45:39 +03:00
Dmitriy Prodchenko
02943eced2 Rename icons with OsmAnd logo, add tap state for FAB, add color variant of OsmAnd logo 2018-08-09 14:55:27 +03:00
Chumva
7dc01155f5 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into MyLocationSharingMode 2018-08-09 13:53:33 +03:00
Alex Sytnyk
3a7bf0e030 Replace AndroidUtils.isGooglePlayInstalled with AndroidUtils.isAppInstalled 2018-08-09 13:09:08 +03:00
Chumva
37111025f5 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into MyLocationSharingMode 2018-08-09 10:48:35 +03:00
Chumva
494e40a59a remove chatLiveMessagesFull 2018-08-08 19:23:37 +03:00
Alex Sytnyk
fea565192d SettingsDialogFragment in progress 2018-08-08 19:17:00 +03:00
Alex Sytnyk
a75a8e3bda Add padding to primary and secondary buttons 2018-08-08 18:57:58 +03:00
Alex Sytnyk
16a8c21f79 Make small refactoring 2018-08-08 18:48:16 +03:00
Chumva
3c7c950e34 hide textInArea 2018-08-08 17:59:36 +03:00
Chumva
488685a656 add support for expire time and improve ui 2018-08-08 17:53:50 +03:00
Chumva
1146a2f8ee Merge branch 'master' of ssh://github.com/osmandapp/Osmand into MyLocationSharingMode 2018-08-08 17:41:44 +03:00
Alex Sytnyk
964dbc2bc4 Rewrite OsmandFormater.getFormattedDuration 2018-08-08 16:50:24 +03:00
Alex Sytnyk
c546af94c5 Increase padding in AndroidUtils.getPopupMenuWidth 2018-08-08 16:49:23 +03:00
Dmitriy Prodchenko
fbacf142d0 Add 9Patch shadow for cards 2018-08-08 14:18:20 +03:00
Chumva
3eee51364e fix scroll range 2018-08-08 11:52:54 +03:00
Chumva
c89f4ce116 remove unnecessary call to editDate 2018-08-08 11:44:54 +03:00
Alex Sytnyk
d1816ba821 Create SettingsDialogFragment and related stuff; make small refactoring 2018-08-07 20:51:06 +03:00
Alex Sytnyk
7eead1e879 Fix logging in OsmAnd-Telegram 2018-08-06 18:38:28 +03:00
Alex Sytnyk
28303d1c46 Use new background for "Open OsmAnd" button 2018-08-06 18:18:14 +03:00
Alexander Sytnyk
f6ec08f75b
Merge pull request #5779 from osmandapp/TelegramUiImprovements
Add stale location
2018-08-06 17:49:40 +03:00
Chumva
e6498521d0 remove unnecessary call to editDate 2018-08-06 17:30:41 +03:00
Chumva
d0ad7fe62d remove field created time 2018-08-06 16:44:13 +03:00
Dmitriy Prodchenko
f281acc602 Fix file name for 9Patch 2018-08-06 16:40:47 +03:00
Chumva
9c25f2dd8f improve time parsing for text locations 2018-08-06 16:15:15 +03:00
Chumva
a2bc710c00 refactored parseOsmAndBotLocation 2018-08-06 15:57:03 +03:00
Chumva
152254ae26 change stale time to 15 minutes 2018-08-06 14:32:11 +03:00
Chumva
8d666dc27e rename time variable 2018-08-06 14:31:05 +03:00
Chumva
a155063c86 create const 2018-08-06 14:20:18 +03:00
Dmitriy Prodchenko
5fc82dbe1f Add shadow for FAB,location sharing 2018-08-06 13:41:43 +03:00
Alex Sytnyk
7e08a6035b Fix OsmAnd-Telegram launcher icon 2018-08-06 13:38:30 +03:00
Alex Sytnyk
0456998a99 Add animation for "Open OsmAnd" button 2018-08-06 13:10:47 +03:00
Chumva
135e073b50 create const 2018-08-06 10:30:52 +03:00
Chumva
4853fcd17b Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramUiImprovements 2018-08-06 10:28:24 +03:00
Chumva
c47d6aa37d add stale location 2018-08-03 18:53:21 +03:00
Alex Sytnyk
3e9f4ead06 Add the button for opening OsmAnd to "Live Now" screen 2018-08-03 18:44:42 +03:00
Alex Sytnyk
c15f294dc4 Fix "All" number for chat description 2018-08-03 16:38:56 +03:00
Chumva
37c8d2b9a0 add checks in getOsmAndBotDeviceName 2018-08-03 14:55:07 +03:00
Chumva
87879559bb add check for Osmand bot 2018-08-03 14:42:01 +03:00
Chumva
a12f2eca5a remove unnecessary check for OsmAnd bot 2018-08-03 14:35:49 +03:00
Chumva
c65868f522 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramUiImprovements
# Conflicts:
#	OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt
2018-08-03 13:50:57 +03:00
Chumva
4c44b70b00 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramUiImprovements
# Conflicts:
#	OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt
2018-08-03 13:47:19 +03:00
Chumva
6e473384c1 convert OsmAnd bot location messages to MessageOsmAndBotLocation 2018-08-03 13:39:03 +03:00
Alex Sytnyk
5e191e268d Fix TdApi.Message.isAppropriate() 2018-08-03 13:30:38 +03:00
Alex Sytnyk
b1ea1e5db7 Fix parsing of OsmAndBot`s location messages 2018-08-03 13:06:36 +03:00
Chumva
50e736f5a2 parse new map locations 2018-08-03 12:21:23 +03:00
Alex Sytnyk
3660357148 Handle deletion of location messages 2018-08-02 17:30:59 +03:00
Chumva
526f763224 remove unnecessary changes 2018-08-02 16:35:32 +03:00
Chumva
d4bbebda49 add adjustAppbar method 2018-08-02 16:17:02 +03:00
Chumva
b63d5c0992 remove cornerAnimator 2018-08-02 15:41:16 +03:00
Chumva
f58498dee9 remove animation and unnecessary dots 2018-08-02 15:29:41 +03:00
Chumva
c8acf18294 remove unnecessary code 2018-08-02 15:19:34 +03:00
Chumva
3b1a79c079 add check for private chat 2018-08-02 14:57:08 +03:00
Chumva
862fd08e4c remove unused ui elements and add currentUser in telegramHelper 2018-08-02 14:30:01 +03:00
Alex Sytnyk
0e60377600 Use new icon for OsmAnd-Telegram drawer icon 2018-08-02 12:38:38 +03:00
Alex Sytnyk
dc0ec000de Replace "Add" with "Set" 2018-07-31 21:36:31 +03:00
Alex Sytnyk
5139c9fe5a Replace LinkedHashSet with List 2018-07-31 13:54:20 +03:00
Alex Sytnyk
7cbf8bb362 Rewrite adding items to nav drawer from api 2018-07-31 13:24:14 +03:00
Alex Sytnyk
c151065831 Swap uri and appPackage in the OsmandAidlHelper 2018-07-30 18:40:12 +03:00
Alex Sytnyk
732f3cff7c Add the application package to the AddOpenAppNavDrawerItemParams 2018-07-30 16:45:09 +03:00
Alex Sytnyk
c090c1c148 Use URI instead of app package 2018-07-30 15:43:32 +03:00
Alex Sytnyk
86ca0a3849 Add the ability to add navigation drawer item for opening some app from AIDL API 2018-07-27 16:50:07 +03:00
Alex Sytnyk
05503e1371 Update AMapLayer in OsmAnd-Telegram 2018-07-27 13:50:32 +03:00
Chumva
fedf990e45 add useThemedIcon inonBindViewHolder 2018-07-13 19:00:34 +03:00
Chumva
baa952fde3 remove default values from setupPhoto 2018-07-13 18:56:26 +03:00
Chumva
85a01ba2c7 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into UiImprovements
# Conflicts:
#	OsmAnd-telegram/src/net/osmand/telegram/ui/MyLocationTabFragment.kt
2018-07-13 18:48:29 +03:00
Chumva
459f1ba37f add isGroup method 2018-07-13 18:45:24 +03:00
Alex Sytnyk
9571c883a3 Remove redundant layout file 2018-07-13 18:29:42 +03:00
Alex Sytnyk
03db6d6897 Remove redundant code from MainActivity 2018-07-13 18:27:42 +03:00
Alex Sytnyk
e3ead28f59 Add the ability to stop sharing location from "My location" screen 2018-07-13 18:19:09 +03:00
Chumva
5a2e858934 add different icons depending on chatType in LiveNowTabFragment 2018-07-13 18:05:47 +03:00
Chumva
4026eff998 add different icons depending on chatType 2018-07-13 17:53:59 +03:00
Alexander Sytnyk
af7c9bed4b
Merge pull request #5667 from osmandapp/AddChatIdsToDuration
Add chat ids to duration in settings
2018-07-13 17:13:21 +03:00
Chumva
56159ec740 rename expireTime 2018-07-13 17:12:25 +03:00
Chumva
4d41ae9a04 rename formatDuration 2018-07-13 17:10:50 +03:00
Chumva
c7a811dc61 rename duration to livePeriod 2018-07-13 17:08:47 +03:00
Chumva
e0271f99a5 rename getChatLivePeriod 2018-07-13 17:06:05 +03:00
Chumva
a5a6154d0b rename chatLivePeriods in helpers 2018-07-13 17:04:40 +03:00
Chumva
e37e78cb33 rename chatLivePeriods 2018-07-13 17:02:49 +03:00
Chumva
c2aca3c9fb rename chatLocLivePeriods 2018-07-13 17:01:28 +03:00
Chumva
c7b8fb074d move shareLocationToChat after check for location permission 2018-07-13 16:40:23 +03:00
Chumva
9357222b58 refactor chatIdsToDuration 2018-07-13 16:28:37 +03:00
Chumva
1033e61c0c rename addChatIdToDuration 2018-07-13 16:01:17 +03:00
Chumva
0e7bea8eba remove toast import 2018-07-13 15:58:49 +03:00
Chumva
b5034ac8e0 remove toast 2018-07-13 15:57:48 +03:00
Chumva
8380b29855 add chatIdsToDuration to settings 2018-07-13 15:53:58 +03:00
Alexey
aff56654b3
Merge pull request #5666 from osmandapp/MoveFromChatTitleToChatId
Change chatTitle to chatId
2018-07-13 15:02:40 +03:00
Alex Sytnyk
951065e21c Fix small issues 2018-07-13 14:42:57 +03:00
Alex Sytnyk
2cde7dcb3f Refactor TelegramSettings 2018-07-13 14:32:11 +03:00
Chumva
3c05c0e37e fix tabs in settings 2018-07-13 14:27:01 +03:00
Chumva
2b0b2b4447 remove updateChatTitles 2018-07-13 14:16:01 +03:00
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
Dmitriy Prodchenko
6b4fa6d408 Add icon for bot 2018-07-11 18:40:25 +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
Dmitriy Prodchenko
f208ac3af6 Add other menu icon 2018-07-11 13:38:59 +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
46c9ea1c6f fix string resources 2018-07-09 16:21:28 +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
Chumva
1bb2a3786b fix description padding and line spacing in get telegram dialog 2018-07-06 19:38:28 +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
Chumva
20a59b607e remove unnecessary string changes 2018-07-06 19:19:12 +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
ccdec89cdb add letter_spacing for welcome title 2018-07-06 18:56:27 +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
Dmitriy Prodchenko
c437123755 Add Google Play Badge 2018-07-06 17:34:30 +03:00
Dmitriy Prodchenko
21c0095476 Change icon 2018-07-06 16:54:57 +03:00
Dmitriy Prodchenko
5d5d68910c Add user and group picture 2018-07-06 16:52:23 +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
1375427c64 add color for getTelegram button 2018-07-06 11:32:12 +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
Dmitriy Prodchenko
c9ec80402b Fix launcher icon 2018-07-05 18:02:17 +03:00
Alex Sytnyk
aa0c147b7e Fix path to drawables for adaptive icon 2018-07-05 17:21:41 +03:00
Dmitriy Prodchenko
5acff029dc Add Adaptive icon 2018-07-05 16:29:56 +03:00
Dmitriy Prodchenko
bc1771ac67 Add launcher icon, standart and adaptive version 2018-07-05 16:16:28 +03:00
Chumva
6b660d5c50 fix welcome dialog scroll and login dialog height 2018-07-05 14:17:25 +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
89db88a38f Add popup_list_text_item 2018-07-04 18:44:29 +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
Dmitriy Prodchenko
51f6eeef48 Add icons for: sort by distance, name, group and share location 2018-07-03 17:17:48 +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
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