Commit Graph

61 Commits

Author SHA1 Message Date
Harris e036344c76 refactor: performance improvements in batch message processing, synchronized cache access and audible message notifications.
Increase audible timeout on DefaultMessageNotifier.java, don't send in-thread notification based on last audible notification.

Create a batch message receive job to handle up to 20 chunked messages at a time per job instead of singular or open group poll amount

Remove synchronized access to recipient cache and replace with a concurrent cache that's lock free from perf tracing monitor contention
2021-09-29 15:29:24 +10:00
ryanzhao 9ab285c3be handle home screen update for unsend request 2021-08-12 14:14:37 +10:00
ryanzhao c3e45a308a store server hash 2021-08-10 16:42:15 +10:00
ryanzhao bf83f9b391 WIP: message receiver handler for unsend request 2021-08-10 16:00:06 +10:00
Harris 3c6b1eff44 fix: open groups update the sent timestamp locally to be the returned group 2021-07-23 16:04:18 +10:00
Niels Andriesse 5168e15640 Merge branch 'dev' into security 2021-07-12 14:27:14 +10:00
jubb fa06a57ec3 fix: getting local user's ID if message is outgoing to check against that value in attachment download 2021-07-09 16:04:06 +10:00
jubb 9dfd051e63 feat: trust dialog and processing attachments for users after trusting them 2021-07-09 15:13:43 +10:00
jubb bc4f660fb0 fix: downloads now don't automatically queue for untrusted contacts and UI to handle re-downloading failed attachments 2021-07-08 17:14:53 +10:00
Harris 683b5243bd fix: notify update for attachment's thread ID on setting audio extras 2021-07-07 14:56:53 +10:00
jubb b329402faf fix: audio waveforms decoded on the attachment download 2021-07-01 17:06:42 +10:00
jubb 758475f0dc fix: R.color.destructive on the error drawable in conversation and home adapter and handling message re-sending 2021-07-01 11:06:11 +10:00
jubb fdc042e6d4 feat: testnet clearing network data on delete and differentiating dialogs 2021-06-18 16:01:34 +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
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
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
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
Niels Andriesse e7ae08fe7a Clean 2021-05-24 10:27:31 +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 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 a4a11e8e5e Fix indentation 2021-05-21 15:09:50 +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 ff96bb05a8 Implement remaining bits and pieces 2021-05-21 11:09:03 +10:00
Ryan ZHAO 563a13d208 fix nickname usage & clean 2021-05-20 14:06:42 +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
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 c1548a4e51 Move files 2021-05-18 09:50:16 +10:00
Niels Andriesse c9ebcc580f Move files 2021-05-18 09:26:08 +10:00
Niels Andriesse a88322a033 Move files 2021-05-18 09:12:33 +10:00
Niels Andriesse 3e1727fdbc Debug 2021-05-13 13:34:35 +10:00
Niels Andriesse 7c5b4aafec Debug 2021-05-13 13:19:08 +10:00
jubb ef19c0d10e fix: fixing up LokiMessageDatabase.kt table structure, deletion closer to finished 2021-04-29 17:13:42 +10:00
Niels Andriesse fdede1c656 Clean 2021-04-26 11:39:23 +10:00
Niels Andriesse 676c307412 Clean 2021-04-26 10:58:48 +10:00
Brice-W 0292e70246 fix quote attachment issue 2021-03-30 13:09:40 +11:00
jubb 611b272493 fix: attachments for quotes no longer doubled up 2021-03-24 17:17:01 +11:00
jubb 323fb75149 fix: adding some message receive functionality 2021-03-12 17:15:33 +11:00
Ryan ZHAO 0a7fecfb52 fix sending link preview 2021-03-09 10:50:02 +11:00
Ryan ZHAO 9a00906069 WIP debug sending attachments 2021-03-03 15:14:45 +11:00
Ryan ZHAO 0ea1ed15e7 WIP: make attachment work 2021-03-02 17:22:56 +11:00
Ryan ZHAO d9eaedd6ae hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00