Commit Graph

334 Commits

Author SHA1 Message Date
Ryan ZHAO
e85bf7a45d fix replying from push notification 2021-03-11 15:56:40 +11:00
Ryan ZHAO
2859da01a7 fix duplicated closed group info message 2021-03-11 15:31:14 +11:00
Ryan ZHAO
d7124c3b7e minor refactor 2021-03-11 14:45:08 +11:00
Ryan ZHAO
42c7f440e9 fix quoting message in open groups 2021-03-11 14:37:53 +11:00
Ryan ZHAO
97a9446eae fix profile picture update 2021-03-11 13:56:35 +11:00
Ryan ZHAO
9ddb45dbdc fix blocked contacts can still see typing indicator and set disappearing messages 2021-03-11 10:52:54 +11:00
jubb
ca7202f255 feat: add new message receive pipeline in important places and fix parsing issues 2021-03-09 17:26:29 +11:00
Brice-W
c0e7f05d91 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction 2021-03-09 16:29:41 +11:00
Brice-W
6bc832f50a DataExtractionNotification type created and added to proto 2021-03-09 16:27:12 +11:00
Ryan ZHAO
70a7182320 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending 2021-03-09 14:46:14 +11:00
Ryan ZHAO
1a6da88ce3 clean 2021-03-09 13:54:15 +11:00
jubb
5e34f1235d fix: only set profile avatar ID after download image 2021-03-09 11:56:24 +11:00
jubb
2c615ba83e fix: setup storage api before starting polling 2021-03-09 11:07:26 +11:00
Ryan ZHAO
0a7fecfb52 fix sending link preview 2021-03-09 10:50:02 +11:00
jubb
9136f1ac2d fix: out of order config messages and avatar downloads, use the hex encoding instead of the mnemonic from seed 2021-03-09 10:42:53 +11:00
jubb
6c81580d93 fix: sync timing for multi device partial restore 2021-03-05 16:19:53 +11:00
jubb
cf373f3a93 fix: set current pager item to 0 on scan 2021-03-05 13:39:15 +11:00
Ryan ZHAO
4218073a69 fix quote attachments 2021-03-05 13:31:40 +11:00
jubb
4f74d46b17 fix: revert query to filter empty threads for now 2021-03-05 13:17:08 +11:00
Ryan ZHAO
3b2ea4e95d clean 2021-03-05 11:31:12 +11:00
Ryan ZHAO
2df9d4f27c clean 2021-03-05 11:24:43 +11:00
Ryan ZHAO
2426230064 fix sending profile picture update 2021-03-05 11:13:25 +11:00
Ryan ZHAO
9d4c3bf722 send read receipt using new pipeline 2021-03-05 10:17:34 +11:00
jubb
d9511aa087 fix: crash on backup prefs 2021-03-05 10:16:55 +11:00
jubb
784e217e91 feat: filter out local number empty thread only 2021-03-04 17:17:45 +11:00
Ryan ZHAO
e0ff5a7e7a fix sending expiration update message 2021-03-04 17:14:12 +11:00
jubb
27958491c5 fix: specific empty thread snippet and removing the thread filtering for empty messages 2021-03-04 16:21:25 +11:00
Ryan ZHAO
aa7071ad80 send typing indicator using new pipeline 2021-03-04 15:57:01 +11:00
Ryan ZHAO
70b96fbe73 send configuration message using new sending pipeline 2021-03-04 15:37:42 +11:00
Ryan ZHAO
88ac390495 plug in closed group message sender 2021-03-04 14:54:32 +11:00
jubb
71d2085cc8 fix: use IO lifecycleScope dispatched coroutine 2021-03-04 14:43:02 +11:00
jubb
c1d3a25f26 fix: use profile update time instead of config sync time 2021-03-04 14:37:55 +11:00
jubb
a8a457932d fix: sync configuration in resume on HomeActivity.kt and set sync specific variables appropriately in the registration flow 2021-03-04 14:19:07 +11:00
Ryan ZHAO
c51593a914 fix sending attachments including link previews 2021-03-04 14:03:18 +11:00
jubb
840cc50a31 fix: clear task after linking device to prevent going back and treating PNModeActivity.kt viewing as seeing welcome screen so the fallback notifications will be used and allow users through without selecting PN type 2021-03-04 13:25:02 +11:00
jubb
6614b76411 fix: set RecoveryPhraseRestoreActivity.kt to treat current time as sync time 2021-03-04 10:55:08 +11:00
jubb
0176cfdac1 fix: start polling before registration for fcm if needed 2021-03-04 10:43:37 +11:00
jubb
85c1d38bb4 fix: only update and fetch a new profile pic if it's actually different from our current one 2021-03-03 15:59:28 +11:00
jubb
1ecc87da76 fix: forcing the registration will cancel and restart the FCM task 2021-03-03 15:43:51 +11:00
Ryan ZHAO
9a00906069 WIP debug sending attachments 2021-03-03 15:14:45 +11:00
jubb
1b417362ae fix: fcm task was not cancelable and cannot remove listeners 2021-03-03 15:07:37 +11:00
jubb
d631897a3a fix: send skip event to the display name activity instead of PN mode 2021-03-03 13:48:51 +11:00
jubb
69db4081bc fix: force FCM if needed at end of sign up to trigger registration for user IDs 2021-03-03 12:07:50 +11:00
jubb
ef3e172379 feat: add link device implementation and fixes for updating config syncs and forcing config syncs 2021-03-03 11:33:35 +11:00
Ryan ZHAO
0ea1ed15e7 WIP: make attachment work 2021-03-02 17:22:56 +11:00
Ryan ZHAO
bb7334515c clean 2021-03-02 14:13:52 +11:00
Ryan ZHAO
8acbb3c366 fix send text message to open group 2021-03-02 14:13:12 +11:00
Ryan ZHAO
d9eaedd6ae hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00
jubb
3a09d23337 feat: add contact syncing, UI improvements for profile syncing and conversation threads in the home screen 2021-03-01 17:16:15 +11:00
jubb
11c122e376 Merge branch 'dev' into multi-device 2021-03-01 15:26:10 +11:00
Niels Andriesse
a7428776bf Add loader 2021-02-26 11:40:48 +11:00
Niels Andriesse
1f8b9bfe58 Implement multi device UI 2021-02-26 11:10:45 +11:00
jubb
85336238a7 fix: return early if no profile name (prefs likely invalid state) and ignore contacts whose publicKey fails to parse 2021-02-26 10:08:30 +11:00
Niels Andriesse
f2208f40b8
Merge pull request #462 from hjubb/config_contacts_sync_message
Config contacts sync message
2021-02-25 14:45:55 +11:00
jubb
21dc8d5fca fix: use double encoding for closed group stuff 2021-02-25 14:37:34 +11:00
jubb
9d55d842d2 refactor: formatting in line properly in ContactUtilities.kt 2021-02-25 13:27:45 +11:00
jubb
9a33fe8883 feat: generate serializable Contact info for configuration messages and pass in appropriate list to get current 2021-02-25 12:13:31 +11:00
Niels Andriesse
b6bb9ac902
Merge pull request #461 from RyanRory/profile-picture-update-fix
Fix profile picture update
2021-02-25 10:58:27 +11:00
Niels Andriesse
b2146f645b
Merge pull request #460 from RyanRory/screen-lock-fix
Screen lock fix
2021-02-25 10:58:09 +11:00
Niels Andriesse
631f77425b Minor refactoring 2021-02-25 10:30:56 +11:00
Niels Andriesse
d96552fd9d Minor refactoring 2021-02-25 10:24:00 +11:00
Ryan ZHAO
7a31c60799 fix the profile picture not updated right away 2021-02-25 10:18:38 +11:00
Ryan ZHAO
bc5a1ce396 fix screen lock 2021-02-25 09:35:57 +11:00
Ryan ZHAO
d5343d5462 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor_clean_0 2021-02-24 16:39:04 +11:00
Niels Andriesse
851efb6f6e
Merge pull request #457 from hjubb/config_profile_info
Adding profile information to the config sync messages
2021-02-24 15:57:35 +11:00
Niels Andriesse
c92d04c82e
Merge pull request #456 from hjubb/pn_dont_notify_self_sends
Pn dont notify self sends
2021-02-24 15:57:15 +11:00
jubb
4033830b15 feat: add forcing config message sending when updating profile picture or name 2021-02-24 15:28:48 +11:00
jubb
e4366244fe docs: add todo for handling new configuration messages 2021-02-24 09:37:20 +11:00
jubb
71e48b9024 refactor: move ProfileKeyUtil from app/ to libsession/ module and implement new config message sends 2021-02-23 17:13:57 +11:00
Ryan ZHAO
2bb07c8a38 final cleaning up 2021-02-23 17:00:30 +11:00
Ryan ZHAO
704ab37cad clean up unused utils 2021-02-23 16:35:36 +11:00
Ryan ZHAO
6f002311b8 clean up unused message types 2021-02-23 16:23:45 +11:00
Ryan ZHAO
fec13ba72e clean up unused code 2021-02-23 15:56:42 +11:00
Ryan ZHAO
ff36fbb6a1 further cleaning up on stickers 2021-02-23 15:07:31 +11:00
jubb
b5790ef884 fix: add sentTimestamp to the handling of closed group messages instead of using System.currentTimeMillis() 2021-02-23 15:01:49 +11:00
jubb
f61b556790 fix: message ordering using NORMALIZED_DATE_SENT instead of NORMALIZED_DATE_RECEIVED 2021-02-23 14:41:21 +11:00
Ryan ZHAO
fc62fe3b23 clean up unused loki stuff 2021-02-23 12:11:45 +11:00
Ryan ZHAO
c931155e83 clean up unused dialogs 2021-02-23 12:01:13 +11:00
Ryan ZHAO
6b8228c76d minor fix 2021-02-23 11:59:13 +11:00
Ryan ZHAO
2f57090cfa further clean up on session restoration 2021-02-23 11:56:03 +11:00
Ryan ZHAO
690687064f clean up unused log submit 2021-02-23 11:41:35 +11:00
Ryan ZHAO
bb8e8a4e16 clean up link preview 2021-02-23 11:31:17 +11:00
Ryan ZHAO
12a2061251 clean up jobs 2021-02-23 11:29:07 +11:00
jubb
86383eb4e5 fix: don't notify for MultiDeviceProtocol.kt config messages 2021-02-23 11:14:14 +11:00
Ryan ZHAO
dee7d78acb clean up old groups 2021-02-23 10:30:45 +11:00
jubb
7d7dbd7632 feat: add push notifying in the message sender to prevent self sends 2021-02-23 09:49:19 +11:00
Ryan ZHAO
5db7f0ecb8 clean up signal database 2021-02-23 09:46:56 +11:00
Ryan ZHAO
861b4bf9c9 further clean up unused connections 2021-02-22 16:54:57 +11:00
Ryan ZHAO
fcfaa32073 clean up non-sense code 2021-02-22 16:46:09 +11:00
Ryan ZHAO
c5ab13aadf clean up deprecated message connection 2021-02-22 16:29:48 +11:00
Niels Andriesse
e89f54a0b9
Merge pull request #452 from hjubb/group_explicit_leave_flag
Group explicit leave flag, docs, null fix
2021-02-22 16:21:16 +11:00
jubb
ace0144ffe docs: add documentation around the notifyUser param 2021-02-22 16:11:12 +11:00
jubb
e426d30f67 fix: fix ec send from pending if map contains absent value 2021-02-22 15:46:37 +11:00
Ryan ZHAO
5b15decdd6 further cleaning on signal sticker 2021-02-22 15:07:16 +11:00
Ryan ZHAO
b2225697b4 WIP: clean up unused signal stuff 2021-02-22 14:58:06 +11:00
jubb
5db46325a5 fix: don't delete group as admin if only one user left 2021-02-22 13:51:48 +11:00
jubb
65b36c006c feat: add notifyUser flag to explicitLeave 2021-02-22 13:48:48 +11:00
Ryan ZHAO
c138f20be5 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor_clean_0 2021-02-22 13:36:37 +11:00
Ryan ZHAO
0ec940ea32 clean up location 2021-02-22 13:30:48 +11:00
Niels Andriesse
d3b8642b18
Merge pull request #450 from hjubb/closed_group_kp_distribution
Closed group kp distribution
2021-02-22 13:25:45 +11:00