Commit Graph

80 Commits (2e4c11f4b9dc033412c47551d65b1cffb2a1c632)

Author SHA1 Message Date
Ryan Zhao b80fde69ca optimise open group suggestion grid hiding animation 2 years ago
Ryan Zhao b8463585fa fix UI collapse issue when keyboard showing up on small screen devices in join open group vc 2 years ago
Morgan Pretty 8ca00ca578 Fixed a number of bugs, resolved some TODOs and tested the outbox APIs
Updated the join open group method to retrieve the capabilities as part of the initial request
Updated the OpenGroupManager to require a transaction to be passed to the various 'handler' methods (allowing for everything to be processed within a single transaction)
Fixed a few issues where we weren't storing the timestamp for open group messages and DMs which could result in duplicate messages
Fixed an issue where we were setting the timestamp value for messages sent to an open group without converting it to be milliseconds to be consistent with other messages
Fixed an issue where the BatchRequestInfo could incorrectly flag it's response as failing to parse even though the type was optional
Fixed a bug where the open group would re-fetch all messages every other time
Fixed a bug where the long press context menu wouldn't appear after failing to delete a message
Fixed a bug where joining an open group would trigger the join behaviour and APIs twice
2 years ago
Ryan Zhao 6a9a5b2752 fix session id label width 2 years ago
Ryan Zhao 23508fb936 fix bottom margin & copy/share button width 2 years ago
Ryan Zhao 094fbfec2e improvements on sizes to make the UI look much better 2 years ago
Ryan Zhao 348331d9ab fix present view controller UI issue for iPad 2 years ago
Morgan Pretty b655882cbd Started resolving TODOs
Added some new properties to the OpenGroupV2
Moved a number of methods and variables from OpenGroupAPI to OpenGroupManager (anything doing actual logic)
Moved the message signing into the OpenGroupAPI (since that's the only place it happens)
Renamed remaining old model classes to start with 'Legacy' to make clean up easier
Updated the OpenGroupAPI poll method to use the same logic as it previously did to determine if it should retrieve recent messages or messages since the last one
2 years ago
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 2 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
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
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 years ago
Ryan Zhao 70a562344c minor issue fix 2 years ago
Morgan Pretty 3b07be4eed Fixed a couple of crashes
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
3 years ago
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse ea668f0344 Use newly translated strings 3 years ago
nielsandriesse fb9a27df90 Use a text view in the join open group screen 3 years ago
nielsandriesse 20e59d2a39 Use a text view in the join open group screen 3 years ago
nielsandriesse e1ad33e832 Clean 3 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 3 years ago
Niels Andriesse e5b5f2cf07 Put V2 open groups behind a feature flag 3 years ago
Niels Andriesse 44783ddfef Update ConfigurationMessage for V2 open groups 3 years ago
Niels Andriesse 7558e0b32a Re-enable joining V1 open groups 3 years ago
Niels Andriesse 676efe03fa Fix interaction bug 3 years ago
Niels Andriesse a7dd7e1bf0 Hook up suggestion grid 3 years ago
Niels Andriesse e2814fb884 Implement open group suggestion grid 3 years ago
Niels Andriesse 66a00d4167 Clean 3 years ago
nielsandriesse 1924e01edc Merge branch 'multi-device' into ui 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 3 years ago