Commit Graph

652 Commits (1.12.2)

Author SHA1 Message Date
jubb 53127b69de refactor: compile errors and refactoring to view binding 4 years ago
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
4 years ago
jubb 07ccc2696b Merge remote-tracking branch 'upstream/dev'
# Conflicts:
#	app/build.gradle
4 years ago
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
4 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
4 years ago
jubb aa892ba8ca Merge remote-tracking branch 'upstream/master' into rtc_calls
# Conflicts:
#	app/build.gradle
4 years ago
Harris c70de069a4 fix: checking invalid profileKey lengths on message receive and retrieve profile avatars 4 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
4 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
4 years ago
jubb d7dbd71568 refactor: used shared number for BatchMessageReceiveJob.kt parameter across pollers 4 years ago
jubb 045d1f5027 Merge remote-tracking branch 'upstream/dev' into rtc_calls
# Conflicts:
#	app/build.gradle
4 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
4 years ago
jubb 7eae1404c5 feat: add silenced notifications for call notification builder. check pre-offer and connecting state for pending connection 4 years ago
jubb 6a5f12959e Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/src/main/res/values/strings.xml
4 years ago
ceokot 15f5ac10ec
feat: Add conversation pinning (#806)
* feat: Add conversation pinning

* Update pinned conversation icon

* Update pinned conversation column name
4 years ago
jubb 522c5cd520 refactor: prevent calls from non hasSent participants 4 years ago
Harris a3dfd1dd0c feat: add first call notification 4 years ago
Harris d6823d88e6 refactor: handle in-thread call notifications better and replace deny button intent with denyCallIntent instead of hangup 4 years ago
jubb f05487f925 feat: adding call messages for incoming/outgoing/missed 4 years ago
jubb c863df2a60 Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
4 years ago
jubb f7f3883250 docs: fix comment on time being 300s (5m) instead of 30s 4 years ago
jubb b55d0ad270 fix: treat result as number and convert to Long 4 years ago
jubb 5fbace70b5 feat: handle discarding pending calls from linked devices 4 years ago
Harris 276f808ca3 fix: bluetooth auto-connection and re-connection fixes, removing finished todos, allowing self-send call messages for deduping answers 4 years ago
Harris 98a50cbf69 feat: add call related permissions and more network handover tests 4 years ago
jubb 3d0e5541d0 feat: ringers and better state handling 4 years ago
jubb 99b6a38b90 feat: call establishing and displaying 4 years ago
jubb de4d8e9be4 feat: adding more command handlers in WebRtcCallService.kt 4 years ago
jubb a3cfd7f03b feat: update kotlin and add in call view model and more management functions 4 years ago
jubb ea9b35f229 Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
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 97de286896 feat: update to utilise call ID 4 years ago
Harris 50c2ac60d7 Merge remote-tracking branch 'upstream/dev' into rtc_calls
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/jobs/AvatarDownloadJob.java
#	app/src/main/java/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.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 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 c5bd866e8e Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
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 f6eafccd7b Merge remote-tracking branch 'upstream/dev' into rtc_calls 4 years ago
Harris 459dfa72c2 feat: hanging up and bottom sheet behaviors should work now 4 years ago
Harris b3576336d9 feat: add stats and starting call bottom sheet 4 years ago
Harris adeffbdc07 feat: replace hardcoded with const string 4 years ago
Harris ded0370e8e feat: add gif metadata warning 4 years ago
Harris 9e5e137919 feat: added basic call functionality 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