Commit Graph

82 Commits (eb927c36a947fc84f3e6a1637b2b68a7aedd0db0)

Author SHA1 Message Date
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
Morgan Pretty c90f346d6a Further SOGS V4 integration work
Added in the v4 onion requests logic
Added in the new pin/unpin APIs
Split up additional legacy methods to try and simplify the refactoring
Added a number of TODOs around usage of legacy request methods
2 years ago
Morgan Pretty 4f3900771e More work on getting SOGS V4 integrated
Updated the MessageSendJob to support V4 messages (V2 messages will be upgraded to V4 if they get re-encoded)
Renamed the Message+Destination from 'openGroup' & 'openGroupV2' to 'legacyOpenGroup' and 'openGroup'
Started plugging in more of the V4 APIs
Renamed a number of the V2 APIs to start with 'legacy'
2 years ago
Morgan Pretty 2284375fc0 Started work on updated SOGS support
Split the OpenGroupAPIV2 into separate files
Started working on the new auth and blinded-id approaches (new auth working with un-blinded id suggesting blinded-id code is incorrect)
Updated the SOGS request/response types to use Codable
Updated the SOGS Request type to use enums instead of strings for keys (to reduce likelihood of typos breaking things)
Updated SessionMessagingKit to use Codable and JSONEncoder/JSONDecoder instead of the legacy JSONSerialization
Cleaned up some naming conventions in the SessionMessagingKit (calling a URLRequest body 'parameters' is very confusing...)
Removed the custom TSRequest class (just using standard URLRequest everywhere instead)
Added a number of extension functions to enable some more functional-coding styles
Added extensions to Sodium methods to allow scalar multiplication and the ability to hash providing a salt and a personalisation value (both needed for new SOGS auth)
Fixed an issue where the legacy auth for SOGS could crash due to threading issues (multiple threads accessing the same variable)
Fixed an issue where if you were in two rooms in a single SOGS and deleted one of them, the other room would stop getting updates as the server public key was getting removed
2 years ago
Morgan Pretty 394b0646a3 Updated the code to support additional session id prefixes 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
Ryan Zhao 5f6da0739e delete message on storage server 3 years ago
Ryan Zhao e8f0d0d124 WIP: delete from storage server 3 years ago
Ryan Zhao c68350f3d8 store hash value for outgoing messages 3 years ago
Niels Andriesse 1a237557ff Add documentation 3 years ago
Niels Andriesse 140f07df96 Disable authenticated retrieval for now 3 years ago
Niels Andriesse 2360af5993 Implement authenticated message retrieval 3 years ago
Niels Andriesse 81820c0013 Remove unnecessary check 3 years ago
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 3 years ago
Niels Andriesse 41fe33525c Don't unnecessarily open sync transactions 3 years ago
Niels Andriesse 498f5a73b0 Don't unnecessarily open sync transactions 3 years ago
Niels Andriesse e84fc1aa04 Include destination info in error messages 3 years ago
Niels Andriesse bea80c67b3 Make error more descriptive 3 years ago
Niels Andriesse ef2eab7e9f Implement SnodeAPI.clearAllData() 3 years ago
Niels Andriesse a774d5f004 Re-use existing build paths promise if possible 3 years ago
nielsandriesse 1b68c109ee Fix build 3 years ago
nielsandriesse 5c699d6bb7 Fix inverted operation 3 years ago
nielsandriesse b694777a71 Fix snode pool updating bug 3 years ago
Niels Andriesse e93af07b61 Fix ONS 3 years ago
Niels Andriesse 371222098b Fix snode pool updating bug 3 years ago
Niels Andriesse be382a6031 Add fix for temporary path building issue 3 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 3 years ago
Niels Andriesse 1561b9436f Fix missing query parameters 3 years ago
nielsandriesse 583f5e3483 Clean 3 years ago
nielsandriesse fec4bfb836 Debug 3 years ago
Niels Andriesse 66181baf2b Debug 3 years ago
Niels Andriesse d39387bf01 Debug 3 years ago
Niels Andriesse 2f67073a5a Implement new snode pool updating method 3 years ago
Niels Andriesse 8aa25af4d5 Rework things in advance of new snode pool updating method 3 years ago
Niels Andriesse 1002cc51ae Remove PoW too low error code handling 3 years ago
Niels Andriesse 727dccfbb7 Remove PoW too low error code handling 3 years ago
Niels Andriesse 2feae0dea4 Debug 3 years ago
Niels Andriesse 8375b598ad Don't hardcode scheme and port 3 years ago
Niels Andriesse fac376bf55 Use HTTP for default session open group server 3 years ago
nielsandriesse 8433c2d4ab Remove debug code 3 years ago
nielsandriesse a76c43973f Increase TTL & remove PoW 3 years ago
Niels Andriesse 89b96447e1
Merge pull request #378 from oxen-io/tls
Self-Signed Seed Node Certificates
3 years ago
nielsandriesse 75f5591fe0 Store certificates in DER format 3 years ago
Niels Andriesse 58748471a4 Set up skeleton code 3 years ago
Ryan ZHAO 4fd34005dc fix opening transactions in filter. 3 years ago
Niels Andriesse 34bbff1ab4 Implement OpenGroupAPIV2 3 years ago
nielsandriesse 66d46f3dd0 Debug 3 years ago
Niels Andriesse 4958d3d368 Implement ONS API 3 years ago
Niels Andriesse cf07fc1b1a Implement nicknames 3 years ago
Niels Andriesse 8477f75426 Fix unnecessary path rebuilding 3 years ago