Commit graph

1044 commits

Author SHA1 Message Date
dependabot[bot]
ebb61908ae
Bump regenerator-runtime from 0.13.7 to 0.13.9
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.7 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.7...regenerator-runtime@0.13.9)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-28 07:30:22 +02:00
John Molakvoæ
654fdb27e8
Merge pull request #28171 from nextcloud/backport/28166/stable21 2021-07-27 14:37:49 +02:00
John Molakvoæ
0aed3ecd76
Merge pull request #26724 from nextcloud/backport/25417/stable21 2021-07-27 14:05:16 +02:00
szaimen
4c50241102
User management - Add icon to user groups
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-27 13:30:20 +02:00
John Molakvoæ
fcf82d5e6d
Merge pull request #27228 from nextcloud/dependabot/npm_and_yarn/stable21/marked-1.2.9
Bump marked from 1.2.8 to 1.2.9
2021-07-23 08:56:35 +02:00
Nextcloud bot
494496a257
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-19 02:25:39 +00:00
Nextcloud bot
c13686bde8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-18 02:25:49 +00:00
dependabot[bot]
b8be9c67d2 Bump marked from 1.2.8 to 1.2.9
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 1.2.9.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v1.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 16:02:15 +02:00
Nextcloud bot
a47f74ebd3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-17 02:44:39 +00:00
Nextcloud bot
99dd0c973a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-16 02:26:48 +00:00
Nextcloud bot
e9517b811c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 10:37:56 +00:00
Julius Härtl
1826a1eea2
Merge pull request #27225 from nextcloud/dependabot/npm_and_yarn/stable21/babel/preset-env-7.12.17
Bump @babel/preset-env from 7.12.11 to 7.12.17
2021-07-15 08:28:16 +02:00
Nextcloud bot
93b5cab1ca
[tx-robot] updated from transifex 2021-07-15 02:26:50 +00:00
dependabot[bot]
ee06f7cc58 Bump @babel/preset-env from 7.12.11 to 7.12.17
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-15 00:35:42 +00:00
Nextcloud bot
ce9c2d2471
[tx-robot] updated from transifex 2021-07-14 02:26:35 +00:00
Nextcloud bot
6b5bd9d20b
[tx-robot] updated from transifex 2021-07-13 02:26:47 +00:00
Julius Härtl
539b1a6f4f
Merge pull request #27624 from nextcloud/dependabot/npm_and_yarn/stable21/vuex-3.6.2
Bump vuex from 3.6.0 to 3.6.2
2021-07-12 09:29:45 +02:00
Nextcloud bot
67339cfe0d
[tx-robot] updated from transifex 2021-07-12 02:25:47 +00:00
Nextcloud bot
3917d5f5b4
[tx-robot] updated from transifex 2021-07-11 02:26:01 +00:00
Nextcloud bot
e956940c96
[tx-robot] updated from transifex 2021-07-10 02:31:43 +00:00
Nextcloud bot
757bfc4369
[tx-robot] updated from transifex 2021-07-09 02:26:30 +00:00
Nextcloud bot
5352b1da47
[tx-robot] updated from transifex 2021-07-08 02:26:57 +00:00
John Molakvoæ
21e3bbcb54
Merge pull request #26650 from nextcloud/backport/26548/stable21 2021-07-05 08:52:25 +02:00
Daniel Calviño Sánchez
43a9879467 Fix active scope not visible in the menu if excluded
Depending on some settings (for example, if lookup server upload is
disabled) some items can be hidden in the scope menu. However, if the
user selected an scope in the past once the settings were changed the
scope was no longer visible in the menu. Now the active scope will be
always visible in the menu, although if it is an excluded scope it will
be disabled. Selecting any other scope will then hide the excluded and
no longer active one.

When upload to the lookup server is disabled the scope menu was hidden
for display name and email in the personal information settings; now the
menu will be always shown to enable the above described behaviour.

Note that the menu will be shown even if there is a single available
scope so the user can read its description.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:23 +02:00
Daniel Calviño Sánchez
44c870a470 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-07-02 14:27:23 +02:00
Daniel Calviño Sánchez
ae7eca8a36 Fix TypeError when "email" is not given in the controller request
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez
6865d51869 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-07-02 14:27:22 +02:00
Daniel Calviño Sánchez
7ed78d2a31 Add more unit tests for setting user settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez
36fa740e62 Change default test data to values less similar to empty values
Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:22 +02:00
Daniel Calviño Sánchez
2eeac35c26 Extract default test data to a helper getter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:21 +02:00
Daniel Calviño Sánchez
4fbb9b212d Use constants from interface rather than class
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:27:21 +02:00
Joas Schilling
f4171c96eb Fix avatar actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-01 09:43:08 +00:00
Nextcloud bot
e76b83393c
[tx-robot] updated from transifex 2021-06-30 02:25:43 +00:00
Nextcloud bot
6467112605
[tx-robot] updated from transifex 2021-06-28 02:25:22 +00:00
Nextcloud bot
77a2b03e50
[tx-robot] updated from transifex 2021-06-27 02:25:52 +00:00
Nextcloud bot
364d9c0ed6
[tx-robot] updated from transifex 2021-06-26 02:25:54 +00:00
dependabot[bot]
e9976f28b6 Bump vuex from 3.6.0 to 3.6.2
Bumps [vuex](https://github.com/vuejs/vuex) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Changelog](https://github.com/vuejs/vuex/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuex/compare/v3.6.0...v3.6.2)

---
updated-dependencies:
- dependency-name: vuex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-25 17:08:23 +00:00
Nextcloud bot
4058c4c7db
[tx-robot] updated from transifex 2021-06-25 02:25:45 +00:00
Julius Härtl
6a40ed4765
Merge pull request #27622 from nextcloud/dependabot/npm_and_yarn/stable21/dompurify-2.2.9
Bump dompurify from 2.2.8 to 2.2.9
2021-06-23 19:33:12 +02:00
dependabot[bot]
1882b97935
Bump dompurify from 2.2.8 to 2.2.9
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.8...2.2.9)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-23 18:09:27 +02:00
Nextcloud bot
f71306f8ee
[tx-robot] updated from transifex 2021-06-23 02:26:30 +00:00
Nextcloud bot
6069ea83e5
[tx-robot] updated from transifex 2021-06-22 02:27:12 +00:00
Nextcloud bot
c7d7f9ca94
[tx-robot] updated from transifex 2021-06-20 02:27:16 +00:00
Nextcloud bot
d932129529
[tx-robot] updated from transifex 2021-06-19 02:46:31 +00:00
Nextcloud bot
08ca2e972b
[tx-robot] updated from transifex 2021-06-18 02:27:13 +00:00
Nextcloud bot
1bbb803ad8
[tx-robot] updated from transifex 2021-06-17 02:26:02 +00:00
Jan C. Borchardt
b2765939bd
Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:21 +02:00
Jan C. Borchardt
9bb2e8d3de
Fix accessibility of profile picture section
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:21 +02:00
Jan C. Borchardt
579225052e
Add proper labels for personal settings privacy toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-06-15 13:55:20 +02:00
Nextcloud bot
de0d4b513d
[tx-robot] updated from transifex 2021-06-15 02:28:19 +00:00