Commit Graph

352 Commits (d63f3a8beea80bfddbd7e6cabb46c65b6eb6d888)

Author SHA1 Message Date
Morgan Pretty dbb0cdf0cb Fixed an issue where the text on the LinkPreview in dark mode wasn't visible 2 years ago
ryanzhao 6cb3e1db22 add interaction for showing missed call tips if the permission is denied 2 years ago
Morgan Pretty cf66edb723 Further work on SessionMessagingKit migrations
Added migrations for contacts and started working through thread migration (have contact and closed group threads migrating)
Deprecated usage of ECKeyPair in the migrations (want to be able to remove Curve25519Kit in the future)
2 years ago
Morgan Pretty 93f248d149 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
#	SessionMessagingKit/Storage.swift
2 years ago
Ryan Zhao 36094eed7f Merge branch 'remove-unused-code' into voice-calls-2 2 years ago
Morgan Pretty 0842dbff1e Removed a bunch of unused code
Removed the legacy Theme code (replaced with SessionUIKit equivalents)
Removed the OWSOrphanDataCleaner (unused)
Removed the OWSReceiptType_Delivery from the OWSOutgoingReceiptManager (unused)
Removed the TSStorageKeys and TSStorageHeaders files (unused)
Removed the LKMessageIDCollection (unused - only had methods for deleting data from the collection)
Removed the OWSPrimaryStorageTrustedKeysCollection and OWSIdentityManager_QueuedVerificationStateSyncMessages (unused)
Removed collections and notifications from OWSProfileManager (unused)
2 years ago
Morgan Pretty 5ca227434b Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Utilities/BackgroundPoller.swift
#	SessionMessagingKit/Database/Storage+OpenGroups.swift
#	SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
#	SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
#	SessionMessagingKit/Storage.swift
#	SessionMessagingKit/Utilities/General.swift
#	SessionSnodeKit/SnodeAPI.swift
#	SessionUtilitiesKit/General/Atomic.swift
2 years ago
Ryan Zhao fc093a0157 Merge branch 'dev' into bug-fix-for-call 2 years ago
Morgan Pretty 990edd20df Swapped a force-unwrap to an optional unwrap 2 years ago
Ryan Zhao 37614fe3d8 Merge branch 'dev' into voice-calls-2 2 years ago
RyanZhao 9e020948d6
Merge pull request #594 from RyanRory/bug-fixes-1.11.23
Bug fixes for 1.11.22
2 years ago
Ryan Zhao 7fb6726d43 refactor on media+text message cell 2 years ago
Ryan Zhao 81317db165 fix message with two links and a link preview, second link uses address of first 2 years ago
Ryan Zhao 95797d427c fix link preview text colour 2 years ago
Morgan Pretty 22e5352983 Swapped a number of areas to use the built-in tintColor instead of the custom asTintedImage 2 years ago
Ryan Zhao a68ed28a7a Merge branch 'dev' into voice-calls-2 2 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
2 years ago
Ryan Zhao 2bfbf25c75 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao 094fbfec2e improvements on sizes to make the UI look much better 2 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao e014fe0367 prevent the message bubble not being wide enough to show the corner radius for very short message 2 years ago
Morgan Pretty a26ee12f8d Further work on Id Blinding
Renamed the setter for the SOGS 'Server' object for consistency
Updated the Curve25519Kit repo to use an Oxen fork
Updated the MockDataGenerator to accomodate the latest changes
Updated the ConversationVC to better support getting replaced when the conversion from blinded to unblinded happens while on that screen
Added a cache for the mapping between blinded ids and standard ids (gets cached whenever a valid match is found)
Added a migration to remove the old 'authToken, 'lastMessageServerId' and 'lastDeletionServerId' collections (redundant in SOGS V4)
2 years ago
Ryan Zhao 821bd4cadb fix visible message bubble round corner issue 2 years ago
Ryan Zhao 2ae0ae40d4 minor improvements to reduce the database read on UI thread 2 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
2 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
2 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
2 years ago
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 2 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
2 years ago
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 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 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
2 years ago
Ryan Zhao 132254ee97 message bubble corner fix for link preview & open group invitation 2 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 years ago
Ryan Zhao 166fbff26c improve selected message animation for global search 2 years ago
Ryan Zhao 70a562344c minor issue fix 2 years ago
Ryan Zhao d96d7468a4 fix read more button colour 2 years ago
Ryan Zhao 6ae84d3e37 update outgoing message text colour in light mode 2 years ago
Ryan Zhao d642d8a4ed improve image message ratio 2 years ago
Ryan Zhao 837b2ac157 fix a typo 2 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 e42c8ea592 Merge branch 'doc-with-text' into voice-calls-2 3 years ago
Ryan Zhao 300f6f50cf add size label for file type attachment 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 4b38f8b3b6 improve call message showing contact name 3 years ago
Ryan Zhao daa205e471 clean 3 years ago
Ryan Zhao 6703d8c7f4 add timestamp to call message UI 3 years ago
Ryan Zhao 9e6c81d28b improve call message UI 3 years ago
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 3 years ago
ryanzhao 7b23b8f601 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao b81bdf71a4 Media message text UI improvement 3 years ago
ryanzhao 98268ebf73 hide outgoing call message sending status 3 years ago
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao bd73f14915 fix crash when quoted attachment's content type is null 3 years ago
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 3 years ago
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Mark Feaver f0fb4529c8 Disabled tableview scroll when swiping to reply in a conversation 3 years ago
Ryan Zhao 33bd74338d localisation 3 years ago
Ryan Zhao 9bf31f69ae disable swipe to reply for deleted messages 3 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 3 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 3 years ago
Niels Andriesse dfdffc607c Make profile pictures tappable 3 years ago
Niels Andriesse 28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
3 years ago
Niels Andriesse f0b74c31fa Minor refactoring 3 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse 00300afecb Swap out sent open group invitation icon 3 years ago
Niels Andriesse 2f1e2a141b Localize new string 3 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 3 years ago
nielsandriesse e1ad33e832 Clean 3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
Ryan ZHAO d897952ce0 use sent timestamp instead of received timestamp for sorting and UI 3 years ago
Niels Andriesse 0fc181ae9a Fix voice message handling 3 years ago
Niels Andriesse aa5b0ed6e4 Don't show placeholder for sent media 3 years ago
Niels Andriesse cf4fa84043 Fix content type handling 3 years ago
Niels Andriesse 0b645626d1 Make media placeholder view look nicer 3 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 3 years ago
Niels Andriesse 3bf46a36c7 Fix memory leaks 3 years ago
Niels Andriesse f157cdbce4 Fix constraint ambiguity 3 years ago
Niels Andriesse ef47e9bbf9 Clean 3 years ago
Niels Andriesse 650cba8cdd
Merge pull request #374 from RyanRory/quote-view-improvement
UI Fix
3 years ago
Ryan ZHAO d8a02f15a7 fix long messages in group chat being cut off 3 years ago
Ryan ZHAO 2286fb3709 show quote message body when there are attachments 3 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 3 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 3 years ago
Niels Andriesse b21163a421 Handle media saved notifications 3 years ago
Niels Andriesse 08015f570f Create DataExtractionNotificationInfoMessage 3 years ago
Niels Andriesse 67ea1782ef Add documentation 3 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 3 years ago
Niels Andriesse b98fb13c3f Fix typo 3 years ago
Niels Andriesse b2c6a5229b Fix voice message resetting bug 3 years ago
Niels Andriesse 5846de634d Fix disappearing messages timer positioning 3 years ago
Niels Andriesse a6ae026541 Switch to expanding attachment buttons 3 years ago
Niels Andriesse d30fd2fb07 Clean 3 years ago