Commit graph

15828 commits

Author SHA1 Message Date
Ryan Zhao
cb127be5a2 minor clean 2022-02-21 15:44:52 +11:00
Ryan Zhao
6d99976a9c database migrate for unread mention 2022-02-21 15:28:51 +11:00
Ryan Zhao
36907d3af0 improve mention and unread message count 2022-02-21 14:49:47 +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
Ryan Zhao
16c9b7793a move pollers to background threads 2022-02-21 13:27:44 +11:00
Ryan Zhao
a86310b0f5 improve global search performance 2022-02-21 13:20:34 +11:00
Morgan Pretty
dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +11:00
Ryan Zhao
e8e120666b move message poller to back ground thread 2022-02-17 16:38:52 +11:00
Ryan Zhao
6c64d580b8 move open group polling to background thread 2022-02-17 16:38:36 +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
a8fd6d9d18 fix home screen not reloading when coming into foreground 2022-02-17 15:31:27 +11:00
Ryan Zhao
cc1b1e8c51 poll for open groups in NSE 2022-02-17 14:55:32 +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
7f8c952c66 fix notification badge 2022-02-16 16:18:49 +11:00
Ryan Zhao
37edce9a09 remove duplicated PN register/unregister 2022-02-16 14:43:41 +11:00
Ryan Zhao
f21d142a6c remove useless cache populating in NSE 2022-02-16 13:52:58 +11:00
Ryan Zhao
dd6ed7427a update pods 2022-02-16 13:27:31 +11:00
Ryan Zhao
3c9cfa9d2e Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-16 13:20:00 +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
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
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
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
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
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
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
27d9e41eaf Fixed a couple of build errors due to merging dev 2022-02-07 11:38:33 +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
69e464e8ae bump up version & build number 2022-02-03 16:33:26 +11:00
RyanZhao
a12ff0cbe2
Merge pull request #557 from RyanRory/1.11.21
Fix bugs and crashes for 1.11.21
2022-02-03 16:31:20 +11:00
Ryan Zhao
e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-03 11:02:19 +11:00
RyanZhao
8afe5b0896
Merge pull request #548 from mpretty-cyro/fix/safari-sharing
Fix issues with sharing from Safari
2022-02-03 10:52:08 +11:00
Morgan Pretty
16ab4be537 Merge branch 'dev' into feature/pdf-preview 2022-02-03 08:33:58 +11:00
Morgan Pretty
4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2022-02-03 08:32:17 +11:00
Morgan Pretty
7f479bbca4 Merge branch 'dev' into feature/message-requests 2022-02-02 17:00:40 +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
ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-02 13:33:25 +11:00
RyanZhao
b4782896b1
Merge pull request #555 from RyanRory/global-search
Global Search Phase 1
2022-02-02 13:31:30 +11:00
Ryan Zhao
166fbff26c improve selected message animation for global search 2022-02-02 11:32:37 +11:00
Ryan Zhao
5ce7aa49ee mark messages with undownloaded attachments as read as well 2022-02-01 15:12:48 +11:00
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
2022-02-01 14:55:03 +11:00
Morgan Pretty
c7e7d30dea Merge branch 'dev' into fix/safari-sharing 2022-02-01 13:57:34 +11:00