Commit Graph

1291 Commits

Author SHA1 Message Date
jubb f05487f925 feat: adding call messages for incoming/outgoing/missed 2021-11-23 17:59:02 +11:00
jubb 5fbace70b5 feat: handle discarding pending calls from linked devices 2021-11-22 16:58:28 +11:00
Harris 6100111b3b refactor: discard offer messages from non-matching pre-offers we are already expecting 2021-11-19 16:09:11 +11:00
Harris 8e56f76fc1 feat: add pre-offer information and action handling in web rtc call service 2021-11-19 16:04:28 +11:00
Harris 276f808ca3 fix: bluetooth auto-connection and re-connection fixes, removing finished todos, allowing self-send call messages for deduping answers 2021-11-18 16:19:09 +11:00
Harris 23e644150a fix: incoming ringer fix on receiving call, call notification priorities and notification channel update 2021-11-17 15:46:45 +11:00
Harris ad9cd8b231 fix: don't display call option in conversation and don't show notification if option not enabled 2021-11-17 14:22:33 +11:00
Harris 98a50cbf69 feat: add call related permissions and more network handover tests 2021-11-17 12:51:15 +11:00
jubb bf74483b9f feat: add fixes to bluetooth and begin the network renegotiation 2021-11-15 18:02:55 +11:00
jubb b6c53b4964 feat: updating call layout 2021-11-12 17:07:39 +11:00
jubb 3d0e5541d0 feat: ringers and better state handling 2021-11-12 12:21:05 +11:00
jubb 3684457280 fix: fixing call connect flows 2021-11-10 17:44:23 +11:00
jubb 99b6a38b90 feat: call establishing and displaying 2021-11-10 11:57:03 +11:00
jubb 2e973146a3 feat: some connection and service launching / ring lifecycle 2021-11-09 17:15:22 +11:00
jubb 3e4bab678b fix: add timestamp to incoming call 2021-11-08 17:36:37 +11:00
jubb a0e604dbaf feat: hooking up calls and fixing broken dependencies and compile errors 2021-11-08 17:32:25 +11:00
jubb 3755315b4c feat: adding remainder of basic functionality to services and CallManager.kt 2021-11-05 16:35:40 +11:00
jubb f069d35b14 feat: more commands handled, adding lock manager and bluetooth permissions 2021-11-05 14:36:25 +11:00
jubb de4d8e9be4 feat: adding more command handlers in WebRtcCallService.kt 2021-11-04 17:14:07 +11:00
jubb 5cff5ffb45 feat: adding more lifecycle vm and callmanager / call service functionality 2021-11-04 12:07:06 +11:00
jubb 2e3f46ff9f feat: implementing more WebRtcCallService.kt functions and handlers for actions as well as lifecycle 2021-11-03 17:09:21 +11:00
jubb 1af9b8ba46 feat: plugging CallManager.kt into view model and service, fixing up dependencies 2021-10-29 16:41:01 +11:00
jubb 71bb04cb34 refactor: moving call code around to service and viewmodel interactions 2021-10-28 17:06:14 +11:00
jubb a3cfd7f03b feat: update kotlin and add in call view model and more management functions 2021-10-28 12:08:02 +11:00
jubb ea9b35f229 Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
2021-10-28 10:14:26 +11:00
jubb f2f906fd3e refactor: closed groups delete for yourself and handle unsend request if it's from yourself or author now 2021-10-27 17:26:44 +11:00
jubb 7ed29cc7d8 feat: audio manager call service boilerplate 2021-10-27 15:50:00 +11:00
jubb 40d9386a81 feat: adding ringers and more audio boilerplate 2021-10-27 12:05:09 +11:00
Harris cbfabdd0a7 feat: add call manager and more static intent building functions for WebRtcCallService.kt 2021-10-26 17:12:25 +11:00
Harris 40cca532c2 feat: adding call service functionality and permissions for calls 2021-10-25 18:18:47 +11:00
Harris 0d62057de3 refactor: playing around with deps and transport types 2021-10-22 13:11:23 +11:00
Harris b089da82c5 feat: add stun and turn 2021-10-22 09:48:32 +11:00
Harris 97de286896 feat: update to utilise call ID 2021-10-22 08:52:57 +11:00
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
2021-10-21 14:19:20 +11:00
Harris 00d6ce76b5 fix: contacts without stored profile information display similar to closed groups for unsend 2021-10-19 11:13:15 +11:00
Harris 0b062074b1 feat: switch unsend flag 2021-10-19 10:33:15 +11:00
Harris f87fb2b9bb
Merge pull request #767 from hjubb/incognito_keyboard
Use incognito keyboard based on privacy preference in app
2021-10-13 22:33:52 +00:00
Harris 0755f0b953 fix: conversationListNotificationHandler initialized in getter if null and removed from onCreate 2021-10-12 14:32:06 +11:00
Harris 13dc28231d fix: respect the incognito flag in the user's preferences 2021-10-11 14:38:10 +11:00
Harris e8a2bbe76d fix: saving log external instead of session blob 2021-10-08 16:43:45 +11:00
Harris a55c9a969b refactor: replace settings string for sharing logs, change extension to .txt to make things easier 2021-10-08 14:01:13 +11:00
Harris 37f9ef3b1a Merge branch 'dev' into restore_log_report
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
2021-10-06 14:57:51 +11:00
Harris 678d8094a1
Merge pull request #739 from ianmacd/pr1
Display the service node's IP address after its country.
2021-10-06 02:43:23 +00:00
Harris 91b876589a refactor: move db module init before injection and replace ApplicationContext db component access to static function to get the component 2021-10-05 10:58:02 +11:00
Harris d130ba5432 fix: oom from too many db instances, adding singletons to limit object creation 2021-10-04 19:02:20 +11: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
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
Harris b853015a2c refactor: removing and replacing dagger 1 dep with android hilt 2021-09-28 11:00:54 +10:00
Harris c21a75c880 feat: finish share log dialog 2021-09-23 15:47:43 +10:00
Harris a295cc384c feat: add share logs dialogs into settings activity 2021-09-23 13:49:32 +10:00
Harris 17b58b09e3 feat: add persistent logger and integrate it to the loggers initialization 2021-09-23 10:27:57 +10:00
Ian Macdonald 7b3035104d
Display the service node's IP address after its country. 2021-09-22 10:12:39 +02:00
Harris abad9e81c1 fix: add keep screen on and more end call message on back pressed / on finish 2021-09-22 10:39:45 +10:00
Harris c5bd866e8e Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
2021-09-21 14:53:03 +10:00
Harris b3a850a876 feat: instantly scroll to bottom if already smooth scrolling on button tap
fixes #736
2021-09-21 14:50:25 +10:00
Harris 00c2642b47
Merge pull request #731 from hjubb/self_messages_display_read
Display threads as read from sync'd multi-device messages
2021-09-21 04:05:33 +00:00
Harris b61613ed09
Merge pull request #725 from hjubb/multi_device_expiry
Fix expiry from self-sent messages via linked device
2021-09-21 00:17:24 +00:00
Harris 4533a25a3c
Merge pull request #729 from hjubb/copy_url_link
Allow copying URL from conversation
2021-09-21 00:13:59 +00:00
Harris ecf2308e84 feat: add survey button 2021-09-17 16:44:32 +10:00
Harris cb5b9cc575 fix: display threads as read when the last message is from us triggered by multi device
purely visual in the ConversationView's bind() method
2021-09-15 16:55:51 +10:00
Harris 77f02a5917 fix: copy message fixed for single messages 2021-09-15 11:04:43 +10:00
Harris 792dc2752c fix: remove bottom padding in layout 2021-09-14 14:15:40 +10:00
Harris 790436bad8 refactor: change the "copy" text to "copy URL" for added context 2021-09-14 14:14:42 +10:00
Harris 66e95787a2 feat: add bottom sheet modal url with copy option 2021-09-14 10:27:34 +10:00
Harris 287fa9918c feat: add relay toggle for answer and offer 2021-09-14 09:23:10 +10:00
Harris f6eafccd7b Merge remote-tracking branch 'upstream/dev' into rtc_calls 2021-09-13 14:01:31 +10:00
Harris 3c96083d59 Merge remote-tracking branch 'upstream/dev' into multi_device_expiry 2021-09-13 13:46:19 +10:00
Harris 2b6107d868 fix: expiring messages across multi-device 2021-09-13 13:45:55 +10:00
Harris ef3d2bb28f
Merge pull request #719 from hjubb/date_break_improvement
Improve date breaks in messages
2021-09-08 04:51:30 +00:00
Harris 148a71a378 feat: add call stats report on frontend 2021-09-07 16:12:37 +10:00
Harris 459dfa72c2 feat: hanging up and bottom sheet behaviors should work now 2021-09-06 17:06:03 +10:00
Harris b3576336d9 feat: add stats and starting call bottom sheet 2021-09-06 09:15:48 +10:00
Harris b1535940f9 refactor: move the set has seen to positive button handler 2021-09-03 13:53:49 +10:00
Harris 3dd2a83dd0 feat: adding UI and flipping cameras 2021-09-02 17:39:02 +10:00
Harris b648a3cf65 Merge branch 'dev' into rtc_calls
# Conflicts:
#	app/build.gradle
2021-09-02 11:24:26 +10:00
Harris ded0370e8e feat: add gif metadata warning 2021-09-02 10:19:43 +10:00
Harris 49b164a8c5 feat: make date breaks more dynamic, spaced out in five minute clusters 2021-09-02 09:27:23 +10:00
Harris 6a36ae538d Merge remote-tracking branch 'upstream/dev' into dev 2021-09-01 14:23:06 +10:00
Harris 7bcfb56127 build: adding latest strings 2021-09-01 13:56:11 +10:00
Harris 0120eb3fad
Merge pull request #714 from warrickct/quote-cutoff-fix
Fixing quote cutoff when font is too large.
2021-08-31 06:14:33 +00:00
Harris 7c3dc7e7bc refactor: instrumentation for clipboard test was failing on smaller screen devices running the tests 2021-08-31 14:21:48 +10:00
Harris 9e5e137919 feat: added basic call functionality 2021-08-30 16:39:47 +10:00
Warrick Corfe-Tan 0539ca412d constrain min size for cancel button when drafting a quote reply. 2021-08-26 15:29:34 +10:00
Warrick Corfe-Tan 5936efea53 Fixing quote cutoff when font is too large. 2021-08-26 10:38:05 +10:00
Harris 68d0d5749f Merge branch 'dev' into rtc_calls 2021-08-20 16:25:56 +10:00
Harris 873fb6b578 fix: clear notifications properly on muted groups 2021-08-20 16:09:44 +10:00
Niels Andriesse 4bc9bdea73
Merge pull request #711 from hjubb/bottom_sheet_conversation
Allow Messaging from User details sheet
2021-08-20 15:58:14 +10:00
Harris 74cd42d659 more testing code 2021-08-20 09:14:54 +10:00
Harris 9340c01af2 feat: adding basic webrtc deps and test activity 2021-08-19 14:55:20 +10:00
Harris 021d81ab98 refactor: alignment 2021-08-19 13:45:57 +10:00
Harris 7ac340b3ca refactor: remove unused constant 2021-08-19 13:44:38 +10:00
Harris ef8cdf3127 fix: handle bundling properly with the messageIdTag check 2021-08-19 12:24:28 +10:00
Harris 975076cb5c fix: bundled notification no longer notifies on mentions only 2021-08-19 12:14:21 +10:00
Harris 1f3db80d36 fix: only show notification settings if the contact is not muted and a group 2021-08-18 12:15:49 +10:00
Harris ea71334524 Merge remote-tracking branch 'upstream/dev' into conversation_camera_improvement 2021-08-18 12:12:02 +10:00
ryanzhao b03ba5bfa7 clean 2021-08-17 16:16:17 +10:00
ryanzhao d9eb2c7585 don't show delete options for old messages 2021-08-17 15:11:53 +10:00
ryanzhao ecc881bc7c store server hash value for incoming messages 2021-08-17 14:34:49 +10:00
ryanzhao c4a3463416 send unsend request to self only for delete locally 2021-08-17 12:17:40 +10:00
ryanzhao b9dd229207 add a flag to disable unsend requests 2021-08-16 15:09:12 +10:00
ryanzhao 144992d817 Merge branch 'dev' of https://github.com/oxen-io/session-android into unsend-request 2021-08-16 14:38:39 +10:00
Harris dbec5ad53c fix: fixing the message dismissal of notifications for threads upon activity resume. using media send activity's camera intent for consistency 2021-08-16 14:05:49 +10:00
ryanzhao e8551a3545 improve delete option ui 2021-08-16 12:08:35 +10:00
ryanzhao 4ce1bd6875 clean 2021-08-16 11:59:52 +10:00
ryanzhao ee3e9ae17f delete outgoing message for linked device 2021-08-16 09:58:28 +10:00
ryanzhao 064e509992 fix a minor issue for closed group 2021-08-13 16:33:30 +10:00
ryanzhao cb59a1af2d minor fix 2021-08-13 15:49:05 +10:00
ryanzhao aad58043d3 add UI options for delete messages 2021-08-13 15:30:26 +10:00
Harris 266ed2fa78 feat: allow opening conversation thread from UserDetailsBottomSheet.kt
refactor the copy button logic to occur when long pressing the Session ID text to fix #517
2021-08-12 17:50:35 +10:00
ryanzhao 4f89c33676 fix a issue that the unread count can be negative 2021-08-12 16:37:53 +10:00
Harris 7e791d63dc fix: other view types have clickable links, clickable links in the long message. Ordering of highlight mentions before getting clickable spans
fixes #664
2021-08-12 15:36:08 +10:00
ryanzhao 9dcc5dd848 disable interaction for deleted messages 2021-08-12 15:01:48 +10:00
ryanzhao 9ab285c3be handle home screen update for unsend request 2021-08-12 14:14:37 +10:00
ryanzhao 8b6b02911f handle database for message deleted by unsend request 2021-08-12 11:43:33 +10:00
ryanzhao 23a61299ac bind deleted message view 2021-08-11 16:35:48 +10:00
ryanzhao 77b5b3ab01 deleted message bubble ui 2021-08-11 15:36:13 +10:00
ryanzhao 0000aa0d13 delete locally after successfully delete remotely 2021-08-11 15:24:33 +10:00
ryanzhao af6c19690b send unsend request & delete remotely 2021-08-11 15:17:53 +10:00
ryanzhao c3e45a308a store server hash 2021-08-10 16:42:15 +10:00
ryanzhao bf83f9b391 WIP: message receiver handler for unsend request 2021-08-10 16:00:06 +10:00
Harris bf6c2d29f1 fix: Home activity crash handling from the seed view optimisations. added tests for that plus rendering URL crash 2021-08-09 10:06:58 +10:00
jubb aaa20df5a5 fix: use the HttpUrl parsed URL instead because of IDN's handling of toASCII 2021-08-03 16:43:17 +10:00
Niels Andriesse 11928ce072
Merge pull request #690 from hjubb/startup_performance
Startup Performance Improvements
2021-08-03 15:48:25 +10:00
jubb 71d186ad59 fix: ASCIIfy the URL open dialog's content. fixes #681 2021-08-03 14:32:34 +10:00
jubb e064a6d7c3 refactor: move glide assignment into bind 2021-08-03 13:42:15 +10:00
jubb 9b48d5d203 refactor: use simpler way to generate closed group profile pictures, limit the getConversation call in MentionManagerUtilities.kt to 200 to improve link-through performance to v2 conversation activity. fix notify type not being preloaded into settings 2021-08-03 13:36:04 +10:00
jubb dd01b2968f fix: startup performance fixes 2021-08-02 16:59:55 +10:00
Niels Andriesse a5613bf9dc
Merge pull request #683 from hjubb/media_repo_npe
Fix Gallery Crash
2021-07-30 13:51:15 +10:00
jubb 072ea41b46 refactor: re-add thread ID for mentions, fix path resolver call
refactor: re-add thread ID for mentions, fix path resolver call
2021-07-30 13:46:57 +10:00
jubb 22905787f6 refactor: move when resumed to started 2021-07-30 11:00:53 +10:00
jubb 7890f5bd44 refactor: revert DB change experimentation from latest version 2021-07-30 10:50:58 +10:00
jubb 7bf3b7a033 refactor: quotes also render for mention only notification style, fix mention manager not having public keys for conversations on load 2021-07-30 10:30:04 +10:00
jubb 270af061d6 fix: link preview works properly from new intent or draft 2021-07-30 10:05:07 +10:00
jubb 2a2d97be4c fix: revert simplified sendSingleThreadNotification that wasn't bundling properly, add mentions properly resolving by adding cache call 2021-07-30 09:54:16 +10:00
jubb 0ed7b28b6b refactor: performance experiments 2021-07-29 17:02:58 +10:00
Harris 9d9f543c3b feat: trying upgrade DB for perf and reducing retry interval to congest threads 2021-07-29 08:56:34 +10:00
Harris 18d8261e33 refactor: move resource heavy functions into launch lifecycle scope 2021-07-28 09:33:57 +10:00
Niels Andriesse 49d0d13a5a
Merge pull request #677 from hjubb/ux_improvements
Small UI/UX Improvements
2021-07-26 15:49:26 +10:00
Harris 69e10caa10 refactor: revert glide cache strategy for separate task 2021-07-26 15:26:55 +10:00
Harris 2d82e48a04 fix: fresh install not updating notification type column in table 2021-07-26 15:07:47 +10:00
Harris 2becf9fabe refactor: only display notification settings when the conversation is unmuted, notify the conversation list listeners when notify settings are updated 2021-07-26 14:50:43 +10:00
Harris 0d0089e3d6 refactor: visible message view and user details bottom sheet updates individual recipient. Remove "none" notifications style 2021-07-26 13:44:04 +10:00
Niels Andriesse 1e54e3ef75 Make copy consistent 2021-07-26 11:35:58 +10:00
Niels Andriesse c05c6049d7
Merge pull request #675 from hjubb/notification_control
Fine-Grained Notification controls
2021-07-26 11:30:19 +10:00
Niels Andriesse 517291c021
Merge pull request #666 from hjubb/lazy_db_instantiation
Startup Time Improvements Part 1
2021-07-26 11:26:01 +10:00
Niels Andriesse ea5a41af52
Merge pull request #676 from oxen-io/authentication
Implement Authenticated Message Retrieval
2021-07-26 11:25:12 +10:00
Niels Andriesse d79d236580 Implement authenticated message retrieval 2021-07-26 11:23:58 +10:00
Harris 285d5a6c22 Merge remote-tracking branch 'upstream/dev' into notification_control 2021-07-26 09:38:11 +10:00
Harris 716dbccb9f feat: add muted forever to ConversationActivityV2.kt 2021-07-26 09:37:39 +10:00
Harris 3c6b1eff44 fix: open groups update the sent timestamp locally to be the returned group 2021-07-23 16:04:18 +10:00