Commit Graph

714 Commits (8d66d948ca34d052c5bea08d09aafa783911f075)

Author SHA1 Message Date
Harris f56a16b31d refactor: remove pubkey logs from poller log spam and move attachment download job to rx queue 3 years ago
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
3 years ago
Harris 45a6e11cf5 fix: checking if group exists and not adding it for self sends.
may require more testing to see if it can return in the groupExists block above insert outgoing messages

fixes #723
3 years ago
Harris adeffbdc07 feat: replace hardcoded with const string 3 years ago
Harris ded0370e8e feat: add gif metadata warning 3 years ago
ryanzhao ecc881bc7c store server hash value for incoming messages 3 years ago
ryanzhao 29e355c6ab send unsend request as sync message 3 years ago
ryanzhao 4ce1bd6875 clean 3 years ago
ryanzhao feff1c8393 fix cancel notification 3 years ago
ryanzhao f10ddb8e3a cancel notification for unsend request 3 years ago
ryanzhao 9ab285c3be handle home screen update for unsend request 3 years ago
ryanzhao 5264d4e2f8 remove weird white space 3 years ago
ryanzhao 0ebb87ef6f allow self send and notify for unsend requests 3 years ago
ryanzhao c3e45a308a store server hash 3 years ago
ryanzhao bf83f9b391 WIP: message receiver handler for unsend request 3 years ago
ryanzhao 2cb91c3a0e add delete endpoint call in snode api 3 years ago
ryanzhao c0a5a61431 add unsend request proto 3 years ago
jubb 9b48d5d203 refactor: use simpler way to generate closed group profile pictures, limit the getConversation call in MentionManagerUtilities.kt to 200 to improve link-through performance to v2 conversation activity. fix notify type not being preloaded into settings 3 years ago
Niels Andriesse 3911fce75f Disable authenticated retrieval for now 3 years ago
Niels Andriesse c05c6049d7
Merge pull request #675 from hjubb/notification_control
Fine-Grained Notification controls
3 years ago
Niels Andriesse ea5a41af52
Merge pull request #676 from oxen-io/authentication
Implement Authenticated Message Retrieval
3 years ago
Niels Andriesse d79d236580 Implement authenticated message retrieval 3 years ago
Harris 285d5a6c22 Merge remote-tracking branch 'upstream/dev' into notification_control 3 years ago
Niels Andriesse 07f43121c3
Merge pull request #672 from hjubb/chat_ux_improvements
Fixes Open Group Quote Bug
3 years ago
Harris 3c6b1eff44 fix: open groups update the sent timestamp locally to be the returned group 3 years ago
Niels Andriesse 118447799a Handle incorrect clock setting 3 years ago
Harris b95cb2bedb feat: add notification types for all / mentions only or none with UI and push logic 3 years ago
jubb 5f7278b9c4 refactor: OpenGroupPollerV2.kt no longer queues jobs and executes synchronously, BackgroundPollWorker.kt no longer replaces periodic tasks but keeps existing ones, removing unused references 3 years ago
Niels Andriesse 5b612806c5 Include destination info in error messages 3 years ago
jubb 6a2a04e256 feat: don't show notifications on HomeActivity.kt 3 years ago
Niels Andriesse 6b7c7d1d2a Add support for new ban and delete all endpoint 3 years ago
Niels Andriesse d1ee7d68bc Don't retry message send jobs when rate limited 3 years ago
Niels Andriesse 1747e4a8ee Don't use testnet 3 years ago
Niels Andriesse 5168e15640 Merge branch 'dev' into security 3 years ago
Niels Andriesse 462a7ed977
Merge pull request #647 from hjubb/trusted_attachment_download
Only Download Attachments from Trusted Contacts
3 years ago
Niels Andriesse b2a067cba6 Re-use existing build paths promise if possible 3 years ago
jubb 842cfc25a1 Merge branch 'dev' into trusted_attachment_download
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageContentView.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
3 years ago
jubb fa06a57ec3 fix: getting local user's ID if message is outgoing to check against that value in attachment download 3 years ago
jubb 1ee1d1795d fix: only resume AttachmentDownloadJobs and fix boolean logic on returning early in download job 3 years ago
jubb 9dfd051e63 feat: trust dialog and processing attachments for users after trusting them 3 years ago
jubb bc4f660fb0 fix: downloads now don't automatically queue for untrusted contacts and UI to handle re-downloading failed attachments 3 years ago
Niels Andriesse 666cab9df6 Clean up TextSecurePreferences 3 years ago
Niels Andriesse 0524d42f1a Merge branch 'dev' into security 3 years ago
Niels Andriesse d447c5c307
Merge pull request #637 from hjubb/fix_voice_update_crash
Fix Voice Message Behavior
3 years ago
Niels Andriesse 30b4a7ecc8
Merge pull request #613 from Brice-W/exp-timer-config-message
Add Closed Group Expiration Timer Setting to Configuration Message
3 years ago
Harris 683b5243bd fix: notify update for attachment's thread ID on setting audio extras 3 years ago
Niels Andriesse 09502ee9ab Remove unused resources 3 years ago
jubb 8cc2f78da7 fix: audio durations set accordingly for send and receive and doesn't break saving / uploading by exhausting the input stream 3 years ago
jubb f4e5e5e36a fix: duplicate message send bug on attachments 3 years ago
jubb f7bec07503 fix: raise output max buffer size to Job.MAX_BUFFER_SIZE 3 years ago
jubb d57903aa44 fix: open group poller queues trim thread job only if received messages
deleting quotes should now propagate to set quote missing flag in MMS and update the UI accordingly
3 years ago
jubb 50b02323a8 fix: failing to serialize from AttachmentUploadJob.kt started from resumed pending jobs 3 years ago
jubb b329402faf fix: audio waveforms decoded on the attachment download 3 years ago
jubb 9566120d66 fix: revert max failure count on upload and send jobs 3 years ago
jubb 8701f68292 fix: prevent crash in audio view 3 years ago
jubb d98f34fa73 fix: only show loader if the message isn't failed, fix attachment upload and message send pending states in the conversation 3 years ago
jubb ab876ca9b8 fix: MessageSendJob.kt sets message as sending before calling send so conversation adapter doesn't display as error / let users retry while send job is pending 3 years ago
jubb 758475f0dc fix: R.color.destructive on the error drawable in conversation and home adapter and handling message re-sending 3 years ago
Niels Andriesse 7b7a9961da
Merge pull request #620 from hjubb/ui
Fix 421s, Fix NotifyPNServerJob Crash & Fix URL Handling
3 years ago
Niels Andriesse f1745448bb Hook up link preview suggestion dialog 3 years ago
jubb 8b4b264992 fix: 421 errors not being handled properly by sendOnionRequest and prevent retrying with stale swarm data, no longer crash with large NotifyPNServerJob.kt payload in Kryo deserialization 3 years ago
Niels Andriesse 8f2f1a47fd
Merge branch 'ui' into ui 3 years ago
Niels Andriesse 9f4571b0c1 Implement remaining menu actions 3 years ago
jubb 09f4cfb1ad feat: add back overflow text, increase AttachmentDownloadJob.kt max failure count, resize overflow text size, remove unused animator update listener implementation in ThumbnailProgressBar.kt 3 years ago
Niels Andriesse 18e345733e Implement a few basic contextual actions 3 years ago
jubb 1df6fa46a4 feat: clear all data dialog with local and network only options 3 years ago
jubb 05b0e5f308 feat: handling responses and using new updated params 3 years ago
Brice-W 362589f83f refactor 3 years ago
Brice-W bb7dc318c7 delete obsolete code 3 years ago
Brice-W a71273e813 refactor 3 years ago
Brice-W 35d5def515 adding expiration timer to configuration message 3 years ago
jubb fdc042e6d4 feat: testnet clearing network data on delete and differentiating dialogs 3 years ago
Niels Andriesse 123cd6d486 Handle text only quote drafts 3 years ago
Harris 11f64a1d1a feat: add snode method delete_all with data class for params, refactoring ClearAllDataDialog.kt to handle async requests better and prevent ANR 3 years ago
Niels Andriesse 2188200717 Merge branch 'dev' into ui 3 years ago
Niels Andriesse 71ffaaabc2 Add documentation 3 years ago
Brice-W 1b6ab36a03 fix 3 years ago
Brice-W 7b22d14a2c using different timestamp for NEW group updates 3 years ago
Brice-W 47c989ab2e Merge branch 'dev' of https://github.com/loki-project/session-android into formation-timestamp-update 3 years ago
Niels Andriesse ed6db6f4e7 Merge branch 'dev' into ui 3 years ago
Niels Andriesse f4ae16239e Clean 3 years ago
Brice-W b8efe73a3b update formation timestamp when group is rejoined after being left 3 years ago
Brice-W 3b03aef80f handle expiration timer with NEW group update type 3 years ago
Harris 51061cac0e Merge remote-tracking branch 'upstream/dev' into identity_key_encryption 3 years ago
Brice-W 14d401b27a fix 3 years ago
Harris 91aefb7c87 feat: upgrade to keystore sealed identity key preferences 3 years ago
nielsandriesse d465fecf4c Populate conversation menu 3 years ago
nielsandriesse 3bf5a50439 Fix readability issues & simplify code 3 years ago
Brice-W 1d0b61cf89 fix to avoid zombies to be cleared when new group update received 3 years ago
Brice-W 6fb461f7d8 reset zombie members list if group already exists 3 years ago
Brice-W 1a117b0189 Merge branch 'dev' of https://github.com/loki-project/session-android into zombie-handling-update 3 years ago
nielsandriesse dfd9bd89f9 Fix colors 3 years ago
nielsandriesse d8ba01cf5d Clean up join open group screen 3 years ago
nielsandriesse 15d864cd2a Update documentation 3 years ago
Harris 2bdb4d18a2 fix: property name for json deserialisation 3 years ago
nielsandriesse e1f3362c2a Fix crash 3 years ago
nielsandriesse f872c2b9be Prepare for OGS timestamp handling changes 3 years ago
ryanzhao e8c52961aa minor fix 3 years ago
ryanzhao 4f7d26d86e debug for new encryption 3 years ago
ryanzhao a81c17057f Merge branch 'dev' of https://github.com/oxen-io/session-android into ONS-name-1 3 years ago
ryanzhao 497405fe50 clean 3 years ago
ryanzhao c0d4dd741c debug 3 years ago
nielsandriesse e16322977b Merge branch 'dev' of github.com:loki-project/loki-messenger-android into dev 3 years ago
nielsandriesse c6976ca3cd Fix naming confusion 3 years ago
Harris 4a8ce784b8 fix: no longer using the wrong deletion IDs for open group deletions 3 years ago
Ryan ZHAO a66d2c97e0 Merge branch 'dev' of https://github.com/oxen-io/session-android into ONS-name-1 3 years ago
Ryan ZHAO 592825dcc6 implement get session id from ons name api 3 years ago
Niels Andriesse 2441d86b32 Make member ordering consistent 3 years ago
jubb 72569327a9 Merge remote-tracking branch 'upstream/dev' into improve_background_jobs 3 years ago
Ryan ZHAO 0e89d88459 Merge branch 'dev' of https://github.com/oxen-io/session-android into ONS-name-1 3 years ago
Niels Andriesse 85120b57ea Batch conversation updates 3 years ago
ryanzhao ae23266058 wip: implement ons name 3 years ago
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
3 years ago
Brice-W 365ccda113 Merge branch 'dev' of https://github.com/loki-project/session-android into zombie-handling-update 3 years ago
Brice-W 5eaef76b02 don't update zombie members if current user is removed 3 years ago
Niels Andriesse abf2c05424 Debug closed group creation issue 3 years ago
Niels Andriesse 5d9957a57d Fix merge 3 years ago
Niels Andriesse ba116df195
Merge pull request #554 from RyanRory/fix-open-group-spam
Fix Open Group Notification Spam Part 2
3 years ago
Niels Andriesse 550d8b61c7 Quick fix crash 3 years ago
ryanzhao 25df4330be Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 3 years ago
Niels Andriesse c058b332da Fix typo 3 years ago
Niels Andriesse 639146cc0a Simplify & fix `from_server_id` usage 3 years ago
Niels Andriesse 716e768dac Merge branch 'dev' into polling-limit 3 years ago
Niels Andriesse 90dca7149a Remove redundant `this` 3 years ago
Brice-W 6c37e7a93f move logic from Storage to OpenGroupAPIV2 3 years ago
Brice-W 1b25de6a96 Merge branch 'dev' of https://github.com/loki-project/session-android into polling-limit-after-inactivity 3 years ago
Brice-W becc3c7278 Merge branch 'dev' of https://github.com/loki-project/session-android into polling-limit-after-inactivity 3 years ago
Niels Andriesse b5b3f4aebe
Merge pull request #555 from oxen-io/nicknames
Nicknames
3 years ago
Niels Andriesse 38f50a6dda Fix open group display name handling 3 years ago
Brice-W dbaa51bd9a implementation of polling limit on open groups 3 years ago
Niels Andriesse d7afcd07f8 Add contacts migration 3 years ago
Niels Andriesse e7ae08fe7a Clean 3 years ago
ryanzhao b186d4a670 Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 3 years ago
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
3 years ago
Niels Andriesse dfd3ccc5d2 Clean 3 years ago
Niels Andriesse c0f894e1b2 Clean 3 years ago
Niels Andriesse e0c1456af4 Merge branch 'dev' into nicknames 3 years ago
Niels Andriesse a4a11e8e5e Fix indentation 3 years ago
Niels Andriesse 49c3ffd9ca Remove redundant code 3 years ago
Ryan ZHAO 953f6d8c17 Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam 3 years ago
Ryan ZHAO d52787a661 try to use jobs to mark if all open groups are caught up 3 years ago
Niels Andriesse 910787a960 Fix polling bug 3 years ago
Niels Andriesse ff96bb05a8 Implement remaining bits and pieces 3 years ago
Niels Andriesse da331b036e Integrate new closed group poller 3 years ago
Niels Andriesse a3a62b6dbb Implement ClosedGroupPollerV2 3 years ago
Niels Andriesse 2a756375a8 Merge branch 'dev' into variable-rate-polling 3 years ago
Niels Andriesse 12ae8d4051 Debug 3 years ago
Niels Andriesse 8e836aa175 Fix build 3 years ago
Niels Andriesse e42b884b13 Upgrade Kryo 3 years ago
Niels Andriesse b0f564672b Update build number 3 years ago