nextcloud/apps/settings
Daniel Calviño Sánchez 0dfd0ec77a Respect additional user settings not covered by the controller
"AccountManager::updateUser()" wipes previous user data with whichever
user data is given (except for some adjustments, like resetting the
verified status when needed). As the controller overrode the properties
those properties would lose some of their attributes even if they are
not affected by the changes made by the controller. Now the controller
only modifies the attributes set ("value" and "scope") to prevent that.

Note that with this change the controller no longer removes the
"verified" status, but this is not a problem because, as mentioned,
"AccountManager::updateUser()" resets them when needed (for example,
when the value of the website property changes).

This change is a previous step to fix overwritting properties with null
values, and it will prevent the controller from making unexpected
changes if more attributes are added in the future.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:56 +02:00
..
appinfo Update license headers for Nextcloud 20 (again) 2020-09-07 14:37:44 +02:00
composer Add setup check to verify that the used DB version is still supported in the next major release 2021-01-12 10:18:19 +01:00
css Move help to separate stylesheet 2020-11-04 14:34:33 +00:00
data Fix duplicate sentence in 'Reasons to use Nextcloud.pdf' 2020-09-15 11:12:23 +02:00
img Move settings to an app 2019-09-28 09:39:28 +00:00
js Make user list pagination more tolerant 2021-02-05 11:08:36 +01:00
l10n [tx-robot] updated from transifex 2021-04-23 02:26:35 +00:00
lib Respect additional user settings not covered by the controller 2021-04-23 16:53:56 +02:00
src Make user list pagination more tolerant 2021-02-05 11:08:36 +01:00
templates Move the password fiels of chaging passwords to post 2020-12-01 22:23:02 +01:00
tests Respect additional user settings not covered by the controller 2021-04-23 16:53:56 +02:00
.editorconfig Move settings to an app 2019-09-28 09:39:28 +00:00
.gitignore Move settings to an app 2019-09-28 09:39:28 +00:00
.l10nignore Update .l10nignore for apps to exclude bundled JS files 2020-09-15 12:28:43 +02:00
webpack.js Fix settings chunk loading 2020-09-10 18:28:32 +02:00