Commit Graph

42 Commits

Author SHA1 Message Date
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 2022-03-01 13:26:41 +11:00
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)
2022-02-28 17:23:34 +11:00
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 2022-02-25 13:43:49 +11:00
Ryan Zhao b32a8cbab2 fix alert vc for iPad 2022-02-24 16:02:24 +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 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2022-02-03 08:32:17 +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
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 2022-01-20 10:48:01 +11:00
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).
2022-01-13 16:37:23 +11:00
Morgan Pretty 67ad965859 Link Preview error state and UI standardisation
Added a couple of error states for Link Preview loading.
Standardised the UI creation code style.
Removed some debug and redundant code.
2022-01-13 10:05:42 +11:00
Morgan Pretty 61f809caee Fixed a couple of bugs and started UI refactoring
Refactored the UI creation and layout code in the attachments UI.
Started refactoring the UI in the MediaMessageView (converting the existing stuff and will then consolidate when done).
Fixed a bug where playing a video attachment would result in the zoom continually getting reset.
Fixed a bug where the attachment zoom scale would randomly change causing odd behaviours.
2022-01-12 16:57:04 +11:00
Morgan Pretty 4f3faa28bc Refactored SessionShareExtension code to Swift 2022-01-11 12:38:19 +11:00
Ryan Zhao 300f6f50cf add size label for file type attachment 2021-12-07 15:25:05 +11:00
Ryan Zhao 4f1093beca improve translation and notificaiton displaying 2021-11-23 11:58:19 +11:00
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 2021-08-02 14:03:46 +10:00
Niels Andriesse d2161545d6 WIP 2021-07-15 16:39:59 +10:00
nielsandriesse a098ba7125 Remove unused code 2021-05-05 12:13:48 +10:00
Niels Andriesse 862b4c0512 Delete unused OWSAttachmentDownloads 2021-04-26 15:48:32 +10:00
Niels Andriesse 8a54a243a4 Fix long conversation crash the right way 2021-04-19 09:35:09 +10:00
Niels Andriesse 009f690f1e Clean 2021-04-08 10:30:39 +10:00
Ryan ZHAO 513775b952 add comments 2021-04-06 14:32:55 +10:00
Ryan ZHAO 9dab07f41c set kConversationInitialMaxRangeSize back to 100 and fix the crash 2021-04-06 14:28:03 +10:00
nielsandriesse 0735fb556f Mostly implement media sending nuts & bolts 2021-02-17 09:40:23 +11:00
nielsandriesse 3e7de541cb Redesign voice message recording UI 2021-02-16 13:57:30 +11:00
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 2021-02-09 15:14:18 +11:00
Niels Andriesse 632027134c Fix migrations being run before everything's set up 2021-01-27 09:25:40 +11:00
Niels Andriesse bbac6cc5ed Attempt to fix extensions 2021-01-25 10:28:33 +11:00
nielsandriesse 2a46544542 Re-organize files 2021-01-12 11:25:31 +11:00
Niels Andriesse ac6baec6f2 Make things compile again 2020-11-26 10:37:56 +11:00
nielsandriesse 5dfd4b1965 Restructure 2020-11-25 16:15:16 +11:00
Niels Andriesse d7c71a8c06 Make things compile again 2020-11-23 10:24:40 +11:00
nielsandriesse b218a16b05 Implement attachment downloading 2020-11-20 15:53:56 +11:00
nielsandriesse 7d207ddfb7 Organize files 2020-11-20 10:14:35 +11:00
Niels Andriesse a48fc40aa6 WIP 2020-11-19 15:35:43 +11:00
Niels Andriesse 72b4c3edaf WIP 2020-11-19 15:24:09 +11:00
Niels Andriesse 30370bf4d2 Make basic message sending work 2020-11-19 11:16:23 +11:00
Niels Andriesse 4f3448d75d Remove more Signal code 2020-11-19 10:37:18 +11:00
nielsandriesse 58802936c1 Finish message receiving pipeline 2020-11-19 09:44:00 +11:00
nielsandriesse 97545de75e Handle expiration timer updates 2020-11-18 15:36:51 +11:00
Niels Andriesse b030b5999b Make messages show up again 2020-11-18 12:02:38 +11:00
nielsandriesse f36f447bec Ditch unused Signal code 2020-11-17 15:35:52 +11:00
nielsandriesse 15c6784f0f WIP 2020-11-12 16:02:21 +11:00