Commit Graph

40 Commits (f5e48cec0139deb18c3f66f6da8588215abed52f)

Author SHA1 Message Date
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 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
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 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
3 years ago
ryanzhao 1899a3fe3d fix sharing not work for session 3 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 3 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 3 years ago
Niels Andriesse f7613e09bf Convert remaining file server usages 3 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 3 years ago
Niels Andriesse 73bbaf9ce7 Potentially fix attachment issue 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 4 years ago
Niels Andriesse fa02ea11de Show message sending status bar earlier 4 years ago
Niels Andriesse 3f5bc18f6b Fix remaining TODOs 4 years ago
Niels Andriesse f0cbdb8cda Fix share extension 4 years ago
nielsandriesse add2c467e4 Restructure 4 years ago
Niels Andriesse 21810a0c4c Fix closed group message status handling 4 years ago
nielsandriesse c5a7d39518 Clean 4 years ago
nielsandriesse d39e155e1c Make link previews work again 4 years ago
nielsandriesse 20faa8e914 Debug 4 years ago
nielsandriesse addc859c84 Fix duplicate messages & debug 4 years ago
nielsandriesse e3304a40f9 Fix attachment quoting 4 years ago
nielsandriesse f04db2afb1 Add missing save(with:) 4 years ago
Niels Andriesse a88ce33ee0 WIP 4 years ago
Niels Andriesse 3eae001202 Fix disappearing messages 4 years ago
Niels Andriesse 1ddb8ac50e Resolve more TODOs 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 5e476e8330 Fix coding issues 4 years ago
nielsandriesse 19c29b2bf9 WIP 4 years ago
nielsandriesse ce7a23c401 Make sure sending errors bubble up to the user 4 years ago
nielsandriesse 921e2bced6 Debug 4 years ago
Niels Andriesse aec182f36c WIP 4 years ago
Niels Andriesse bbd3ecd54a Delete ClosedGroupsProtocol 4 years ago
Niels Andriesse ac1bbb3de1 Handle open group message ID 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