Commit Graph

36 Commits

Author SHA1 Message Date
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
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 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 0516526923 refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 2021-10-04 18:51:19 +11:00
Niels Andriesse dc790560fd Clean & debug 2021-07-09 13:56:38 +10:00
Niels Andriesse 9d447608da Re-organize files 2021-07-09 13:25:57 +10:00
Niels Andriesse c984d90b04 Re-organize files 2021-07-09 13:18:48 +10:00
Niels Andriesse 05cc6ea742 Re-enable copying Session IDs in closed groups & clean 2021-07-09 13:01:16 +10:00
Niels Andriesse a9b5c269f6 Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
jubb 1cc0b0ee7d refactor: don't delete empty threads if they're open groups 2021-05-20 15:43:29 +10:00
Niels Andriesse 6243443262 Move files 2021-05-18 16:11:38 +10:00
Niels Andriesse 4078a9c4b5 Move files 2021-05-18 16:03:47 +10:00
Ryan ZHAO d9eaedd6ae hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00
Ryan ZHAO ff36fbb6a1 further cleaning up on stickers 2021-02-23 15:07:31 +11:00
Ryan ZHAO dee7d78acb clean up old groups 2021-02-23 10:30:45 +11:00
Ryan ZHAO 1db9ccdf27 clean up: signal service protocols 2021-02-22 10:41:27 +11:00
Ryan ZHAO 0d2f5e0cde further cleaning on V1 multi device 2021-02-18 15:12:30 +11:00
Ryan ZHAO 20ec889730 clean up V1 closed group 2021-02-17 16:09:36 +11:00
Ryan ZHAO 7a17b5769a clean up V1 multi device 2021-02-17 12:27:00 +11:00
Ryan ZHAO e14b5b9f33 minor fix 2021-02-16 11:48:25 +11:00
Ryan ZHAO c6084b0172 replace group create at timestamp with formation timestamp 2021-02-16 11:14:27 +11:00
jubb 34fab9681c fix: closed groups info messages work now 2021-02-11 14:01:31 +11:00
jubb fd0596f9ea fix: closed groups now propagate properly without self-sends 2021-02-10 17:57:08 +11:00
ryanzhao 307da3b2be clean logging 2021-02-03 12:22:40 +11:00
Ryan ZHAO c8149209a1 clean & minor fix 2021-02-01 17:00:32 +11:00
Ryan ZHAO 5cb3a79a27 clean 2021-02-01 11:35:53 +11:00
Ryan ZHAO 3b50b8f40b fix closed groups & clean 2021-01-29 11:08:48 +11:00
Ryan ZHAO 2e3f50f8aa fix group encoded id 2021-01-22 16:15:13 +11:00
Ryan ZHAO d4781e64a3 clean group util 2021-01-22 10:33:19 +11:00
Ryan ZHAO 31d4deb354 WIP clean & make things compile 2021-01-19 09:12:44 +11:00
Ryan ZHAO 6cd00aec77 WIP clean 2021-01-15 15:36:30 +11:00
Ryan ZHAO e3fb097581 WIP make things compile 2021-01-14 14:05:51 +11:00
Ryan ZHAO 7ca8456383 WIP clean 2021-01-14 10:28:07 +11:00
Ryan ZHAO 74a9754f48 implement interfaces 2021-01-13 17:11:30 +11:00
Ryan ZHAO 255dc9c26b ditch :service, :service:android, :service:java 2020-11-26 10:07:45 +11:00
Ryan ZHAO 7a66a47520 restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00