Commit Graph

40 Commits

Author SHA1 Message Date
Harris 0516526923 refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 2021-10-04 18:51:19 +11:00
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
Harris 873fb6b578 fix: clear notifications properly on muted groups 2021-08-20 16:09:44 +10:00
Harris 021d81ab98 refactor: alignment 2021-08-19 13:45:57 +10:00
Harris 7ac340b3ca refactor: remove unused constant 2021-08-19 13:44:38 +10:00
Harris ef8cdf3127 fix: handle bundling properly with the messageIdTag check 2021-08-19 12:24:28 +10:00
Harris 975076cb5c fix: bundled notification no longer notifies on mentions only 2021-08-19 12:14:21 +10:00
Harris dbec5ad53c fix: fixing the message dismissal of notifications for threads upon activity resume. using media send activity's camera intent for consistency 2021-08-16 14:05:49 +10:00
jubb 072ea41b46 refactor: re-add thread ID for mentions, fix path resolver call
refactor: re-add thread ID for mentions, fix path resolver call
2021-07-30 13:46:57 +10:00
jubb 7bf3b7a033 refactor: quotes also render for mention only notification style, fix mention manager not having public keys for conversations on load 2021-07-30 10:30:04 +10:00
jubb 2a2d97be4c fix: revert simplified sendSingleThreadNotification that wasn't bundling properly, add mentions properly resolving by adding cache call 2021-07-30 09:54:16 +10:00
jubb 0ed7b28b6b refactor: performance experiments 2021-07-29 17:02:58 +10:00
Harris ff853e01b4 fix: notifications deduplicate based on last message ID, ConversationActivityV2.kt updates notification by thread ID 2021-07-21 13:58:07 +10:00
Harris 7f047f1c2b feat: add mention only icon, trying to figure out non-repeating push notifications 2021-07-20 17:34:07 +10:00
Harris b95cb2bedb feat: add notification types for all / mentions only or none with UI and push logic 2021-07-20 16:06:59 +10:00
jubb 6a2a04e256 feat: don't show notifications on HomeActivity.kt 2021-07-13 16:31:16 +10:00
Niels Andriesse dc790560fd Clean & debug 2021-07-09 13:56:38 +10:00
Niels Andriesse c984d90b04 Re-organize files 2021-07-09 13:18:48 +10:00
Niels Andriesse 6ce37a6231 Remove unused code 2021-07-07 13:03:48 +10:00
Niels Andriesse 4cec9e684f Fix crash 2021-07-01 09:31:30 +10:00
Niels Andriesse 764a885280 Hook up new conversation screen everywhere 2021-06-30 14:57:53 +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
Ryan ZHAO 6822bc461c new approach for batch notification 2021-05-20 15:41:17 +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 dc8938c269 Move protos 2021-05-18 09:44:06 +10:00
Niels Andriesse a88322a033 Move files 2021-05-18 09:12:33 +10:00
Brice-W b562aa5738 set notification text 2021-05-13 15:59:24 +10:00
jubb 6c81580d93 fix: sync timing for multi device partial restore 2021-03-05 16:19:53 +11:00
Ryan ZHAO ff36fbb6a1 further cleaning up on stickers 2021-02-23 15:07:31 +11:00
Ryan ZHAO 8cc78e8f4c WIP: clean up unused exceptions 2021-02-19 15:28:26 +11:00
ryanzhao 307da3b2be clean logging 2021-02-03 12:22:40 +11:00
Ryan ZHAO 1e93d4651c clean 2021-02-02 15:40:43 +11:00
Ryan ZHAO 543019f93c clean 2021-01-29 16:35:47 +11:00
Ryan ZHAO 883c71331b WIP clean & make things compile 2021-01-19 10:48:02 +11:00
Ryan ZHAO 1f96ab1cf5 WIP clean 2021-01-15 16:51:53 +11:00
Ryan ZHAO 74a9754f48 implement interfaces 2021-01-13 17:11:30 +11:00
Anton Chekulaev 4fb4709ec2 Unused code cleanup. 2020-11-30 17:43:06 +11:00
Ryan ZHAO 255dc9c26b ditch :service, :service:android, :service:java 2020-11-26 10:07:45 +11:00
Ryan ZHAO 7a66a47520 restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
Renamed from session/src/main/java/org/thoughtcrime/securesms/notifications/DefaultMessageNotifier.java (Browse further)