Commit Graph

342 Commits

Author SHA1 Message Date
Doug bb98bbe1c0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
Doug 42e9e0e24a Fix settings toggle not enabled. 2021-09-07 16:12:37 +01:00
Doug a05b1cab03 Move url preview setting under labs section. 2021-09-07 16:00:12 +01:00
Doug 640c4a562c 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 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug 24bfe36712 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 14169c6594 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley c5881e11ae 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 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley ada377dcf2 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 d1eaa90984 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 fc8484b467 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley cb0403ed8d Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Doug 4c59f1bd37 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Stefan Ceriu 4c60dc9a8e Fixes #4746 - It is very easy to make duplicate rooms 2021-08-26 17:48:24 +03:00
David Langley dc2e3ca367 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 41bba11834 Set true as default state for notification settings. Only matters for keywords. 2021-08-26 12:13:17 +01:00
David Langley f49af07c11 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 0eebae4712 multiline comments 2021-08-25 19:28:19 +01:00
David Langley 32610816e5 Add ViewFrameReader 2021-08-25 19:24:33 +01:00
David Langley a3c927ffaf Remove 'OrderedSet' 2021-08-25 16:53:15 +01:00
David Langley 391a6ea6c5 Address comments and cleanup version checks 2021-08-25 15:46:02 +01:00
David Langley bfd6bac416 Improve comments and correct iOS version check logic. 2021-08-25 15:17:05 +01:00
David Langley 94b3cc0093 Add comments for flow layout. 2021-08-25 14:49:17 +01:00
David Langley 43d7abc11e Remove unneeded delegate methods 2021-08-25 14:38:04 +01:00
David Langley 30faf9b317 typos 2021-08-25 14:32:34 +01:00
David Langley 279d5e3811 Fix build error in BorderedInputFieldStyle 2021-08-25 14:21:43 +01:00
David Langley 6c96b15c94 Fix chip text color in dark theme and add towncrier 2021-08-25 14:13:04 +01:00
David Langley 73d5aaa966 Add Chips, InputStyles, Service Implementation, swift-collections and UI cleanup. 2021-08-25 13:03:36 +01:00
Stefan Ceriu f93ed348c9 Implements #4693 - Alert users of Element on iOS11 deprecation. 2021-08-25 13:57:32 +03:00
Doug 040416d745 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
David Langley c7833d86df Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley 0336c80db8 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley a22fb6bcbf run template, add entrypoint and update BuildSetting 2021-08-17 14:59:40 +01:00
Doug aebec5daeb 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 09f68529cd 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 7c637939a9 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Doug f3beec64f0 Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug ab50ed05e9 Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug cd807d718e Update notifications disabled alert. 2021-07-28 12:45:06 +01:00
Doug 60748a68dc Turn the toggle off if notifications were denied. 2021-07-28 11:38:49 +01:00
Doug 1b184c988f Update string. 2021-07-27 17:38:40 +01:00
Doug 2eebd6ef71 Cherry-pick ceb5a35 and 949d3d9 as an additional option, rather than replacing the toggle. 2021-07-27 17:31:22 +01:00
Doug 7b52d9912f Fix compile error. 2021-07-27 17:15:43 +01:00
Doug 75aa3337de Merge branch 'develop' into doug/2368_2_allow_silent_notifications 2021-07-27 16:52:30 +01:00
Doug d0582016ea Trim whitespace from the identity server text entry and don't allow an empty string. 2021-07-23 14:27:25 +01:00
Doug 82dfc0611f Configure identity server keyboard for safer URL entry. 2021-07-23 14:08:51 +01:00
manuroe f6483d7262 Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu a7d053e97f #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 f19511d372 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00