Commit graph

199 commits

Author SHA1 Message Date
Doug
a7395dbf25 Address Steve's comments. 2021-10-20 19:29:23 +01:00
Doug
614cb4d373 Add SectionFooterView.xib to fix fonts on iOS 12-14.
Update SecurityViewController too.
2021-10-20 17:40:39 +01:00
Doug
2f879e8aa3 Fix bug accepting identity server terms from the Setting Discovery section. 2021-10-20 17:40:39 +01:00
Doug
7a096a7df5 Use footers for app and discovery information.
Remove Invite Friends button from settings.
Reorganise Advanced and Other settings.
Rename Other to About.
2021-10-20 17:40:39 +01:00
Doug
4b5630a83f Update fonts, add attributed strings and add tap gestures back.
Footers use subheadline. Headers use footnote.
2021-10-20 17:40:39 +01:00
Doug
685d8f2a54 Use actual footer titles rather than cells that mimic them. 2021-10-20 17:40:39 +01:00
Doug
80e6e4af43 Use footnote text style for description cells to match UITableView's footer style. Match the footer colour to the header colour. Add -[SettingsViewController descriptionCellForTableView:] and use for appropriate cells. 2021-10-20 17:40:39 +01:00
Doug
8e8efd4808 Use headerTextPrimaryColor in headers and don't override system font size. 2021-10-20 17:40:39 +01:00
Doug
bf52311bda Merge remote-tracking branch 'origin/develop' into doug/4484_contacts_access
# Conflicts:
#	Riot/Modules/ServiceTerms/Modal/ServiceTermsModalCoordinatorBridgePresenter.swift
2021-10-08 11:45:43 +01:00
Stefan Ceriu
d6ffc55477 vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
Doug
50d9952c08 Small tweaks plus changelog entry.
Use the new generated localisation strings. Add comments.

Address feedback from PR review.
2021-10-01 16:16:26 +01:00
manuroe
e60f92eaf8 i18n: Standardise casing of identity server and integration manager. 2021-10-01 11:51:30 +01:00
Doug
b9dc5d6eca Merge branch 'develop' into doug/4484_contacts_access
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	Riot/Modules/Application/LegacyAppDelegate.m
#	Riot/Modules/Settings/SettingsViewController.m
2021-09-30 11:14:02 +01:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug
b4569296ac Check whether URL previews should be shown in a single location.
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug
96ef61ab21 Enable URL Previews by default and remove from Labs. 2021-09-16 17:51:56 +01:00
Doug
3198f7cf0e Rename RequestContactsAccessFooterView to FindYourContactsFooterView. 2021-09-15 10:03:32 +01:00
Doug
4800ff3039 Call -MXKContactManager.validateSyncLocalContactsState when the app is launched. 2021-09-14 14:49:07 +01:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
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
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
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03: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
4a1a58d804 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +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
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
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
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