Commit Graph

266 Commits (949b043867702c5bf471afeeb7552a25c0e401fb)

Author SHA1 Message Date
Morgan Pretty 1c575e520d Merge remote-tracking branch 'upstream/voice-calls-2' into feature/session-id-blinding-part-2
# Conflicts:
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/Views & Modals/JoinOpenGroupModal.swift
#	Session/Home/HomeVC.swift
#	Session/Open Groups/JoinOpenGroupVC.swift
#	Session/Utilities/BackgroundPoller.swift
#	SessionMessagingKit/Jobs/AttachmentUploadJob.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
#	SessionNotificationServiceExtension/NotificationServiceExtension.swift
2 years ago
Morgan Pretty 31ecd78737 Refactored the mocking code to use a better convention which also allows for call validation
Added a Nimble predicate for checking a function on a mock was called
Added the various remove methods to the Storage protocol
Updated the Ed25519Type to be an instance-based protocol (needed for mocking)
2 years ago
Morgan Pretty c04d4544f2 Added more unit tests
Refactored the existing unit tests to use Quick
Started adding unit tests for a number of the OpenGroupAPI network models
Added unit tests for the SessionId type
2 years ago
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)
2 years ago
Morgan Pretty cc2a077a6c Started working on `MessageRequestResponse` handling for SOGS message requests
Pointing Curve25519 to use a fork that exposes an XEd25519 conversion method
Fixed an issue where I had broken all message sending due to the SnodeAPI casting Onion responses to `Any`
2 years ago
Morgan Pretty f5e48cec01 Updated the project to use the Oxen fork of Sodium (instead of my one) 2 years ago
Morgan Pretty ef09d4d5aa Additional encryption work on id blinding
Got the updated blinding logic working (at least when authenticating a request - still need to deal with message signing and verification)
Storing the server capabilities in the database now so we can correctly blind requests based on them
Renamed the remaining 'v2' functions and classes to just be 'OpenGroup' since there isn't a 'V2' anymore
Cleaned up a few TODOs and functions
2 years ago
Morgan Pretty eb927c36a9 Started cleaning up some of the SOGS and Onion Requests structure
Cleaned up the OnionRequestAPI so we don't need the LegacyOnionRequestAPI
Added requests for the user endpoints
Added deprecated flags to the legacy endpoints and functions
Added some logic to start handling the new poll (batch) response
Started adding unit tests for the OpenGroupAPI functions
2 years ago
Ryan Zhao a61e99216d update pods 2 years ago
Ryan Zhao 64374bb59e Revert "update pods for merge"
This reverts commit 6cb571bb1b.
2 years ago
Ryan Zhao 6cb571bb1b update pods for merge 2 years ago
Ryan Zhao b1c2802613 update pods 2 years ago
Morgan Pretty 09d63456b6 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
2 years ago
Morgan Pretty 03fb5cbeeb Cleanup and tweaks
Fixed some compilation issues.
Removed an unused dependency.
Cleaned up the Podfile to minimise duplication.
Pointed at an oxen fork of SignalCoreKit instead of a personal one.
2 years ago
Morgan Pretty 2fedba4cea Addressed PR changes
Added NVActivityIndicatorView to the SessionShareExtension.
Removed the SignalAttachmentType.
2 years ago
Morgan Pretty a7661da41a Revert "Fixed M1 build issues"
This reverts commit ba1a0a2ac6.
2 years ago
Morgan Pretty ba1a0a2ac6 Fixed M1 build issues
Included the Podfile changes for building on an M1 Mac (Need to shift from personal to session fork).
Fixed some additional build issues due to unwrapping a non-optional type (Swift version?).
3 years ago
Morgan Pretty 9994c04f1e Updated the Podfile to fix M1 Mac build issues 3 years ago
Niels Andriesse 876814dd43 Basic proof of concept 3 years ago
Niels Andriesse 74e9cacd58 Implement MockWebSocket 3 years ago
Niels Andriesse 170da7a276 Implement VideoCallVC & CameraManager 3 years ago
Niels Andriesse 030c869d06 Add WebRTC dependency & implement CallMessage 3 years ago
Niels Andriesse f44cd070af Fix typo 3 years ago
Niels Andriesse 89bac377fe Fix PureLayout compilation bug 3 years ago
Niels Andriesse a1c23394d6 Remove unused pods 3 years ago
Niels Andriesse 4958d3d368 Implement ONS API 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 3 years ago
Niels Andriesse f2f3025554 Remove unused pod 3 years ago
Niels Andriesse 464e8864af Clean up onboarding 3 years ago
Niels Andriesse 54e902c848 Fix various warnings 3 years ago
Niels Andriesse ff09ee3e79 Delete unused files 3 years ago
Niels Andriesse 2a4977d269 Implement Session protocol 4 years ago
Niels Andriesse 75f7a7973b Debug PN extension 4 years ago
Niels Andriesse 76f92000b9 Add missing pod 4 years ago
Niels Andriesse 2be42e892a Prune unused notification service extension pods 4 years ago
Niels Andriesse 02454b6cc9 Point to forked YapDatabase repo 4 years ago
Niels Andriesse ac6baec6f2 Make things compile again 4 years ago
nielsandriesse 5dfd4b1965 Restructure 4 years ago
nielsandriesse b218a16b05 Implement attachment downloading 4 years ago
nielsandriesse 877751445d Clean 4 years ago
nielsandriesse a5e9d8973a Fix indentation 4 years ago
nielsandriesse 1c0b32af3c Fix ECKeyPair usage 4 years ago
nielsandriesse 000e907d47 Clean up Podfile 4 years ago
nielsandriesse 7e213c71d5 Make everything build again 4 years ago
nielsandriesse ffa64e4747 Merge SignalMessaging into SignalUtilitiesKit 4 years ago
nielsandriesse ae635dbd36 Make SignalMessaging work with SignalUtilitiesKit 4 years ago
nielsandriesse c475f895e8 Create SignalUtilitiesKit 4 years ago
nielsandriesse 362e2e9c03 Update SessionMessagingKit for open groups 4 years ago
nielsandriesse a3382f41d4 Re-organize files 4 years ago
nielsandriesse 21fe9558a4 Partially implement messaging kit encryption & decryption 4 years ago