Commit Graph

273 Commits (2d8fa193e25fa075858e4fa02bcf173f9ca187a7)

Author SHA1 Message Date
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 3 years ago
Ryan Zhao 7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 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)
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
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 3 years ago
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 3 years ago
Ryan Zhao c85e3ef86b clean up unused code 3 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 3 years ago
Ryan Zhao 24d8122d78 fix sharing UI for iPad 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 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
3 years ago
Morgan Pretty 6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 3 years ago
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 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
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
3 years ago
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
3 years ago
Ryan Zhao c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 3 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
3 years ago
Ryan Zhao 3fb7babecb clean 3 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
3 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
3 years ago
Morgan Pretty 1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 3 years ago
Morgan Pretty 161a90ad28 Updated the code to show the document interaction controller for text files as well 3 years ago
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 3 years ago
Morgan Pretty ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 3 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
Morgan Pretty 185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
3 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
3 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)
3 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
3 years ago
Morgan Pretty b85c113da6 Added code to preview PDF attachments 3 years ago
Ryan Zhao 0dcb8f81ca Merge branch 'dev' into voice-calls-2 3 years ago
Ryan Zhao 5803eae134 clean 3 years ago
Ryan Zhao b2b03eb273 clean up call button appearance logic 3 years ago
Ryan Zhao bbccbe42c1 copy / paste images directly 3 years ago
Ryan Zhao 71e6ccd94b add flag for enable/disable call function 3 years ago
Ryan Zhao a8dd010b06 Merge branch '1.11.19' into voice-calls-2 3 years ago
Ryan Zhao d3a2b456f1 handle permission request for voice and video calls 3 years ago
ryanzhao 13b7b1edb6 Keep screen on when recording voice message 3 years ago
ryanzhao edffbe7d4c fix data channel and uuid check 4 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 4 years ago
ryanzhao ff79c58f44 update call message after a call ended 4 years ago
ryanzhao f019fe7733 use CallKit for all cases 4 years ago
ryanzhao 4db87992b2 refactor for voip push notification 4 years ago
ryanzhao 0ef7bdc9ce refactor to plug in callkit 4 years ago
ryanzhao bcf0ecfb69 show modal of ip exposure for calls 4 years ago
ryanzhao 7dfb999239 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao 3a38f44d1f fix deleting message in open groups 4 years ago
ryanzhao 1231b9c20a add preview before staring video 4 years ago
ryanzhao fbe5b12c9d WIP: incoming call banner 4 years ago
ryanzhao 383f996e82 WIP: improve call UI 4 years ago
ryanzhao 5354185696 improve UI 4 years ago
ryanzhao 019a2cd299 add options for voice call and video call 4 years ago
ryanzhao e8500d75a7 fix input panel issue & make local video view draggable 4 years ago
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 4 years ago
ryanzhao bf2725183d automatically add space after mention 4 years ago
ryanzhao 6e07c56e7d Merge branch 'master' of https://github.com/oxen-io/session-ios into voice-calls-2 4 years ago
ryanzhao a7e9606833 add copy link option when clicking a link 4 years ago
Niels Andriesse c1a61e897b UI improvements 4 years ago
Niels Andriesse e899804b85 Rename CallVCV2 → CallVC 4 years ago
Niels Andriesse 525eb40d8d Make signaling happen using Session messages 4 years ago
Niels Andriesse b54cd3b026 Add call button to conversation screen 4 years ago
Niels Andriesse 45042a1acf Fix typos 4 years ago
ryanzhao eee9ceff39 fix crash for older messages 4 years ago
ryanzhao 31cf0b7b20 don't send unsend requests for open groups 4 years ago
ryanzhao 76a96c31bf add flag to disable unsend request for now 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 b714565480 smooth the hide and show of the input accessory view 4 years ago
Ryan Zhao 4904d2cdcf localisation 4 years ago
Ryan Zhao 90bd775fd5 show delete options for only outgoing messages 4 years ago
Ryan Zhao 8c897dcc3d use action sheet to show options for deleting a message 4 years ago
Ryan Zhao da1fe9b287 clean 4 years ago
Ryan Zhao e1b99be6f2 disable interactions with deleted message in conversation screen 4 years ago
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Niels Andriesse 593ab49952 Increase voice message recording limit to 3 minutes 4 years ago
Ryan Zhao 4d65c6c340 minor refactor 4 years ago
Ryan Zhao 5a26331abc delete locally for multi device 4 years ago
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 4 years ago
Ryan Zhao bb49d7236f ui for 2 types of deletion 4 years ago
ryanzhao 25b9b06044 fix unread count not disappear after scrolling to bottom 4 years ago
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 4 years ago
ryanzhao 40d2832a30 Merge branch 'dev' of https://github.com/oxen-io/session-ios into conversation-scroll-issues 4 years ago
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 4 years ago
ryanzhao 221eabc496 fix scroll to button not always works 4 years ago
Niels Andriesse e84fc1aa04 Include destination info in error messages 4 years ago
Niels Andriesse dfdffc607c Make profile pictures tappable 4 years ago
Niels Andriesse ba60879343 Add support for new ban and delete all endpoint 4 years ago
Niels Andriesse 3238487917 Don't send screenshot notifications
None of the other platforms are able to do it, so it's inconsistent for iOS to be sending them
4 years ago
Niels Andriesse f0b74c31fa Minor refactoring 4 years ago
nielsandriesse 2c589a6935 Enable data extraction notifications 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse e4d1925436 Show confirmation dialog 4 years ago
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse 976d3343ee Fix mentions 4 years ago
nielsandriesse e1ad33e832 Clean 4 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 4 years ago
Niels Andriesse d3412be955 Merge branch 'dev' into deferred-attachment-downloads 4 years ago
Niels Andriesse cc2e43821f Quick fix dark mode issue 4 years ago
Niels Andriesse efb23a5cb3 Clean 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
Ryan ZHAO cf148fe845 handle access to selected photos & optimise the process of request photo library permission 4 years ago
ryanzhao df1b4fda57 try to handle limited photo permission 4 years ago
nielsandriesse 5ed5c02ad4 Debug 4 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 4 years ago
Ryan ZHAO 3030723bb3 fix link preview scrolling issue 4 years ago
Niels Andriesse 6c84e922a5
Merge pull request #370 from oxen-io/open-groups
V2 Open Groups
4 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 4 years ago
Niels Andriesse e26f6e946b Update comment 4 years ago
Ryan ZHAO 8c66b8febc scroll to the bottom after the message has the attachment IDs 4 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 4 years ago
Niels Andriesse 8738829358 Fill in media saved notification implementation gaps 4 years ago
Niels Andriesse 52eaa8cdeb Disable data extraction notifications for now 4 years ago
Niels Andriesse b21163a421 Handle media saved notifications 4 years ago
Niels Andriesse 9d6d68d33e Handle screenshot notifications 4 years ago
Niels Andriesse dfb2369ab8 Show unread count on scroll to bottom button 4 years ago
Niels Andriesse 67ea1782ef Add documentation 4 years ago
Niels Andriesse 21c7d0ce03 Implement drafts 4 years ago
Niels Andriesse 57eb5f8ef4 Make conversation title tappable 4 years ago
Niels Andriesse 1dc8a8270f Fix crash 4 years ago
nielsandriesse 9cda22b640 Fix ugly transition 4 years ago
Niels Andriesse d30fd2fb07 Clean 4 years ago