Commit graph

199 commits

Author SHA1 Message Date
manuroe
b84ea2bc92 Security settings: Add an option to reset the secure backup
It will overwrite the existing one if any
2021-06-16 09:53:31 +02:00
J. Ryan Stinnett
668eb0be69 Tweak auto theme message
This updates the auto theme explanation to make it more obvious that it follows
the system theme when on iOS 13+.

Fixes https://github.com/vector-im/element-ios/issues/2860
2021-06-10 23:24:43 +01:00
ismailgulek
f07b76c030
Do not show the settings screen again while session closed 2021-06-03 13:21:01 +03:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
662bd96648
Update onTintColor 2021-06-01 17:24:17 +03:00
ismailgulek
678fc48b80
Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
Gil Eluard
ddd1a6b60e Show / hide NSFW and decrypted content options in Settings screen from build settings 2021-04-29 17:53:18 +02:00
ismailgulek
3162a5d720
Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek
143a0aa853
Remove lab setting for Jitsi calls 2021-04-06 17:25:37 +03:00
Gil Eluard
9a5c66190c Make the application settings more configurable
- Update after review
2021-04-01 14:16:06 +02:00
Gil Eluard
140c834d1c Make the application settings more configurable 2021-03-31 19:04:00 +02:00
SBiOSoftWhare
e14a280b6c Settings: Add show NSFW public rooms toggle. 2021-03-03 16:32:05 +01:00
SBiOSoftWhare
a7bc32045b SettingsVC: Use mainSession property where needed. 2021-02-12 09:19:46 +01:00
SBiOSoftWhare
bc752cc2b6 Settings: Add UIA support when adding a new 3pid. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
2db49177ae Remove unused properties. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
043867aa97 SettingsVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:26 +01:00
SBiOSoftWhare
86f8ccd659 Invite friends: Update invite friends action wording. 2021-01-12 18:14:52 +01:00
SBiOSoftWhare
cefe5f9d16 Invite friends: Add action to settings. 2021-01-11 18:26:06 +01:00
SBiOSoftWhare
c6c470c092 Settings: Improve new phone number cell UI. 2020-10-01 12:26:02 +02:00
SBiOSoftWhare
1e6b0da7ca
Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare
0274143ddf Remove code used before iOS 11. 2020-09-01 14:19:21 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
manuroe
a151bf4a91 Code Quality: Make sonar happier
by removing some code smells
2020-08-25 18:54:47 +02:00
ismailgulek
1e49b4c2cc Fix Steves remarks 2020-08-18 18:14:52 +03:00
ismailgulek
1976fc1906 Suppress warnings 2020-08-18 17:38:52 +03:00
ismailgulek
a52f27f77f Use TableViewSections in SettingsViewController 2020-08-18 17:32:31 +03:00
ismailgulek
d3c539d59e
Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe
20209bfcfe BuildSettings: Integrate stunServerFallback 2020-07-31 08:49:30 +02:00
manuroe
1e51d5617f BuildSettings: Integrate legal URLs 2020-07-31 08:29:22 +02:00
ismailgulek
e7c51f7a2f
Avoid mutation of sections to avoid crashes 2020-07-30 18:21:53 +03:00
ismailgulek
7267da3f05
Add sanity checks 2020-07-30 18:13:25 +03:00
ismailgulek
f328a96716
fix copy/paste issue, thanks to @Manu 2020-07-30 18:12:51 +03:00
ismailgulek
2fff1dc5f8
Move Row and Section to individual classes 2020-07-30 18:09:30 +03:00
ismailgulek
a8ad34969f
All new settings moved to BuildSettings 2020-07-30 16:13:08 +03:00
ismailgulek
349cff564f Use matrixApps for allowIntegrations, will be moved later 2020-07-30 16:12:12 +03:00
ismailgulek
efc7a9eef4 Introduce allowBugReportingManually 2020-07-30 16:11:23 +03:00
ismailgulek
ba0cf5bd25 Refactor settings page to use new settings dynamicly 2020-07-30 16:11:05 +03:00
SBiOSoftWhare
a504a8f8be Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
ismailgulek
2bc6f09a7f
Merge branch 'develop' into riot_3396 2020-07-16 13:10:29 +03:00
ismailgulek
996983c7ca
Merge branch 'develop' into riot_3389 2020-07-16 12:57:57 +03:00
ismailgulek
1d66fcacfa Merge branch 'develop' into riot_3396 2020-07-16 10:38:42 +03:00
ismailgulek
866fe96570 Merge branch 'develop' into riot_3389 2020-07-16 10:38:25 +03:00
ismailgulek
25478b7073 Merge branch 'develop' into fix_3401 2020-07-16 10:37:08 +03:00
ismailgulek
19e5dd5412
Scroll to next section if discovery is not ready yet, fixes #3401 2020-07-15 16:13:59 +03:00
ismailgulek
964cdd02a5
Fix crash 2020-07-14 17:19:41 +03:00
ismailgulek
d7bcef51d6
Remove lazy loading labs setting 2020-07-14 16:11:57 +03:00
SBiOSoftWhare
d1dfcaf33f Update plus icon. 2020-07-11 01:53:18 +02:00
Ismail Gulek
34cc43edbb Read urls from defaults 2020-07-03 16:38:14 +03:00
ismailgulek
387cfb7787
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Gemfile.lock
#	Riot.xcodeproj/project.pbxproj
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2020-07-01 09:59:29 +03:00
manuroe
19db088bc2 Sign out: Make sure there is a secure backup 2020-06-30 18:00:56 +02:00
ismailgulek
cace654310
Fix PushKit references with their APNS correspondents 2020-06-01 16:30:57 +03:00
ismailgulek
85a119678c
Use APNS instead of PushKit, fixes #3291 2020-06-01 11:12:57 +03:00
ismailgulek
0d73c8dccf
Merge pull request #3268 from vector-im/remove_pushkit
Remove PushKit
2020-05-29 12:34:20 +03:00
SBiOSoftWhare
f1aae877bf SettingsVC: New phone number is invisible in dark theme (Fix #3218). 2020-05-28 18:49:48 +02:00
ismailgulek
ba50f47c6b
Remove some commented code
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:04:18 +03:00
ismailgulek
53bb87dafa
Create notification service extension
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 14:27:30 +03:00
ismailgulek
95767ba452 Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:27 +03:00
SBiOSoftWhare
c782826fce Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
ismailgulek
58de3a7898
Some custom constraints on table view cells fixed for safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 16:15:30 +03:00
ismailgulek
7852e5b34d
Merge pull request #3107 from vector-im/riot_2993
DeactivateAccountViewController theme, fixes #2993
2020-04-16 11:23:43 +03:00
manuroe
35bc453ef0 Remove LABS > Enable Cross-signing 2020-04-15 23:17:10 +02:00
ismailgulek
737c5cff63
DeactivateAccountViewController theme, fixes #2993
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-15 18:45:46 +03:00
manuroe
178d6e5b97 E2E: Do not warn anymore for unknown devices
# 2959
2020-01-30 18:13:49 +01:00
manuroe
7daa6c917a Settings > Security: Fix Giom's remarks 2020-01-30 13:19:09 +01:00
manuroe
76541580a0 Settings: Remove code for things that have their own screen now 2020-01-30 07:12:05 +01:00
manuroe
6f3ae21797 Settings > Security: Sort out things to match the design 2020-01-29 09:10:22 +01:00
manuroe
ae3674b8ed Settings: Add a dedicated screen for Security 2020-01-28 21:09:51 +01:00
manuroe
a669f35fc6 Settings: LABS: Keep only one flag for cross-signing 2020-01-28 16:51:03 +01:00
manuroe
54a9ab88b8 Settings: Remove "End-to-End Encryption" from the LABS section
#2941
2020-01-27 17:30:09 +01:00
manuroe
9892dfc9bc Settings: Hide cross-signing things from LABS for now 2019-12-11 09:03:36 +01:00
SBiOSoftWhare
abdee96de8 Settings: Add cross-signing and key verification by direct message switches in labs section. 2019-12-06 12:14:13 +01:00
manuroe
98354f24aa Settings: Have a toggle for using an integration manager
#2843
2019-11-21 15:43:04 +01:00
manuroe
aac9ac03d7 Settings: Use a generic wording when authentication flow is not supported 2019-10-24 15:40:07 +02:00
manuroe
26cc34a62e Settings: Add User-Interactive Auth for adding email and msidsn to user's account
vector-im/riot-ios#2744
2019-10-24 11:17:59 +02:00
manuroe
e256d36dfb SettingsVC: Use new threePidAddManager to add emails and phone numbers to HS account 2019-09-30 18:13:08 +02:00
manuroe
9621b2dd30 Merge remote-tracking branch 'origin/privacy' into riot_2604 2019-09-23 16:52:06 +02:00
manuroe
baa61a2cb8 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe
b6e8fb09bb Privacy: Settings: Plug the new SettingsIdentityServerViewController 2019-09-17 15:20:16 +02:00
manuroe
aa0d37e41e Privacy: Settings: Add "IDENTITY SERVER" section 2019-09-17 14:33:28 +02:00
manuroe
95175c960a Settings: Fix missing stopActivityIndicator 2019-09-17 10:37:57 +02:00
manuroe
67252e7756 SettingsVC: Fix crash 2019-09-13 11:27:35 +02:00
SBiOSoftWhare
48e1a381cb Settings discovery: Display human readable phone numbers. 2019-09-12 14:56:54 +02:00
SBiOSoftWhare
cb6db06141 Settings discovery: Handle new discovery section. 2019-09-10 20:36:45 +02:00
manuroe
c44b1e841f Settings: Update the screen if IS is changed from another device
#2665
2019-09-05 12:22:18 +02:00
manuroe
35ec07d477 Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
manuroe
3d8f9f606c Privacy: Settings: Allow adding 3pids when no IS
#2659

And display an error if an IS is required
2019-09-03 16:35:18 +02:00
manuroe
7a6c4a8dc6 Privacy: Remove the bind true flag from 3PID adds in settings
#2650
2019-08-29 11:27:29 +02:00
manuroe
ba446465e5 VoIP: Fallback to matrix.org STUN server with a confirmation dialog
#2646
2019-08-28 18:57:56 +02:00
manuroe
78d7c99f39 Settings: CALLS section: Always display the CallKit option
as we are iOS 10 min now but grey it out when not available (only on China)
2019-08-28 17:01:38 +02:00
manuroe
b2bae552d3 Settings: Device section: Make clear that device names are publicly readable in a kind of a "section header" header
vector-im/riot-ios/issues/2662
2019-08-26 18:37:43 +02:00
manuroe
118ec78f23 Settings: Display device fingerprint with a space every 4 chars like other Riot apps 2019-08-26 18:03:26 +02:00
SBiOSoftWhare
fd2827220f SettingsViewController: Disable adding threepids if no IS configured. 2019-08-13 17:05:19 +02:00
SBiOSoftWhare
35d3ff1e6a SettingsViewController: Use SingleImagePickerPresenter for profile avatar picture. 2019-08-02 17:27:49 +02:00
manuroe
a5760bc770 BF: Crash when leaving settings due to backup section refresh animation.
The exception was:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 10.  The number of rows contained in an existing section after the update (0) must be equal to the number of rows contained in that section before the update (3), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'

To raise this exception:
- Execute the removed code after a delay (2s)
- Enter and leave the settings page
-> Crash
2019-07-29 17:31:07 +02:00
manuroe
8ecf5e73cc Push: Update code to follow API break
#2348
2019-07-16 14:42:25 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
manuroe
8a50ccb077 SettingsVC: Remove dead code using EncryptionInfoView 2019-04-17 08:57:16 +02:00
SBiOSoftWhare
a40988fbc7 [SettingsViewController] Avoid some crashes when reload rows animated. 2019-04-10 14:50:47 +02:00