Commit graph

640 commits

Author SHA1 Message Date
Chumva
a379fb900c Fix sharing to unknown chats 2019-04-10 18:31:15 +03:00
Chumva
4edc375c7d Remove unnecessary methods 2019-04-10 18:16:12 +03:00
Chumva
fca39521cc Search initial commit 2019-04-10 18:00:45 +03:00
Chumva
e58000f9a4 Fix string resources and remove unnecessary changes 2019-02-17 23:57:34 +02:00
Chumva
c41d03947d remove unnecessary changes 2019-02-15 19:46:49 +02:00
Chumva
52ce92de2f Fix merge conflicts 2019-02-15 19:39:30 +02:00
Chumva
b2e8ecc649 Change app name and improve ui 2019-02-15 19:32:17 +02:00
Chumva
2757dca0a9 Fix editText scroll 2019-02-15 16:41:00 +02:00
Chumva
2dbb2b657e Create processScannedLocationsForChat for scanned locations 2019-02-15 15:15:42 +02:00
Chumva
8cb762cde2 use more appropriate function 2019-02-15 15:00:08 +02:00
Chumva
f0eeb1e52e Fix scan updates 2019-02-15 14:54:14 +02:00
Chumva
8a7ce0bdd4 Fix live now messages updates 2019-02-14 19:02:34 +02:00
Chumva
e958a25646 remove unnecessary check 2019-02-14 18:02:26 +02:00
Chumva
c7f7bef3cc Fix request 2019-02-14 18:00:32 +02:00
Chumva
5032589410 Fix sharing status and divide pendingTdLib buffer for text and map locations 2019-02-14 16:58:32 +02:00
Chumva
3240d97aed Move countryPhoneCodes to DataConstants 2019-02-14 14:10:07 +02:00
Chumva
4c5ebe8545 move countryPhoneCodes to OsmandApiUtils 2019-02-14 13:53:24 +02:00
Chumva
235b6eb2da fix link 2019-02-14 13:32:41 +02:00
Chumva
2364f42ce0 Add clickableSpans for privacy policy 2019-02-14 13:31:01 +02:00
Chumva
f1518557c0 Add check for empty editText 2019-02-14 12:53:47 +02:00
Chumva
6cd6f12299 Remove string-array and add map with countryPhoneCodes 2019-02-14 12:48:37 +02:00
Chumva
671616cf39 Improve dial country codes 2019-02-13 19:03:57 +02:00
Chumva
524cf91ee0 Add check for country dial code initial commit 2019-02-13 18:21:07 +02:00
Chumva
736545adef Add privacy policy screen 2019-02-12 17:04:16 +02:00
Chumva
4b58780705 Remove unnecessary changes 2019-02-12 11:31:29 +02:00
Chumva
cbec3f0153 Fix points size on live now screen 2019-02-12 11:28:09 +02:00
Chumva
ea8524d08e Improve getLastMessages method 2019-02-12 00:03:52 +02:00
Chumva
8186455239 Add additional setting initial commit and fix forward messages ids 2019-02-11 19:05:49 +02:00
Chumva
ba5ded42df Fix build 2019-02-11 14:27:29 +02:00
Chumva
4fed0ed4c5 Add devices buffer initial commit 2019-02-08 19:12:17 +02:00
Chumva
355b7f46ac Add ability to change updates type from callback to service and back and fix last update time 2019-02-06 13:50:02 +02:00
Chumva
09472edbc1 Rename several methods and add check for time 2019-02-05 18:15:51 +02:00
Chumva
c7ec07ebde Remove unnecessary variable 2019-02-05 17:51:16 +02:00
Chumva
ad769040f4 Add monitoring service fix minor bugs and improve ui 2019-02-05 17:26:42 +02:00
vshcherb
befbb25469
Merge pull request #6504 from osmandapp/TelegramDataBase
Add check for location accuracy
2019-02-04 14:26:45 +02:00
Chumva
84ac49e09b Increase location accuracy threshold and remove 15 sec check for my location 2019-02-04 13:47:17 +02:00
Vitaliy
8388f00f7c
Fix sqlite exception 2019-02-02 17:16:42 +02:00
Chumva
cc676a39ac Add check for location accuracy 2019-02-02 13:14:57 +02:00
Chumva
6fd476f262 Remove unnecessary save for tdLib 2019-02-01 19:35:10 +02:00
Chumva
52adc6945f Fix several bugs with distance 2019-02-01 19:11:06 +02:00
Chumva
4ae629580a Fix several bugs and improve ui 2019-02-01 17:13:21 +02:00
Chumva
eadecb4a5c Fix bugs 2019-02-01 13:34:22 +02:00
Chumva
913feb0899 add saving settings 2019-01-31 12:26:25 +02:00
Chumva
30837f5fdb remove unnecessary buttons and improve parsing location messages 2019-01-30 19:14:05 +02:00
Chumva
dcdd62abcc remove unnecessary methods 2019-01-30 10:37:28 +02:00
Chumva
d771c47fb8 improve buffer updates 2019-01-29 19:03:44 +02:00
Chumva
256df2c866 db refactoring continues 2019-01-28 18:09:35 +02:00
crimean
430ceb10ae LocationMessages fixes. Added todos. 2019-01-27 21:59:07 +03:00
Chumva
eedcf67d35 add new status for incoming messages 2019-01-25 19:02:43 +02:00
Chumva
7b41a03c47 Telegram database refactoring 2019-01-25 18:04:26 +02:00
crimean
74c93b7bdf Fix telegram build 2019-01-18 21:00:32 +03:00
Chumva
5f0b1222bf Fix timeline interval 2019-01-18 16:17:20 +02:00
Chumva
80eda68e01 Add timeline tab and gpx statistic dialog and sync aidl 2019-01-18 14:51:39 +02:00
vshcherb
f5524e5016
Update LiveNowTabFragment.kt 2019-01-17 12:59:11 +01:00
vshcherb
e13b0e0ca4
Update LiveNowTabFragment.kt 2019-01-17 12:58:08 +01:00
Chumva
4a62098585 Add scan messages history 2019-01-14 17:45:47 +02:00
Chumva
f5c0e3bbfc Fix check for map locations 2019-01-11 19:02:51 +02:00
Chumva
06a357d8d3 Fix saving outgoing messages to db and improve gpx creating 2019-01-11 18:36:08 +02:00
Chumva
86afca198a Rename tracksDbHelper to SavingTracksDbHelper and add ability to save as gpx 2019-01-10 21:28:18 +02:00
Chumva
17961b6331 Add TracksDbHelper initial commit 2019-01-10 15:47:56 +02:00
Chumva
4c6b388107 Fix sharing status update 2018-12-28 18:26:31 +02:00
Chumva
c899245ad3 Add logging for sharing messages 2018-12-28 16:19:05 +02:00
Chumva
096dd18258 Fix sending several messages with poor internet connection 2018-12-28 15:50:17 +02:00
Chumva
7cf0015341 Add sharing link 2018-12-12 16:55:37 +02:00
Chumva
aa80bd3d29 Add link to app in text messages and improve parsing 2018-12-12 11:35:31 +02:00
Chumva
0c5a82ca96 Apply setting for bot messages and improve text messages processing 2018-12-11 19:05:25 +02:00
Chumva
59f6feb1dc Add string resources for new setting 2018-12-10 17:37:27 +02:00
Chumva
89a03881da Add check for old user locations messages 2018-12-10 17:03:52 +02:00
Chumva
0de3d8af76 Refactor sendNewLiveLocationMessage for text messages 2018-12-10 15:49:30 +02:00
Chumva
6d63adc2ba Improve user text locations parsing 2018-12-10 15:10:11 +02:00
Chumva
2ce8626e84 Add ability to share text locations without bot 2018-12-07 19:07:48 +02:00
Chumva
3acd73dcaf simplify check for sharing location to user 2018-12-05 18:03:46 +02:00
Chumva
9b6aa48639 Add ability to share location to contacts 2018-12-05 17:52:26 +02:00
Chumva
da0405dc08 Add last update time from telegram 2018-11-06 14:16:20 +02:00
Victor Shcherb
3436e1f789 Fix compilation 2018-10-30 01:22:59 +01:00
Chumva
1292b7b735 Add check for last location sent time 2018-10-29 16:50:24 +02:00
Chumva
f0368a845c remove unnecessary caps 2018-10-29 16:01:12 +02:00
Chumva
9d38b4ca4a add const for gps expired time 2018-10-29 15:57:57 +02:00
Chumva
f89cf5a5a4 Fix sharing to new device, different parsed time and add check for last known location 2018-10-29 15:54:44 +02:00
Chumva
aff20dbc2b Add ability to send location messages via bot 2018-10-26 17:06:30 +03:00
Chumva
7599cb68b6 Remove unnecessary changes 2018-10-25 17:37:01 +03:00
Chumva
a667ac7f94 Add check for locationTime 2018-10-25 17:34:57 +03:00
Chumva
520f78631b remove unnecessary check 2018-10-25 15:16:06 +03:00
Chumva
db36d3b673 Refactor add device dialog and improve ui 2018-10-25 14:48:19 +03:00
Chumva
3f11fb3937 Add ability to add new sharing devices and save them in shared pref 2018-10-25 12:52:32 +03:00
Chumva
6dc64ef13c Remove unnecessary code 2018-10-23 12:36:28 +03:00
Chumva
ec2f36760d Add new sharing statuses for telegram 2018-10-23 12:21:15 +03:00
Chumva
e8f6343d3a Add check for 26 api level 2018-10-19 16:38:59 +03:00
Chumva
a67c2affda Add BatteryOptimization dialog and improve ui in settings 2018-10-19 16:03:10 +03:00
Chumva
c7ba22ee53 add update for sharing status 2018-10-17 17:09:55 +03:00
Chumva
607a4389ca Fix expireTime and add check for lastSuccessfulSendTimeMs 2018-10-17 17:08:05 +03:00
Chumva
1442f7a019 Remove unnecessary changes 2018-10-17 12:55:26 +03:00
Chumva
45966e929c Fix sharing after expire time ends and remove unnecessary changes 2018-10-17 12:27:57 +03:00
Chumva
3ed8c1ec84 Remove liveUpdatesHandler 2018-10-16 18:42:43 +03:00
Chumva
0ff05fd0a6 Telegram sharing status init 2018-10-12 19:17:38 +03:00
Chumva
3c2fb27f2a Cleaned setting newLivePeriod 2018-10-12 12:45:09 +03:00
Chumva
07e3660d54 Move getNextAdditionalActiveTime to shareInfo 2018-10-12 12:38:46 +03:00
Chumva
7c7f9cb945 move additionalActiveTime to shareInfo 2018-10-12 12:08:27 +03:00
Chumva
7f04fd37d9 Remove ScheduledExecutorService from ShareLocationHelper 2018-10-09 16:12:52 +03:00
Chumva
9bcd87ce27 Remove unnecessary check for old period 2018-10-09 11:47:40 +03:00
Chumva
0847782aba Remove onUpdateMessage and clean updateSendLiveMessages 2018-10-09 11:26:31 +03:00
Chumva
b1d987f65c Fix send time 2018-10-08 19:10:55 +03:00
Chumva
8c9d27889c Init refactoring for ShareChatInfo 2018-10-08 18:33:59 +03:00
Chumva
1eb37fd3ae Fix max sharing time and add check for internet connection 2018-10-04 16:50:49 +03:00
Chumva
b57e3c268f fix array 2018-10-03 18:04:25 +03:00
Chumva
d70d2c6dc7 Rename pausedLiveChatIds 2018-10-03 17:59:03 +03:00
Chumva
d76f6a2e7f Rename pausedLiveChats 2018-10-03 17:57:37 +03:00
Chumva
0d7fd67d57 Remove unnecessary changes 2018-10-03 17:43:04 +03:00
Chumva
7d4a9f025d Fix sending many location messages after adding sharing time 2018-10-03 17:20:49 +03:00
Chumva
c1f90b1317 Save userId in currentSharingMode 2018-10-03 13:27:53 +03:00
Chumva
bc1f942166 Add log to OsmandApiUtils 2018-10-03 13:14:55 +03:00
Chumva
c15922d08b Add addItemToContainer 2018-10-03 12:50:15 +03:00
Chumva
bdeed810fc Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramImprovements 2018-10-03 12:28:09 +03:00
Chumva
7e87e45b3a Add OsmandApiUtils 2018-10-03 12:25:42 +03:00
Chumva
66db443340 Remove unnecessary method 2018-10-02 18:11:01 +03:00
Chumva
a061640579 Add local device for sharing to telegram and remove unnecessary dialog 2018-10-02 18:06:35 +03:00
Chumva
01aae4cc2e remove unnecessary changes 2018-10-02 17:44:05 +03:00
Chumva
abb2ab0d1e Fix showing via bot messages and improve ui 2018-10-02 17:43:04 +03:00
Chumva
ad33ae1023 Add increasing values for adding sharing time 2018-10-02 14:58:55 +03:00
Chumva
06e80d514d Get devices ids from url 2018-10-02 13:01:26 +03:00
Chumva
ac844ab537 remove unnecessary changes 2018-09-28 18:38:09 +03:00
Chumva
c71386e19a remove default currentSharingMode 2018-09-28 18:13:27 +03:00
Vitaliy
9169766dbb
Make currentSharingMode nullable 2018-09-28 17:05:26 +03:00
Vitaliy
3b1e1d19a0
change check for currentSharingMode 2018-09-28 17:01:11 +03:00
Vitaliy
41271f87e8
remove unnecessary changes 2018-09-28 16:51:39 +03:00
Chumva
5540b2e31b Add setting to share location from different devices to url 2018-09-28 16:44:47 +03:00
Alex Sytnyk
6ac2989f2c Fix compatibility issue with TdLib 2018-09-11 13:58:49 +03:00
Alex Sytnyk
4980736146 Revert #176c09b 2018-09-11 12:49:58 +03:00
Alex Sytnyk
176c09b55a Try to fix Jenkins build 2018-09-10 12:25:29 +03:00
Alex Sytnyk
99f8e828dc Open "My location" tab and dismiss all dialogs after click on notification 2018-09-07 17:33:20 +03:00
Alex Sytnyk
aecf98195c Change icon and dd button to the notification 2018-09-07 15:34:03 +03:00
Chumva
956606e3f6 Add dismissAllowingStateLoss 2018-09-07 13:45:40 +03:00
Alex Sytnyk
45dbd7d5da Fix crash 2018-09-07 13:32:21 +03:00
Alex Sytnyk
f314d480ba Fix updating of current user photo on first start 2018-09-07 12:40:39 +03:00
Chumva
46382bf3de Add height for ListPopupWindow 2018-09-07 12:02:55 +03:00
Alex Sytnyk
fb7af911e6 Fix "Show location on map" notification 2018-09-06 18:49:38 +03:00
Alexander Sytnyk
8f3f00de88
Merge pull request #5992 from osmandapp/TelegramUiImprovements
Ui improvements
2018-09-06 18:34:47 +03:00
Alex Sytnyk
3999c160a7 Stop showing location before updating appToConnectPackage 2018-09-06 18:32:45 +03:00
Chumva
8ca0e75045 Remove unnecessary text from LogoutBottomSheet 2018-09-06 18:27:40 +03:00
Chumva
ca112ce977 Add LogoutBottomSheet and improve login dialogs ui 2018-09-06 18:01:10 +03:00
Alex Sytnyk
7f0ca8831e Replace hardcoded values 2018-09-06 15:55:38 +03:00
Alex Sytnyk
20c14b5496 Init TelegramApplication from OsmAnd 2018-09-06 15:54:47 +03:00
Alex Sytnyk
08085f1efb Change placeholders for points on map 2018-09-05 18:24:14 +03:00
Alex Sytnyk
80cde74ce8 Change user`s icon placeholder on "My location" screen 2018-09-05 18:13:17 +03:00
Alex Sytnyk
62a5d46be2 Change background for stale points on map 2018-09-05 17:59:49 +03:00
Alex Sytnyk
d6cd0df2ea Show all chats on map by default 2018-09-05 12:58:32 +03:00
Alex Sytnyk
546679298e Add small formatting fixes in TelegramSettings 2018-09-05 11:44:02 +03:00
Chumva
23be3c4764 Remove unnecessary check 2018-09-05 11:38:18 +03:00
Chumva
b05d510c44 Rename request code and fix OsmAnd Bot icon on map 2018-09-05 11:28:39 +03:00
Chumva
37658d86a6 Fix group gray icon and bot description 2018-09-04 18:55:23 +03:00
Chumva
2d78996344 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into LiveNowSorting
# Conflicts:
#	OsmAnd-telegram/src/net/osmand/telegram/TelegramSettings.kt
2018-09-04 18:44:42 +03:00
Chumva
416de7a053 Move LiveNowSortType to settings 2018-09-04 17:43:42 +03:00
Alex Sytnyk
8ad8288865 Change defValue for appToConnectPackage 2018-09-04 16:57:19 +03:00
Chumva
a2cef24af4 Rename sortType field 2018-09-04 16:52:24 +03:00
Chumva
da16b4a964 Save sort type to prefs 2018-09-04 16:43:27 +03:00
Chumva
a145db7e17 Remove unnecessary apply 2018-09-04 16:16:23 +03:00
Chumva
33a287ca9f Remove unnecessary variable 2018-09-04 15:56:39 +03:00
Chumva
6f1974ea60 Remove colorStateList and refactor SortByBottomSheet 2018-09-04 15:15:38 +03:00
Chumva
b355b56c6c Fix group icon and add colorStateList 2018-09-04 13:29:21 +03:00
Chumva
ba473df31f Add sorting to live now fragment 2018-09-03 19:23:57 +03:00
Alex Sytnyk
f843c219ce Add user photo to the "Disable all sharing" dialog 2018-09-03 18:24:26 +03:00
Alex Sytnyk
c5dfef67be Change icon for OsmAnd Nightly 2018-09-03 15:58:51 +03:00
Alex Sytnyk
4683281377 Add user photo to the "My location" screen 2018-09-03 15:55:08 +03:00
Alex Sytnyk
fb40853153 Add compatibility with OsmAnd Nightly 2018-09-03 14:30:40 +03:00
Alex Sytnyk
9c28f7d131 Finish ChooseOsmAndBottomSheet 2018-09-03 12:02:26 +03:00
Alex Sytnyk
8203052e86 ChooseOsmAndBottomSheet in progress 2018-08-31 17:36:25 +03:00
Alex Sytnyk
eb5d38a4c5 Extract updating of "appToConnectPackage" to the TelegramSettings 2018-08-31 16:28:14 +03:00
Alex Sytnyk
ca48340164 Choose OsmAnd on "Open OsmAnd" button click in progress 2018-08-31 16:19:28 +03:00
Alexey
6a9a30c955
Merge pull request #5955 from osmandapp/TelegramAidlUpdate
Telegram AIDL callback update
2018-08-31 15:04:06 +03:00
Alex Sytnyk
9e8723342c Move settings classes from SettingsDialogFragment to the TelegramSettings 2018-08-31 14:22:46 +03:00
Chumva
5ce94dc933 remove unnecessary methods from callback 2018-08-31 12:54:40 +03:00
Chumva
8da4fb8474 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramAidlUpdate 2018-08-30 19:08:42 +03:00
Alex Sytnyk
491b628d90 Add DisableSharingBottomSheet and related stuff 2018-08-30 19:06:59 +03:00
Chumva
bdb5c41514 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramAidlUpdate
# Conflicts:
#	OsmAnd/src/net/osmand/aidl/IOsmAndAidlInterface.aidl
#	OsmAnd/src/net/osmand/aidl/OsmandAidlApi.java
#	OsmAnd/src/net/osmand/aidl/OsmandAidlService.java
2018-08-30 18:33:58 +03:00
Chumva
c0befa533f Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramAidlUpdate
# Conflicts:
#	OsmAnd/src/net/osmand/aidl/IOsmAndAidlInterface.aidl
#	OsmAnd/src/net/osmand/aidl/OsmandAidlApi.java
#	OsmAnd/src/net/osmand/aidl/OsmandAidlService.java
2018-08-30 18:30:07 +03:00
Chumva
396d56ba28 Add check for active mapActivity and add parameter updateTimeMS 2018-08-30 17:07:54 +03:00
Chumva
50c7e5e63e Add setId to callback 2018-08-30 15:05:30 +03:00
Chumva
6b99ea420f Remove unnecessary changes 2018-08-30 13:20:28 +03:00
Chumva
7948a66e58 Rename aidl methods and remove boundPackage 2018-08-30 13:13:51 +03:00
Chumva
8cbf7862a6 Add getId for callback and add check for changing connected package 2018-08-30 12:37:18 +03:00
Chumva
1ac5fd6ce9 Add check for OsmAnd version code 2018-08-29 17:26:09 +03:00
Chumva
31e0f4fc38 Add clearLayer and rename methods 2018-08-29 16:01:53 +03:00
Chumva
34928a01d6 move asyncTasks to ShowLocationHelper 2018-08-29 15:27:50 +03:00
Chumva
7c6344b197 Add update method to IOsmAndAidlCallback 2018-08-29 13:49:09 +03:00
Chumva
d774c7575a Add missing search and navigation aidl to telegram app 2018-08-29 12:14:20 +03:00
Alex Sytnyk
d788d036f7 Replace "logout" menu item with "exit" item 2018-08-28 20:10:59 +03:00
Chumva
8815e8968b rename constants and addGrayPhoto 2018-08-28 15:26:48 +03:00
Chumva
6bfece0744 remove telegram logic from uiUtils 2018-08-28 14:58:44 +03:00
Chumva
448290aa21 Merge branch 'master' of ssh://github.com/osmandapp/Osmand into TelegramStaleLocation 2018-08-28 14:22:36 +03:00
Alexander Sytnyk
68d538bdc6
Merge pull request #5907 from osmandapp/TelegramImprovements
Telegram improvements
2018-08-28 12:55:10 +03:00
Chumva
717af0e6ff refactor telegramSettings clear 2018-08-28 12:50:49 +03:00
Alexander Sytnyk
64131d0b16
Merge pull request #5929 from osmandapp/TelegramUiImprovements
Fix status bar transparent color
2018-08-28 12:38:54 +03:00
Chumva
aed07abecf move statusBar check under setContentView 2018-08-28 12:37:54 +03:00
Chumva
2c707e1dac move statusBar check to top 2018-08-28 12:36:45 +03:00
Chumva
6ed6dee124 remove unnecessary changes 2018-08-28 12:29:06 +03:00
Chumva
6db6e83949 add BaseDialogFragment 2018-08-28 12:24:39 +03:00
Chumva
01e6b8ff60 remove default value for messageExpTime 2018-08-28 11:58:20 +03:00
Chumva
7a8caa4831 remove unnecessary changes 2018-08-28 11:50:42 +03:00
Chumva
5a71f738df remove unnecessary changes and refactor getMessagesByChatIds 2018-08-28 11:49:22 +03:00
Chumva
4c627efa05 fix empty login screen 2018-08-27 13:27:35 +03:00