Commit Graph

7816 Commits

Author SHA1 Message Date
jubb cf06390812 build: update build numbers 2022-02-09 14:37:08 +11:00
jubb 6fa398f480 Merge branch 'master' into calls
# Conflicts:
#	app/build.gradle
2022-02-09 14:36:52 +11:00
jubb a002e3e1f7 build: update build numbers 2022-02-09 14:27:44 +11:00
Harris b01075cef6
fix: add UI test for URL modal dialog and fix mention infinite layout inflation bugs (#841) 2022-02-09 14:18:22 +11:00
jubb 542ff110be build: increase build number 2022-02-08 13:46:28 +11:00
jubb bf7a6e7b54 fix: set the content to binding.root view 2022-02-08 13:36:49 +11:00
jubb 53127b69de refactor: compile errors and refactoring to view binding 2022-02-08 12:04:55 +11:00
jubb 38164ea23d Merge remote-tracking branch 'upstream/master' into calls
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/ControlMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt
#	app/src/main/res/values/strings.xml
#	gradle.properties
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/ClosedGroupPollerV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPollerV2.kt
#	libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt
2022-02-08 09:58:57 +11:00
jubb 07ccc2696b Merge remote-tracking branch 'upstream/dev'
# Conflicts:
#	app/build.gradle
2022-02-07 17:08:48 +11:00
Harris dd1da6b1a4
Add a global search (#834)
* feat: modifying search functionalities to include contacts

* feat: add global search UI input layouts and color attributes

* feat: add global search repository and model content

* feat: adding diff callbacks and wiring up global search vm to views

* feat: adding scroll to message, figuring out new query for recipient thread search

* feat: messing with the search and highlighting functionality after wiring up bindings

* fix: compile error from merge

* fix: gradlew build errors

* feat: filtering contacts by existing un-archived threads

* refactor: prevent note to self breaking, update queries and logic in search repo to include member->group reverse searches

* feat: adding home screen new redesigns for search

* feat: replacing designs and adding new group subtitle text

* feat: small design improvements and incrementing gradle build number to install on device

* feat: add scrollbars for search

* feat: replace isVisible for cancel button now that GlobalSearchInputLayout.kt replaces header

* refactor: all queries are debounced not just all but 2 char

* refactor: remove visibility modifiers for cancel icon

* refactor: use simplified non-db and context related models in display, remove db get group members call from binding data

* fix: use threadId instead of group's address

* refactor: better close on cancel, removing only yourself from group member list in open groups

* refactor: seed view back to inflated on create and visibility for empty placeholder and seed view text

* refactor: fixing build issues and new designs for message list

* refactor: use dynamic limit

* refactor: include raw session ID string search for non-empty threads

* fix: build lint errors

* fix: build issues

* feat: add in path to the settings activity

* refactor: remove wildcard imports
2022-02-07 17:06:27 +11:00
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
2022-02-07 15:38:07 +11:00
Harris d4424481b1
fix: documents render correctly now (#838) 2022-02-07 15:25:31 +11:00
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
2022-02-06 12:41:35 +11:00
jubb ae30d2f070 Merge remote-tracking branch 'upstream/calls' into rtc_calls
# Conflicts:
#	app/build.gradle
2022-01-24 10:27:14 +11:00
jubb 26e3159399 build: update build.gradle number 2022-01-24 10:26:18 +11:00
jubb aa892ba8ca Merge remote-tracking branch 'upstream/master' into rtc_calls
# Conflicts:
#	app/build.gradle
2022-01-24 10:05:35 +11:00
Harris c70de069a4 fix: checking invalid profileKey lengths on message receive and retrieve profile avatars 2022-01-23 00:33:38 +11:00
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.
2022-01-18 22:32:20 +11:00
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
2022-01-18 14:33:04 +11:00
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
2022-01-16 19:02:39 +02:00
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
2022-01-14 07:56:15 +02:00
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
2021-12-20 09:38:27 +02:00
jubb 66db422c77 build: update build number 2021-12-20 14:34:29 +11:00
jubb fa4f0809ac fix: bug fixes for self-send answer / hangup messages 2021-12-20 14:30:46 +11:00
jubb 49f2c5f6f0 fix: glide in update crash 2021-12-20 11:56:54 +11:00
jubb d7dbd71568 refactor: used shared number for BatchMessageReceiveJob.kt parameter across pollers 2021-12-20 10:18:08 +11:00
jubb ac7ba51817 build: update build number 2021-12-20 09:47:12 +11:00
jubb 045d1f5027 Merge remote-tracking branch 'upstream/dev' into rtc_calls
# Conflicts:
#	app/build.gradle
2021-12-20 09:38:13 +11:00
jubb 8ea0690e3a fix: remove sh-rHR strings due to localisation error 2021-12-17 15:07:53 +11:00
jubb 87045b1d55 build: update build number and versio nname 2021-12-17 11:03:16 +11:00
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
2021-12-17 10:19:32 +11:00
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
2021-12-16 06:47:26 +02:00
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
2021-12-15 08:11:55 +02:00
Harris 5601da0e22
fix: replace alpha update with isVisible to not intercept tap from message gestures (#809) 2021-12-15 08:01:35 +02:00
jubb b4769926ca refactor: remove whitespace 2021-12-15 15:32:13 +11:00
jubb 81ff600114 Merge remote-tracking branch 'upstream/dev' into rtc_calls 2021-12-15 11:54:41 +11:00
Harris 34569ff1da
build: update translations with latest values (#808) 2021-12-15 10:45:25 +11:00
jubb c83dc6700a build: update build number 2021-12-14 16:38:23 +11:00
jubb cfbe09d106 fix: remove wrap content for renderers and look more at recovering from network switches 2021-12-14 16:21:23 +11:00
jubb b0d1afdd72 fix: text color uses overridden style value 2021-12-14 11:12:32 +11:00
jubb 7b239c48a5 build: update build number 2021-12-13 16:56:57 +11:00
jubb 7eae1404c5 feat: add silenced notifications for call notification builder. check pre-offer and connecting state for pending connection 2021-12-13 16:53:42 +11:00
jubb 6a5f12959e Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/src/main/res/values/strings.xml
2021-12-13 13:18:17 +11:00
ceokot 15f5ac10ec
feat: Add conversation pinning (#806)
* feat: Add conversation pinning

* Update pinned conversation icon

* Update pinned conversation column name
2021-12-10 10:18:56 +11:00
jubb 9da5d5ad5e build: new version 2021-12-08 17:44:36 +11:00
jubb f1783b3f80 refactor: use answerCall instead of manual intent building again 2021-12-08 17:44:23 +11:00
jubb 9c21cfa7b8 fix: remove end call from busy 2021-12-08 17:30:05 +11:00
jubb 38a8738674 fix: various bug fixes for calls 2021-12-08 17:29:10 +11:00
jubb 44b2a9d412 refactor: replace timeout schedule with a seconds count 2021-12-08 11:23:35 +11:00
jubb 681c195826 Merge remote-tracking branch 'upstream/dev' into rtc_calls 2021-12-08 10:16:33 +11:00