Commit Graph

396 Commits

Author SHA1 Message Date
Doug f87e0fc35d 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 4a4bf7d4dc 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 bdf5aa3868 Update strings in SettingsViewController. 2021-09-09 15:17:29 +01:00
Doug f92fae96d0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug 917447ad1f Fix settings toggle not enabled. 2021-09-07 16:12:37 +01:00
Doug 1083516152 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug f6fdb42ff3 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 7d6a1cac40 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug ef65feb3de 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 7093f407f7 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley 823e526bec 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 ef3fb0433e #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley 862f30102f 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 69e98ce572 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 1408095129 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley 087f848ec5 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug 240a5e8f5f Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu 3600d41611 Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley db4a55724f 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 319a4fde18 Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
David Langley b5634b051a 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 b55696e446 multiline comments 2021-08-25 19:28:19 +01:00
David Langley f74d2cadb0 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley 41aeac4ee9 Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley c1c6c39a3d Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley ea38ecc6c7 Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley 1164d1c1d8 Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley e7db1eca52 Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley d54edb11b0 typos 2021-08-25 14:32:34 +01:00
David Langley bd239a3026 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00
David Langley a691004e33 Fix chip text color in dark theme and add towncrier 2021-08-25 14:13:04 +01:00
David Langley b2460204e2 Add Chips, InputStyles, Service Implementation, swift-collections and UI cleanup. 2021-08-25 13:03:36 +01:00
Stefan Ceriu 95572d5e44 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Doug c7f426f977 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Paulo Pinto 7f643f8f0e Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
David Langley 343d5a7017 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley 42801a3ca1 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley f59ed76783 run template, add entrypoint and update BuildSetting 2021-08-17 14:59:40 +01:00
Doug a9d5d4d5d7 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 7dea78bae9 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 ecfa544cd0 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Doug 729c4a5957 Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug abd1bd2a41 Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug 40218b1120 Update notifications disabled alert. 2021-07-28 12:45:06 +01:00
Doug cd418ac6b7 Turn the toggle off if notifications were denied. 2021-07-28 11:38:49 +01:00
Doug 3a67262e92 Update string. 2021-07-27 17:38:40 +01:00
Doug 49bf20267f Cherry-pick ceb5a35 and 949d3d9 as an additional option, rather than replacing the toggle. 2021-07-27 17:31:22 +01:00
Doug 42b4c8f405 Fix compile error. 2021-07-27 17:15:43 +01:00
Doug 3546be297c Merge branch 'develop' into doug/2368_2_allow_silent_notifications 2021-07-27 16:52:30 +01:00
Doug 56ab44e94b Trim whitespace from the identity server text entry and don't allow an empty string. 2021-07-23 14:27:25 +01:00