Commit Graph

183 Commits

Author SHA1 Message Date
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 2022-03-09 11:33:18 +11:00
Ryan Zhao 5762445128 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-08 17:10:40 +11:00
Ryan Zhao 60e8da3bff Merge branch 'dev' into preformance-improvement 2022-03-08 11:08:45 +11:00
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)
2022-03-07 10:22:46 +11:00
Morgan Pretty decb946bf3 Fixed an unrecognised selector crash hidden by the conversion of Objective-C to Swift 2022-03-04 17:17:58 +11:00
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-02 14:31:31 +11:00
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 2022-03-02 10:53:42 +11:00
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)
2022-03-01 17:25:53 +11:00
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-25 14:58:20 +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 582ff0997a Fixed a couple of crashes and added some mock data generation logic
Possibly fixed a crash due to a database deadlock
Fixed a crash when the first message requests gets added if there are no other threads
Added code to generate a bunch of random thread data (Needs some testing to ensure no data leaves the device)
2022-02-22 15:51:17 +11:00
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
2022-02-21 14:48:53 +11:00
Morgan Pretty 3639a21bc8 Fixed bugs raised by QA
Added some missing localised strings
Prevented 'Read' and 'Typing' indicators from functioning on Message Requests
Prevented link previews on the first message of a message request
Added a confirmation alert when trying to clear all message requests
Added a confirmation alert when trying to delete a message request
Added an empty state to the MessageRequestsViewController
Updated the back behaviour of the ConversationVC to behave more nicely with approving/declining message requests
Updated the OWSBlockingManager to also update the stored contacts 'isBlocked' flag to match
2022-02-17 16:29:14 +11:00
Ryan Zhao cc1b1e8c51 poll for open groups in NSE 2022-02-17 14:55:32 +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
Morgan Pretty 56bdee3919 Updated the message request processing to handle both 'didApproveMe' and 'isApproved' contact flags 2022-02-17 11:40:35 +11:00
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 2022-02-11 10:47:27 +11:00
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)
2022-02-02 16:59:56 +11:00
Ryan Zhao 4658e76d46 fix linked device answering/ending call issues 2021-12-06 16:02:54 +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 0a3d84d5c8 WIP: Call message Ui improvements 2021-11-26 16:57:57 +11:00
Ryan Zhao 78971b7d09 ignore call messages over 60s 2021-11-25 16:50:30 +11:00
Ryan Zhao 561cf98e6b Merge branch '1.11.19' into voice-calls-2 2021-11-23 14:35:37 +11:00
Ryan Zhao 5a5741f47b Group notifications from background polling 2021-11-23 11:05:04 +11:00
Ryan Zhao a8dd010b06 Merge branch '1.11.19' into voice-calls-2 2021-11-22 09:33:27 +11:00
Ryan Zhao e9f19b9c62 fix duplicated incoming call 2021-11-19 10:04:00 +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 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 ff79c58f44 update call message after a call ended 2021-11-09 16:05:23 +11:00
ryanzhao 6f78d6dfbe refactoring for CallKit 2021-11-03 15:31:50 +11:00
ryanzhao dbcc158337 fix unsend bugs 2021-10-27 13:51:19 +11:00
ryanzhao 18a9768167 filter other call messages 2021-10-25 13:51:41 +11:00
ryanzhao fbe5b12c9d WIP: incoming call banner 2021-10-06 17:00:12 +11:00
ryanzhao 219440f444 update call protobuf 2021-10-05 13:41:39 +11:00
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-10-05 09:39:15 +11:00
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 2021-10-04 14:39:28 +11:00
ryanzhao 3a84593de9 fix profile key crash & typo 2021-09-30 09:20:20 +10:00
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 2021-09-29 17:22:37 +10:00
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 2021-09-20 12:00:06 +10:00
ryanzhao bfc1e96c9d Merge branch 'sync-read' into bug-fixes 2021-09-16 14:56:04 +10:00
ryanzhao d4067eb39d mark previous messages as read if there is a sync message 2021-09-16 10:20:18 +10:00
ryanzhao 50465c04bf fix a crash where the configuration message contacts info may contain invalid profile key 2021-09-15 16:43:49 +10:00
ryanzhao 140676fdaf fix expiration sync messages show display name rather than "You" 2021-09-14 14:32:39 +10:00
ryanzhao f08d0470e5 expire sync messages if needed 2021-09-10 13:48:07 +10:00
Niels Andriesse baf9e4e9d4 Add ringing UI 2021-08-18 13:07:15 +10:00