Commit Graph

45 Commits (cb27da48b716d7678f3da493a45b11b6ebdda747)

Author SHA1 Message Date
Morgan Pretty c415fc9e06 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session/Open Groups/OpenGroupSuggestionGrid.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2+ObjC.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
Ryan Zhao 06958babcb fix unread mention indicator showing after the message is deleted
Morgan Pretty 3e0ccaea4c Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Utilities/MentionUtilities.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
#	SignalUtilitiesKit/Messaging/Sending & Receiving/MessageSender+Convenience.swift
Ryan Zhao eae8e91735 Merge branch 'dev' into preformance-improvement
Ryan Zhao b1fb202eab mark current user as approved in message request migration
Morgan Pretty a26ee12f8d Further work on Id Blinding
Renamed the setter for the SOGS 'Server' object for consistency
Updated the Curve25519Kit repo to use an Oxen fork
Updated the MockDataGenerator to accomodate the latest changes
Updated the ConversationVC to better support getting replaced when the conversion from blinded to unblinded happens while on that screen
Added a cache for the mapping between blinded ids and standard ids (gets cached whenever a valid match is found)
Added a migration to remove the old 'authToken, 'lastMessageServerId' and 'lastDeletionServerId' collections (redundant in SOGS V4)
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement
Ryan Zhao 6d99976a9c database migrate for unread mention
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)
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.
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID
nielsandriesse 21acdfc835 Clean up thread model
Niels Andriesse 919fcf7ef1 Mark existing contacts as trusted
Niels Andriesse b43f22945c Stop running contacts migration
nielsandriesse ca977decab Re-run contacts migration
Niels Andriesse dd0baf0d97 Unify contacts APIs
Niels Andriesse 205ff8a660 Prepare for upcoming contact changes
Niels Andriesse 10e6d114a0 Sync profile updates
Niels Andriesse 90e53e5cef Redesign conversation screen part 1
nielsandriesse e38dae5a05 Replace PublicChatManager
nielsandriesse 2a46544542 Re-organize files
Niels Andriesse a6e44ca0f0 Clean
nielsandriesse c7d3f3e32d Implement V1 to V2 closed groups migration
Niels Andriesse d76949516b Remove more unused code
Niels Andriesse 71758b0c00 Remove the Signal protocol
Niels Andriesse ef2bdf724e Debug
Niels Andriesse 9901f04dc3 Implement contacts migration
nielsandriesse d6c115bc2a Fix module linking issue
nielsandriesse 000249b744 Debug
Niels Andriesse ac6baec6f2 Make things compile again
nielsandriesse 5dfd4b1965 Restructure
nielsandriesse 178ab7e3e2 WIP
nielsandriesse 70fb7eb185 Fix thread updating issue
nielsandriesse 921e2bced6 Debug
nielsandriesse 4317b17e7e Fill in some gaps
Niels Andriesse bbd3ecd54a Delete ClosedGroupsProtocol
Niels Andriesse d7c71a8c06 Make things compile again
nielsandriesse b218a16b05 Implement attachment downloading
nielsandriesse 961878f74c Parse attachment pointers
nielsandriesse 7d207ddfb7 Organize files
nielsandriesse 9f4d72f2f5 Make quotes work again
Also organize files
Niels Andriesse 72b4c3edaf WIP
Niels Andriesse 4f3448d75d Remove more Signal code
Niels Andriesse b030b5999b Make messages show up again
nielsandriesse f36f447bec Ditch unused Signal code