Commit Graph

77 Commits (ae7abf6fc1457d9fc46c6e556405bc73721c774b)

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 cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
3 years ago
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
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 16f6d49cec add note to self to the default global search screen with empty search text 3 years ago
Ryan Zhao 3a626ed80a fix a deadlock issue 3 years ago
ryanzhao fed1218538 WIP: global search UI 3 years ago
Morgan Pretty 3b07be4eed Fixed a couple of crashes
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
3 years ago
Ryan Zhao 1cc2f17469 pin conversations 4 years ago
ryanzhao 1899a3fe3d fix sharing not work for session 4 years ago
ryanzhao 42d4e07724 add @ symbol when there is mention in unread messages 4 years ago
Niels Andriesse 556e13cc72 Fix crash 4 years ago
Ryan Zhao 38a19ad2d1 don't add badge for messages with no mention 4 years ago
Niels Andriesse 483ed4792f Fix localization & clean 4 years ago
ryanzhao f0d2826403 add thread flag for only notifying mentiongs 4 years ago
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 4 years ago
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
4 years ago
Brice-W 2f0fe36905 add expiration timer to configuration message 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Ryan ZHAO fa13778d70 fix the badge number for muted threads 4 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
nielsandriesse 21acdfc835 Clean up thread model 4 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 4 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 4 years ago
Niels Andriesse f7613e09bf Convert remaining file server usages 4 years ago
Niels Andriesse 862b4c0512 Delete unused OWSAttachmentDownloads 4 years ago
Ryan ZHAO d897952ce0 use sent timestamp instead of received timestamp for sorting and UI 4 years ago
Niels Andriesse 44783ddfef Update ConfigurationMessage for V2 open groups 4 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 4 years ago
Niels Andriesse 92304fa590 Clean & debug 4 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 4 years ago
Niels Andriesse 73bbaf9ce7 Potentially fix attachment issue 4 years ago
Niels Andriesse 8fd0cf79b9 Don't sync blocked contacts 4 years ago
nielsandriesse be466c26fc Only include contacts with a visible thread 4 years ago
nielsandriesse 643bfbdb41 Include contacts in configuration message 4 years ago
nielsandriesse f488453140 Update configuration message for contacts 4 years ago
Niels Andriesse f6ced55003 Debug 4 years ago
Niels Andriesse e945a6779f Include profile in configuration sync message 4 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 4 years ago
nielsandriesse 9eefc21eb9 Periodically send configuration messages 4 years ago
nielsandriesse 2a46544542 Re-organize files 4 years ago
Niels Andriesse 71758b0c00 Remove the Signal protocol 4 years ago
Niels Andriesse fa02ea11de Show message sending status bar earlier 4 years ago
Niels Andriesse 3f5bc18f6b Fix remaining TODOs 4 years ago
Niels Andriesse f0cbdb8cda Fix share extension 4 years ago
nielsandriesse add2c467e4 Restructure 4 years ago
Niels Andriesse 21810a0c4c Fix closed group message status handling 4 years ago
nielsandriesse c5a7d39518 Clean 5 years ago
nielsandriesse d39e155e1c Make link previews work again 5 years ago