Commit Graph

14 Commits (8cc9caa0fda30ec788366db2673f99f3df7cb324)

Author SHA1 Message Date
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
4 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
4 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
4 years ago
ryanzhao 1899a3fe3d fix sharing not work for session 4 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 5 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 5 years ago
Niels Andriesse f7613e09bf Convert remaining file server usages 5 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 5 years ago
Niels Andriesse 73bbaf9ce7 Potentially fix attachment issue 5 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 5 years ago
Niels Andriesse fa02ea11de Show message sending status bar earlier 5 years ago
Niels Andriesse 3f5bc18f6b Fix remaining TODOs 5 years ago
Niels Andriesse f0cbdb8cda Fix share extension 5 years ago
nielsandriesse add2c467e4 Restructure 5 years ago