Commit graph

345 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
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