Commit graph

71 commits

Author SHA1 Message Date
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
2022-02-15 13:55:59 +11:00
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +11:00
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)
2022-02-02 16:59:56 +11:00
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
2022-02-01 14:55:03 +11:00
Ryan Zhao 5803eae134 clean 2021-12-14 15:12:48 +11:00
Ryan Zhao bbccbe42c1 copy / paste images directly 2021-12-13 15:51:42 +11:00
ryanzhao 13b7b1edb6 Keep screen on when recording voice message 2021-11-16 10:36:31 +11:00
ryanzhao 3a38f44d1f fix deleting message in open groups 2021-10-22 11:59:57 +11:00
ryanzhao bf2725183d automatically add space after mention 2021-09-14 15:20:48 +10:00
ryanzhao a7e9606833 add copy link option when clicking a link 2021-08-31 10:28:45 +10:00
Niels Andriesse 45042a1acf Fix typos 2021-08-10 11:17:04 +10:00
ryanzhao eee9ceff39 fix crash for older messages 2021-08-09 16:57:32 +10:00
ryanzhao 31cf0b7b20 don't send unsend requests for open groups 2021-08-09 16:13:36 +10:00
ryanzhao 76a96c31bf add flag to disable unsend request for now 2021-08-09 13:51:09 +10:00
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-09 11:21:29 +10:00
Mark Feaver f0fb4529c8 Disabled tableview scroll when swiping to reply in a conversation 2021-08-08 17:57:48 +10:00
Ryan Zhao b714565480 smooth the hide and show of the input accessory view 2021-08-05 16:55:49 +10:00
Ryan Zhao 4904d2cdcf localisation 2021-08-05 16:15:11 +10:00
Ryan Zhao 90bd775fd5 show delete options for only outgoing messages 2021-08-05 16:05:52 +10:00
Ryan Zhao 8c897dcc3d use action sheet to show options for deleting a message 2021-08-05 15:59:23 +10:00
Ryan Zhao da1fe9b287 clean 2021-08-05 14:55:33 +10:00
Ryan Zhao e1b99be6f2 disable interactions with deleted message in conversation screen 2021-08-05 13:36:56 +10:00
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-03 10:26:30 +10:00
Niels Andriesse 593ab49952 Increase voice message recording limit to 3 minutes 2021-08-03 09:12:01 +10:00
Ryan Zhao 4d65c6c340 minor refactor 2021-08-02 11:32:46 +10:00
Ryan Zhao 5a26331abc delete locally for multi device 2021-08-02 11:19:08 +10:00
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 2021-07-30 16:51:43 +10:00
Ryan Zhao bb49d7236f ui for 2 types of deletion 2021-07-30 15:26:58 +10:00
ryanzhao 25b9b06044 fix unread count not disappear after scrolling to bottom 2021-07-27 14:45:23 +10:00
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 2021-07-22 11:10:30 +10:00
ryanzhao 40d2832a30 Merge branch 'dev' of https://github.com/oxen-io/session-ios into conversation-scroll-issues 2021-07-20 10:17:30 +10:00
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 2021-07-19 13:15:02 +10:00
ryanzhao 221eabc496 fix scroll to button not always works 2021-07-16 13:27:27 +10:00
Niels Andriesse e84fc1aa04 Include destination info in error messages 2021-07-15 09:47:03 +10:00
Niels Andriesse dfdffc607c Make profile pictures tappable 2021-07-14 15:56:56 +10:00
Niels Andriesse ba60879343 Add support for new ban and delete all endpoint 2021-07-13 14:33:42 +10:00
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
2021-07-13 13:47:28 +10:00
Niels Andriesse f0b74c31fa Minor refactoring 2021-07-01 16:15:04 +10:00
nielsandriesse 2c589a6935 Enable data extraction notifications 2021-06-01 09:58:10 +10:00
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 2021-05-20 16:25:59 +10:00
Niels Andriesse e4d1925436 Show confirmation dialog 2021-05-07 15:18:57 +10:00
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 2021-05-07 13:06:48 +10:00
Niels Andriesse 976d3343ee Fix mentions 2021-05-07 10:10:25 +10:00
nielsandriesse e1ad33e832 Clean 2021-05-05 14:22:29 +10:00
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
Niels Andriesse d3412be955 Merge branch 'dev' into deferred-attachment-downloads 2021-04-08 16:17:55 +10:00
Niels Andriesse cc2e43821f Quick fix dark mode issue 2021-04-08 16:14:25 +10:00
Niels Andriesse efb23a5cb3 Clean 2021-04-08 16:03:52 +10:00
Niels Andriesse 0fc181ae9a Fix voice message handling 2021-04-08 15:32:36 +10:00
Niels Andriesse aa5b0ed6e4 Don't show placeholder for sent media 2021-04-08 15:08:34 +10:00