Commit Graph

1120 Commits (428cc95ec2aff30b81787cc2a276556650430e1d)

Author SHA1 Message Date
Morgan Pretty c415fc9e06 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session/Open Groups/OpenGroupSuggestionGrid.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2+ObjC.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
2 years ago
Ryan Zhao 8a186d08b8 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao b80fde69ca optimise open group suggestion grid hiding animation 2 years ago
Ryan Zhao 2ebd74012c Merge branch 'ipad-support-1' into voice-calls-2 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
Ryan Zhao 02c816cd52 Merge branch 'dev' into ipad-support-1 2 years ago
Ryan Zhao a31fb7f957 Merge branch 'dev' into voice-calls-2 2 years ago
RyanZhao 99da263a50
Merge pull request #579 from mpretty-cyro/fix/message-request-crash
Fix message request bugs
2 years ago
Morgan Pretty c2e13f02bc Fixed a crash which could occur while processing message request notifications due to not using a DB transaction 2 years ago
Ryan Zhao ec12ca769d Merge branch 'dev' into voice-calls-2 2 years ago
Ryan Zhao 195a91ac8b fix potential crash for nested transaction 2 years ago
Ryan Zhao f489e78deb Merge branch 'dev' into voice-calls-2 2 years ago
RyanZhao 20f99df0be
Merge pull request #577 from RyanRory/bug-fix-1-11-22
Bug fix 1.11.22
2 years ago
Morgan Pretty 3e380ede4e A couple of message request fixes
Added an error state to the OpenGroupSuggestionGrid
Fixed a bug where the settings button wouldn't appear for the sender of a message request once approved
2 years ago
Ryan Zhao eb4c90b0d4 fix global search results cell UI for groups without member 2 years ago
Morgan Pretty a39afd6037 Fixed build errors and mock data tweaks
Fixed a couple of merge build errors
Made some tweaks to the MockDataGenerator to more-properly create open groups
Added some progress logging to the MockDataGenerator
Updated the MockDataGenerator to support generating threads with a fixed number of messages (ie. to compare performance based on message count)
2 years ago
Ryan Zhao 1e6c21a7ba Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao 273b799d16 fix iPad multitasking issue 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 5762445128 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Morgan Pretty 65f14cf0a1 Added more unit tests
Removed an unused endpoint
Moved 'Dependencies' into the Utilities folder (also out from being nested within 'OpenGroupAPI' since it can be broader than that)
Finished adding unit tests for the OpenGroupAPI
2 years ago
Ryan Zhao eae8e91735 Merge branch 'dev' into preformance-improvement 2 years ago
Ryan Zhao d3342094a4 Merge branch 'dev' into ipad-support-1 2 years ago
Ryan Zhao b1fb202eab mark current user as approved in message request migration 2 years ago
Ryan Zhao 9a04c7a4fe mark current user as approved on preregistering 2 years ago
Ryan Zhao 60e8da3bff Merge branch 'dev' into preformance-improvement 2 years ago
Morgan Pretty d298bcdb4e Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Utilities/ContactUtilities.swift
#	SessionUtilitiesKit/General/Array+Utilities.swift
2 years ago
Ryan Zhao bf6de99395 Merge branch 'dev' into ipad-support-1 2 years ago
Morgan Pretty 17a9e510c5 Further work on unit tests (and a couple of bug fixes found when testing)
Removed a couple remaining TODOs
Added 'standardUserDefaults' to the 'Dependencies' type
Tweaked the OpenGroupAPI to only update the 'lastOpen' timestamp if it successfully polls
Refactored a couple of methods in the ConversationViewItem into swift so we can clean up the OpenGroupAPI more
Updated the OpenGroupAPI so it no longer has static variables for state (shifted to the OpenGroupManager and made them instance variables)
Fixed an encoding issue with the Capabilities.Capability
2 years ago
Morgan Pretty af543b980b Made a couple of changes to how the ConfigurationMessage is generated and handled
Stopped configuration messages from automatically creating threads for sync'ed contacts (now they will only be created if there are messages)
Updated the ConfigurationMessage to stop truncating the list of contacts but filter the full set (also update the logic to include previously approved contacts)
2 years ago
Ryan Zhao 79c1cb08b6 minor UI adjustment 2 years ago
Ryan Zhao 88876138db Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Ryan Zhao 4edb666580 UI minor adjustment to modals 2 years ago
Morgan Pretty 1c474955de File upload working, further code cleanup
Got the updated file upload working
Removed the legacy 'room' header
Consolidated a number of types between SOGS, FileServer and general requests
Updated the OnionRequestAPI to deal with a Data payload (rather than encoding it to a string and then back to data)
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 c08b1617c2 slim the button width again 2 years ago
Ryan Zhao e8f996306d show call permission required modal when calls are nor enabled 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 952a3d3414 minor fix for merging 2 years ago
Morgan Pretty 8a7db1d48f Started adding logic for the outbox endpoint
Moved the BlindedIdMapping retrieval logic to ContactUtilities so it's reusable
Added the 'outbox' endpoints (need testing as they aren't deployed to test yet)
2 years ago
Ryan Zhao 52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2 years ago
Morgan Pretty 6936f35f2a Fixed a few issues uncovered while testing and some cleanup
Fixed an incorrect optional in RoomPollInfo
Fixed an incorrect parameter name in the ClosedGroupRequestBody
Fixed a crash due to a change in the ContactUtilities
Cleaned up the duplicate code in the OnionRequestAPI, HTTP and SnodeAPI to all use 'Data' response types
Updated the SnodeAPI to casting types to Any (made it hard to catch breaking changes with HTTP and OnionRequestAPI)
2 years ago
Ryan Zhao 9b075efe0c Merge branch 'dev' into ipad-support-1 2 years ago
Ryan Zhao 1fb4952f5e Merge branch 'dev' into preformance-improvement 2 years ago
Ryan Zhao e243fb8817 fix unread message request count issues 2 years ago
Morgan Pretty cb288ca09c Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
2 years ago
Ryan Zhao daf0705d42 Merge branch 'dev' into preformance-improvement 2 years ago
Ryan Zhao 167d68870a show conversation settings button after approving message requests 2 years ago
Morgan Pretty bdaae2b347 Moved the copy for the message request approval error into Localizable.strings 2 years ago
Morgan Pretty 1b3f6c0ca6 Minor tweaks to the message request banner on the HomeVC
Fixed the unread message counting for message requests
Updated the message request banner to indicate the number of message requests with an unread message
Updated the message request banner to automatically disappear if the user has no unread message requests
Renamed a variable for ReadReceipt management to make it a bit more self-documenting (it looked like it would trigger a read receipt to be sent regardless of the setting)
2 years ago
Ryan Zhao da66b1af2c fix swiping back for approved message request conversation 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 9251d98bde Added a loading state when approving a message request
Removed the 'presentTimer' logic from the 'ModalActivityIndicatorViewController' (the delay looked buggy, if it does have "blipping" issues then we can fix those separately)
2 years ago
Morgan Pretty f0f4128db2 Fixed an issue where the MessageRequestResponse could fail to send but would be flagged locally as approved 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 279892e83b fix some scrolling to bottom and button issue 2 years ago
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 2 years ago
Ryan Zhao 821bd4cadb fix visible message bubble round corner issue 2 years ago
Ryan Zhao 02cc97a238 Change Session title in dark mode to white 2 years ago
Ryan Zhao 78e2c4f55c minor refactor in search bar & message request vc 2 years ago
Ryan Zhao ccae9141ff rollback to fix an odd scrolling issue 2 years ago
Ryan Zhao 7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Morgan Pretty 110c7bb01a Addressed PR comments
Moved the 'backBarButtonItem' into the BaseVC (and removed it for being duplicated in various view controllers)
Removed a redundant line of code
2 years ago
Morgan Pretty e6b941ea8a Fixed a number of tweaks and bugs with message requests
Removed the "Back" text from the back buttons
Removed the inset on the 'Path' settings button so the text remains horizontally centered
Hid the settings button from message request threads
Fixed an issue where the back button would remain visible in a conversation when the search field was visible
Fixed an issue where the tintColor of the conversation search field didn't match the global search field
Fixed an issue where sending an attachment response to a message request wouldn't approve the message request
Updated the size and positioning of the message request 'Clear All' button to match the DM 'Next' button
Updated the message request 'Clear All' button to start visible (so it's visible during the push animation) since that's the most likely state it'll be in
Updated the 'Message Requests' cell to use the pinned background colour
Updated the fallback for contact thread names to be a middle-truncated string (4 characters either side)
2 years ago
Ryan Zhao 27e7c25197 fix scroll to bottom crash 2 years ago
Ryan Zhao 629d952944 clean 2 years ago
Ryan Zhao 885ab66550 minor improvements on scroll to bottom 2 years ago
Ryan Zhao ec40922cb4 reduce initial loading on conversation screen 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
Ryan Zhao 936fbd27c2 fix message request notification 2 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 2 years ago
Morgan Pretty 028ba0c77a Merge branch 'dev' into feature/message-requests
# Conflicts:
#	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
Ryan Zhao 66567ba9f5 clean 2 years ago
Ryan Zhao c85e3ef86b clean up unused code 2 years ago
Morgan Pretty 819d5a39e1 Disabled the disappearing message settings for the recipient of a message request as well 2 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 2 years ago
Ryan Zhao a8c7f517eb clean 2 years ago
Ryan Zhao 24d8122d78 fix sharing UI for iPad 2 years ago
Ryan Zhao 348331d9ab fix present view controller UI issue for iPad 2 years ago
Ryan Zhao 9ff369fbd0 fix settings screen presentation on iPad 2 years ago
Ryan Zhao efab374e7f refactor on session search bar decoration 2 years ago
Ryan Zhao ab0714af00 fix search bar cancel button for iPad 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
RyanZhao 164201de4f
Merge pull request #563 from RyanRory/fix-swiping-to-reply
Fix swiping to reply
2 years ago
Ryan Zhao d61f36211d bump up to show 500 global search results for all cases 2 years ago
Morgan Pretty 4c89c165d8 Fixed a few bugs uncovered by QA
Fixed a bug where the ConfigurationMessage was getting generated before the contact state was persisted to the database in the message request flow causing odd behaviours (now generating the ConfigurationMessage within the same transaction)
Fixed a bug where sending a message to an existing message request thread once the message requests item has been hidden would show the message requests notification and trigger the section to re-appear on the home screen
Fixed a bug where blocked contacts weren't getting excluded from the contacts list in the configuration message
2 years ago
ryanzhao d27faf551b reduce unnecessary database read 2 years ago
Morgan Pretty e1cc9cde0e Added labels to the NewConversationButtonSet (part 2) 2 years ago
Morgan Pretty 30cbe77366 Added labels to the NewConversationButtonSet 2 years ago
Morgan Pretty 2d6dad67eb Added back another missing localised string 2 years ago
Morgan Pretty 948cbe2c0b Updated a couple of comments 2 years ago
Morgan Pretty 582ff0997a Fixed a couple of crashes and added some mock data generation logic
Possibly fixed a crash due to a database deadlock
Fixed a crash when the first message requests gets added if there are no other threads
Added code to generate a bunch of random thread data (Needs some testing to ensure no data leaves the device)
2 years ago
Morgan Pretty 6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 2 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 2 years ago
Morgan Pretty 47314bd639 Added a notification to indicate the user has a new message request
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
2 years ago
Ryan Zhao a86310b0f5 improve global search performance 2 years ago
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 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
Morgan Pretty 3639a21bc8 Fixed bugs raised by QA
Added some missing localised strings
Prevented 'Read' and 'Typing' indicators from functioning on Message Requests
Prevented link previews on the first message of a message request
Added a confirmation alert when trying to clear all message requests
Added a confirmation alert when trying to delete a message request
Added an empty state to the MessageRequestsViewController
Updated the back behaviour of the ConversationVC to behave more nicely with approving/declining message requests
Updated the OWSBlockingManager to also update the stored contacts 'isBlocked' flag to match
2 years ago
Ryan Zhao a8fd6d9d18 fix home screen not reloading when coming into foreground 2 years ago
Ryan Zhao cc1b1e8c51 poll for open groups in NSE 2 years ago
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2 years ago
Morgan Pretty d490cf7d19 Fixed an issue where only the first sync config message would be processed 2 years ago
Ryan Zhao 37edce9a09 remove duplicated PN register/unregister 2 years ago
Ryan Zhao 3c9cfa9d2e Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao 529bc58d05 fix swiping to reply for very short messages 2 years ago
RyanZhao d221a5bef9
Merge pull request #558 from mpretty-cyro/feature/pdf-preview
Added code to allow previewing PDF attachments within the app
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
Ryan Zhao 27a4f20395 fix function name conflicts 2 years ago
Ryan Zhao c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 2 years ago
Ryan Zhao 52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 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
Ryan Zhao 3fb7babecb clean 2 years ago
Morgan Pretty eb927c36a9 Started cleaning up some of the SOGS and Onion Requests structure
Cleaned up the OnionRequestAPI so we don't need the LegacyOnionRequestAPI
Added requests for the user endpoints
Added deprecated flags to the legacy endpoints and functions
Added some logic to start handling the new poll (batch) response
Started adding unit tests for the OpenGroupAPI functions
2 years ago
Ryan Zhao 7333d50825 rotate button if needed 2 years ago
Morgan Pretty 051f03f4b4 PR comments and a few missed use cases
Disabled the attachments and voice message buttons for the first message
Disabled the Disappearing Messages flag for the until the conversation is approved
Fixed a bug where the recipient of a message request could incorrectly get the 'pending approval' state
Refactored some standard auto layout code to use the custom extension code
2 years ago
Ryan Zhao 132254ee97 message bubble corner fix for link preview & open group invitation 2 years ago
Ryan Zhao 63e0a5285c minor refactor to prevent dead lock 2 years ago
Ryan Zhao 7d00897907 minor clean up 2 years ago
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 2 years ago
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 2 years ago
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 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 140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2 years ago
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2 years ago
Ryan Zhao f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 2 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 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 54493e56ef minor fix on top & bottom margin 2 years ago
Ryan Zhao 36444f9e4c minor fix 2 years ago
Ryan Zhao 657f91ccf9 fix mini call view (remote video view) rotation and dragging issue 2 years ago
Ryan Zhao be1767a4ba clean 2 years ago
Ryan Zhao 65d78533c9 add comments 2 years ago
Ryan Zhao 80b18f0715 fix local video view weird rotation behaviour 2 years ago
Ryan Zhao e563353842 improve video scale 2 years ago
Ryan Zhao 782dd20ddd implement screen rotation for video calls 2 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Morgan Pretty 185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2 years ago
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 years ago
Morgan Pretty 16ab4be537 Merge branch 'dev' into feature/pdf-preview 2 years ago
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2 years ago
Morgan Pretty 7f479bbca4 Merge branch 'dev' into feature/message-requests 2 years ago
Morgan Pretty 9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
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
Morgan Pretty bee36423da Fixed a couple of issue with sharing large attachments
Added back localized attachment error messages
Fixed an issue where sending an attachment could fail and the screen would be dismissed before the user had a chance to read the error
2 years ago
Morgan Pretty b85c113da6 Added code to preview PDF attachments 2 years ago
Ryan Zhao c81e0e517d fix ui issue after making unread message count 4 digits 2 years ago
Ryan Zhao 99022006da Make the unread message count 4 digits instead of 2 2 years ago
Ryan Zhao 2c7dfe6a37 fix conversation screen scrolling to bottom issue 2 years ago
Ryan Zhao 70a562344c minor issue fix 2 years ago
Ryan Zhao 8ed77435d8 update translation 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 bcc5da75b6 minor fix on debug mode to prevent crashing 2 years ago
Ryan Zhao 16f6d49cec add note to self to the default global search screen with empty search text 2 years ago
Ryan Zhao 124d908686 add author for group messages 2 years ago
Ryan Zhao be1fb789e8 hide recent search results behind the flag 2 years ago
Ryan Zhao e4b0ca9ebc fix `not to self` 2 years ago
Ryan Zhao d329740bd4 add clear for recent search results 2 years ago
Ryan Zhao 85c4b3d745 show recent search result as default for global search screen 2 years ago
Ryan Zhao a2db4a8330 add comments 2 years ago
Ryan Zhao 79fc9459a4 clean 2 years ago
Ryan Zhao 837b2ac157 fix a typo 2 years ago
Ryan Zhao 78af18413f show at most 500 search results 2 years ago
Ryan Zhao d583422c73 add some comments 2 years ago
Ryan Zhao 20a3b6ee26 move path button into setttings 2 years ago
Ryan Zhao 2a229bd663 minor fix 2 years ago
Ryan Zhao 68ec1654e8 rebuild global search UI 2 years ago
Ryan Zhao e718cee611 WIP: rebuild global search UI 2 years ago
Ryan Zhao 3cc6a6b7c4 add comments 2 years ago
Ryan Zhao 0ddb4f355a minor improvements on dismissing the keyboard 2 years ago
Ryan Zhao 42903d835d search for name and nickname 2 years ago
Ryan Zhao 8be5768ad2 snippet for group members 2 years ago
Ryan Zhao 037d70b185 handle seed view reminder and search bar 2 years ago
Ryan Zhao 715c9eff98 clean 2 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 2 years ago
Ryan Zhao 675dde9b1e improve unhighlighted text colour and contrast 2 years ago
Ryan Zhao af7dd3e82f highlight `Note to Self` 2 years ago
Ryan Zhao 5c112064da UI improvements on contact search results 2 years ago
Ryan Zhao 994a2e9c89 hide cancel button when the keyboard is hidden 3 years ago
Ryan Zhao aeabaea0ca fix no search results shown accidentally 3 years ago
Ryan Zhao 9d9a3f92cb minor UI fix 3 years ago
Ryan Zhao 3a626ed80a fix a deadlock issue 3 years ago
ryanzhao 10abbb0552 search result view UI 3 years ago
ryanzhao fed1218538 WIP: global search UI 3 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
Morgan Pretty f02f53fc49 Added code to show a HTTP LinkPreview error
Added code to indicate the app won't load LinkPreviews for HTTP urls.
Updated the title & subtitle layout to better handle LinkPreview errors.
Missed an Objective C change in the last commit.
3 years ago
ryanzhao 9ec749285f minor clean 3 years ago