Commit Graph

218 Commits (7acd299858d1c48cfd193f0d9aebfd275ecfaba2)

Author SHA1 Message Date
Ryan Zhao 7fb6726d43 refactor on media+text message cell 3 years ago
Ryan Zhao 81317db165 fix message with two links and a link preview, second link uses address of first 3 years ago
Morgan Pretty 22e5352983 Swapped a number of areas to use the built-in tintColor instead of the custom asTintedImage 3 years ago
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 3 years ago
Morgan Pretty 3e0ccaea4c Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Utilities/MentionUtilities.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
#	SignalUtilitiesKit/Messaging/Sending & Receiving/MessageSender+Convenience.swift
3 years ago
Ryan Zhao 2bfbf25c75 Merge branch 'ipad-support-1' into voice-calls-2 3 years ago
Ryan Zhao 094fbfec2e improvements on sizes to make the UI look much better 3 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 3 years ago
Ryan Zhao e014fe0367 prevent the message bubble not being wide enough to show the corner radius for very short message 3 years ago
Ryan Zhao 821bd4cadb fix visible message bubble round corner issue 3 years ago
Ryan Zhao 2ae0ae40d4 minor improvements to reduce the database read on UI thread 3 years ago
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
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 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 132254ee97 message bubble corner fix for link preview & open group invitation 3 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 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 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
Ryan Zhao 29cd6fb312 fix minor issues 3 years ago
Ryan Zhao 2ee4b0119d improve image message ratio 3 years ago
Ryan Zhao e62877baca Merge branch 'dev' into voice-calls-2 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 d2f29e7db2 Merge branch 'doc-with-text' into voice-calls-2 3 years ago
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 3 years ago
Ryan Zhao daa205e471 clean 3 years ago
ryanzhao 7b23b8f601 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 4 years ago
ryanzhao 98268ebf73 hide outgoing call message sending status 4 years ago
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 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 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 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
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 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
nielsandriesse c6f4443eed Update more logic for V2 open groups 4 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 4 years ago
Niels Andriesse 67ea1782ef Add documentation 4 years ago
Niels Andriesse 5846de634d Fix disappearing messages timer positioning 4 years ago
Niels Andriesse a6ae026541 Switch to expanding attachment buttons 4 years ago
Niels Andriesse d30fd2fb07 Clean 4 years ago