]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoUpdate sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration 30216/head
dependabot[bot] [Sat, 11 Dec 2021 03:51:32 +0000 (03:51 +0000)]
Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 11 Dec 2021 02:27:48 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30189 from nextcloud/backport/30164/stable21
Vincent Petry [Fri, 10 Dec 2021 12:24:14 +0000 (13:24 +0100)]
Merge pull request #30189 from nextcloud/backport/30164/stable21

[stable21] Use correct icon for dir-external-root

2 years agoUse correct icon for dir-external-root 30189/head
Vincent Petry [Thu, 9 Dec 2021 13:58:31 +0000 (14:58 +0100)]
Use correct icon for dir-external-root

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #30182 from nextcloud/backport/30160/stable21
Vincent Petry [Fri, 10 Dec 2021 07:56:26 +0000 (08:56 +0100)]
Merge pull request #30182 from nextcloud/backport/30160/stable21

[stable21] Check resource before closing in encryption wrapper

2 years agoMerge pull request #30178 from nextcloud/backport/30168/stable21
John Molakvoæ [Fri, 10 Dec 2021 07:46:56 +0000 (08:46 +0100)]
Merge pull request #30178 from nextcloud/backport/30168/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 10 Dec 2021 02:27:38 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoCheck resource before closing in encryption wrapper 30182/head
Vincent Petry [Thu, 9 Dec 2021 10:28:10 +0000 (11:28 +0100)]
Check resource before closing in encryption wrapper

In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoAllow to delete non-migrated previews instead of moving them 30178/head
John Molakvoæ [Thu, 9 Dec 2021 15:52:15 +0000 (16:52 +0100)]
Allow to delete non-migrated previews instead of moving them

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 9 Dec 2021 02:29:49 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30056 from nextcloud/backport/29735/stable21
Louis [Wed, 8 Dec 2021 17:06:00 +0000 (18:06 +0100)]
Merge pull request #30056 from nextcloud/backport/29735/stable21

[stable21] find users for background scan one by one

2 years agoMerge pull request #30153 from nextcloud/backport/30141/stable21
MichaIng [Wed, 8 Dec 2021 13:32:20 +0000 (14:32 +0100)]
Merge pull request #30153 from nextcloud/backport/30141/stable21

[stable21] Reload page instead of file list when getting 401 authentification error

2 years agoReload page on 401 since there is an authentification problem 30153/head
Carl Schwan [Tue, 7 Dec 2021 16:48:28 +0000 (17:48 +0100)]
Reload page on 401 since there is an authentification problem

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoStop reloading file list when getting 401 error on root dir
Carl Schwan [Tue, 7 Dec 2021 16:24:11 +0000 (17:24 +0100)]
Stop reloading file list when getting 401 error on root dir

When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30138 from nextcloud/backport/30134/stable21
Julius Härtl [Wed, 8 Dec 2021 08:07:27 +0000 (09:07 +0100)]
Merge pull request #30138 from nextcloud/backport/30134/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 8 Dec 2021 02:29:04 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agodo not trigger events when setting active view in gotoplugin 30138/head
Julien Veyssier [Tue, 7 Dec 2021 13:34:48 +0000 (14:34 +0100)]
do not trigger events when setting active view in gotoplugin

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 7 Dec 2021 02:40:16 +0000 (02:40 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30109 from nextcloud/backport/30104/stable21
Louis [Mon, 6 Dec 2021 14:58:29 +0000 (15:58 +0100)]
Merge pull request #30109 from nextcloud/backport/30104/stable21

[stable21] Strengthify is now in the Nextcloud org

2 years agoMerge pull request #29834 from nextcloud/carl/bugfix/file-search-21
John Molakvoæ [Mon, 6 Dec 2021 13:51:55 +0000 (14:51 +0100)]
Merge pull request #29834 from nextcloud/carl/bugfix/file-search-21

2 years agoStrengthify is now in the Nextcloud org 30109/head
Joas Schilling [Mon, 6 Dec 2021 09:31:19 +0000 (10:31 +0100)]
Strengthify is now in the Nextcloud org

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 6 Dec 2021 02:30:47 +0000 (02:30 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 5 Dec 2021 02:30:41 +0000 (02:30 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30082 from nextcloud/dependabot/composer/build/integration/stable...
MichaIng [Sun, 5 Dec 2021 01:16:35 +0000 (02:16 +0100)]
Merge pull request #30082 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.1

Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration

2 years agoUpdate sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration 30082/head
dependabot[bot] [Sat, 4 Dec 2021 03:05:53 +0000 (03:05 +0000)]
Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 4 Dec 2021 02:31:03 +0000 (02:31 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #30064 from nextcloud/backport/30046/stable21
John Molakvoæ [Fri, 3 Dec 2021 08:03:21 +0000 (09:03 +0100)]
Merge pull request #30064 from nextcloud/backport/30046/stable21

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 3 Dec 2021 02:29:34 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoClose open cursor in the caldav back-end 30064/head
Christoph Wurst [Thu, 2 Dec 2021 13:21:38 +0000 (14:21 +0100)]
Close open cursor in the caldav back-end

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #30023 from nextcloud/backport/30018/stable21
John Molakvoæ [Thu, 2 Dec 2021 21:27:49 +0000 (22:27 +0100)]
Merge pull request #30023 from nextcloud/backport/30018/stable21

2 years agoFix collaborative tags styles 30023/head
Christopher Ng [Wed, 1 Dec 2021 18:04:16 +0000 (18:04 +0000)]
Fix collaborative tags styles

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agofix tests 30056/head
Robin Appelman [Wed, 17 Nov 2021 15:44:11 +0000 (16:44 +0100)]
fix tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agocode checker fixes for instanceOfStorage
Robin Appelman [Wed, 17 Nov 2021 15:42:29 +0000 (16:42 +0100)]
code checker fixes for instanceOfStorage

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agostop background scan early if a users still has unscanned files after background...
Robin Appelman [Wed, 17 Nov 2021 14:04:51 +0000 (15:04 +0100)]
stop background scan early if a users still has unscanned files after background scan

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agofind users for background scan one by one
Robin Appelman [Tue, 16 Nov 2021 17:15:59 +0000 (18:15 +0100)]
find users for background scan one by one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agobackground scan the source storage when a background scan on a storage jail is triggered
Robin Appelman [Tue, 16 Nov 2021 17:10:09 +0000 (18:10 +0100)]
background scan the source storage when a background scan on a storage jail is triggered

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoteach psalm about `Storage::instanceOfStorage`
Robin Appelman [Tue, 16 Nov 2021 17:06:46 +0000 (18:06 +0100)]
teach psalm about `Storage::instanceOfStorage`

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #30061 from nextcloud/fix/stable21/jsunit-job
John Molakvoæ [Thu, 2 Dec 2021 19:51:27 +0000 (20:51 +0100)]
Merge pull request #30061 from nextcloud/fix/stable21/jsunit-job

2 years agoAdd missing node version matrix for jsunit job 30061/head
Christopher Ng [Thu, 2 Dec 2021 19:18:28 +0000 (19:18 +0000)]
Add missing node version matrix for jsunit job

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoMerge pull request #30039 from nextcloud/backport/30028/stable21
Joas Schilling [Thu, 2 Dec 2021 16:13:01 +0000 (17:13 +0100)]
Merge pull request #30039 from nextcloud/backport/30028/stable21

[stable21] Fix log_query config flag

2 years agoFix log_query config flag 30039/head
Joas Schilling [Wed, 1 Dec 2021 22:00:51 +0000 (23:00 +0100)]
Fix log_query config flag

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 2 Dec 2021 02:29:32 +0000 (02:29 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29997 from nextcloud/backport/27732/stable21
Christoph Wurst [Wed, 1 Dec 2021 18:01:54 +0000 (19:01 +0100)]
Merge pull request #29997 from nextcloud/backport/27732/stable21

[stable21] Fix LDAPProviderFactory not found

2 years agounset ldap provider when disabling user_ldap 29997/head
Arthur Schiwon [Wed, 30 Jun 2021 13:16:42 +0000 (15:16 +0200)]
unset ldap provider when disabling user_ldap

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoensure that factoryClass exisits before instantiation
Arthur Schiwon [Wed, 30 Jun 2021 13:09:27 +0000 (15:09 +0200)]
ensure that factoryClass exisits before instantiation

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 1 Dec 2021 02:31:07 +0000 (02:31 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29979 from nextcloud/backport/29974/stable21
Christoph Wurst [Tue, 30 Nov 2021 13:33:43 +0000 (14:33 +0100)]
Merge pull request #29979 from nextcloud/backport/29974/stable21

[stable21] Let repair step query exceptions bubble up

2 years agoInclude previous execption for repair steps that don't exist 29979/head
Christoph Wurst [Tue, 30 Nov 2021 09:57:49 +0000 (10:57 +0100)]
Include previous execption for repair steps that don't exist

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoLet repair step query exceptions bubble up
Christoph Wurst [Tue, 30 Nov 2021 07:56:41 +0000 (08:56 +0100)]
Let repair step query exceptions bubble up

And hide the type error caused by a constructor call with missing
arguments.

`new $repairStep();` only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 30 Nov 2021 02:26:45 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 29 Nov 2021 02:25:31 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Nov 2021 02:24:00 +0000 (02:24 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Nov 2021 02:26:20 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix search results filtering 29834/head
Carl Schwan [Mon, 22 Nov 2021 12:37:55 +0000 (13:37 +0100)]
Fix search results filtering

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #29907 from nextcloud/backport/29902/stable21
MichaIng [Fri, 26 Nov 2021 13:22:04 +0000 (14:22 +0100)]
Merge pull request #29907 from nextcloud/backport/29902/stable21

[stable21] Check for invalid characters before trimming

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 26 Nov 2021 02:46:29 +0000 (02:46 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29803 from nextcloud/backport/29632/stable21
MichaIng [Thu, 25 Nov 2021 16:14:08 +0000 (17:14 +0100)]
Merge pull request #29803 from nextcloud/backport/29632/stable21

[stable21] fix imagecreatetruecolor() error

2 years agoMerge pull request #28199 from nextcloud/backport/26936/stable21
MichaIng [Thu, 25 Nov 2021 16:10:29 +0000 (17:10 +0100)]
Merge pull request #28199 from nextcloud/backport/26936/stable21

[stable21] better cleanup of filecache when deleting an external storage

2 years agoCorrectly set the response after a ClientException as well 29907/head
Joas Schilling [Thu, 25 Nov 2021 08:07:46 +0000 (09:07 +0100)]
Correctly set the response after a ClientException as well

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdd an integration test
Joas Schilling [Thu, 25 Nov 2021 08:07:34 +0000 (09:07 +0100)]
Add an integration test

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoCheck for invalid characters before trimming
Joas Schilling [Thu, 25 Nov 2021 07:48:26 +0000 (08:48 +0100)]
Check for invalid characters before trimming

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #29851 from nextcloud/backport/29836/stable21
blizzz [Thu, 25 Nov 2021 12:08:04 +0000 (13:08 +0100)]
Merge pull request #29851 from nextcloud/backport/29836/stable21

[stable21] Make sure mapping cache is cleared when deleting a user

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 25 Nov 2021 02:25:26 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29883 from nextcloud/backport/28519/stable21
Pytal [Wed, 24 Nov 2021 19:03:59 +0000 (11:03 -0800)]
Merge pull request #29883 from nextcloud/backport/28519/stable21

2 years agoAdd active user count to occ user:report 29883/head
Julius Härtl [Thu, 19 Aug 2021 14:22:20 +0000 (16:22 +0200)]
Add active user count to occ user:report

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoUse pre-v22 query commands 28199/head
MichaIng [Thu, 18 Nov 2021 13:42:20 +0000 (14:42 +0100)]
Use pre-v22 query commands

Signed-off-by: MichaIng <micha@dietpi.com>
2 years agobetter cleanup of filecache when deleting an external storage
Robin Appelman [Mon, 10 May 2021 15:34:10 +0000 (17:34 +0200)]
better cleanup of filecache when deleting an external storage

this way it can delete the cache entries even with per-user credentials

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #29764 from nextcloud/backport/29752/stable21
Christoph Wurst [Wed, 24 Nov 2021 13:39:05 +0000 (14:39 +0100)]
Merge pull request #29764 from nextcloud/backport/29752/stable21

[stable21] Explicitly allow some routes without 2FA

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 24 Nov 2021 02:26:17 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29853 from nextcloud/backport/29835/stable21
Vincent Petry [Tue, 23 Nov 2021 13:03:35 +0000 (14:03 +0100)]
Merge pull request #29853 from nextcloud/backport/29835/stable21

[stable21] Fix getting subnet of ipv4 mapped ipv6 addresses

2 years agoType hint in IpAddress 29853/head
Vincent Petry [Mon, 22 Nov 2021 16:36:26 +0000 (17:36 +0100)]
Type hint in IpAddress

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2 years agoImprove normalizer detecting IPv4 inside of IPv6
Vincent Petry [Mon, 22 Nov 2021 14:53:41 +0000 (15:53 +0100)]
Improve normalizer detecting IPv4 inside of IPv6

The subnet for an IPv4 address inside of IPv6 is now returned in its
IPv4 form.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoFix getting subnet of ipv4 mapped ipv6 addresses
Vincent Petry [Mon, 22 Nov 2021 13:01:41 +0000 (14:01 +0100)]
Fix getting subnet of ipv4 mapped ipv6 addresses

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoTest cache invalidation for AbstractMapping in test suite 29851/head
Côme Chilliet [Mon, 22 Nov 2021 13:57:08 +0000 (14:57 +0100)]
Test cache invalidation for AbstractMapping in test suite

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMake sure mapping cache is cleared when deleting a user
Côme Chilliet [Mon, 22 Nov 2021 13:49:34 +0000 (14:49 +0100)]
Make sure mapping cache is cleared when deleting a user

This avoids phantom remnants staying after user deletion

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #29629 from nextcloud/backport/29611/stable21
MichaIng [Tue, 23 Nov 2021 02:54:52 +0000 (03:54 +0100)]
Merge pull request #29629 from nextcloud/backport/29611/stable21

[stable21] Show most recently deleted files first in trash can

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 23 Nov 2021 02:26:21 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29840 from nextcloud/backport/29708/stable21
MichaIng [Mon, 22 Nov 2021 22:31:37 +0000 (23:31 +0100)]
Merge pull request #29840 from nextcloud/backport/29708/stable21

[stable21] Do not print verbose info about app updates if there are none

2 years agoDo not print verbose info about app updates if there are none 29840/head
Christoph Wurst [Mon, 15 Nov 2021 13:34:09 +0000 (14:34 +0100)]
Do not print verbose info about app updates if there are none

This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #29810 from nextcloud/dependabot/composer/build/integration/stable...
Louis [Mon, 22 Nov 2021 14:32:58 +0000 (15:32 +0100)]
Merge pull request #29810 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.2.0

Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration

2 years agoManual compilation 29629/head
Louis Chemineau [Mon, 22 Nov 2021 10:32:37 +0000 (11:32 +0100)]
Manual compilation

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoMerge pull request #29811 from nextcloud/dependabot/npm_and_yarn/stable21/camelcase...
Louis [Mon, 22 Nov 2021 10:06:04 +0000 (11:06 +0100)]
Merge pull request #29811 from nextcloud/dependabot/npm_and_yarn/stable21/camelcase-6.2.1

Bump camelcase from 6.2.0 to 6.2.1

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 22 Nov 2021 02:45:55 +0000 (02:45 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29794 from nextcloud/backport/29605/stable21
MichaIng [Sun, 21 Nov 2021 19:03:07 +0000 (20:03 +0100)]
Merge pull request #29794 from nextcloud/backport/29605/stable21

[stable21] Normalize file name before existence check in scanner

2 years agoBump camelcase from 6.2.0 to 6.2.1 29811/head
dependabot[bot] [Sat, 20 Nov 2021 03:12:10 +0000 (03:12 +0000)]
Bump camelcase from 6.2.0 to 6.2.1

Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.0...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoUpdate sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration 29810/head
dependabot[bot] [Sat, 20 Nov 2021 03:11:24 +0000 (03:11 +0000)]
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/3.2.3...4.2.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 21 Nov 2021 02:25:46 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 20 Nov 2021 02:42:30 +0000 (02:42 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agofix imagecreatetruecolor() error 29803/head
szaimen [Wed, 10 Nov 2021 14:50:15 +0000 (15:50 +0100)]
fix imagecreatetruecolor() error

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoNormalize directory entries in Encoding wrapper 29794/head
Vincent Petry [Wed, 17 Nov 2021 08:19:10 +0000 (09:19 +0100)]
Normalize directory entries in Encoding wrapper

Directory entry file names are now normalized in getMetaData(),
getDirectoryContents() and opendir().

This makes the scanner work properly as it assumes pre-normalized names.

In case the names were not normalized, the scanner will now skip the
entries and display a warning when applicable.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMove storage encoding compatibility warning logic
Vincent Petry [Wed, 10 Nov 2021 14:09:25 +0000 (15:09 +0100)]
Move storage encoding compatibility warning logic

The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.

The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoNormalize file name before existence check in scanner
Vincent Petry [Tue, 9 Nov 2021 10:56:10 +0000 (11:56 +0100)]
Normalize file name before existence check in scanner

The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.

This normalizes the file name before scanning.

Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 19 Nov 2021 02:38:40 +0000 (02:38 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoExplicitly allow some routes without 2FA 29764/head
Christoph Wurst [Wed, 17 Nov 2021 17:42:21 +0000 (18:42 +0100)]
Explicitly allow some routes without 2FA

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 18 Nov 2021 02:26:06 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29742 from nextcloud/backport/29695/stable21
Vincent Petry [Wed, 17 Nov 2021 12:12:11 +0000 (13:12 +0100)]
Merge pull request #29742 from nextcloud/backport/29695/stable21

[stable21] Fix missing setlocale with php 8

2 years agoOC_Util::isNonUTF8Locale: fix lint error 29742/head
Naoto Kobayashi [Tue, 16 Nov 2021 12:05:43 +0000 (21:05 +0900)]
OC_Util::isNonUTF8Locale: fix lint error

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2 years agoOC_Util::isSetLocaleWorking: fix typo
Naoto Kobayashi [Mon, 15 Nov 2021 15:46:21 +0000 (00:46 +0900)]
OC_Util::isSetLocaleWorking: fix typo

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2 years agoOC_Util: Add fallbacks to check if current locale is UTF8
Naoto Kobayashi [Mon, 15 Nov 2021 15:40:52 +0000 (00:40 +0900)]
OC_Util: Add fallbacks to check if current locale is UTF8

Using escapeshellcmd to get current locale causes error
if the function is disabled.

Add fallbacks to prevent the error.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2 years agoAdd check whether escapeshellcmd behaves the same as basename
Naoto Kobayashi [Mon, 15 Nov 2021 09:33:50 +0000 (18:33 +0900)]
Add check whether escapeshellcmd behaves the same as basename

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>