Commit Graph

196 Commits (4e471aadb085d91b8fddd791ddca27d17830ea90)

Author SHA1 Message Date
Ryan Zhao f9bb1517a1 fix an issue where closed groups stop to be updated part 1 2 years ago
ryanzhao 6cb3e1db22 add interaction for showing missed call tips if the permission is denied 2 years ago
Ryan Zhao 49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 2 years ago
Morgan Pretty 7165b9e4f6 Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Meta/AppDelegate.swift
#	SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
2 years ago
Ryan Zhao fdde7e4fe0 Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call 2 years ago
Morgan Pretty 3663e63bc7 Swapped the Config message 'filter' to a 'compactMap' because apparently that doesn't crash 2 years ago
Morgan Pretty 212c5e87aa Re-added the transaction requirement when generating the current config message 2 years ago
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
2 years ago
Ryan Zhao cef9a2a076 Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call 2 years ago
Morgan Pretty 7aa1221987 Tweaks to the ConfigurationMessage generation logic
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
2 years ago
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
2 years ago
Ryan Zhao 37614fe3d8 Merge branch 'dev' into voice-calls-2 2 years ago
Morgan Pretty d4c0acb2a7 Updated the configuration message to sync the blocked state correctly 2 years ago
Ryan Zhao a31fb7f957 Merge branch 'dev' into voice-calls-2 2 years ago
Ryan Zhao 30e1f34782 fix configuration message may include contacts that shouldn't be visible 2 years ago
Ryan Zhao b632f6a925 avoid conflicts with call beta in TSInfoMessageType 2 years ago
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 2 years ago
Ryan Zhao 5762445128 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao 60e8da3bff Merge branch 'dev' into preformance-improvement 2 years ago
Morgan Pretty af543b980b Made a couple of changes to how the ConfigurationMessage is generated and handled
Stopped configuration messages from automatically creating threads for sync'ed contacts (now they will only be created if there are messages)
Updated the ConfigurationMessage to stop truncating the list of contacts but filter the full set (also update the logic to include previously approved contacts)
2 years ago
Morgan Pretty decb946bf3 Fixed an unrecognised selector crash hidden by the conversion of Objective-C to Swift 2 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 2 years ago
Morgan Pretty 1b3f6c0ca6 Minor tweaks to the message request banner on the HomeVC
Fixed the unread message counting for message requests
Updated the message request banner to indicate the number of message requests with an unread message
Updated the message request banner to automatically disappear if the user has no unread message requests
Renamed a variable for ReadReceipt management to make it a bit more self-documenting (it looked like it would trigger a read receipt to be sent regardless of the setting)
2 years ago
Ryan Zhao 1609812e5b remove useless expiration flag in data message 2 years ago
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
2 years ago
Morgan Pretty 47314bd639 Added a notification to indicate the user has a new message request
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
2 years ago
Ryan Zhao 63e0a5285c minor refactor to prevent dead lock 2 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 2 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2 years ago
Morgan Pretty 9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
2 years ago
Ryan Zhao 5ce7aa49ee mark messages with undownloaded attachments as read as well 2 years ago
Ryan Zhao cfcd52c5bb minor refactoring to prevent crash after making a call 3 years ago
Ryan Zhao 4b38f8b3b6 improve call message showing contact name 3 years ago
Ryan Zhao 8226e2aa7b update missed call unread status 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 c820212115 extend call message ttl to 14 days 3 years ago
Ryan Zhao 6703d8c7f4 add timestamp to call message UI 3 years ago
Ryan Zhao 35f75490a4 clean 3 years ago
Ryan Zhao 9e6c81d28b improve call message UI 3 years ago
Ryan Zhao 0c2027d7c8 fix call message self send valid 3 years ago
Ryan Zhao 81dd4557a5 sync answer and end call message 3 years ago
ryanzhao ff79c58f44 update call message after a call ended 3 years ago
ryanzhao 219440f444 update call protobuf 3 years ago
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao 49688c0a2d potentially fix a crash when setting nickname from null 3 years ago
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 3 years ago
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 3 years ago