Commit graph

733 commits

Author SHA1 Message Date
Nextcloud bot
c15e1676e4
[tx-robot] updated from transifex 2021-06-23 02:26:47 +00:00
Nextcloud bot
bbb6cb13f4
[tx-robot] updated from transifex 2021-06-22 02:27:29 +00:00
Nextcloud bot
b3ab4c4316
[tx-robot] updated from transifex 2021-06-20 02:27:33 +00:00
Nextcloud bot
8829a1d8c7
[tx-robot] updated from transifex 2021-06-19 02:46:48 +00:00
Nextcloud bot
a3062caf80
[tx-robot] updated from transifex 2021-06-18 02:27:33 +00:00
Nextcloud bot
32b1529f3f
[tx-robot] updated from transifex 2021-06-17 02:26:23 +00:00
Nextcloud bot
dc921f9797
[tx-robot] updated from transifex 2021-06-15 02:28:37 +00:00
Nextcloud bot
e13167bf24
[tx-robot] updated from transifex 2021-06-13 02:26:37 +00:00
Nextcloud bot
994490ddb2
[tx-robot] updated from transifex 2021-06-11 02:28:40 +00:00
Nextcloud bot
76fcf4a975
[tx-robot] updated from transifex 2021-06-10 02:32:44 +00:00
Nextcloud bot
ac4c7a345e
[tx-robot] updated from transifex 2021-06-09 02:26:46 +00:00
Nextcloud bot
497ace737a
[tx-robot] updated from transifex 2021-06-08 02:26:51 +00:00
Morris Jobke
887189781a
Merge pull request #27182 from nextcloud/dependabot/npm_and_yarn/stable19/various
[stable19] Bump patch dependencies
2021-06-07 10:48:45 +02:00
Nextcloud bot
3f83ed8fc8
[tx-robot] updated from transifex 2021-06-07 02:25:40 +00:00
Nextcloud bot
1ebefeedab
[tx-robot] updated from transifex 2021-06-05 02:29:05 +00:00
Nextcloud bot
50a81509d7
[tx-robot] updated from transifex 2021-06-04 02:28:46 +00:00
Nextcloud bot
79f1f56f6d
[tx-robot] updated from transifex 2021-06-03 02:29:19 +00:00
Nextcloud bot
1b4f2d0de1
[tx-robot] updated from transifex 2021-06-02 02:29:01 +00:00
Nextcloud bot
46932b98d9
[tx-robot] updated from transifex 2021-05-31 02:35:56 +00:00
Nextcloud bot
74477e97a0
[tx-robot] updated from transifex 2021-05-30 02:25:36 +00:00
dependabot[bot]
4f6516b23a Bump regenerator-runtime from 0.13.5 to 0.13.7
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.5 to 0.13.7.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.5...regenerator-runtime@0.13.7)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-27 08:42:47 +00:00
Nextcloud bot
982186ec4a
[tx-robot] updated from transifex 2021-05-26 02:28:59 +00:00
Nextcloud bot
41c4d73c52
[tx-robot] updated from transifex 2021-05-25 02:27:49 +00:00
Nextcloud bot
1d173071a8
[tx-robot] updated from transifex 2021-05-24 02:26:58 +00:00
Nextcloud bot
299f78257f
[tx-robot] updated from transifex 2021-05-23 02:26:18 +00:00
Nextcloud bot
245ff80775
[tx-robot] updated from transifex 2021-05-22 02:27:46 +00:00
Nextcloud bot
f10a83cd79
[tx-robot] updated from transifex 2021-05-21 02:28:29 +00:00
Roeland Jago Douma
e0d2ef32e8 Harden apptoken check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-18 13:10:20 +00:00
Nextcloud bot
fb4ec36edf
[tx-robot] updated from transifex 2021-05-16 02:27:17 +00:00
Nextcloud bot
9d038540ef
[tx-robot] updated from transifex 2021-05-10 02:32:12 +00:00
Nextcloud bot
5d9333f4ad
[tx-robot] updated from transifex 2021-05-09 02:25:45 +00:00
Nextcloud bot
9707999827
[tx-robot] updated from transifex 2021-05-08 02:25:21 +00:00
Nextcloud bot
0339c3729e
[tx-robot] updated from transifex 2021-05-06 02:26:04 +00:00
Nextcloud bot
3eb7ff5e49
[tx-robot] updated from transifex 2021-05-04 02:26:48 +00:00
Nextcloud bot
3b89f03484
[tx-robot] updated from transifex 2021-05-01 02:27:01 +00:00
Nextcloud bot
ce3ef23d26
[tx-robot] updated from transifex 2021-04-30 02:28:21 +00:00
Roeland Jago Douma
1092ba8328
Merge pull request #25974 from nextcloud/backport/25417/stable19-fix-account-data-visibility-after-disabling-public-addressbook-upload
[stable19] Fix account data visibility after disabling public addressbook upload
2021-04-29 20:50:24 +02:00
Roeland Jago Douma
4369d1cf1d
Merge pull request #26780 from nextcloud/backport/26765/stable19
[stable19] No longer add trusted servers on federated share creation
2021-04-29 08:19:44 +02:00
Nextcloud bot
88c1dd8d6e
[tx-robot] updated from transifex 2021-04-29 02:26:59 +00:00
Roeland Jago Douma
6819208ad8 Bump composer
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-28 13:28:28 +02:00
Nextcloud bot
5eaa0973b7
[tx-robot] updated from transifex 2021-04-28 02:26:17 +00:00
Nextcloud bot
7028094ece
[tx-robot] updated from transifex 2021-04-26 02:25:07 +00:00
Nextcloud bot
44e37f211a
[tx-robot] updated from transifex 2021-04-25 02:25:23 +00:00
Nextcloud bot
354176e123
[tx-robot] updated from transifex 2021-04-24 02:27:06 +00:00
Daniel Calviño Sánchez
184a7cadab Handle corrupted scope values
Due to a bug (fixed some commits ago) in the UsersController of the
settings app the scope of the properties can be null (for example, if
lookup server upload was disabled and the user then changed the display
name in the profile information). In that case now the scope menu icon
shows an error to inform the user.

The scope value will not change when other properties are modified until
the user chooses an explicit value from the menu. Note that until a
scope is explicitly set the property will behave as if it is private.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:14 +02:00
Daniel Calviño Sánchez
828865a508 Fix settings scope menu hidden when lookup server upload is disabled
When upload to the lookup server is disabled the scope menu was hidden
in the personal information settings. However, even if the lookup server
upload is disabled the personal information is still accesible from the
local server as well as trusted servers. Users should be able to still
set if their information is available to other users or if it is
private, so now the scope menu is always show (although the "Public"
option is hidden if the lookup server upload is disabled).

If the user set the information as public before the upload to the
lookup server was disabled the menu will also show the "Public" option
as active, although disabled. Setting the visibility to any of the other
options will hide the "Public" option from the menu (until the lookup
server upload is enabled again).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:13 +02:00
Daniel Calviño Sánchez
d2f1225b34 Fix deleting properties of user settings when not given explicitly
The controller can receive an optional subset of the properties of the
user settings; values not given are set to "null" by default. However,
those null values overwrote the previously existing values, so in
practice any value not given was deleted from the user settings. Now
only non null values overwrite the previous values.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:11 +02:00
Daniel Calviño Sánchez
3304d33e3b Fix TypeError when "email" is not given in the controller request
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:11 +02:00
Daniel Calviño Sánchez
e30271be4f 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:10 +02:00
Daniel Calviño Sánchez
c130b88004 Add more unit tests for setting user settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 16:53:09 +02:00