Commit Graph

620 Commits (46aebb168ce84458a3ded8886cdf4e3b8de79625)

Author SHA1 Message Date
ceokot c2657bb785
feat: Add the option to mark a conversation as read (#816)
* feat: Add the option to mark a conversation as read

Fixes #789

* Extract and share logic to mark all as read

* Fix merge conflict issues
3 years ago
ceokot c113a447cf
refactor: Use view binding to replace Kotlin synthetics (#824)
* refactor: Migrate home screen to data binding

* Add view binding

* Migrate ConversationView to view binding

* Migrate ConversationActivityV2 to view binding

* View model refactor

* Move more functionality to the view model

* Add ui state events flow

* Update conversation item bindings

* Update profile picture view bindings

* Replace Kotlin synthetics with view bindings

* Fix qr code fragment binding and optimize imports

* View binding refactors

* Make TextSecurePreferences an interface and add an implementation to improve testability

* Add conversation repository

* Migrate remaining TextSecurePreferences functions into the interface

* Add unit conversation unit tests

* Add unit test coverage for remaining view model functions
3 years ago
ceokot 44f5684b21
feat: Update open group avatars periodically (#807)
* feat: Update open group avatars periodically

* Updated timestamp

* Existing job check

* Refresh avatar on the conversation

* Remove println statement

* Update profile picture on recipient modified event
3 years ago
ceokot 15f5ac10ec
feat: Add conversation pinning (#806)
* feat: Add conversation pinning

* Update pinned conversation icon

* Update pinned conversation column name
3 years ago
jubb b55d0ad270 fix: treat result as number and convert to Long 3 years ago
jubb f2f906fd3e refactor: closed groups delete for yourself and handle unsend request if it's from yourself or author now 4 years ago
Harris f56a16b31d refactor: remove pubkey logs from poller log spam and move attachment download job to rx queue 4 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
4 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
4 years ago
Harris adeffbdc07 feat: replace hardcoded with const string 4 years ago
Harris ded0370e8e feat: add gif metadata warning 4 years ago
ryanzhao ecc881bc7c store server hash value for incoming messages 4 years ago
ryanzhao 29e355c6ab send unsend request as sync message 4 years ago
ryanzhao 4ce1bd6875 clean 4 years ago
ryanzhao feff1c8393 fix cancel notification 4 years ago
ryanzhao f10ddb8e3a cancel notification for unsend request 4 years ago
ryanzhao 9ab285c3be handle home screen update for unsend request 4 years ago
ryanzhao 5264d4e2f8 remove weird white space 4 years ago
ryanzhao 0ebb87ef6f allow self send and notify for unsend requests 4 years ago
ryanzhao c3e45a308a store server hash 4 years ago
ryanzhao bf83f9b391 WIP: message receiver handler for unsend request 4 years ago
ryanzhao 2cb91c3a0e add delete endpoint call in snode api 4 years ago
ryanzhao c0a5a61431 add unsend request proto 4 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 4 years ago
Niels Andriesse 3911fce75f Disable authenticated retrieval for now 4 years ago
Niels Andriesse c05c6049d7
Merge pull request #675 from hjubb/notification_control
Fine-Grained Notification controls
4 years ago
Niels Andriesse ea5a41af52
Merge pull request #676 from oxen-io/authentication
Implement Authenticated Message Retrieval
4 years ago
Niels Andriesse d79d236580 Implement authenticated message retrieval 4 years ago
Harris 285d5a6c22 Merge remote-tracking branch 'upstream/dev' into notification_control 4 years ago
Niels Andriesse 07f43121c3
Merge pull request #672 from hjubb/chat_ux_improvements
Fixes Open Group Quote Bug
4 years ago
Harris 3c6b1eff44 fix: open groups update the sent timestamp locally to be the returned group 4 years ago
Niels Andriesse 118447799a Handle incorrect clock setting 4 years ago
Harris b95cb2bedb feat: add notification types for all / mentions only or none with UI and push logic 4 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 4 years ago
Niels Andriesse 5b612806c5 Include destination info in error messages 4 years ago
jubb 6a2a04e256 feat: don't show notifications on HomeActivity.kt 4 years ago
Niels Andriesse 6b7c7d1d2a Add support for new ban and delete all endpoint 4 years ago
Niels Andriesse d1ee7d68bc Don't retry message send jobs when rate limited 4 years ago
Niels Andriesse 1747e4a8ee Don't use testnet 4 years ago
Niels Andriesse 5168e15640 Merge branch 'dev' into security 4 years ago
Niels Andriesse 462a7ed977
Merge pull request #647 from hjubb/trusted_attachment_download
Only Download Attachments from Trusted Contacts
4 years ago
Niels Andriesse b2a067cba6 Re-use existing build paths promise if possible 4 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
4 years ago
jubb fa06a57ec3 fix: getting local user's ID if message is outgoing to check against that value in attachment download 4 years ago
jubb 1ee1d1795d fix: only resume AttachmentDownloadJobs and fix boolean logic on returning early in download job 4 years ago
jubb 9dfd051e63 feat: trust dialog and processing attachments for users after trusting them 4 years ago
jubb bc4f660fb0 fix: downloads now don't automatically queue for untrusted contacts and UI to handle re-downloading failed attachments 4 years ago
Niels Andriesse 666cab9df6 Clean up TextSecurePreferences 4 years ago
Niels Andriesse 0524d42f1a Merge branch 'dev' into security 4 years ago
Niels Andriesse d447c5c307
Merge pull request #637 from hjubb/fix_voice_update_crash
Fix Voice Message Behavior
4 years ago