Commit Graph

979 Commits

Author SHA1 Message Date
Vincent Petry 5d76574a81 Map old account scope properties to new names
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:31 +00:00
Vincent Petry e2ab530ee3 Adjust scopes menu based on conditions
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:31 +00:00
Vincent Petry f45f826b52 Add new v2-private account scope
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.

Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-29 07:03:31 +00:00
Nextcloud bot d6156b970b
[tx-robot] updated from transifex 2021-03-29 02:24:09 +00:00
Nextcloud bot f10f9d090a
[tx-robot] updated from transifex 2021-03-28 02:24:15 +00:00
Nextcloud bot 9ddc6df797
[tx-robot] updated from transifex 2021-03-26 02:25:43 +00:00
Nextcloud bot 769c6fedad
[tx-robot] updated from transifex 2021-03-25 02:25:48 +00:00
Nextcloud bot ef273fef4b
[tx-robot] updated from transifex 2021-03-24 02:25:17 +00:00
Nextcloud bot c60f0e06d0
[tx-robot] updated from transifex 2021-03-23 02:24:15 +00:00
Nextcloud bot 2e2d2e79e8
[tx-robot] updated from transifex 2021-03-22 02:23:56 +00:00
Nextcloud bot 798eff0161
[tx-robot] updated from transifex 2021-03-20 02:23:52 +00:00
Nextcloud bot 942b40583c
[tx-robot] updated from transifex 2021-03-19 02:25:05 +00:00
Nextcloud bot fd29c1d72a
[tx-robot] updated from transifex 2021-03-17 02:24:31 +00:00
Nextcloud bot 8d6a4bef6c
[tx-robot] updated from transifex 2021-03-16 02:24:53 +00:00
Nextcloud bot 7c21fba61f
[tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00
Nextcloud bot 0ea077ae1f
[tx-robot] updated from transifex 2021-03-14 02:23:50 +00:00
Nextcloud bot 5b923eee03
[tx-robot] updated from transifex 2021-03-13 02:23:05 +00:00
Nextcloud bot 6e2f7ddc7a
[tx-robot] updated from transifex 2021-03-12 02:22:52 +00:00
Joas Schilling 5fa52d492a
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:42:09 +01:00
Joas Schilling 490bfa7330
Also clear the knownUser when changing via the settings endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:59 +01:00
Joas Schilling 5afaf3d06c
Fix CS hopefully
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:32 +01:00
Joas Schilling 77f6d768bc
Add a setting to restrict returning a full match unless in phonebook or same group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:26 +01:00
Joas Schilling 8069c52a85
Add a hint that the settings are OR based
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:20 +01:00
Joas Schilling 52d43bf3cc
Add a config setting to restrict autocompletion to phonebook matches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:55 +01:00
Joas Schilling ebb9f1d16a
Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:38:55 +01:00
Nextcloud bot e28dbef7a1
[tx-robot] updated from transifex 2021-03-11 02:23:18 +00:00
Nextcloud bot 3c07ae86ea
[tx-robot] updated from transifex 2021-03-10 02:23:09 +00:00
Nextcloud bot 45cc358d79
[tx-robot] updated from transifex 2021-03-09 02:24:04 +00:00
Nextcloud bot 5e6a891fce
[tx-robot] updated from transifex 2021-03-06 02:22:32 +00:00
Nextcloud bot 5a39900c24
[tx-robot] updated from transifex 2021-03-04 02:22:22 +00:00
Nextcloud bot 2a66d4e5d1
[tx-robot] updated from transifex 2021-03-03 02:21:34 +00:00
Nextcloud bot 3aca170a3e
[tx-robot] updated from transifex 2021-03-02 02:22:30 +00:00
Nextcloud bot a07d4d3ed5
[tx-robot] updated from transifex 2021-02-27 02:22:32 +00:00
Nextcloud bot b5eeca3ab3
[tx-robot] updated from transifex 2021-02-26 02:21:58 +00:00
Nextcloud bot d523d9973f
[tx-robot] updated from transifex 2021-02-25 02:21:31 +00:00
Nextcloud bot f405de31da
[tx-robot] updated from transifex 2021-02-21 02:40:10 +00:00
Nextcloud bot 0c909dd072
[tx-robot] updated from transifex 2021-02-15 02:20:19 +00:00
Nextcloud bot cca4693fc7
[tx-robot] updated from transifex 2021-02-14 02:20:11 +00:00
Nextcloud bot 69daa9e0a8
[tx-robot] updated from transifex 2021-02-13 02:20:37 +00:00
Nextcloud bot a15066b840
[tx-robot] updated from transifex 2021-02-12 02:20:27 +00:00
Nextcloud bot 0fd3c5f8cb
[tx-robot] updated from transifex 2021-02-09 02:20:54 +00:00
Nextcloud bot 4257656130
[tx-robot] updated from transifex 2021-02-08 02:20:14 +00:00
Nextcloud bot 6d813b419e
[tx-robot] updated from transifex 2021-02-07 02:21:00 +00:00
Nextcloud bot 7216f876dd
[tx-robot] updated from transifex 2021-02-06 02:20:59 +00:00
Roeland Jago Douma ba63f588e7
Merge pull request #25476 from nextcloud/backport/25443/stable21
[stable21] Make user list pagination more tolerant
2021-02-05 11:04:37 +01:00
Nextcloud bot 5ec0132c17
[tx-robot] updated from transifex 2021-02-05 02:21:42 +00:00
Vincent Petry a1e7ac9e33
Make user list pagination more tolerant
In case the server returns more results than expected by the limit, it
is now still interpreted as there being more results to query.

This situation can happen when there are multiple user backends in
place.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-04 10:15:53 +01:00
Nextcloud bot 0ee17df264
[tx-robot] updated from transifex 2021-02-04 02:20:13 +00:00
Nextcloud bot 207b7d54fb
[tx-robot] updated from transifex 2021-02-03 02:19:53 +00:00
Julius Härtl 480f786fa0
Merge pull request #25400 from nextcloud/dependabot/npm_and_yarn/marked-1.2.8 2021-02-02 10:22:18 +01:00
dependabot-preview[bot] 94392817c6
Bump marked from 1.2.7 to 1.2.8
Bumps [marked](https://github.com/markedjs/marked) from 1.2.7 to 1.2.8.
- [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.7...v1.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-02 09:10:38 +01:00
Nextcloud bot e18c608cb4
[tx-robot] updated from transifex 2021-02-02 02:19:50 +00:00
Nextcloud bot 86678ba5df
[tx-robot] updated from transifex 2021-02-01 02:19:36 +00:00
Nextcloud bot d1bdd1ceba
[tx-robot] updated from transifex 2021-01-31 02:19:02 +00:00
Christoph Wurst 299f37c5d9
Update all composer autoloader files
The format changed between 2.0.8 and 2.0.9.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-28 14:24:34 +01:00
Nextcloud bot 7e7284d790
[tx-robot] updated from transifex 2021-01-28 02:24:08 +00:00
dependabot-preview[bot] 10ac729118
Bump core-js from 3.8.2 to 3.8.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.8.2...v3.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-27 19:19:00 +01:00
Nextcloud bot baba83e185
[tx-robot] updated from transifex 2021-01-27 02:20:46 +00:00
Christoph Wurst 378f116a63
Do not show 2FA settings if the user has no providers available
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 13:55:22 +01:00
Nextcloud bot 7989247574
[tx-robot] updated from transifex 2021-01-22 02:19:54 +00:00
Nextcloud bot 054783e385
[tx-robot] updated from transifex 2021-01-21 02:20:36 +00:00
Nextcloud bot e22ce09644
[tx-robot] updated from transifex 2021-01-20 02:20:52 +00:00
Nextcloud bot 6d291c3c19
[tx-robot] updated from transifex 2021-01-18 02:19:28 +00:00
Nextcloud bot 1907cc197d
[tx-robot] updated from transifex 2021-01-17 02:19:53 +00:00
Nextcloud bot 795881739e
[tx-robot] updated from transifex 2021-01-15 02:20:25 +00:00
John Molakvoæ (skjnldsv) 428907c685
Fix @nextcloud/vue imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-14 17:32:13 +01:00
Roeland Jago Douma 5a141bd162
Merge pull request #25084 from rfc2822/patch-2
Update DAVx5 in AuthToken.vue
2021-01-14 12:13:55 +01:00
Ricki Hirner bcd1546f77 Update DAVx5 in AuthToken.vue
1. It's named DAVx5 (only very old clients have DAVdroid in the User-Agent)
2. Use passive matching (?:droid|x5) because otherwise, "x5" is recognized and shown as operating system
3. Also include the version postfix which contains information like "-beta2", which is important for the user

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-01-14 10:03:46 +00:00
Nextcloud bot e46486c7ef
[tx-robot] updated from transifex 2021-01-14 02:19:03 +00:00
Nextcloud bot 6cf9c88596
[tx-robot] updated from transifex 2021-01-13 02:20:19 +00:00
Christoph Wurst c1d4f8161b
Migrate internal classes to the OCP db col types
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-12 14:09:13 +01:00
Vincent Petry eeac11a687
Fix casing of MySQLPlatform class name
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-12 09:39:59 +01:00
Nextcloud bot c8cbb73c05
[tx-robot] updated from transifex 2021-01-12 02:19:49 +00:00
Roeland Jago Douma 6c8f2dc7bc
Merge pull request #25016 from nextcloud/enh/noid/add-check-for-unsupported-db
Add setup check to verify that the used DB version is still supported…
2021-01-11 14:21:42 +01:00
Morris Jobke 24d436cb60
Remove unneeded casts that were found by Psalm
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-11 13:14:41 +01:00
Nextcloud bot ca93c9708c
[tx-robot] updated from transifex 2021-01-11 02:19:52 +00:00
Nextcloud bot b137ac468f
[tx-robot] updated from transifex 2021-01-09 02:21:37 +00:00
Morris Jobke bffa61fc32
Add setup check to verify that the used DB version is still supported in the next major release
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-08 13:38:32 +01:00
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-08 11:45:19 +01:00
Roeland Jago Douma 9b250833aa
Merge pull request #24969 from nextcloud/dependabot/npm_and_yarn/core-js-3.8.2
Bump core-js from 3.8.1 to 3.8.2
2021-01-07 20:09:03 +01:00
Julius Härtl 068e3b2c1e
Set the user language when adding the footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-07 15:31:55 +01:00
dependabot-preview[bot] dab181a021
Bump core-js from 3.8.1 to 3.8.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.8.1...v3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-01-07 14:55:52 +01:00
Roeland Jago Douma 450211590f
Merge pull request #25000 from nextcloud/bugfix/noid/hide-client-welcome-mail
Hide client link in welcome mail if an empty customclient_desktop config is set
2021-01-07 13:30:11 +01:00
Julius Härtl abfb72378f
Hide client link in welcome mail if an empty customclient_desktop config is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-07 10:45:54 +01:00
dependabot-preview[bot] 73f9f3f9ae
Bump @nextcloud/axios from 1.5.0 to 1.6.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-07 09:29:29 +01:00
Christoph Wurst 90d0732828
Fix updating user settings
The requests dispatched from the personal settings page don't always
send all the possible params but just a subset. Hence requests currently
fail on master e.g. when you update your email. This makes the arguments
optional again.

Regression of da9462b482

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-05 12:59:50 +01:00
Christoph Wurst 969d4312e2
Merge pull request #24907 from nextcloud/fix/license-headers-21-II
Update license headers
2021-01-04 11:06:30 +01:00
Nextcloud bot 8d22ba4a33
[tx-robot] updated from transifex 2021-01-04 02:21:48 +00:00
Nextcloud bot 0cecd54909
[tx-robot] updated from transifex 2021-01-03 02:20:55 +00:00
Christoph Wurst 9ce3ea3368
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 14:07:05 +01:00
Nextcloud bot f9941347e2
[tx-robot] updated from transifex 2020-12-30 02:19:06 +00:00
dependabot-preview[bot] 594c8fcf23
Bump dompurify from 2.2.3 to 2.2.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.3 to 2.2.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.3...2.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-29 11:14:05 +01:00
Nextcloud bot 083f3d2373
[tx-robot] updated from transifex 2020-12-29 02:19:50 +00:00
Roeland Jago Douma 4ea1f29f9c
Merge pull request #24775 from nextcloud/dependabot/npm_and_yarn/marked-1.2.7
Bump marked from 1.2.6 to 1.2.7
2020-12-28 10:47:55 +01:00
Nextcloud bot 61791962f2
[tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
Roeland Jago Douma adc4f1a811
Merge pull request #22916 from J0WI/unifiy-links-to-php.net
Unify links to php.net
2020-12-22 09:53:31 +01:00
dependabot-preview[bot] 4621dc5d3c
Bump marked from 1.2.6 to 1.2.7
Bumps [marked](https://github.com/markedjs/marked) from 1.2.6 to 1.2.7.
- [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.6...v1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-21 10:02:57 +01:00
Nextcloud bot d682a642ff
[tx-robot] updated from transifex 2020-12-19 02:19:37 +00:00
Christoph Wurst f37e150d1c
Merge pull request #24702 from nextcloud/enhancement/well-known-handler-api
Add well known handlers API
2020-12-18 13:34:04 +01:00
Nextcloud bot de7c54c6ba
[tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00