Commit Graph

139 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
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
2021-09-29 15:29:24 +10:00
ryanzhao 2cb91c3a0e add delete endpoint call in snode api 2021-08-10 12:52:01 +10:00
ryanzhao c0a5a61431 add unsend request proto 2021-08-10 09:36:20 +10:00
jubb a18ab6c079 refactor: remove PersistentLogger.java and fix libsignal build.gradle minSdkVersion 2021-07-15 16:56:13 +10:00
Niels Andriesse 5168e15640 Merge branch 'dev' into security 2021-07-12 14:27:14 +10:00
Niels Andriesse 3bbfef7d81 Add documentation 2021-07-09 15:11:59 +10:00
Niels Andriesse bb1eb2310c Supply fake Accept-Language header 2021-07-09 15:10:11 +10:00
Niels Andriesse 7a388deb78 Supply fake User-Agent header 2021-07-09 14:50:35 +10:00
Brice-W a71273e813 refactor 2021-06-21 14:03:08 +10:00
jubb fdc042e6d4 feat: testnet clearing network data on delete and differentiating dialogs 2021-06-18 16:01:34 +10:00
Brice-W 59d9063774 proto update 2021-06-18 15:08:30 +10:00
Harris 11f64a1d1a feat: add snode method delete_all with data class for params, refactoring ClearAllDataDialog.kt to handle async requests better and prevent ANR 2021-06-17 18:29:05 +10:00
Brice-W 534e0e8e69 proto updated 2021-06-09 11:03:18 +10:00
ryanzhao ae23266058 wip: implement ons name 2021-05-26 16:34:08 +10:00
Niels Andriesse dfd3ccc5d2 Clean 2021-05-21 15:56:38 +10:00
Niels Andriesse 49c3ffd9ca Remove redundant code 2021-05-21 15:02:34 +10:00
Niels Andriesse 7208bb0421 Fix build 2021-05-18 15:03:17 +10:00
Niels Andriesse 68225e00be Clean 2021-05-18 14:45:37 +10:00
Niels Andriesse 7c3bee036c Speed up Gradle sync 2021-05-18 14:18:16 +10:00
Niels Andriesse 8a20c46bd4 Fix missing compile target 2021-05-18 14:08:21 +10:00
Niels Andriesse 81b0530163 Clean up libsession Gradle file 2021-05-18 13:27:51 +10:00
Niels Andriesse caa1c77ed4 Clean up libsignal Gradle file 2021-05-18 13:13:25 +10:00
Niels Andriesse e75de841c9 Remove unused dependencies 2021-05-18 11:55:50 +10:00
Niels Andriesse 47ff53d559 Remove SignalServiceMessageReceiver 2021-05-18 09:54:16 +10:00
Niels Andriesse c1548a4e51 Move files 2021-05-18 09:50:16 +10:00
Niels Andriesse dc8938c269 Move protos 2021-05-18 09:44:06 +10:00
Niels Andriesse c124f86f6b Move protos 2021-05-18 09:36:20 +10:00
Niels Andriesse 961972a723 Move protos 2021-05-18 09:34:45 +10:00
Niels Andriesse fa205c8915 Fix packages 2021-05-18 09:29:10 +10:00
Niels Andriesse c9ebcc580f Move files 2021-05-18 09:26:08 +10:00
Niels Andriesse 40d2fd25d9 Move files 2021-05-18 09:21:56 +10:00
Niels Andriesse ce3b32c03e Move files 2021-05-18 09:17:22 +10:00
Niels Andriesse a88322a033 Move files 2021-05-18 09:12:33 +10:00
Niels Andriesse e598d73539
Merge pull request #516 from Brice-W/media-saving
Fix Saving Media Files
2021-05-17 15:47:18 +10:00
Niels Andriesse 5fd99cd8f1 Fix indentation 2021-05-17 13:50:53 +10:00
Niels Andriesse 11e223f5d8 Merge branch 'dev' into open-group-invitations 2021-05-17 11:42:27 +10:00
Brice-W f5a99b43c7 Merge branch 'dev' of https://github.com/loki-project/session-android into open-group-invitations 2021-05-14 10:32:12 +10:00
Niels Andriesse 649bfee647 Fix HTTP utility 2021-05-14 08:56:54 +10:00
Niels Andriesse 1efd516eaf Fix HTTP utility 2021-05-14 08:56:08 +10:00
Niels Andriesse d9348c5442 Remove weird roundabout way of doing decryption 2021-05-13 15:27:08 +10:00
Niels Andriesse 7c5b4aafec Debug 2021-05-13 13:19:08 +10:00
Niels Andriesse 115bc9b159 Speed up path building 2021-05-13 10:31:06 +10:00
Brice-W b2a924ebf8 views created + database storage 2021-05-12 08:40:10 +10:00
jubb 8439d57115 refactor: let the periodic work run more frequently and never fail from excessive retries preventing from re-running.
remove resume pending jobs from ApplicationContext onCreate and handle in home activity's onCreate instead.

prevent some illegal argument exceptions from Random.kt by returning null if empty
2021-05-10 17:07:10 +10:00
Brice-W d98cef3c77 Merge branch 'dev' of https://github.com/loki-project/session-android into open-group-invitations 2021-05-07 09:34:24 +10:00
jubb 35aec04ac9 feat: member counts in v2 open group ConversationActivity 2021-05-05 13:52:15 +10:00
jubb fa528c47d5 Merge remote-tracking branch 'upstream/dev' into open_groups_V2
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiMessageDatabase.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateSelectionView.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateView.kt
#	libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/ClosedGroupPoller.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/DotNetAPI.kt
#	libsession/src/main/java/org/session/libsession/utilities/mentions/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/utilities/mentions/Mention.kt
2021-05-03 15:37:53 +10:00
Brice-W bb25877515 light refactor + OpenGroupUrlParser implementation & unit test 2021-05-03 14:15:39 +10:00
Brice-W 99a62d9e99 adding openGroupInvitation types in proto & class 2021-04-30 16:00:13 +10:00