Commit Graph

15895 Commits

Author SHA1 Message Date
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 6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 2022-02-22 11:42:11 +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 dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +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
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-17 11:52:23 +11:00
Morgan Pretty 42761d65c9 Merge remote-tracking branch 'upstream/dev' into dev 2022-02-17 11:51:10 +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
Ryan Zhao d7303b3916 update podfile.lock 2022-02-16 13:18:09 +11:00
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 2022-02-16 13:17:56 +11:00
Ryan Zhao 8cd44ccb98 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-16 11:21:09 +11:00
RyanZhao d221a5bef9
Merge pull request #558 from mpretty-cyro/feature/pdf-preview
Added code to allow previewing PDF attachments within the app
2022-02-16 11:20:33 +11:00
Ryan Zhao 27a4f20395 fix function name conflicts 2022-02-16 10:22:50 +11:00
Ryan Zhao 56d4d8e674 bump up version & build number 2022-02-16 10:15:26 +11:00
Ryan Zhao c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 2022-02-16 09:38:52 +11:00
Ryan Zhao 52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-16 09:37:58 +11:00
RyanZhao 38fc71f54a
Merge pull request #562 from RyanRory/voice-call-bug-fix-1
Call bug fix 1
2022-02-16 09:33:32 +11:00
RyanZhao a333fe2960
Merge pull request #561 from mpretty-cyro/fix/share-text-file-and-share-dark-mode
Fixed a couple of bugs with the share extension
2022-02-16 09:32:47 +11:00
Ryan Zhao 3fb7babecb clean 2022-02-15 13:59:01 +11:00
Ryan Zhao 7333d50825 rotate button if needed 2022-02-15 10:12:12 +11:00
Morgan Pretty 051f03f4b4 PR comments and a few missed use cases
Disabled the attachments and voice message buttons for the first message
Disabled the Disappearing Messages flag for the until the conversation is approved
Fixed a bug where the recipient of a message request could incorrectly get the 'pending approval' state
Refactored some standard auto layout code to use the custom extension code
2022-02-14 17:49:08 +11:00
Ryan Zhao 132254ee97 message bubble corner fix for link preview & open group invitation 2022-02-14 16:50:58 +11:00
Ryan Zhao 63e0a5285c minor refactor to prevent dead lock 2022-02-14 16:34:22 +11:00
Ryan Zhao 7d00897907 minor clean up 2022-02-14 11:21:32 +11:00
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 2022-02-14 10:02:33 +11:00
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 2022-02-14 09:54:17 +11:00
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 2022-02-11 17:17:09 +11:00
Morgan Pretty 140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2022-02-11 13:05:10 +11:00
Ryan Zhao 83c7283a76 remove redundant turn servers and reduce turn servers connections to 2 2022-02-11 11:32:21 +11:00
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2022-02-11 11:26:04 +11:00
Ryan Zhao f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 2022-02-11 10:59:23 +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
Ryan Zhao 54493e56ef minor fix on top & bottom margin 2022-02-09 15:42:36 +11:00
Ryan Zhao 36444f9e4c minor fix 2022-02-09 15:30:47 +11:00
Ryan Zhao 657f91ccf9 fix mini call view (remote video view) rotation and dragging issue 2022-02-09 15:27:19 +11:00
Ryan Zhao be1767a4ba clean 2022-02-08 14:14:33 +11:00
Ryan Zhao 65d78533c9 add comments 2022-02-08 13:43:53 +11:00
Ryan Zhao 80b18f0715 fix local video view weird rotation behaviour 2022-02-08 13:35:17 +11:00
Ryan Zhao e563353842 improve video scale 2022-02-08 12:08:01 +11:00
Ryan Zhao 782dd20ddd implement screen rotation for video calls 2022-02-08 11:04:18 +11:00
Morgan Pretty 27d9e41eaf Fixed a couple of build errors due to merging dev 2022-02-07 11:38:33 +11:00
Ryan Zhao 795a541805 reverse the send message background colour change 2022-02-04 14:27:39 +11:00
Ryan Zhao d8401165cc bump up version & build number 2022-02-04 14:23:27 +11:00
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-04 14:21:54 +11:00
Morgan Pretty 185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-04 11:51:51 +11:00
Morgan Pretty 67d2a13dfb Ran pod install to update the Podfile.lock 2022-02-04 11:50:57 +11:00
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +11:00
Ryan Zhao a61e99216d update pods 2022-02-04 11:04:39 +11:00
Ryan Zhao 64374bb59e Revert "update pods for merge"
This reverts commit 6cb571bb1b.
2022-02-04 11:01:41 +11:00