Commit Graph

7708 Commits (561ce83aa4e15c7b391666cf16deeebbfd107adf)
 

Author SHA1 Message Date
Harris 561ce83aa4
Fix quote alignment (#837)
* refactor: use constraints in quote view

* refactor: layouts for quotes fixed

* fix: use the current text, which may be the type of attachment instead of the quote body
3 years ago
Harris d4424481b1
fix: documents render correctly now (#838) 3 years ago
Harris 983e4f59d3
Fix unrecycled delete actions (#836)
* fix: set view press/swipe/long press to null if message is deleted

* fix: deselects messages once they've been deleted
3 years ago
Ian Macdonald 46aebb168c
Make the unread message count 4 digits instead of 2. (#827)
* Make the unread message count 4 digits instead of 2.

99+ unread messages can be reached within an hour in some busy open
groups. 4 digits allow for much more accurate reporting.

* Improve appearance of unread counter by using rounded rectangle.
3 years ago
Harris bd5a324ad8
Split image from replies (#779)
* refactor: VisibleMessageContentView.kt re-using layouts instead of instantiating every bind to fix alignment and constraint issues for splitting thumbnails and body

* refactor: constraint works for sms only records, adjust other components of the visible message content accordingly

* feat: link previews and quotes now wrap content or align according to media type

* refactor: move back to emojitextview for body

* fix: add some padding at the bottom of the quote

* fix: voice message view not rendering properly

* fix: set visibility to false for each message content view on recycle event

* fix: untrusted attachments

* fix: compile issues and small UI improvement
3 years ago
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 366b5abdc8
Enable media gallery fullscreen mode (#813)
* feat: Enable fullscreen mode on the media gallery screen

* Move `fitsSystemWindows` attribute to root view

* Rename for clarity

* Update fullscreen flag

* Set system bars behaviour for api >= 30
3 years ago
jubb 8ea0690e3a fix: remove sh-rHR strings due to localisation error 3 years ago
jubb 87045b1d55 build: update build number and versio nname 3 years ago
Harris 164937aaa3
Remove the read and typing indication on startup (#812)
* fix: remove the read and typing indication

* fix: set default value in preferences_app_protection.xml
3 years ago
Harris 28b97e45cc
Remove ID copy interactions (#811)
* fix: remove selected session ID interactions

* fix: include thread ID in home activity's creation of user details bottom sheet

* refactor: use bundleOf builder instead of old bundle put value methods
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
Harris 5601da0e22
fix: replace alpha update with isVisible to not intercept tap from message gestures (#809) 3 years ago
Harris 34569ff1da
build: update translations with latest values (#808) 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
Harris 546a6ec3f7
Merge pull request #805 from ceokot/fix_open_group_trimming
fix: Include empty open groups in the conversation list query

Fixes #802
3 years ago
ceokot c25795fa53 fix: Include empty open groups in the conversation list query 3 years ago
Harris 6a11c0d375
Merge pull request #804 from ceokot/fix_control_message_date_breaks
fix: Add date breaks on control messages
3 years ago
ceokot ba51102b6d Add message date break extension function to reduce duplication 3 years ago
ceokot a966623db2 Add conversation constants file 3 years ago
ceokot bfe91427ab fix: Add date breaks on control messages 3 years ago
jubb 0ba9e4938d build: increase build number 3 years ago
Harris 2c3ec423bc
Merge pull request #800 from hjubb/fix_open_group_requests
Fix open group requests
3 years ago
jubb b55d0ad270 fix: treat result as number and convert to Long 3 years ago
jubb 19384eeb5b build: increase build number 4 years ago
Harris a1b2e79108
Merge pull request #772 from hjubb/activate_unsends
Activate un-sending messages
4 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 00d6ce76b5 fix: contacts without stored profile information display similar to closed groups for unsend 4 years ago
Harris 0b062074b1 feat: switch unsend flag 4 years ago
Harris f87fb2b9bb
Merge pull request #767 from hjubb/incognito_keyboard
Use incognito keyboard based on privacy preference in app
4 years ago
Harris b925133a76
Merge pull request #769 from hjubb/fix_npe_conversation_list_handler
Fix a crash with null conversationListHandler
4 years ago
Harris 0755f0b953 fix: conversationListNotificationHandler initialized in getter if null and removed from onCreate 4 years ago
Harris 13dc28231d fix: respect the incognito flag in the user's preferences 4 years ago
Harris e8a2bbe76d fix: saving log external instead of session blob 4 years ago
Harris a55c9a969b refactor: replace settings string for sharing logs, change extension to .txt to make things easier 4 years ago
Harris 3997fcebc2 refactor: output appropriate file names for the apks 4 years ago
Harris 8f4a5c7469 Merge remote-tracking branch 'upstream/dev' 4 years ago
Harris 8a2a80e9e1 build: increase build number 4 years ago
Harris d190ac8335
Merge pull request #765 from hjubb/restore_log_report
Restore log report
4 years ago
Harris 37f9ef3b1a Merge branch 'dev' into restore_log_report
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
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 678d8094a1
Merge pull request #739 from ianmacd/pr1
Display the service node's IP address after its country.
4 years ago
Harris 3b7f7f03cd
Merge pull request #752 from hjubb/startup_performance
Startup performance
4 years ago
Harris 91b876589a refactor: move db module init before injection and replace ApplicationContext db component access to static function to get the component 4 years ago
Harris d130ba5432 fix: oom from too many db instances, adding singletons to limit object creation 4 years ago
Harris 0516526923 refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 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 c67d164db6 Merge branch 'dev' 4 years ago
Harris c21a75c880 feat: finish share log dialog 4 years ago