Commit Graph

150 Commits (aec2aed81f166696a41599fdcdd0fe9418aba94f)

Author SHA1 Message Date
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 3 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
3 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
3 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
3 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
Ryan Zhao ce83de5c46 fix crash of dictionary.subscript.getter for closed groups 3 years ago
RyanZhao fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
Improvements
4 years ago
ryanzhao d6d041a74f fix closed group threading issue 4 years ago
ryanzhao da335a8401 clean 4 years ago
ryanzhao 7a354fe220 potentially fix the closed group not receiving messages issue 4 years ago
Ryan Zhao 08360273e6 save server hash for message receive jobs 4 years ago
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 4 years ago
Niels Andriesse 11df899db3 Don't use jobs for open group polling
It's not necessary because we can always get the messages again from the server, and it helps with performance
4 years ago
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 4 years ago
Brice-W 51ba97827d open group polling limit implementation 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 73eeff3ea1 Debug 4 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 4 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 4 years ago
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse ad801d4f33 Fix threading 4 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 964cb8b326 Fix new deletion method 4 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 4 years ago
Niels Andriesse fee6861847 Minor refactoring 4 years ago
Niels Andriesse c747acfc04 Fix compact poll deletion handling 4 years ago
Niels Andriesse 5021357661 Fix timestamp issue 4 years ago
Niels Andriesse 5a242ce4e8 Debug 4 years ago
Niels Andriesse 4774123ad4 Update V2 open group poller for compact polling 4 years ago
Niels Andriesse 516f815521 Debug 4 years ago
nielsandriesse e5764264b3 Debug 4 years ago
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 4 years ago
Niels Andriesse 82690259b2 Clean protobuf 4 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 4 years ago
nielsandriesse 268971af9a Update protobuf 4 years ago
nielsandriesse 5d74bf1cca Fix promise deallocations 4 years ago
Niels Andriesse afd7a5a3dc Fix open group message syncing 4 years ago
Niels Andriesse 18c646987a Implement banning 4 years ago
Niels Andriesse 3e5baca72d Fix open group message deletion 4 years ago
Niels Andriesse 40d199a90b Clean up SnodeAPI 4 years ago
Niels Andriesse efe8f1c8bb Clean 4 years ago
Niels Andriesse eafff041df Debug open group background polling 4 years ago
Niels Andriesse 438bbccdfa Fix background polling 4 years ago
nielsandriesse e8661cf4d7 Debug 5 years ago
nielsandriesse a87bad6603 Fix open group link previews 5 years ago
nielsandriesse 5f2ec37db7 Fix message duplication bug 5 years ago
nielsandriesse b49e50ff19 Clean up OpenGroupPoller 5 years ago
Niels Andriesse 8564c650a5 Parse open group attachments 5 years ago
Niels Andriesse b621bdc69a Partially fix open groups 5 years ago
nielsandriesse 5dfd4b1965 Restructure 5 years ago