Commit Graph

126 Commits (2e67bc93743d76bc7c609df0766e0c34a281e359)

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
Morgan Pretty 531ddcb079 Replaced the GoogleWebRTC library (deprecated) with WebRTC-lib 3 years ago
Ryan Zhao 4da0ccdd44 fix an issue where current call implementation won't compile for simulators 3 years ago
Ryan Zhao 95d120266d show incoming call banner for CallKit disabled cases 3 years ago
Ryan Zhao fba6dbcf9b refactor to make CallKit disabled for China mainland 3 years ago
ryanzhao 5ebb2ceee3 fix call duration label get hidden 3 years ago
ryanzhao 343df684d9 fix race condition for callkit 3 years ago
ryanzhao 6cb3e1db22 add interaction for showing missed call tips if the permission is denied 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 7333d50825 rotate button if needed 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 54493e56ef minor fix on top & bottom margin 3 years ago
Ryan Zhao 657f91ccf9 fix mini call view (remote video view) rotation and dragging issue 3 years ago
Ryan Zhao be1767a4ba clean 3 years ago
Ryan Zhao 65d78533c9 add comments 3 years ago
Ryan Zhao 80b18f0715 fix local video view weird rotation behaviour 3 years ago
Ryan Zhao e563353842 improve video scale 3 years ago
Ryan Zhao 782dd20ddd implement screen rotation for video calls 3 years ago
Ryan Zhao 29cd6fb312 fix minor issues 3 years ago
Ryan Zhao fb99bc6abd minor refactor on the local video view to make it draggable 3 years ago
Ryan Zhao 36985f6fa7 operation panel UI fix 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 3a6d125724 minor improve on call UI 3 years ago
Ryan Zhao 6b505880fe minor improvement for small screen call UI 3 years ago
Ryan Zhao b0a9268cfd minor refactoring 3 years ago
Ryan Zhao 5e7c8513ed add call duration & update UI 3 years ago
Ryan Zhao 9e4e126ef3 add call missed tips 3 years ago
Ryan Zhao 9aad1e0e29 minor improvement 3 years ago
Ryan Zhao 44837b57e5 improve the audio output device displaying 3 years ago
Ryan Zhao 82400c6734 clean 3 years ago