Commit Graph

54 Commits

Author SHA1 Message Date
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
2022-02-25 12:48:38 +11:00
Morgan Pretty 30cbe77366 Added labels to the NewConversationButtonSet 2022-02-22 16:59:10 +11:00
Morgan Pretty 2d6dad67eb Added back another missing localised string 2022-02-22 16:08:07 +11:00
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
2022-02-21 14:48:53 +11:00
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +11:00
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
2022-02-17 16:29:14 +11:00
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2022-02-11 11:26:04 +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
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 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.
2022-01-13 16:08: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
ryanzhao 02932bca93 Appearance based on system theme 2021-10-19 11:03:59 +11:00
ryanzhao 1a669feb1a change `Support` to `Debug Log` 2021-10-15 12:30:08 +11:00
ryanzhao 5553d4e068 fix default PN content 2021-10-15 10:02:00 +11:00
ryanzhao 7aa751ca45 share log files in settings vc 2021-10-01 09:18:40 +10:00
ryanzhao 69b262a081 add new survey button 2021-09-17 16:24:09 +10:00
ryanzhao e049d05891 update translations 2021-09-15 15:07:18 +10:00
ryanzhao a7e9606833 add copy link option when clicking a link 2021-08-31 10:28:45 +10:00
ryanzhao b7289e72a3 add accessibility to attachment buttons 2021-08-25 12:18:06 +10:00
ryanzhao 951b8ac1e6 localisation for context menu 2021-08-09 14:00:10 +10:00
Ryan Zhao 4904d2cdcf localisation 2021-08-05 16:15:11 +10:00
Ryan Zhao 33bd74338d localisation 2021-08-05 15:37:54 +10:00
Niels Andriesse 483ed4792f Fix localization & clean 2021-07-29 10:14:06 +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
Niels Andriesse 97d0e0a1b6 Update translations 2021-07-15 13:34:40 +10:00
Niels Andriesse 873279b65b Add FAQ button to settings 2021-07-14 14:05:40 +10:00
Niels Andriesse 57ebadcbdb Update translations 2021-07-07 14:30:55 +10:00
Niels Andriesse f4922c1f5c Update translations 2021-05-24 15:07:10 +10:00
Niels Andriesse 85462c3979 Add missing string 2021-05-17 15:40:58 +10:00
Niels Andriesse 40d3497aaf Add missing strings 2021-05-17 10:03:40 +10:00
Niels Andriesse b3f45455e5 Hook up user selection screen 2021-05-07 13:50:32 +10:00
Niels Andriesse 2f1e2a141b Localize new string 2021-05-07 13:13:17 +10:00
Niels Andriesse 92af8da03e Improved translations 2021-05-07 10:48:49 +10:00
Niels Andriesse 57206c4a5c Fix loader 2021-05-06 12:48:49 +10:00
Niels Andriesse 1a11476b85 Fix screen lock handling 2021-05-06 10:36:58 +10:00
nielsandriesse b3a6d90a1b Add missing strings 2021-05-05 13:18:45 +10:00
Niels Andriesse eae11ef5c0 Add missing string 2021-05-04 15:56:35 +10:00
Niels Andriesse d81866b9bd Add missing string 2021-05-04 09:10:20 +10:00
Niels Andriesse 49d2b1c4a4 Add missing strings 2021-05-04 09:04:24 +10:00
Niels Andriesse 0d53149cd3 Add missing strings 2021-05-03 13:57:30 +10:00
Niels Andriesse 9b2dedb70b Add missing string 2021-05-03 08:51:15 +10:00
Niels Andriesse 0e4e344ec5 Add missing string 2021-04-30 14:39:57 +10:00
Niels Andriesse fd49653800 Add missing strings 2021-04-30 09:51:04 +10:00
Niels Andriesse 7c8c7a6746 Add missing strings 2021-04-30 09:25:08 +10:00
Niels Andriesse dee7f80364 Fix typos 2021-04-30 09:12:29 +10:00
Niels Andriesse 0f41aeb404 Add missing string 2021-04-30 09:10:23 +10:00
Niels Andriesse 65532fbb72 Fix missing string 2021-04-30 08:57:28 +10:00
Niels Andriesse 601df96058 Remove unused strings 2021-04-29 15:20:11 +10:00