Commit Graph

49 Commits (4e471aadb085d91b8fddd791ddca27d17830ea90)

Author SHA1 Message Date
Morgan Pretty 1633105ce2 Merge branch 'dev' into feature/remove-unused-code
# Conflicts:
#	Session/Backups/OWSBackup.m
#	Session/Backups/OWSBackupImportJob.m
#	SignalUtilitiesKit/Sharing/SelectRecipientViewController.m
#	SignalUtilitiesKit/Sharing/SelectThreadViewController.m
2 years ago
Morgan Pretty 89e80da625 Removed AppPreferences (unused) 2 years ago
Morgan Pretty 0842dbff1e Removed a bunch of unused code
Removed the legacy Theme code (replaced with SessionUIKit equivalents)
Removed the OWSOrphanDataCleaner (unused)
Removed the OWSReceiptType_Delivery from the OWSOutgoingReceiptManager (unused)
Removed the TSStorageKeys and TSStorageHeaders files (unused)
Removed the LKMessageIDCollection (unused - only had methods for deleting data from the collection)
Removed the OWSPrimaryStorageTrustedKeysCollection and OWSIdentityManager_QueuedVerificationStateSyncMessages (unused)
Removed collections and notifications from OWSProfileManager (unused)
2 years ago
Morgan Pretty 21924ee81a Merge branch 'dev' into feature/remove-OWSBlockingManager
# Conflicts:
#	Session.xcodeproj/project.pbxproj
2 years ago
Morgan Pretty 5bb3bd7bc1 Cleaned up some config sync logic and allowed migrations to trigger them
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
2 years ago
Morgan Pretty 78c0d000be Removed the OWSBlockingManager replacing it with the config sync
Fixed an issue where the "block" button would appear in the NoteToSelf swipe menu
Removed the OWSBlockingManager and supporting files
Removed a number of unused classes and methods
Refactored the BlockListUIUtils to Swift
2 years ago
Morgan Pretty 1492232224 Made some optimisations to open group deletion handling
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
2 years ago
Ryan Zhao 06958babcb fix unread mention indicator showing after the message is deleted 2 years ago
Ryan Zhao eae8e91735 Merge branch 'dev' into preformance-improvement 2 years ago
Ryan Zhao b1fb202eab mark current user as approved in message request migration 2 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao 6d99976a9c database migrate for unread mention 2 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)
2 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.
3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
nielsandriesse 21acdfc835 Clean up thread model 3 years ago
Niels Andriesse 919fcf7ef1 Mark existing contacts as trusted 3 years ago
Niels Andriesse b43f22945c Stop running contacts migration 3 years ago
nielsandriesse ca977decab Re-run contacts migration 3 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 3 years ago
Niels Andriesse 205ff8a660 Prepare for upcoming contact changes 3 years ago
Niels Andriesse 10e6d114a0 Sync profile updates 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 3 years ago
nielsandriesse e38dae5a05 Replace PublicChatManager 4 years ago
nielsandriesse 2a46544542 Re-organize files 4 years ago
Niels Andriesse a6e44ca0f0 Clean 4 years ago
nielsandriesse c7d3f3e32d Implement V1 to V2 closed groups migration 4 years ago
Niels Andriesse d76949516b Remove more unused code 4 years ago
Niels Andriesse 71758b0c00 Remove the Signal protocol 4 years ago
Niels Andriesse ef2bdf724e Debug 4 years ago
Niels Andriesse 9901f04dc3 Implement contacts migration 4 years ago
nielsandriesse d6c115bc2a Fix module linking issue 4 years ago
nielsandriesse 000249b744 Debug 4 years ago
Niels Andriesse ac6baec6f2 Make things compile again 4 years ago
nielsandriesse 5dfd4b1965 Restructure 4 years ago
nielsandriesse 178ab7e3e2 WIP 4 years ago
nielsandriesse 70fb7eb185 Fix thread updating issue 4 years ago
nielsandriesse 921e2bced6 Debug 4 years ago
nielsandriesse 4317b17e7e Fill in some gaps 4 years ago
Niels Andriesse bbd3ecd54a Delete ClosedGroupsProtocol 4 years ago
Niels Andriesse d7c71a8c06 Make things compile again 4 years ago
nielsandriesse b218a16b05 Implement attachment downloading 4 years ago
nielsandriesse 961878f74c Parse attachment pointers 4 years ago
nielsandriesse 7d207ddfb7 Organize files 4 years ago
nielsandriesse 9f4d72f2f5 Make quotes work again
Also organize files
4 years ago
Niels Andriesse 72b4c3edaf WIP 4 years ago
Niels Andriesse 4f3448d75d Remove more Signal code 4 years ago
Niels Andriesse b030b5999b Make messages show up again 4 years ago
nielsandriesse f36f447bec Ditch unused Signal code 4 years ago