Commit Graph

88 Commits (f8dfbd424463451d95113bd3b38edc6f8a6b9ab9)

Author SHA1 Message Date
Ryan Zhao 48c74d9476 refactor to apply this logic to unread message count 3 years ago
Ryan Zhao 06958babcb fix unread mention indicator showing after the message is deleted 3 years ago
Ryan Zhao 5d97754635 Merge branch 'dev' into preformance-improvement 3 years ago
Morgan Pretty 22921a6b5a Fixed a crash due to not passing the transaction when accessing the database 3 years ago
Ryan Zhao 3ab7192b26 clean up some code related to unread message (requests) count 3 years ago
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 3 years ago
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)
3 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 years ago
ryanzhao d27faf551b reduce unnecessary database read 3 years ago
ryanzhao 5954c109a1 Fix an issue where message would be sent even though the attachments are failed to upload 3 years ago
Ryan Zhao 36907d3af0 improve mention and unread message count 3 years ago
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 3 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