Commit graph

33 commits

Author SHA1 Message Date
ryanzhao
80894bc198 suspend database when call is ended in background 2022-09-02 17:04:15 +10:00
Ryan Zhao
3cfee13768 minor refactor to prevent fake calls 2022-09-01 16:27:21 +10:00
Morgan Pretty
9859cf95a4 Attempted to fix the notification & call reporting issues
Fixed an issue where fileIds weren't correctly getting sent along with open group messages
Fixed an issue where the screens could miss updates if the device was locked with the app in the foreground and then later unlocked after receiving notifications
Added an optimisation to prevent attempting to send a message after it has been deleted
Added logic to report fake calls if the code goes down an invalid code path when handling a call (to prevent Apple blocking the app)
Delayed the core which clears notifications to increase the time the app has to handle interactions (just in case it was a race condition)
2022-07-25 17:03:09 +10:00
Morgan Pretty
3c07a2d044 Added linting for the localized strings, updated the quote & mention behaviour for the current user
Added a script and build step to error if we have localised a string in code bug don't have an entry in the localisable files
Added the logic and UI to replace the current users public key (or blinded key) with 'You' in mentions and quotes
Cleaned up some duplicate & missing localised strings
Fixed a bug where new closed groups weren't getting setup locally correctly
Updated the id truncating behaviour to always truncate from the middle
2022-07-15 18:15:28 +10:00
Morgan Pretty
8cf2a57fcc Renamed GRDBStorage to Storage (no use having the prefix anymore since the old DB is deprecated) 2022-07-01 13:08:45 +10:00
Morgan Pretty
eeccfb47d5 Fixed all of the build errors from merge, migrated Call logic, started idBlinding migration and bug fixes
Fixed some broken file paths
Fixed a couple of bugs with closed groups
Fixed a few migration issues
Fixed a bug with the ProfilePictureView in open groups (was including the open parenthesis in the initials)
Migrated the Id Blinding changes to work with GRDB
Migrated the call logic to work with GRDB
Updated the code to work the with hard fork changes
2022-06-09 18:37:44 +10:00
Ryan Zhao
fba6dbcf9b refactor to make CallKit disabled for China mainland 2022-04-21 12:07:21 +10:00
ryanzhao
343df684d9 fix race condition for callkit 2022-04-07 12:29:09 +10:00
ryanzhao
5fa63286da refactor timeout logic for calls incoming and reconnecting 2022-04-06 15:41:38 +10:00
ryanzhao
f2cfa29b21 add call related logs to log file 2022-04-05 16:35:09 +10:00
Ryan Zhao
e7c564914d makes more sense on call timeout 2022-03-24 15:05:00 +11:00
Ryan Zhao
3fb7babecb clean 2022-02-15 13:59:01 +11:00
Ryan Zhao
7d00897907 minor clean up 2022-02-14 11:21:32 +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
4560f7e122 fix unreasonable ending call actions 2021-12-02 13:30:41 +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
e504e23f92 minor fix 2021-11-19 11:50:14 +11:00
Ryan Zhao
e9f19b9c62 fix duplicated incoming call 2021-11-19 10:04:00 +11:00
Ryan Zhao
81dd4557a5 sync answer and end call message 2021-11-18 13:19:47 +11:00
ryanzhao
ee83523621 clean 2021-11-12 13:43:00 +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
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
9d42c73de1 disable add call 2021-11-10 11:17:35 +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
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