Commit Graph

50 Commits (f9468219d95d6327ded540a7953c16023895ebbd)

Author SHA1 Message Date
Morgan Pretty dbead5e3c8 Got the '/inbox' APIs and encryption/decryption/validation working
Added a few types to make the code more readable
Added the inbox request to the polling
Added a couple of properties to the TSContactThread to indicate the originating open group to support SOGS DMs
Added code to store the latest message id for an open group inbox
Added a bunch of documentation from the API docs into the OpenGroupAPI (and associated models)
Updated the OpenGroupAPI to match the latest docs
Fixed the incorrect structure of the SendDirectMessageRequest
Fixed an incorrect inbox endpoint path
Tweaked the batch response handling so it wouldn't fail to parse all responses if a single one failed
Renamed IdPrefix to SessionId.Prefix and cleaned up the type to be more readable & self-documenting
3 years ago
Morgan Pretty faa8918cd4 Replaced the remaining non-file legacy methods with their non-legacy equivalents
Updated the OpenGroup polling to run on a non-main thread
Updated the TSGroupModel to store moderatorIds as well as the adminIds (new endpoint is only going to give diffs)
Updated the BatchRequest to support json, base64 encoded strings and raw bytes for it's body
Replaced the 'lastMessageServerID' methods with 'OpenGroupSequenceNumber' methods (since we have swapped the property over)
Added an alert when banning fails (previously it would fail silently)
Fixed a bug where sent blinded messages were appearing as incoming messages
Fixed a bug where the OpenGroup infoUpdates wasn't getting decoded correctly
Fixed an issue where the ConversationVC wouldn't become the first responder again after the ban alerts disappeared
Fixed an issue where I'd incorrectly used the message 'seqNo' in place of the message server id
Fixed an issue where open group messages were setting their `sentTimestamp` to seconds instead of milliseconds for incoming messages
3 years ago
Morgan Pretty 394b0646a3 Updated the code to support additional session id prefixes 3 years ago
Niels Andriesse 7bb7edd3c0 Further cleanup 4 years ago
Niels Andriesse b090227a2d Fix potential crash & apply code convention 4 years ago
Brice-W 1f9cd92bce set expiration timer for new group members 4 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 4 years ago
nielsandriesse 955e3abdad Clean up group update handling 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
Niels Andriesse bd895dbf29 Fix group member adding bug 4 years ago
Niels Andriesse 35bd22f542 Clean 4 years ago
Niels Andriesse 3f1358ac4d Debug 4 years ago
Niels Andriesse beabf0c9c0 Implement closed group logic changes 4 years ago
Niels Andriesse e5216ffe7c Add documentation 4 years ago
Niels Andriesse f6c7e2264d Add documentation 4 years ago
Niels Andriesse f2f5dcdfc2 Implement closed group logic changes 4 years ago
Niels Andriesse 54fc54e7b9 Minor refactoring 4 years ago
Niels Andriesse 08015f570f Create DataExtractionNotificationInfoMessage 4 years ago
Niels Andriesse e30ab4d29b Merge branch 'dev' into ui 4 years ago
Niels Andriesse 37c652c0d0 Make admins send latest closed group key pair when members are added 4 years ago
nielsandriesse 1924e01edc Merge branch 'multi-device' into ui 4 years ago
nielsandriesse dd56da7619 Merge branch 'closed-groups' into multi-device 4 years ago
nielsandriesse ece564988e Allow self-sending of closed group control messages 4 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 4 years ago
Niels Andriesse 1fda8e4249 Add encryption key pair request message 4 years ago
Niels Andriesse 7acb6c9ac3 Merge branch 'dev' into multi-device 4 years ago
Niels Andriesse 922aa17df7 Fix logs 4 years ago
Niels Andriesse fcb8e467d2 Add missing bit of logic 4 years ago
Niels Andriesse 6ab8570b11 Clean 4 years ago
Niels Andriesse 37f0dbd5b8 Merge branch 'closed-groups' into multi-device 4 years ago
Niels Andriesse f1eba0ea7b Debug 4 years ago
Niels Andriesse cf333d5e3d Merge branch 'closed-groups' into multi-device 4 years ago
Niels Andriesse 9cd0c421bc Debug 4 years ago
Niels Andriesse 017e4f7d50 Hook up the new system 4 years ago
Niels Andriesse 0dd63229ef Implement sending logic for explicit closed group updates 4 years ago
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage 4 years ago
Niels Andriesse 9ea1ccd0c2 Update ClosedGroupUpdate for new message types 4 years ago
Niels Andriesse 74fd3eb812 Partially implement message syncing 4 years ago
nielsandriesse b8d9334d19 Force sync upon creating a closed group or joining an open group 4 years ago
nielsandriesse 8ae5db3141 Update protos & create ConfigurationMessage 4 years ago
Niels Andriesse a6e44ca0f0 Clean 4 years ago
nielsandriesse d5e1237b0c Allow admins to leave & fix remaining issues 4 years ago
nielsandriesse aa6238b69c Clean 4 years ago
Niels Andriesse 28963e252e Debug 4 years ago
Niels Andriesse 87724a7e3c Clean 4 years ago
Niels Andriesse ee1d4b1bd5 Debug & make UI clearer 4 years ago
Niels Andriesse da503b0df1 Update Session protocol closed groups logic 4 years ago
Niels Andriesse 71758b0c00 Remove the Signal protocol 4 years ago
Niels Andriesse efe8f1c8bb Clean 4 years ago
nielsandriesse add2c467e4 Restructure 5 years ago