Commit Graph

3777 Commits

Author SHA1 Message Date
Anton Chekulaev
15d463161a Create closed group activity refactoring. 2020-08-14 15:23:06 +10:00
Anton Chekulaev
6664c2baa7 Edit closed group activitiy cleanup. 2020-08-14 14:52:15 +10:00
Anton Chekulaev
f88558a719 Merge branch 'dev' into editgroup 2020-08-13 17:26:45 +10:00
nielsandriesse
865f4b90ad Disable SSKs for now 2020-08-13 10:45:24 +10:00
nielsandriesse
cb1aad425a Fix group leaving 2020-08-13 09:31:04 +10:00
nielsandriesse
2f0135a413 Fix group ID handling 2020-08-13 08:49:17 +10:00
nielsandriesse
bbc7acfcaf Fix info messages 2020-08-12 16:07:55 +10:00
nielsandriesse
12a6bc724d Don't send read receipts in groups 2020-08-12 14:06:18 +10:00
nielsandriesse
c88d0f0520 Open group after it's created 2020-08-12 12:22:16 +10:00
nielsandriesse
418079732b Request sender keys as needed 2020-08-12 12:08:10 +10:00
nielsandriesse
bed1600cbb Fix group leaving 2020-08-12 11:56:00 +10:00
nielsandriesse
158c7f13c3 Make the initial message send a bit quicker 2020-08-12 11:21:41 +10:00
nielsandriesse
7a41432433 Notify the user when an SSK based closed group is created or updated 2020-08-12 11:20:45 +10:00
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