Commit graph

474 commits

Author SHA1 Message Date
Arnaud Ringenbach
6d60899b76 Fix minor cryptography typo 2022-03-09 11:45:39 +01:00
Arnaud Ringenbach
ddaf784100 Security settings: disable secure backup management if backup is required 2022-03-09 11:45:29 +01:00
Gil Eluard
9ebd8a4802
Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Arnaud Ringenbach
059b75a957 Rename profile as userAvatarAndName 2022-03-07 13:45:02 +01:00
Arnaud Ringenbach
724eef1b83 Use only latest profiles in the timeline (labs) 2022-03-07 13:45:02 +01:00
Doug
705b31a302 Remove MatrixKitL10n from SwiftGen
Uses VectorL10n everywhere.
2022-03-03 09:34:54 +00:00
Stefan Ceriu
c067916ea4 Merge branch 'master' into develop 2022-02-16 12:45:06 +02:00
Doug
2839cfb0dd Use UIControlEventTouchUpInside for all toggles. 2022-02-16 12:42:00 +02:00
SBiOSoftWhare
4a5ce2945b SettingsViewController: Fix indent issue. 2022-02-16 12:42:00 +02:00
SBiOSoftWhare
f3d2740e00 Message bubbles: Move bubbles settings to labs section atm. 2022-02-16 12:42:00 +02:00
aringenbach
94dab7ad4b
Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers

* Use dot notation in ObjC & fix minor issues

Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
2022-02-10 17:13:23 +01:00
SBiOSoftWhare
8018b541cc SettingsViewController: Fix indent issue. 2022-02-10 15:08:24 +01:00
SBiOSoftWhare
9b5b274022 Message bubbles: Move bubbles settings to labs section atm. 2022-02-10 14:59:45 +01:00
Stefan Ceriu
4bd5c12f73 Fixed various project warnings. Completely disabled nullability checks, went down from ~20k to 195. 2022-02-10 08:43:18 +02:00
ismailgulek
61b741ef2d
Merge branch 'develop' into ismail/5096_thread_notifications 2022-02-02 12:46:00 +03:00
Stefan Ceriu
07f5851421 De-labs location sharing and enable it by default. 2022-02-02 09:59:45 +02:00
ismailgulek
bd12487fd7
Feed threading option in the SDK 2022-01-28 04:32:06 +03:00
ismailgulek
8cc82cf7e1
Merge branch 'develop' into ismail/5068_start_thread 2022-01-25 14:30:52 +03:00
SBiOSoftWhare
95ee3cf041
Merge pull request #5383 from vector-im/steve/5208_text_msg_layout
Message bubbles: Text message layout
2022-01-21 16:06:57 +01:00
ismailgulek
fe9eeeadd5
Merge branch 'develop' into ismail/5068_start_thread 2022-01-19 00:07:52 +03:00
Stefan Ceriu
6eb0f6c9ef vector-im/element-ios/issues/5114 - De-labs-ed polls, disabled editing and undisclosed polls until platform parity. 2022-01-18 20:05:10 +02:00
ismailgulek
be882e4097
Reset detail screen after lab setting change, fixes #5273 2022-01-18 02:14:23 +03:00
ismailgulek
aeccbc0dac
Merge branch 'develop' into ismail/5068_start_thread 2022-01-17 11:35:10 +03:00
SBiOSoftWhare
71b4f72fa7 SettingsVC: Handle possibility to change room timeline style and apply changes. 2022-01-14 10:06:40 +01:00
SBiOSoftWhare
565b1cca05
Merge pull request #5342 from vector-im/steve/5321_bubbles_lauching
Message bubbles: Add settings and build flag
2022-01-13 09:50:23 +01:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
28cb2d23d1 vector-im/element-ios/issues/5298 - Settings screen toggle for disabling location sharing. 2022-01-04 17:33:32 +02:00
ismailgulek
ca36f99a08
Merge branch 'develop' into ismail/5068_start_thread 2022-01-04 15:28:19 +03:00
SBiOSoftWhare
9e8e8b7fad Settings: Add enable room message bubbles parameter. 2022-01-03 18:30:59 +01:00
Doug
3a9d35a50b Add AnalyticsScreenTimer and track more screens.
Update Analytics with new methods in MXAnalyticsDelegate.
2021-12-16 16:59:45 +00:00
Doug
7bdc146b82 Use matrix-analytics-events generated stubs (locally for now).
Track screens, removing any that aren't part of the schema.
2021-12-16 16:59:45 +00:00
Doug
2b80c0437a Don't read analytics opt in status from account data.
Update PostHog to 1.4.3.

Add tests for prompt type.
2021-12-16 16:59:45 +00:00
Doug
6f94303cdc Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
ismailgulek
d7b18bb223
Apply MatrixKit PR changes 2021-12-09 16:57:43 +03:00
ismailgulek
e3a47a59f9
Merge branch 'develop' into ismail/5068_start_thread 2021-12-09 15:25:14 +03:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
3d0c77ef30 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
ismailgulek
d935ca3fd6
Merge branch 'develop' into ismail/5068_start_thread 2021-11-30 01:33:51 +03:00
SBiOSoftWhare
3c5d7f3fa4 SecurityViewController: Don't use private properties from SDK. 2021-11-26 15:25:36 +01:00
ismailgulek
8723a69528
Merge branch 'develop' into ismail/5068_start_thread 2021-11-19 00:23:24 +03:00
Doug
e324767d7d Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
ismailgulek
a319f076b1
Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek
1e7c9bbd72
Add labs setting for threads 2021-11-09 15:18:18 +03:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
SBiOSoftWhare
eedb8776d5
Merge pull request #5091 from vector-im/steve/5090_update_settings_about_section
Settings: Update about section footer text
2021-11-04 12:02:10 +01:00
SBiOSoftWhare
357cbea82c SettingsVC: Update about section footer text. 2021-11-04 11:48:06 +01:00
Doug
f2cd673896 Keep strong refs to weak views before display. 2021-11-01 17:38:56 +00:00
SBiOSoftWhare
df472c11d5 SettingsViewController: Prevent retain cycles. 2021-10-29 10:49:29 +02:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
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
SBiOSoftWhare
f891cce4bb
Merge pull request #4960 from vector-im/steve/4734_master_tab_bar_refacto
Split view: Improve detail view management and add possibility to stack views on it
2021-10-11 17:23:20 +02:00
SBiOSoftWhare
feef2baa95 NavigationStore: Update public method signature. 2021-10-08 17:15:14 +02: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
SBiOSoftWhare
3d75153bc1 Use NavigationRouterStore where needed. 2021-10-05 10:48:52 +02: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
2c0bf1e80f vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-09-30 09:40:12 +03: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
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Stefan Ceriu
0848f66cdb Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
Stefan Ceriu
6abdcb9e93 Fix #4415 - Added back section header when only PIN available. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
1f87204123 Fix #4415 - Cannot disable Face ID after disabling pin. Fixed security vc cell tags comparisons. 2021-09-22 08:44:48 +03:00
Stefan Ceriu
9f486fa1fb Fix #4461 - "PIN & (NULL)" when device biometrics not available (or not enrolled). 2021-09-22 08:44:48 +03: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
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