Commit graph

329 commits

Author SHA1 Message Date
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
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +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
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
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
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