Commit graph

75 commits

Author SHA1 Message Date
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
SBiOSoftWhare
3da89a05ce Handle button title for restore action case in SettingsKeyBackupTableViewSection. 2019-04-25 16:10:22 +02:00
SBiOSoftWhare
cdede7fcce Merge develop into prepare_riot_2231 2019-04-25 15:59:32 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
J. Ryan Stinnett
b5ee4a6aa9 Clarify key backup details when backup exists but is not trusted
This ports the wording changes from Riot Web
https://github.com/matrix-org/matrix-react-sdk/pull/2917.

"Use key backup" as button text feels like it's telling me I haven't set it up
at all. This changes to "Connect this device ..." which seems more reassuring
and applies for both the "add to backup" and "restore from backup" use cases.

This also updates the backup status text for the case where a backup exists, but
it's not being used by the current device so that it's much more clear that you
have a backup at least.
2019-04-18 13:30:32 +01:00
manuroe
8a50ccb077 SettingsVC: Remove dead code using EncryptionInfoView 2019-04-17 08:57:16 +02:00
SBiOSoftWhare
5292d2cbaa Update SettingsKeyBackupTableViewSection to prepare restore button removal when all keys are stored on device. 2019-04-11 10:40:26 +02:00
SBiOSoftWhare
a40988fbc7 [SettingsViewController] Avoid some crashes when reload rows animated. 2019-04-10 14:50:47 +02:00
SBiOSoftWhare
f909043d15 Do not mention key backup on sign out when there is no keys to backup 2019-03-05 15:53:58 +01:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
manuroe
5517e45f4a Fix crash in Settings in 0.8.1
#2295
2019-02-25 16:00:47 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
SBiOSoftWhare
28f9025c4c Update KeyBackupSetupCoordinator to handle coming from sign out info 2019-02-15 19:06:08 +01:00
SBiOSoftWhare
bcbb2f00d6 Fix sign out warning presentation on iPad 2019-02-15 12:42:07 +01:00
manuroe
84ec248a3e
Merge pull request #2246 from vector-im/settings_backup_update_copy
Backup settings: Update wording and rendering to match riot-web
2019-02-14 19:18:56 +01:00
SBiOSoftWhare
dfa6be548f Update SignOutAlertPresenter to handle backup in progress case 2019-02-14 18:06:37 +01:00
manuroe
d144db8ad7 Backup settings: Update wording and rendering to match riot-web
Verify button has been removed and replaced by "Use key backup", which makes a restore, because we trust on decrypt now.
2019-02-14 17:47:59 +01:00
SBiOSoftWhare
1decf99626 Handle sign out alert present present in SettingsViewController 2019-02-14 16:04:08 +01:00
SBiOSoftWhare
e8f58f301d Create a sign out alert presenter 2019-02-14 16:03:07 +01:00
manuroe
848ffe2bf7 Key backup: Check backup update on the homeserver
when opening the home or the settings screen in order to display the right banner and settings.
2019-02-06 17:34:16 +01:00
manuroe
33fd408d22 key backup settings: Fix Steve's comment 2019-01-31 21:22:10 +01:00
manuroe
c6c8c044ed key backup settings: Fix Steve's comment 2019-01-31 21:15:50 +01:00
manuroe
19e699a91d key backup settings: Manage checking state 2019-01-31 18:48:35 +01:00
manuroe
fe78e6b479 key backup settings: Manage backup created from the device 2019-01-31 18:41:00 +01:00
manuroe
94bd0bcb75 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
2/2

Manage not trusted backup
2019-01-31 18:19:20 +01:00
manuroe
61f439eb55 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
1/2
2019-01-31 16:58:41 +01:00
manuroe
f12fc71b4a key backup settings: Fix cell reuse mechanism 2019-01-31 15:45:43 +01:00
manuroe
0e91edb8e3 key backup settings: Make it display loading wheel and error 2019-01-31 10:19:27 +01:00
manuroe
0de85dd93c key backup settings: add delete confirmation dialog 2019-01-31 09:45:03 +01:00
manuroe
91861ef4df key backup: Add a dedicated section to settings
#2193

Still WIP
2019-01-31 03:06:47 +01:00
manuroe
c48856afde reskin: kill dead code around placeholderTextColor
#2174
2019-01-23 12:03:55 +01:00
manuroe
ac1cab56e4 BF: Ban and kick reasons are silently discarded
#2162

Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
2019-01-23 11:01:53 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
6e4a7224bf reskin: Kill KVO on theme setting 2019-01-14 10:53:43 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
bfa3eccacf reskin: kill last customisable kRiotXColors 2019-01-10 18:47:49 +01:00
manuroe
19ebc9317b reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +01:00
manuroe
5cf4eb0bdc reskin: Delegate navigation and search bars styling to theme 2019-01-10 16:43:03 +01:00