Commit graph

297 commits

Author SHA1 Message Date
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