Commit Graph

685 Commits (47314bd639ec8edb17728106bfd8936f32a79047)

Author SHA1 Message Date
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
3 years ago
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 3 years ago
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
3 years ago
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
3 years ago
Morgan Pretty d490cf7d19 Fixed an issue where only the first sync config message would be processed 3 years ago
RyanZhao d221a5bef9
Merge pull request #558 from mpretty-cyro/feature/pdf-preview
Added code to allow previewing PDF attachments within the app
3 years ago
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
3 years ago
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 3 years ago
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 3 years ago
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 3 years ago
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
3 years ago
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 3 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 3 years ago
Morgan Pretty 185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
3 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
3 years ago
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Morgan Pretty 16ab4be537 Merge branch 'dev' into feature/pdf-preview 3 years ago
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
3 years ago
Morgan Pretty 7f479bbca4 Merge branch 'dev' into feature/message-requests 3 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)
3 years ago
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Ryan Zhao 166fbff26c improve selected message animation for global search 3 years ago
Morgan Pretty bee36423da Fixed a couple of issue with sharing large attachments
Added back localized attachment error messages
Fixed an issue where sending an attachment could fail and the screen would be dismissed before the user had a chance to read the error
3 years ago
Morgan Pretty b85c113da6 Added code to preview PDF attachments 3 years ago
Ryan Zhao c81e0e517d fix ui issue after making unread message count 4 digits 3 years ago
Ryan Zhao 99022006da Make the unread message count 4 digits instead of 2 3 years ago
Ryan Zhao 2c7dfe6a37 fix conversation screen scrolling to bottom issue 3 years ago
Ryan Zhao 70a562344c minor issue fix 3 years ago
Ryan Zhao 8ed77435d8 update translation 3 years ago
Ryan Zhao d96d7468a4 fix read more button colour 3 years ago
Ryan Zhao 6ae84d3e37 update outgoing message text colour in light mode 3 years ago
Ryan Zhao d642d8a4ed improve image message ratio 3 years ago
Ryan Zhao bcc5da75b6 minor fix on debug mode to prevent crashing 3 years ago
Ryan Zhao 16f6d49cec add note to self to the default global search screen with empty search text 3 years ago
Ryan Zhao 124d908686 add author for group messages 3 years ago
Ryan Zhao be1fb789e8 hide recent search results behind the flag 3 years ago
Ryan Zhao e4b0ca9ebc fix `not to self` 3 years ago
Ryan Zhao d329740bd4 add clear for recent search results 3 years ago
Ryan Zhao 85c4b3d745 show recent search result as default for global search screen 3 years ago
Ryan Zhao a2db4a8330 add comments 3 years ago
Ryan Zhao 79fc9459a4 clean 3 years ago
Ryan Zhao 837b2ac157 fix a typo 3 years ago
Ryan Zhao 78af18413f show at most 500 search results 3 years ago
Ryan Zhao d583422c73 add some comments 3 years ago
Ryan Zhao 20a3b6ee26 move path button into setttings 3 years ago
Ryan Zhao 2a229bd663 minor fix 3 years ago
Ryan Zhao 68ec1654e8 rebuild global search UI 3 years ago
Ryan Zhao e718cee611 WIP: rebuild global search UI 3 years ago
Ryan Zhao 3cc6a6b7c4 add comments 3 years ago
Ryan Zhao 0ddb4f355a minor improvements on dismissing the keyboard 3 years ago