Commit Graph

60 Commits (3e97782d181a48f1e602f93079ce3f388eb1203f)

Author SHA1 Message Date
Morgan Pretty 3e97782d18 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
3 years ago
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 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
3 years ago
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 3 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
3 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
3 years ago
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 3 years ago
Ryan Zhao 166fbff26c improve selected message animation for global search 3 years ago
Ryan Zhao 70a562344c minor issue fix 3 years ago
Ryan Zhao d96d7468a4 fix read more button colour 3 years ago
Ryan Zhao 6ae84d3e37 update outgoing message text colour in light mode 3 years ago
Ryan Zhao d642d8a4ed improve image message ratio 3 years ago
Ryan Zhao 837b2ac157 fix a typo 3 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 3 years ago
RyanZhao 9521098afa
Merge pull request #537 from RyanRory/open-group-spam-prevention
Do not show user details to prevent spam
3 years ago
Ryan Zhao a356b080d0 Do not show user details to prevent spam 3 years ago
Ryan Zhao 300f6f50cf add size label for file type attachment 3 years ago
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 3 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 4 years ago
ryanzhao bd73f14915 fix crash when quoted attachment's content type is null 4 years ago
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Mark Feaver f0fb4529c8 Disabled tableview scroll when swiping to reply in a conversation 4 years ago
Ryan Zhao 33bd74338d localisation 4 years ago
Ryan Zhao 9bf31f69ae disable swipe to reply for deleted messages 4 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 4 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 4 years ago
Niels Andriesse dfdffc607c Make profile pictures tappable 4 years ago
Niels Andriesse 28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
4 years ago
Niels Andriesse f0b74c31fa Minor refactoring 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse 00300afecb Swap out sent open group invitation icon 4 years ago
Niels Andriesse 2f1e2a141b Localize new string 4 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 4 years ago
nielsandriesse e1ad33e832 Clean 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
Ryan ZHAO d897952ce0 use sent timestamp instead of received timestamp for sorting and UI 4 years ago
Niels Andriesse 0fc181ae9a Fix voice message handling 4 years ago
Niels Andriesse aa5b0ed6e4 Don't show placeholder for sent media 4 years ago
Niels Andriesse cf4fa84043 Fix content type handling 4 years ago
Niels Andriesse 0b645626d1 Make media placeholder view look nicer 4 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 4 years ago
Niels Andriesse 3bf46a36c7 Fix memory leaks 4 years ago
Niels Andriesse f157cdbce4 Fix constraint ambiguity 4 years ago
Niels Andriesse ef47e9bbf9 Clean 4 years ago
Niels Andriesse 650cba8cdd
Merge pull request #374 from RyanRory/quote-view-improvement
UI Fix
4 years ago
Ryan ZHAO d8a02f15a7 fix long messages in group chat being cut off 4 years ago
Ryan ZHAO 2286fb3709 show quote message body when there are attachments 4 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 4 years ago