Commit graph

396 commits

Author SHA1 Message Date
Doug
684b1fb3ed Show an activity indicator whilst preparing the identity service. Show an alert when there's an error. 2021-09-13 14:25:54 +01:00
Doug
2c0fdf7919 Update the Service Terms modal from the latest Figma.
Checkboxes have been removed from the individual policies.
Reverse flow so that the service terms are show before the contacts access popup.
Removes outOfContext from the modal as it will only be presented when requested.
Fixes second presentation on swipe to dismiss of the modal.
2021-09-13 11:46:31 +01:00
Doug
fb192538d2 Update strings in SettingsViewController. 2021-09-09 15:17:29 +01:00
Doug
1c7cef52a0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug
c007bc5b4d Fix settings toggle not enabled. 2021-09-07 16:12:37 +01:00
Doug
0094add5a4 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug
a300cab626 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-09-06 17:04:22 +01:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Doug
2e04123337 Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
David Langley
e984457941 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley
55c515fe4a Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Doug
04c63d4e33 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-08-27 16:30:01 +01:00
Doug
99d66f0c0a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug
4a1a58d804 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu
3291266a35 Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley
cb69f48f5d
Merge pull request #4760 from vector-im/langleyd/4467_account_notification_settings
Fix Default State of Keyword Notification Setting
2021-08-26 13:16:56 +01:00
David Langley
2725255f8f Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
David Langley
45540f1d4f
Merge pull request #4752 from vector-im/langleyd/4467_account_notification_settings
Account Notification Settings and Keywords
2021-08-26 11:07:11 +01:00
David Langley
31e61dfa14 multiline comments 2021-08-25 19:28:19 +01:00
David Langley
f4d51d4648 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley
8062d46eda Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley
93dcb25733 Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley
caa5c89c6f Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley
b064551b87 Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley
dcaed769a9 Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley
4f302d64a1 typos 2021-08-25 14:32:34 +01:00
David Langley
5c4f8b9d53 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00
David Langley
1c68bbcc55 Fix chip text color in dark theme and add towncrier 2021-08-25 14:13:04 +01:00
David Langley
b87d879c22 Add Chips, InputStyles, Service Implementation, swift-collections and UI cleanup. 2021-08-25 13:03:36 +01:00
Stefan Ceriu
4322f7dcf5 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Doug
fc75307c54 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Paulo Pinto
e632b6b0eb Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
David Langley
29b436f9a8 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley
48d69ba041 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley
7114df521a run template, add entrypoint and update BuildSetting 2021-08-17 14:59:40 +01:00
Doug
9031412c02 Add an (optional) prompt when sending a video to select its size.
Use high quality when filming video in-app.
2021-08-16 17:48:26 +01:00
Doug
b7245935a1 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-08-16 10:01:54 +01:00
Stefan Ceriu
66f248de2d Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Doug
fda058002c Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug
32208e615f Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug
dedf385997 Update notifications disabled alert. 2021-07-28 12:45:06 +01:00
Doug
f4c6104513 Turn the toggle off if notifications were denied. 2021-07-28 11:38:49 +01:00
Doug
88660d566b Update string. 2021-07-27 17:38:40 +01:00
Doug
8b1d6c4c55 Cherry-pick ceb5a35 and 949d3d9 as an additional option, rather than replacing the toggle. 2021-07-27 17:31:22 +01:00
Doug
ef9676a62a Fix compile error. 2021-07-27 17:15:43 +01:00
Doug
6edd2c79da Merge branch 'develop' into doug/2368_2_allow_silent_notifications 2021-07-27 16:52:30 +01:00
Doug
20459f1f3e Trim whitespace from the identity server text entry and don't allow an empty string. 2021-07-23 14:27:25 +01:00
Doug
fbb228a1ae Configure identity server keyboard for safer URL entry. 2021-07-23 14:08:51 +01:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu
0ead60f397 #4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times. 2021-07-19 15:48:37 +03:00
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Doug
2fb4bd3a17 Typo. 2021-07-15 18:24:02 +01:00
Doug
dae40a18a3 Drop use of deprecated currentUserNotificationSettings property in favour of UNUserNotificationCenter. 2021-07-15 18:23:36 +01:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Doug
8cd2bd4eda Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
manuroe
3b180fc471 More cleaning 2021-06-16 18:03:46 +02:00
manuroe
eb06b6fa2f Cleaning 2021-06-16 16:11:32 +02:00
manuroe
838558afb3 Valide the 4S private key before using it 2021-06-16 15:31:39 +02:00
manuroe
71ea0f82a9 Fix build without compilation flag 2021-06-16 15:05:30 +02:00
manuroe
83f6a01156 Forgot to push this change. Thanks CI. 2021-06-16 14:40:29 +02:00
manuroe
a27dc11f5c Security settings: Reduce the number of secure backup section states 2021-06-16 13:52:27 +02:00
manuroe
e68c4653a3 Security settings: Improve the state of the secure backup section to be exhaustive 2021-06-16 13:38:23 +02:00
manuroe
115c65cae1 Security settings: Manage the case where the is a key backup but no secure backup 2021-06-16 12:25:01 +02:00
manuroe
ed7eb4edc6 Security settings: Manage the case when there is no secure backup 2021-06-16 11:50:50 +02:00
manuroe
5d526fdb82 Security settings: Display section description at the bottom
as before
2021-06-16 11:27:07 +02:00
manuroe
82639fcca0 Security settings: Offer to reset the secure backup when there is no key backup 2021-06-16 10:55:59 +02:00
manuroe
b84ea2bc92 Security settings: Add an option to reset the secure backup
It will overwrite the existing one if any
2021-06-16 09:53:31 +02:00
manuroe
ccf57359b3 Key Backup setup: Create the key backup using 4S if it exists 2021-06-16 08:18:23 +02:00
manuroe
110879b4e2 Secure backup: Allow to execute a random closure the secure backup is unlocked
Only from swift.
We should change the name "SecretsRecovery" classes
2021-06-16 07:50:18 +02:00
manuroe
8b94550c25 Security settings: Introduce a dynamic section for SECURE BACKUP
This is a copy from SettingsKeyBackupTableViewSection.
We need to get the current status of the key backup to be able to display right actions.
2021-06-15 19:22:54 +02:00
manuroe
7cc653a7c7 Security settings: Display the cross-signing section
like element-web.
2021-06-15 16:09:56 +02:00
manuroe
c970c07380 SecurityViewController: Fix crash
but this code is not used in production
2021-06-15 16:07:30 +02:00
J. Ryan Stinnett
668eb0be69 Tweak auto theme message
This updates the auto theme explanation to make it more obvious that it follows
the system theme when on iOS 13+.

Fixes https://github.com/vector-im/element-ios/issues/2860
2021-06-10 23:24:43 +01:00
ismailgulek
f07b76c030
Do not show the settings screen again while session closed 2021-06-03 13:21:01 +03:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
662bd96648
Update onTintColor 2021-06-01 17:24:17 +03:00
ismailgulek
678fc48b80
Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
Gil Eluard
ddd1a6b60e Show / hide NSFW and decrypted content options in Settings screen from build settings 2021-04-29 17:53:18 +02:00
ismailgulek
3162a5d720
Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek
143a0aa853
Remove lab setting for Jitsi calls 2021-04-06 17:25:37 +03:00
Gil Eluard
9a5c66190c Make the application settings more configurable
- Update after review
2021-04-01 14:16:06 +02:00
Gil Eluard
140c834d1c Make the application settings more configurable 2021-03-31 19:04:00 +02:00
SBiOSoftWhare
e14a280b6c Settings: Add show NSFW public rooms toggle. 2021-03-03 16:32:05 +01:00
SBiOSoftWhare
a7bc32045b SettingsVC: Use mainSession property where needed. 2021-02-12 09:19:46 +01:00
SBiOSoftWhare
bc752cc2b6 Settings: Add UIA support when adding a new 3pid. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
763749f2ba ManageSessionVC: Handle user interactive authentication for delete device. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
2db49177ae Remove unused properties. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
57c3c0f44e SecurityVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:48 +01:00
SBiOSoftWhare
043867aa97 SettingsVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:26 +01:00
SBiOSoftWhare
1f0079a5c5
Merge pull request #3912 from vector-im/invite_friends 2021-01-13 09:19:11 +01:00
SBiOSoftWhare
86f8ccd659 Invite friends: Update invite friends action wording. 2021-01-12 18:14:52 +01:00
SBiOSoftWhare
cefe5f9d16 Invite friends: Add action to settings. 2021-01-11 18:26:06 +01:00
Gil Eluard
c9848307b9 Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
manuroe
834cc7f41d Security screens: Update automatically shields when the trust changes. 2020-10-08 17:34:42 +02:00
SBiOSoftWhare
c6c470c092 Settings: Improve new phone number cell UI. 2020-10-01 12:26:02 +02:00
manuroe
34dbd7ea71 SecutirySettingsVC: Fix commented code that did not build 2020-09-29 17:08:06 +02:00
SBiOSoftWhare
d489cb17d7 SecurityViewController: Reload sections on settingsKeyBackupTableViewSectionDidUpdate call. 2020-09-28 17:22:43 +02:00