3912 Commits

Author SHA1 Message Date
nielsandriesse
fcb2bbb768 Debug 2020-08-12 10:00:35 +10:00
nielsandriesse
c9c902218e Fix SSK message sending 2020-08-11 19:32:10 +10:00
nielsandriesse
d8986f6147 Clean 2020-08-11 18:27:23 +10:00
nielsandriesse
8a86b93dd1 Validate closed group update messages 2020-08-11 15:05:13 +10:00
nielsandriesse
96f235423d Debug 2020-08-11 13:31:21 +10:00
nielsandriesse
6c5034f4b3 Make group leaving use the SSK API 2020-08-11 12:20:17 +10:00
nielsandriesse
e2ce43c3cd Debug 2020-08-11 11:51:51 +10:00
nielsandriesse
80bbeee7ce Debug message sending 2020-08-11 09:59:07 +10:00
nielsandriesse
8e14c7abb6 Debug 2020-08-10 16:54:59 +10:00
nielsandriesse
61050444f9 Switch new closed group activity over to SSKs 2020-08-10 16:38:40 +10:00
nielsandriesse
97b35d769a Integrate SSKs into the decryption pipeline 2020-08-10 16:15:42 +10:00
nielsandriesse
86837f031a Integrate SSKs into the encryption pipeline 2020-08-10 15:29:36 +10:00
nielsandriesse
1e223c90ca Minor refactoring 2020-08-10 13:44:47 +10:00
nielsandriesse
63da8023e7 Partially revert database changes
Fixing this is going to require a (big) migration
2020-08-10 13:38:07 +10:00
nielsandriesse
09c668acb2 Start and stop the closed group poller as needed 2020-08-10 11:48:27 +10:00
nielsandriesse
2c22ab70b7 Update database for SSKs 2020-08-10 11:40:43 +10:00
nielsandriesse
4ac15190bb Implement ClosedGroupPoller 2020-08-10 09:53:37 +10:00
nielsandriesse
1e16a940fe Clean & debug 2020-08-10 09:23:51 +10:00
nielsandriesse
13dd8dd250 Finish ClosedGroupsProtocol 2020-08-07 16:30:41 +10:00
nielsandriesse
8931d904e5 Implement SSK group member removing 2020-08-07 15:41:53 +10:00
Ryan ZHAO
df15743c04 fix text got cut off when sending an image with a text message 2020-08-07 15:13:08 +10:00
nielsandriesse
7eb59c1400 Implement SSK group member adding
Also finish group creation
2020-08-07 13:47:40 +10:00
nielsandriesse
6be509c657 Implement ClosedGroupUpdateMessageSendJob 2020-08-07 13:25:26 +10:00
nielsandriesse
15f3942838 Clean 2020-08-07 10:53:36 +10:00
nielsandriesse
944f85ddb9 Partially implement SSK group creation 2020-08-07 10:17:35 +10:00
nielsandriesse
a5a53adc47 Re-order files 2020-08-07 09:20:22 +10:00
nielsandriesse
c2d1953116 Clean ClosedGroupsProtocol ahead of SSK changes 2020-08-07 09:15:36 +10:00
nielsandriesse
9c3814df9c Implement shared sender keys database 2020-08-07 08:52:13 +10:00
Ryan ZHAO
79a66d9bd3 fix mention in notifications 2020-08-06 14:42:24 +10:00
nielsandriesse
a151a96474 Show device unlinked message upon clearing secondary device 2020-08-06 12:22:52 +10:00
nielsandriesse
00cecf3e63 Clean 2020-08-05 14:34:36 +10:00
nielsandriesse
bf9ddf04c4 Allow any display name 2020-08-05 13:15:52 +10:00
nielsandriesse
66d7f0aeaa Make new private chat screen edit text done button work 2020-08-05 10:01:25 +10:00
nielsandriesse
e76afd0051 Fix crash 2020-08-05 09:25:29 +10:00
nielsandriesse
322087b83d Unregister the user from FCM when they clear their data 2020-08-04 15:41:10 +10:00
nielsandriesse
e1d17ae831 Clear secondary devices 2020-08-04 15:37:39 +10:00
nielsandriesse
6efef1d148 Disable multi device 2020-08-04 15:33:37 +10:00
nielsandriesse
38db29c20d Update file size limit for onion requests 2020-07-31 16:23:40 +10:00
nielsandriesse
1d4a3bbe08 Fix excessive retrying 2020-07-31 11:32:09 +10:00
Niels Andriesse
1ff663bf45
Merge pull request #270 from RyanRory/photo-issues
Fix Photo Uploading Bugs
2020-07-31 10:05:47 +10:00
nielsandriesse
f56e3be1d4 Implement multi device removal sheet 2020-07-30 16:53:34 +10:00
nielsandriesse
ce1a4a2a1c Add learn more button 2020-07-30 09:36:12 +10:00
nielsandriesse
c46ef8ad4e Fix build 2020-07-30 09:26:45 +10:00
Ryan ZHAO
cd07c15fa3 fix uri matcher for renamed name space 2020-07-29 15:45:10 +10:00
nielsandriesse
0b9494aa43 Debug 2020-07-29 10:03:50 +10:00
nielsandriesse
43acedd91b Update for core changes 2020-07-29 09:04:24 +10:00
nielsandriesse
69c00a2be0 Update for core changes 2020-07-28 14:41:02 +10:00
nielsandriesse
a95da2c219 Fix Giphy crash 2020-07-21 11:51:01 +10:00
nielsandriesse
a742ecd574 Fix crashes 2020-07-20 09:20:25 +10:00
nielsandriesse
e3f107b00c Fix incorrect contacts being synced 2020-07-17 15:06:16 +10:00
nielsandriesse
68821b98aa Make blocking take into account multi device 2020-07-17 14:56:01 +10:00
nielsandriesse
f97f4d071d Fix user's messages being ignored after re-joining open group 2020-07-17 14:40:15 +10:00
nielsandriesse
12f70f188e Make the app work with RTL languages 2020-07-17 12:10:25 +10:00
nielsandriesse
1e892568af Handle session request expiration 2020-07-17 09:05:37 +10:00
nielsandriesse
13b6bff206 Remove redundant line 2020-07-17 08:49:24 +10:00
nielsandriesse
8004313868 Debug 2020-07-16 14:51:48 +10:00
nielsandriesse
0818b4c0e2 Clean 2020-07-16 14:15:36 +10:00
nielsandriesse
5344d6aa64 Handle syncing of blocked contacts 2020-07-16 13:49:46 +10:00
nielsandriesse
662d9c7c63 Sync blocked contacts across devices 2020-07-16 12:49:37 +10:00
nielsandriesse
56c2cd3ca9 Replace swipe to delete by a bottom sheet 2020-07-16 11:58:11 +10:00
nielsandriesse
c388d31873 Implement blocking 2020-07-16 11:20:39 +10:00
nielsandriesse
af5a37c601 Debug 2020-07-16 10:14:25 +10:00
nielsandriesse
3df78a00c5 Clean 2020-07-16 09:46:10 +10:00
nielsandriesse
4beaf88fbe Match desktop session handling 2020-07-16 09:44:00 +10:00
nielsandriesse
dbdb4ec855 Clean 2020-07-16 08:55:29 +10:00
nielsandriesse
06f547dc88 Implement the new protocol 2020-07-15 17:04:23 +10:00
nielsandriesse
455471b20e Remove the concept of friend requests 2020-07-15 14:26:20 +10:00
nielsandriesse
21554441f3 Make things compile 2020-07-15 12:24:43 +10:00
nielsandriesse
5120565a03 Fix inverted flag 2020-07-15 11:45:49 +10:00
nielsandriesse
52be0d110e Debug 2020-07-13 15:21:59 +10:00
nielsandriesse
588bf32965 Fix null message handling 2020-07-13 14:40:42 +10:00
nielsandriesse
fd4ed74892 Merge remote-tracking branch 'ryan/fix-optimized-message-notifier' into dev 2020-07-13 11:52:32 +10:00
ryanzhao
caabf4c1bf fix logic error of isCaughtUp 2020-07-10 15:36:23 +10:00
nielsandriesse
4e5607f7be Fix crash & friend request handling bug 2020-07-10 15:23:24 +10:00
nielsandriesse
bc71bf50aa Fix crash & friend request handling bug 2020-07-10 15:19:12 +10:00
nielsandriesse
7afb763576 Maintain code style consistency 2020-07-10 14:00:04 +10:00
Mikunj
69bcfe6c02 Minor fixes 2020-07-10 13:39:05 +10:00
nielsandriesse
bfb260ef53 Add debug assertions 2020-07-10 11:43:45 +10:00
nielsandriesse
b3351d7297 Update for desktop protocol changes 2020-07-10 11:09:00 +10:00
nielsandriesse
5a64e1cf3a Make session handling logic consistent with desktop 2020-07-10 09:46:14 +10:00
nielsandriesse
4799c13816 Clean up ahead of protocol changes 2020-07-08 17:05:26 +10:00
nielsandriesse
3124a59269 Merge branch 'fix-notification-spam' into dev 2020-07-08 11:31:07 +10:00
nielsandriesse
d09171213d Clean 2020-07-08 11:30:00 +10:00
nielsandriesse
0bec4df0e7 Merge branch 'fix-link-previews' into dev 2020-07-08 10:51:44 +10:00
nielsandriesse
a4c5ec823d Reword comment 2020-07-08 10:51:32 +10:00
nielsandriesse
4e672d5b49 Clean 2020-07-08 10:48:09 +10:00
ryanzhao
34f2def122 Drop banned proxy to fix link previews 2020-06-29 14:15:20 +10:00
ryanzhao
2a88de3f61 move old message notifier to optimized message notifier 2020-06-26 16:18:19 +10:00
ryanzhao
871d707460 add optimized message notifier 2020-06-26 16:17:53 +10:00
ryanzhao
7cc60e6173 add flag in public chat poller for catching up 2020-06-26 16:17:15 +10:00
ryanzhao
6fcc26cc22 update local session id and stop polling if local session id has changed 2020-06-25 09:33:44 +10:00
Niels Andriesse
d9dfca4d07
Merge pull request #238 from KeeJef/dev
Add a Space After Inserting a Mention
2020-06-23 14:26:24 +10:00
nielsandriesse
079f7599f0 Preload device links to make message sending quicker 2020-06-23 13:39:33 +10:00
nielsandriesse
b8454f3db2 Fix crash 2020-06-23 12:23:58 +10:00
nielsandriesse
e352b2284e Fix crash 2020-06-23 12:17:49 +10:00
nielsandriesse
2189729f45 Fix crash 2020-06-23 12:15:58 +10:00
nielsandriesse
90a8a36486 Fix crash 2020-06-23 12:13:27 +10:00
nielsandriesse
c446ba6e58 Fix crash 2020-06-23 12:10:20 +10:00
nielsandriesse
21fab09d6c Fix message action inconsistencies 2020-06-23 11:59:51 +10:00
Haafingar
40bfae9042 fix group member edit icons, improve design 2020-06-22 15:49:18 +10:00
Kee Jefferys
6874cd5bfd Add mention blankspace 2020-06-22 14:05:12 +10:00
Haafingar
6d615fbb9d fix name editing 2020-06-22 13:58:27 +10:00
Haafingar
91af472d3b Add 'add members' functionality and cleanup, refactor 2020-06-22 13:58:27 +10:00
Haafingar
50799d9d90 Load in groupID and process menu options 2020-06-22 13:58:27 +10:00
Haafingar
86b8f90aaf Further UI changes 2020-06-22 13:57:45 +10:00
Haafingar
e0c8ae54b6 add edit name UI 2020-06-22 13:57:45 +10:00
Haafingar
cd7fd5d51a Design menu layout, build adapters and activities 2020-06-22 13:57:45 +10:00
nielsandriesse
927bcce764 Remove redundant code 2020-06-22 09:02:01 +10:00
Niels Andriesse
ee00a4ec50
Merge pull request #237 from KeeJef/dev
Style All Mentions the Same
2020-06-22 08:59:49 +10:00
Kee Jefferys
9db11df567 Style mentions the same 2020-06-19 11:56:00 +10:00
nielsandriesse
bcd5285afc Update for upcoming desktop protocol changes 2020-06-18 16:56:19 +10:00
nielsandriesse
7e89f28ab4 Update background poll interval 2020-06-18 13:10:58 +10:00
nielsandriesse
f85ad3564b Add FIXME 2020-06-15 14:01:09 +10:00
nielsandriesse
132ca11692 Merge branch 'fix-profile-picture-updating' of github.com:RyanRory/loki-messenger-android into dev 2020-06-15 13:54:12 +10:00
nielsandriesse
2e8e428257 Don't repair session if there's an outstanding session request 2020-06-12 15:15:33 +10:00
nielsandriesse
5db952d676 Merge branch 'dev' into firebase 2020-06-09 15:11:23 +10:00
Niels Andriesse
bcdc07e55b
Merge pull request #223 from Haafingar/smsflashfix
Fix SMS Button Flash
2020-06-09 14:41:54 +10:00
nielsandriesse
9c8c23c5d9 Fix various new conversation button issues 2020-06-09 13:35:27 +10:00
Haafingar
e58290b93a remove enable SMS button 2020-06-09 12:57:32 +10:00
nielsandriesse
07737262ca Unify background pollers and reduce polling interval
We were getting rate limited
2020-06-09 11:39:08 +10:00
nielsandriesse
eded767e56 Rename ACCESS_SECRETS → ACCESS_SESSION_SECRETS 2020-06-09 11:21:46 +10:00
Niels Andriesse
ceee4581e4
Merge pull request #208 from loki-project/session-handling
Potentially Fix Message Reception Issue
2020-06-05 16:37:12 +10:00
nielsandriesse
58c6e1ce1e Also increase MAX_COMPRESSION_QUALITY 2020-06-05 16:10:16 +10:00
Haafingar
cfc1bca033 introduce excludes in build.gradle 2020-06-04 14:17:44 +10:00
ryanzhao
733ed3ff5a Fix profile picture and display name updating from a slave device 2020-06-03 17:03:35 +10:00
Haafingar
edd20dd83c increase quality parameter 2020-06-03 13:06:03 +10:00
nielsandriesse
6a12517105 Fix crash 2020-06-03 11:52:30 +10:00
nielsandriesse
47947e3546 Update copy 2020-06-02 16:07:16 +10:00
nielsandriesse
5b5413991d Don't block while countries are loading 2020-06-02 15:59:25 +10:00
nielsandriesse
6cb6714893 Ditch rebuild path button 2020-06-02 15:22:32 +10:00
nielsandriesse
1217e5278f Show countries rather than IPs 2020-06-02 15:18:09 +10:00
nielsandriesse
51f0374109 Implement IP2Country 2020-06-02 15:00:37 +10:00
nielsandriesse
f493a790be Potentially fix message reception issue 2020-06-01 16:38:28 +10:00
nielsandriesse
cae6afec52 Update for core changes 2020-06-01 10:33:47 +10:00
nielsandriesse
6c4b3b0fff Fix closed group profile pictures & mentions 2020-05-30 08:53:00 +10:00
nielsandriesse
3294b829ca Turn comment into TODO 2020-05-29 14:08:13 +10:00
Niels Andriesse
163548328c
Merge pull request #205 from Haafingar/fixbackups
Fix Backup Names & File Paths
2020-05-29 14:07:14 +10:00
nielsandriesse
9ddddaf880 Persist onion request paths to database 2020-05-29 13:57:56 +10:00
nielsandriesse
c0f4ccfbe5 Persist snode pool to database 2020-05-29 12:01:43 +10:00
nielsandriesse
3a646476ff Implement remaining onion request UI 2020-05-29 11:16:52 +10:00
nielsandriesse
326b5a9475 Use actual path data, clean and fix incorrect copy 2020-05-29 09:43:03 +10:00
nielsandriesse
c7adf9f232 Add animation 2020-05-28 18:16:53 +10:00
nielsandriesse
388ca90361 Implement basic onion request UI 2020-05-28 16:43:37 +10:00
Haafingar
f80bbcf927 Fix backup names and filepaths, refactor function names 2020-05-28 14:55:17 +10:00
nielsandriesse
5d4c7dcb49 Update legal URLs 2020-05-28 14:39:56 +10:00
nielsandriesse
5f8f95898a Fix build 2020-05-28 14:04:46 +10:00
Haafingar
1b9908377c
Change button behaviour to match usr expectations 2020-05-27 17:40:08 +10:00
Niels Andriesse
a6b9012aec Show actual open group member count 2020-05-27 13:51:19 +10:00
Niels Andriesse
a750f4f9f1 Merge branch 'dev' into translation 2020-05-27 13:39:55 +10:00
nielsandriesse
3d44816e4a Potentially fix crash 2020-05-26 09:03:41 +10:00
nielsandriesse
0c0c740bc8 Fix build 2020-05-26 08:55:29 +10:00
nielsandriesse
b4f1640d0b Potentially fix crash 2020-05-25 18:01:21 +10:00
nielsandriesse
18967d9890 Prepare remaining screens for localization 2020-05-25 17:11:15 +10:00
nielsandriesse
61733d90ba Prepare setting screens for localization 2020-05-25 16:38:36 +10:00
nielsandriesse
7855c7dc4f Prepare new conversation screens for localization 2020-05-25 16:12:24 +10:00
nielsandriesse
e585d94892 Prepare home screen for localization 2020-05-25 15:46:53 +10:00
nielsandriesse
13943f75ef Prepare onboarding for localization 2020-05-25 15:24:55 +10:00
nielsandriesse
607b3d6a96 Debug 2020-05-25 14:20:47 +10:00
nielsandriesse
29679ed266 Hopefully unbork existing clients 2020-05-25 13:58:30 +10:00
nielsandriesse
b4299c4308 Fix friend request acceptance bug 2020-05-25 13:37:18 +10:00
nielsandriesse
40bc3bfda0 Partially unbork accepting FRs sent by slave devices 2020-05-25 12:30:58 +10:00
nielsandriesse
92b4b81935 Fix closed group messaging from slave devices 2020-05-25 11:37:30 +10:00
nielsandriesse
25fd92fa79 Fix device unlinking 2020-05-25 10:20:18 +10:00
nielsandriesse
904d9b95b7 Clean 2020-05-22 15:03:15 +10:00
nielsandriesse
c73409b9d2 Fix database reset 2020-05-22 13:47:51 +10:00
nielsandriesse
a7b94d188f Fix various session reset issues 2020-05-22 13:41:36 +10:00
nielsandriesse
9b329cbd34 Fix closed group creation 2020-05-22 11:57:40 +10:00
nielsandriesse
b647fff5b8 Fix inverted check 2020-05-22 11:57:26 +10:00
nielsandriesse
f3dbf98976 Clean 2020-05-22 11:18:47 +10:00
nielsandriesse
7d5114b595 Fix closed group multi device message sending 2020-05-22 11:14:36 +10:00
nielsandriesse
f015339fc5 Fix simultaneous session request bug 2020-05-22 10:41:31 +10:00
nielsandriesse
06883cc3ef Clean 2020-05-22 09:53:04 +10:00
nielsandriesse
373dfc264f Fix AFRs 2020-05-21 16:48:10 +10:00
nielsandriesse
45985f4f64 Ignore synced ephemeral messages & fix expiration updating bug 2020-05-21 16:08:48 +10:00
nielsandriesse
bb67801c85 Clean 2020-05-21 14:58:47 +10:00
nielsandriesse
ceaee33d28 Fix self syncing 2020-05-21 14:29:51 +10:00
nielsandriesse
7588981f10 Debug 2020-05-21 11:24:09 +10:00
nielsandriesse
e2ca40952e Partially fix note to self 2020-05-21 11:00:54 +10:00
nielsandriesse
45706b8e66 Fix device linking 2020-05-20 15:44:21 +10:00
nielsandriesse
e6e5cb5adb Clean 2020-05-19 16:26:11 +10:00
nielsandriesse
7b143fa7e9 Re-enable previously problematic code 2020-05-19 14:42:09 +10:00
nielsandriesse
92bf59b5a0 Fix duplicate message handling 2020-05-19 14:21:29 +10:00
nielsandriesse
a907d78916 Improve logging 2020-05-19 13:59:19 +10:00
nielsandriesse
5cb98d8fc3 Refactor & temporarily disable problematic code 2020-05-19 13:57:47 +10:00
nielsandriesse
40200fe5e1 Only show GIF metadata warning once 2020-05-19 09:21:39 +10:00
nielsandriesse
d4f6178700 Clean 2020-05-15 15:44:45 +10:00
nielsandriesse
eecfd82780 Fix multi device message routing bug 2020-05-15 10:25:18 +10:00
nielsandriesse
9f4fcec98f Fix session request handling bug 2020-05-15 09:24:08 +10:00
nielsandriesse
4aafba218c Debug 2020-05-14 14:51:34 +10:00
nielsandriesse
f29f775cf9 Implement AFR sending 2020-05-14 14:24:05 +10:00
nielsandriesse
7a351592a4 Fix build 2020-05-14 14:11:34 +10:00
nielsandriesse
e668341e38 Glue some things together again 2020-05-14 13:52:20 +10:00
nielsandriesse
27b5a93161 Glue some things together again 2020-05-14 12:11:42 +10:00
nielsandriesse
281d921849 Clean 2020-05-14 11:44:33 +10:00
nielsandriesse
e5b1174879 Add missing friend request protocol logic 2020-05-14 11:27:17 +10:00
nielsandriesse
3c328b3c84 Add missing friend request protocol logic 2020-05-14 11:19:20 +10:00
nielsandriesse
42346cf54b Refactor ConversationActivity 2020-05-14 10:44:13 +10:00
nielsandriesse
52926584b5 Add missing sync message handling 2020-05-14 10:11:55 +10:00
nielsandriesse
deb2fff0ae Refactor ApplicationContext 2020-05-14 09:35:34 +10:00
nielsandriesse
1eedd38861 Glue some things together again 2020-05-13 16:39:14 +10:00
nielsandriesse
6205b6c9f6 Refactor PushDecryptJob 2020-05-13 16:34:08 +10:00
nielsandriesse
afe049c9c3 Clean 2020-05-13 11:16:04 +10:00
nielsandriesse
d0742cf09f Refactor multi device message sending 2020-05-13 11:15:17 +10:00
nielsandriesse
eb5b8886d4 Refactor MessageSender 2020-05-13 10:24:20 +10:00
nielsandriesse
819f414446 Clean & debug 2020-05-13 09:07:51 +10:00
nielsandriesse
9b4a219b06 Clean GroupManager 2020-05-12 16:33:04 +10:00
nielsandriesse
04e14dd5dd Refactor GroupMessageProcessor 2020-05-12 16:28:35 +10:00
nielsandriesse
439bdac7f4 Refactor MultiDeviceContactUpdateJob 2020-05-12 15:50:29 +10:00
nielsandriesse
10865adba8 Refactor PushGroupSendJob 2020-05-12 15:29:00 +10:00
nielsandriesse
03f2c76344 Refactor PushMediaSendJob 2020-05-12 14:57:48 +10:00
nielsandriesse
361083f790 Refactor PushTextSendJob 2020-05-12 14:47:40 +10:00
nielsandriesse
32ae74c442 Re-order files 2020-05-12 11:46:11 +10:00
nielsandriesse
0a5d12cbc3 Debug 2020-05-12 11:32:00 +10:00
nielsandriesse
b9d8d100d9 Refactor 2020-05-12 11:26:44 +10:00
nielsandriesse
8e53383ab9 Clean 2020-05-12 10:46:58 +10:00
nielsandriesse
ed2ab2d78a Refactor 2020-05-11 16:19:26 +10:00
nielsandriesse
410bb9df43 Update for core changes 2020-05-11 08:43:54 +10:00
nielsandriesse
8d50998ea1 Partially update for core changes 2020-05-07 17:59:41 +10:00
Niels Andriesse
f164508673
Merge branch 'dev' into share 2020-05-06 11:44:38 +10:00
nielsandriesse
4599407b3a Clean 2020-05-06 11:43:04 +10:00
nielsandriesse
2af186a8bf Fix copy 2020-04-22 12:12:13 +10:00
nielsandriesse
7abf8f033d Reduce FCM token re-upload interval 2020-04-21 12:21:07 +10:00
nielsandriesse
af80d066d3 Fix new conversation button quick tap issue 2020-04-20 13:52:14 +10:00
nielsandriesse
dda578bef8 Ditch RSS feeds for now 2020-04-20 11:54:56 +10:00
nielsandriesse
0e95c8cec3 Clean 2020-04-17 16:12:29 +10:00
nielsandriesse
669e8b9f6b Fix FCM token updating bug 2020-04-17 13:26:11 +10:00
nielsandriesse
9f1809abf4 Clean 2020-04-17 12:21:01 +10:00
nielsandriesse
0a3dbc55a8 Integrate push notifications 2020-04-17 12:11:27 +10:00
Niels Andriesse
e68c2d1cfe
Merge pull request #174 from loki-project/push-notifications
Improved Push Notifications Stage 2
2020-04-16 16:58:15 +10:00
nielsandriesse
84c783fae1 Minor refactoring 2020-04-16 16:56:12 +10:00
nielsandriesse
6d4398e740 Implement PN mode bottom sheet UI 2020-04-16 15:18:11 +10:00
nielsandriesse
c09032900f Implement PN mode screen UI 2020-04-16 14:49:23 +10:00
Mikunj
42d74208ff Refactor 2020-04-15 16:38:53 +10:00
ryanzhao
1183b76ef5 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-android into remote-push-notification 2020-04-15 15:04:08 +10:00
ryanzhao
8ea2fe0294 add update token guard and move acknowledgement to signal service 2020-04-15 15:03:57 +10:00
Niels Andriesse
0b565588d8
Merge pull request #167 from loki-project/closed-group-fixes
Closed Group Fixes
2020-04-15 15:02:06 +10:00
nielsandriesse
6ed3a4c372 Add FIXME 2020-04-15 15:01:02 +10:00
Mikunj
dd9b134dab Updated UserView 2020-04-15 13:06:10 +10:00
Mikunj
361dab24d6 Replaced signal ContactSelection things with loki ones.
Fixed sharing in session (we can only share to one user at a time).
2020-04-15 12:52:23 +10:00
ryanzhao
18ce4433d2 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-android into remote-push-notification 2020-04-15 10:24:55 +10:00
ryanzhao
b72048d9a4 add FCM to app for remote push notification 2020-04-15 10:24:30 +10:00
Mikunj
7b8fbcea4e Added ContactUtilities. 2020-04-14 16:31:31 +10:00
Niels Andriesse
11b5c78e3e
Merge pull request #168 from loki-project/onion-requests
Onion Requests
2020-04-14 11:43:00 +10:00
Mikunj
7d9eafe8fb Ignore closed group messages from users who are not members. 2020-04-09 15:30:29 +10:00
Mikunj
45220bfa70 Hide input when group is marked as not active.
Fix bug where input panel gets shown when you long press a message.
2020-04-09 15:01:26 +10:00
nielsandriesse
be688d8095 Update for core changes 2020-04-09 14:45:13 +10:00
nielsandriesse
a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10:00
Mikunj
f149065a30 Fix GroupDescriptions updating dynamically.
This shouldn't happen, rather it should have the snapshot of the group state per message.
2020-04-09 13:17:00 +10:00
Mikunj
4a36ed333d Disable chat if we were removed from the group. 2020-04-09 10:47:18 +10:00
Mikunj
3ec5974210 Correctly display when user was kicked or added 2020-04-09 10:35:08 +10:00
Audric Ackermann
407f6aa3a5
trigger register on press enter 2020-04-09 09:32:35 +10:00
gmbnt
1f6ea3b55c Maintain consistent code style 2020-04-06 14:34:19 +10:00
Mikunj
52060ac9fd Fix avatar and names on Note to self 2020-04-01 14:16:31 +11:00
gmbnt
824bdc6089 Maintain consistent code style 2020-03-27 10:35:44 +11:00
gmbnt
a3d416daa0 Make multi device instructions clearer 2020-03-25 11:36:53 +11:00
gmbnt
16f207b785 Ditch long polling 2020-03-24 13:48:23 +11:00
gmbnt
6246fea83b Further improve threading 2020-03-24 11:31:01 +11:00
gmbnt
94549724a9 Fix Signal UI coming up in some cases 2020-03-23 10:49:25 +11:00
gmbnt
2357642627 Update for core changes 2020-03-20 13:08:12 +11:00
gmbnt
f8e5bc7ec2 Prevent spam 2020-03-19 14:18:00 +11:00
gmbnt
56d1820356 Notify user of unexpected device link requests 2020-03-19 13:45:55 +11:00
gmbnt
169b566244 Clean 2020-03-17 12:13:12 +11:00
gmbnt
949bfefd81 Clean 2020-03-17 11:43:12 +11:00
gmbnt
8eca046acb Hack around message status bar bug 2020-03-17 11:02:05 +11:00
gmbnt
e4ab8b87f7 Merge branch 'master' of github.com:loki-project/loki-messenger-android 2020-03-16 16:29:38 +11:00
gmbnt
11237d2009
Merge pull request #138 from loki-project/ui
Various UI Improvements
2020-03-16 15:35:56 +11:00
gmbnt
cae76a2f66 Add home screen gradient 2020-03-16 15:35:14 +11:00
gmbnt
f94bf6301b Allow user to tap as well 2020-03-16 15:05:01 +11:00
gmbnt
83feb26225 Fix clipping 2020-03-16 15:05:01 +11:00
Niels Andriesse
f6a8cd93da Implement new conversation button redesign 2020-03-16 15:04:29 +11:00
Niels Andriesse
e129999d66 Add comment 2020-03-13 14:26:54 +11:00
Mikunj Varsani
8079b5da51 Clean 2020-03-13 13:49:39 +11:00
Mikunj Varsani
a256f59231 Fix potential crash caused by getting a Recipient asynchronously. 2020-03-13 11:14:43 +11:00
Mikunj Varsani
449a53ea32 Fix QR code handler not running on UI thread 2020-03-13 10:56:25 +11:00
Mikunj Varsani
983b137cd6 Handle IndexOutOfBoundsError on QR Code scanning 2020-03-13 10:49:36 +11:00
Mikunj Varsani
a30d90ed29 Fix joining public chat crashing. 2020-03-13 10:24:50 +11:00
Mikunj Varsani
e484a95fcb Remove DirectoryRefresh.
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Niels Andriesse
f96eebde20 Rename variables 2020-03-12 16:03:21 +11:00
Mikunj Varsani
49be17b969 Fix reply showing up in RSS feed notifications. 2020-03-12 12:05:08 +11:00
Niels Andriesse
8ff4688de1 Handle new closed group screen empty state 2020-03-12 11:16:07 +11:00
Mikunj Varsani
152ddf013b Clean up. 2020-03-12 10:49:35 +11:00
Niels Andriesse
c4d302e3ac Fix group conversation layout 2020-03-12 10:49:17 +11:00
Mikunj Varsani
996f233d25 Enable quick reply 2020-03-12 10:42:08 +11:00
Mikunj Varsani
d694cfa68a Differentiate Signal actions from Signal actions 2020-03-12 09:52:42 +11:00
Mikunj Varsani
34ef29a645 Remove account authenticator.
Remove unused listeners.
2020-03-12 09:23:39 +11:00
Niels Andriesse
32193e4efd Increase background polling interval 2020-03-10 16:44:08 +11:00
capturethefire
148b363393 Update privacy policy links
Fixes loki-project/session-android#131
2020-03-08 22:01:34 +01:00
gmbnt
0c194301bc
Merge pull request #127 from loki-project/error-reporting
Improved Error Reporting
2020-03-06 10:34:57 +11:00
Niels Andriesse
5a6b65e188 Clean 2020-03-06 10:34:10 +11:00
Niels Andriesse
a272677fba Clean 2020-03-05 16:22:45 +11:00
Niels Andriesse
8c6b60aa08 Clean & handle media message errors 2020-03-05 16:14:14 +11:00
Niels Andriesse
a20ccd659a Clean 2020-03-05 14:24:10 +11:00
Niels Andriesse
44fd72dfac Merge branch 'dev' into version 2020-03-05 14:15:05 +11:00
Niels Andriesse
652201958a Propagate Loki API related errors 2020-03-05 14:07:42 +11:00
Niels Andriesse
eb77b7d56b Remove unneeded code 2020-03-05 09:30:55 +11:00
Niels Andriesse
4dd882ea52 Remove unneeded code 2020-03-05 09:27:39 +11:00
Ryan ZHAO
2fdd9bfe3e fix syncing contacts and closed groups after device linking 2020-03-03 14:29:40 +11:00
Niels Andriesse
597b7f157c Move file 2020-02-28 09:04:57 +07:00
Niels Andriesse
fb9567a61b Merge branch 'dev' into open-group-syncing 2020-02-28 08:56:37 +07:00
Mikunj
3cdaf80c5d Removed all references to google play and firebase.
Removed phone number utils.
 Slowly remove signal code.
2020-02-28 09:07:01 +11:00
gmbnt
19356bf969
Merge pull request #116 from loki-project/threading-fix
Fix device linking blocking the main promise thread.
2020-02-27 19:38:40 +07:00
Mikunj
a57bf0cd98 Remove un-used permissions. 2020-02-27 15:44:57 +11:00
Mikunj
dd0b9c80b0 Fix device linking blocking the main promise thread. 2020-02-26 16:56:07 +11:00
Mikunj
85b2379510 Fix race condition that occurs on device link authorisation.
Upon authorisation, we upload our mapping to the server.
At the same time we also get a contact sync message and send out background friend request messages.
There was a race condition between those 2 functions where to correctly establish multi-device communication, you need your mapping on the server so that the other party knows that it's a secondary device and not a regular user.
2020-02-26 11:53:28 +11:00
Mikunj
efef42a6f6 Added version string at the bottom of settings. 2020-02-25 14:04:15 +11:00
Mikunj
7b267ee8b7 Fix isSignalGroup boolean check.
Set thread deletion delay to 1s for private chats and open groups.
2020-02-25 13:11:06 +11:00
Mikunj
55523b3baf Added open group syncing.
Refactor open group adding code.
2020-02-25 12:46:23 +11:00
Niels Andriesse
b9307d4cb9 Untie profile picture from auth token 2020-02-24 10:57:51 +07:00
Niels Andriesse
704c15cd24 Enforce style convention 2020-02-21 11:35:53 +07:00
Niels Andriesse
f46354392c Merge branch 'dev' into group-leaving 2020-02-21 11:22:24 +07:00
Niels Andriesse
5b822f83c9 Enforce style convention 2020-02-21 11:19:20 +07:00
Mikunj
1ce7050f1a Leave group on swiping 2020-02-19 16:19:16 +11:00
Mikunj
3a0c518eeb Don't fetch device links at startup 2020-02-18 14:00:05 +11:00
Mikunj
70bd9350b8 Ensure generated PreKeyBundle is valid 2020-02-18 12:28:49 +11:00
Mikunj
7f51baadd4 Sync groups upon linking device. 2020-02-18 09:19:52 +11:00
Niels Andriesse
526e82a9e3 Clean up naming & indentation 2020-02-16 09:30:05 +11:00
Mikunj
3bbcbc8873 Updated to follow LokiSessionResetProtocol.
Refactor some code to be less confusing.
2020-02-14 13:34:35 +11:00
Niels Andriesse
bcc219bd1f Debug 2020-02-13 16:05:40 +11:00
Niels Andriesse
b9dd42beb1 Make unlinking & open group joining more robust 2020-02-13 15:33:54 +11:00
Niels Andriesse
07b1ffa77e Refactor multi device 2020-02-13 14:39:29 +11:00
Niels Andriesse
9c71a4c3cd Simplify PushDecryptJob a bit 2020-02-13 10:18:05 +11:00
Niels Andriesse
27fdfe4ee8 Trim unused files 2020-02-13 09:28:19 +11:00
Niels Andriesse
31350adcf7 Clean 2020-02-12 16:42:33 +11:00
Niels Andriesse
45d78825a0 Clean 2020-02-12 16:25:14 +11:00
Niels Andriesse
c47ecad024 Handle clock out of sync issue 2020-02-12 14:44:23 +11:00
Niels Andriesse
705b3dc625 Refactor 2020-02-12 13:27:28 +11:00
Niels Andriesse
b1cbbf2940 Fix copy 2020-02-11 14:02:01 +11:00
Niels Andriesse
2fbe33736c Reduce background polling interval 2020-02-11 11:37:06 +11:00
Niels Andriesse
18ee21355c Clean 2020-02-11 11:36:31 +11:00
Niels Andriesse
73c33ff096 Merge branch 'master' into dev 2020-02-11 11:27:04 +11:00
gmbnt
324bf35e83
Merge pull request #81 from RyanRory/pn-fix
PN fix
2020-02-11 11:25:14 +11:00
Niels Andriesse
cb1553631e Implement file size limit 2020-02-11 11:00:00 +11:00
Ryan ZHAO
2aafce5f4c apply the changes to MultipleRecipientNotification and refactor some code 2020-02-11 10:50:24 +11:00
Niels Andriesse
b5792a81aa Update for core changes 2020-02-11 09:38:05 +11:00
Niels Andriesse
24df781259 Enable the user to join an open group without entering "https://" 2020-02-10 13:40:12 +11:00
Ryan ZHAO
3710be72fd "Clicking on message notifications doesn't mark the messages as read" fixed 2020-02-07 15:39:44 +11:00
Ryan ZHAO
ea0ba98722 Display username in notifications instead of public keys fixed 2020-02-07 15:13:12 +11:00
gmbnt
06dae527a6
Merge pull request #78 from RyanRory/delete-thread-ui-fix
fix the issue that the cell is not showing after swiped out
2020-02-07 14:27:46 +11:00
Ryan ZHAO
df1814800a fix the issue that the cell is not showing after swiped out 2020-02-07 11:34:28 +11:00
Niels Andriesse
8c17efd981 Update legal copy & URLs 2020-02-07 11:32:00 +11:00
Niels Andriesse
d84b0611c5 Don't show Session Public Chat suggestion sheet 2020-02-06 16:12:50 +11:00
Niels Andriesse
b84724409f Fix Session Public Chat profile picture 2020-02-06 11:58:30 +11:00
Niels Andriesse
abae6ddb12 Fix notification bug 2020-02-06 10:02:13 +11:00
Niels Andriesse
f38b7a30a0 Implement open group suggestion sheet 2020-02-05 11:29:45 +11:00
Niels Andriesse
c50b599ea5 Remove Crashlytics 2020-02-05 10:39:35 +11:00
Niels Andriesse
7036706485 Debug 2020-02-05 10:36:26 +11:00
Niels Andriesse
1fb7081fa2 Fix open group message sending 2020-02-05 10:08:57 +11:00
Mikunj
a1e98bae75 Fix crash. 2020-02-04 14:52:25 +11:00
Niels Andriesse
b74506ea24 Merge branch 'dev' of github.com:loki-project/loki-messenger-android into dev 2020-02-04 14:31:50 +11:00
Niels Andriesse
2945390842 Quick fix closed group UI issues 2020-02-04 14:31:44 +11:00