Commit Graph

9 Commits (2284375fc0e16bf39009cf442a3ed563a9a474dc)

Author SHA1 Message Date
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
4 years ago
Morgan Pretty 394b0646a3 Updated the code to support additional session id prefixes 4 years ago
Niels Andriesse e84fc1aa04 Include destination info in error messages 4 years ago
Niels Andriesse ba60879343 Add support for new ban and delete all endpoint 4 years ago
nielsandriesse 0d9f5388da Prepare for OGS timestamp handling changes 4 years ago
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 5 years ago
Brice-W 51ba97827d open group polling limit implementation 5 years ago
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 5 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 5 years ago