Commit Graph

264 Commits

Author SHA1 Message Date
Niels Andriesse 71ffaaabc2 Add documentation 2021-06-16 10:19:42 +10:00
Brice-W 1b6ab36a03 fix 2021-06-15 16:47:35 +10:00
Brice-W 7b22d14a2c using different timestamp for NEW group updates 2021-06-15 16:16:03 +10:00
Brice-W 47c989ab2e Merge branch 'dev' of https://github.com/loki-project/session-android into formation-timestamp-update 2021-06-15 11:21:55 +10:00
Niels Andriesse f4ae16239e Clean 2021-06-11 11:27:15 +10:00
Brice-W b8efe73a3b update formation timestamp when group is rejoined after being left 2021-06-10 17:34:48 +10:00
Brice-W 3b03aef80f handle expiration timer with NEW group update type 2021-06-09 14:31:05 +10:00
Brice-W 14d401b27a fix 2021-06-07 14:46:54 +10:00
nielsandriesse 3bf5a50439 Fix readability issues & simplify code 2021-06-04 16:32:19 +10:00
Brice-W 1d0b61cf89 fix to avoid zombies to be cleared when new group update received 2021-06-04 12:20:21 +10:00
Brice-W 6fb461f7d8 reset zombie members list if group already exists 2021-06-04 11:24:01 +10:00
Brice-W 1a117b0189 Merge branch 'dev' of https://github.com/loki-project/session-android into zombie-handling-update 2021-06-03 11:51:57 +10:00
nielsandriesse c6976ca3cd Fix naming confusion 2021-05-28 11:00:49 +10:00
jubb 72569327a9 Merge remote-tracking branch 'upstream/dev' into improve_background_jobs 2021-05-27 15:45:07 +10:00
Niels Andriesse 85120b57ea Batch conversation updates 2021-05-27 15:05:15 +10:00
jubb efa36d4cea refactor: trim thread is now queued after batch processing messages, for other conversations still after every persisted message
migrate TrimThreadJob.kt to new job system

deleting more open group references in removal

open group last message / last deletion now sets after processing vs after fetching
2021-05-26 15:22:19 +10:00
Brice-W 365ccda113 Merge branch 'dev' of https://github.com/loki-project/session-android into zombie-handling-update 2021-05-25 16:15:51 +10:00
Brice-W 5eaef76b02 don't update zombie members if current user is removed 2021-05-25 15:45:43 +10:00
Niels Andriesse abf2c05424 Debug closed group creation issue 2021-05-25 10:56:29 +10:00
Niels Andriesse 5d9957a57d Fix merge 2021-05-24 16:21:24 +10:00
ryanzhao 25df4330be Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 2021-05-24 14:49:56 +10:00
Brice-W 1b25de6a96 Merge branch 'dev' of https://github.com/loki-project/session-android into polling-limit-after-inactivity 2021-05-24 13:00:02 +10:00
Brice-W becc3c7278 Merge branch 'dev' of https://github.com/loki-project/session-android into polling-limit-after-inactivity 2021-05-24 12:58:35 +10:00
Niels Andriesse b5b3f4aebe
Merge pull request #555 from oxen-io/nicknames
Nicknames
2021-05-24 12:46:44 +10:00
Brice-W dbaa51bd9a implementation of polling limit on open groups 2021-05-24 12:00:17 +10:00
ryanzhao b186d4a670 Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 2021-05-24 09:19:56 +10:00
Niels Andriesse 66e7df22bb Don't notify for closed group control messages
This addresses an issue where:

• someone would create a closed group
• on other peoples' devices this control message would be received through a background poll or a push notification
• the received message timestamps table would be updated
• processing wouldn't be finished (during a background poll or while handling a push notification the system can cut you off at any time)
• some of the added users don't see the new closed group because when they open the app and get the control message from their swarm it's considered a duplicate and isn't processed again
2021-05-24 08:53:27 +10:00
Niels Andriesse dfd3ccc5d2 Clean 2021-05-21 15:56:38 +10:00
Niels Andriesse e0c1456af4 Merge branch 'dev' into nicknames 2021-05-21 15:21:24 +10:00
Niels Andriesse 49c3ffd9ca Remove redundant code 2021-05-21 15:02:34 +10:00
Ryan ZHAO 953f6d8c17 Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 2021-05-21 14:55:15 +10:00
Ryan ZHAO d52787a661 try to use jobs to mark if all open groups are caught up 2021-05-21 14:55:06 +10:00
Niels Andriesse 910787a960 Fix polling bug 2021-05-21 13:12:34 +10:00
Niels Andriesse ff96bb05a8 Implement remaining bits and pieces 2021-05-21 11:09:03 +10:00
Niels Andriesse da331b036e Integrate new closed group poller 2021-05-21 10:30:02 +10:00
Niels Andriesse a3a62b6dbb Implement ClosedGroupPollerV2 2021-05-21 10:24:48 +10:00
Brice-W 1cdbad5eaa Merge branch 'dev' of https://github.com/loki-project/session-android into zombie-handling-update 2021-05-20 16:16:35 +10:00
Niels Andriesse dd92484b4e Create ClosedGroupPollerV2 2021-05-20 16:15:20 +10:00
Ryan ZHAO ca723a3796 Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 2021-05-20 12:01:22 +10:00
Ryan ZHAO 38ed5c2187 Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 2021-05-20 11:15:24 +10:00
Harris 99e6382f2e refactor: use lazysodium version on maven central instead of bintray (no longer available) 2021-05-19 15:12:35 +10:00
nielsandriesse eee9d6688e Debug 2021-05-19 10:31:08 +10:00
nielsandriesse 4d44bed67d Improve performance 2021-05-19 10:07:09 +10:00
nielsandriesse fda66d3f5d Refactor V2 open group poller 2021-05-19 10:03:31 +10:00
nielsandriesse 80c90fa53d Remove incorrectly maintained & unused value 2021-05-19 09:03:49 +10:00
nielsandriesse 2a3d06e485 Fix duplicate message handling 2021-05-19 08:56:44 +10:00
Niels Andriesse 6243443262 Move files 2021-05-18 16:11:38 +10:00
Niels Andriesse 4078a9c4b5 Move files 2021-05-18 16:03:47 +10:00
Niels Andriesse 918e1ea3cf
Merge pull request #542 from Brice-W/error-handling-group-creation
Improved Group Creation Error Handling
2021-05-18 15:05:32 +10:00
Niels Andriesse 47ff53d559 Remove SignalServiceMessageReceiver 2021-05-18 09:54:16 +10:00