Commit Graph

54 Commits (29dd85ebe7450a607fba9bf89c9449b24e55854d)

Author SHA1 Message Date
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)
3 years ago
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
3 years ago
Morgan Pretty 4afddd6fbb Fixed a number of reported bugs, some cleanup, added animated profile support
Added support for animated profile images (no ability to crop/resize)
Updated the message trimming to only remove messages if the open group has 2000 messages or more
Updated the message trimming setting to default to be on
Updated the ContextMenu to fade out the snapshot as well (looked buggy if the device had even minor lag)
Updated the ProfileManager to delete and re-download invalid avatar images (and updated the conversation screen to reload when avatars complete downloading)
Updated the message request notification logic so it will show notifications when receiving a new message request as long as the user has read all the old ones (previously the user had to accept/reject all the old ones)
Fixed a bug where the "trim open group messages" toggle was accessing UI off the main thread
Fixed a bug where the "Chats" settings screen had a close button instead of a back button
Fixed a bug where the 'viewsToMove' for the reply UI was inconsistent in some places
Fixed an issue where the ProfileManager was doing all of it's validation (and writing to disk) within the database write closure which would block database writes unnecessarily
Fixed a bug where a message request wouldn't be identified as such just because it wasn't visible in the conversations list
Fixed a bug where opening a message request notification would result in the message request being in the wrong state (also wouldn't insert the 'MessageRequestsViewController' into the hierarchy)
Fixed a bug where the avatar image wouldn't appear beside incoming closed group message in some situations cases
Removed an error log that was essentially just spam
Remove the logic to delete old profile images when calling save on a Profile (wouldn't get called if the row was modified directly and duplicates GarbageCollection logic)
Remove the logic to send a notification when calling save on a Profile (wouldn't get called if the row was modified directly)
Tweaked the message trimming description to be more accurate
Cleaned up some duplicate logic used to determine if a notification should be shown
Cleaned up some onion request logic (was passing the version info in some cases when not needed)
Moved the push notification notify API call into the PushNotificationAPI class for consistency
3 years ago
Morgan Pretty 8cf2a57fcc Renamed GRDBStorage to Storage (no use having the prefix anymore since the old DB is deprecated) 3 years ago
Morgan Pretty a998cadbb7 Fixed the broken unit tests
Fixed a few bugs uncovered by the unit tests
3 years ago
Morgan Pretty 4133a49a34 Made a couple of tweaks to the GRDBStorage interface
Updated the ControlMessageProcessRecord to allow for duplicate handling of UnsendRequest messages
3 years ago
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
3 years ago
Ryan Zhao fba6dbcf9b refactor to make CallKit disabled for China mainland 3 years ago
ryanzhao 343df684d9 fix race condition for callkit 3 years ago
ryanzhao 5fa63286da refactor timeout logic for calls incoming and reconnecting 3 years ago
ryanzhao f2cfa29b21 add call related logs to log file 3 years ago
Ryan Zhao 07c18927f2 minor fix to prevent redundant offer 3 years ago
Ryan Zhao 9df52a0a89 implement new approach for call reconnection 3 years ago
Ryan Zhao e7c564914d makes more sense on call timeout 3 years ago
Ryan Zhao 952a3d3414 minor fix for merging 3 years ago
Ryan Zhao 3fb7babecb clean 3 years ago
Ryan Zhao 7d00897907 minor clean up 3 years ago
Ryan Zhao f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 3 years ago
Ryan Zhao e413b9da86 enable calls 3 years ago
ryanzhao f2e3ae909f disable making calls 3 years ago
Ryan Zhao 71e6ccd94b add flag for enable/disable call function 3 years ago
Ryan Zhao 4658e76d46 fix linked device answering/ending call issues 3 years ago
Ryan Zhao cfcd52c5bb minor refactoring to prevent crash after making a call 3 years ago
Ryan Zhao 4560f7e122 fix unreasonable ending call actions 3 years ago
Ryan Zhao a75ecb30db minor fix 3 years ago
Ryan Zhao 8cab6d1013 show short session id for callee/caller name 3 years ago
Ryan Zhao 82400c6734 clean 3 years ago
Ryan Zhao 570c3fbe3b add ringtone and other UI improvement 3 years ago
Ryan Zhao 9e6c81d28b improve call message UI 3 years ago
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 3 years ago
Ryan Zhao e504e23f92 minor fix 3 years ago
Ryan Zhao e9f19b9c62 fix duplicated incoming call 3 years ago
Ryan Zhao 81dd4557a5 sync answer and end call message 3 years ago
ryanzhao 95c8606408 deal with audio I/O change 3 years ago
ryanzhao 716378ccd3 handle offer message might come in earlier than pre offer message 3 years ago
ryanzhao ee83523621 clean 3 years ago
ryanzhao 925bc8538c minor refactor on answering call logic 3 years ago
ryanzhao 02d0499618 seperate CallKit uuid from session call id 3 years ago
ryanzhao 9346864843 end call if there is no answer in 60s 4 years ago
ryanzhao fa79124bb7 minor refactoring & handle network change 4 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 4 years ago
ryanzhao da14539639 handle busy 4 years ago
ryanzhao 18afb4ae1c fix call kit UI audio nor working 4 years ago
ryanzhao 248a02e1e9 minor fix 4 years ago
ryanzhao 9d42c73de1 disable add call 4 years ago
ryanzhao 2942168030 fix call kit not working when the screen is locked 4 years ago
ryanzhao ff79c58f44 update call message after a call ended 4 years ago
ryanzhao f019fe7733 use CallKit for all cases 4 years ago
ryanzhao 888df37581 fix call connection 4 years ago
ryanzhao bef20e2f9a refactor for CallKit 4 years ago