Commit graph

76 commits

Author SHA1 Message Date
Ryan Zhao 0237df8023 fix notification service extension creates duplicated call info message 2022-05-30 13:14:13 +10:00
ryanzhao 567a9befd4 prevent call info message fires multiple notification 2022-05-25 10:45:21 +10:00
Ryan Zhao 95d120266d show incoming call banner for CallKit disabled cases 2022-04-21 12:17:00 +10:00
ryanzhao f1445a2191 add missed call notification 2022-04-07 15:10:38 +10:00
ryanzhao 6cb3e1db22 add interaction for showing missed call tips if the permission is denied 2022-04-06 17:24:48 +10:00
ryanzhao 5fa63286da refactor timeout logic for calls incoming and reconnecting 2022-04-06 15:41:38 +10:00
ryanzhao 49b4c7b586 fix an edge case for callkit notification 2022-04-05 11:29:59 +10:00
Ryan Zhao 49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 2022-03-31 11:09:09 +11:00
Ryan Zhao fdde7e4fe0 Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call 2022-03-24 16:33:10 +11:00
Morgan Pretty e4def22472 Moved the Storage.write call into the self.approveMessageRequestIfNeeded call 2022-03-24 15:46:53 +11:00
Morgan Pretty 212c5e87aa Re-added the transaction requirement when generating the current config message 2022-03-24 15:34:46 +11:00
Morgan Pretty 29c53223e0 More tweaks to fix crash
Wrapped the force sync calls within their own Storage.write blocks to ensure they have the latest data and aren't accessing a transaction completed in a different thread
Reverted a number of the unneeded changes
2022-03-24 15:25:47 +11:00
Ryan Zhao e7c564914d makes more sense on call timeout 2022-03-24 15:05:00 +11:00
Morgan Pretty 5bb3bd7bc1 Cleaned up some config sync logic and allowed migrations to trigger them
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
2022-03-24 10:03:51 +11:00
Morgan Pretty 78c0d000be Removed the OWSBlockingManager replacing it with the config sync
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
2022-03-23 09:59:38 +11:00
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-02 14:31:31 +11:00
Morgan Pretty 4c89c165d8 Fixed a few bugs uncovered by QA
Fixed a bug where the ConfigurationMessage was getting generated before the contact state was persisted to the database in the message request flow causing odd behaviours (now generating the ConfigurationMessage within the same transaction)
Fixed a bug where sending a message to an existing message request thread once the message requests item has been hidden would show the message requests notification and trigger the section to re-appear on the home screen
Fixed a bug where blocked contacts weren't getting excluded from the contacts list in the configuration message
2022-02-23 17:12:57 +11:00
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-17 11:52:23 +11:00
Morgan Pretty d490cf7d19 Fixed an issue where only the first sync config message would be processed 2022-02-17 11:45:59 +11:00
Ryan Zhao 52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-16 09:37:58 +11:00
Ryan Zhao 3fb7babecb clean 2022-02-15 13:59:01 +11:00
Morgan Pretty 140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2022-02-11 13:05:10 +11:00
Ryan Zhao f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 2022-02-11 10:59:23 +11:00
Ryan Zhao 9e4e126ef3 add call missed tips 2021-11-30 15:51:15 +11:00
Ryan Zhao f3206416e0 WIP: show missed call tips 2021-11-30 13:46:53 +11:00
Ryan Zhao 2000297a5f Add missed call message for call offer messages from more than one minute 2021-11-29 16:55:29 +11:00
Ryan Zhao 570c3fbe3b add ringtone and other UI improvement 2021-11-29 16:32:02 +11:00
Ryan Zhao 9e6c81d28b improve call message UI 2021-11-29 12:10:33 +11:00
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 2021-11-26 16:57:57 +11:00
Ryan Zhao e9f19b9c62 fix duplicated incoming call 2021-11-19 10:04:00 +11:00
Ryan Zhao bf33030d9a minor fix for handling calls on linked device 2021-11-18 15:24:53 +11:00
Ryan Zhao 81dd4557a5 sync answer and end call message 2021-11-18 13:19:47 +11:00
ryanzhao 716378ccd3 handle offer message might come in earlier than pre offer message 2021-11-12 16:24:47 +11:00
ryanzhao d8021f6d6b clean 2021-11-12 13:33:19 +11:00
ryanzhao edffbe7d4c fix data channel and uuid check 2021-11-12 13:32:27 +11:00
ryanzhao 02d0499618 seperate CallKit uuid from session call id 2021-11-12 09:17:06 +11:00
ryanzhao 9346864843 end call if there is no answer in 60s 2021-11-11 16:51:54 +11:00
ryanzhao fa79124bb7 minor refactoring & handle network change 2021-11-11 16:09:39 +11:00
ryanzhao 336c694b52 refactoring on showing call ip exposure 2021-11-11 12:12:12 +11:00
ryanzhao da14539639 handle busy 2021-11-11 11:09:52 +11:00
ryanzhao 248a02e1e9 minor fix 2021-11-10 14:31:02 +11:00
ryanzhao 2942168030 fix call kit not working when the screen is locked 2021-11-10 11:13:37 +11:00
ryanzhao ff79c58f44 update call message after a call ended 2021-11-09 16:05:23 +11:00
ryanzhao f019fe7733 use CallKit for all cases 2021-11-09 11:53:38 +11:00
ryanzhao 888df37581 fix call connection 2021-11-08 15:09:45 +11:00
ryanzhao bef20e2f9a refactor for CallKit 2021-11-08 09:12:18 +11:00
ryanzhao 6f78d6dfbe refactoring for CallKit 2021-11-03 15:31:50 +11:00
ryanzhao 4db87992b2 refactor for voip push notification 2021-10-29 15:22:23 +11:00
ryanzhao 0ef7bdc9ce refactor to plug in callkit 2021-10-28 17:02:41 +11:00
ryanzhao a8b8207154 clean 2021-10-14 10:30:20 +11:00