]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoMerge pull request #30036 from nextcloud/backport/30011/stable23
blizzz [Fri, 3 Dec 2021 10:53:59 +0000 (11:53 +0100)]
Merge pull request #30036 from nextcloud/backport/30011/stable23

[stable23] Allow to log queries to db, ldap and redis

2 years agoMerge pull request #30041 from nextcloud/backport/30032/stable23
MichaIng [Fri, 3 Dec 2021 02:02:13 +0000 (03:02 +0100)]
Merge pull request #30041 from nextcloud/backport/30032/stable23

[stable23] Add an index for selecting the next job

2 years agoMerge pull request #30053 from nextcloud/backport/30046/stable23
MichaIng [Fri, 3 Dec 2021 01:56:21 +0000 (02:56 +0100)]
Merge pull request #30053 from nextcloud/backport/30046/stable23

[stable23] Close open cursor in the caldav back-end

2 years agoMerge pull request #30062 from nextcloud/backport/30024/stable23
Joas Schilling [Thu, 2 Dec 2021 23:02:44 +0000 (00:02 +0100)]
Merge pull request #30062 from nextcloud/backport/30024/stable23

[stable23] list.php files are only invoked via ViewController and APIController

2 years agolist.php files are only invoked via ViewController and APIController 30062/head
Joas Schilling [Wed, 1 Dec 2021 20:09:11 +0000 (21:09 +0100)]
list.php files are only invoked via ViewController and APIController

Both of them actually check that the user is logged in before
and also the list.php files themselves would break with
getUserSession()->getUser()->getUID() which they contain.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #30058 from nextcloud/backport/29735/stable23
Pytal [Thu, 2 Dec 2021 20:20:53 +0000 (12:20 -0800)]
Merge pull request #30058 from nextcloud/backport/29735/stable23

2 years agofix tests 30058/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 #30037 from nextcloud/backport/30028/stable23
Joas Schilling [Thu, 2 Dec 2021 16:14:11 +0000 (17:14 +0100)]
Merge pull request #30037 from nextcloud/backport/30028/stable23

[stable23] Fix log_query config flag

2 years agoClose open cursor in the caldav back-end 30053/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 agoAdd an index for selecting the next job 30041/head
Joas Schilling [Wed, 1 Dec 2021 22:57:40 +0000 (23:57 +0100)]
Add an index for selecting the next job

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix log_query config flag 30037/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 agoAllow to log DB, redis and LDAP requests into files 30036/head
Joas Schilling [Wed, 1 Dec 2021 15:30:45 +0000 (16:30 +0100)]
Allow to log DB, redis and LDAP requests into files

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #30021 from nextcloud/backport/30018/stable23
MichaIng [Thu, 2 Dec 2021 01:40:45 +0000 (02:40 +0100)]
Merge pull request #30021 from nextcloud/backport/30018/stable23

[stable23] Fix collaborative tags styles

2 years agoMerge pull request #30014 from nextcloud/backport/29995/stable23
Pytal [Wed, 1 Dec 2021 23:48:03 +0000 (15:48 -0800)]
Merge pull request #30014 from nextcloud/backport/29995/stable23

2 years agoFix profile actions menu 30014/head
Christopher Ng [Wed, 1 Dec 2021 18:22:16 +0000 (18:22 +0000)]
Fix profile actions menu

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFix collaborative tags styles 30021/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 agoMerge pull request #29975 from nextcloud/backport/29872/stable23
Pytal [Wed, 1 Dec 2021 18:17:20 +0000 (10:17 -0800)]
Merge pull request #29975 from nextcloud/backport/29872/stable23

2 years agoMerge pull request #30008 from nextcloud/backport/30001/stable23
Christoph Wurst [Wed, 1 Dec 2021 18:07:18 +0000 (19:07 +0100)]
Merge pull request #30008 from nextcloud/backport/30001/stable23

[stable23] Cast orphan subscription id to int

2 years agoCast orphan subscription id to int 30008/head
Christoph Wurst [Wed, 1 Dec 2021 09:48:14 +0000 (10:48 +0100)]
Cast orphan subscription id to int

DB columns are of type int by default, so they need to be casted.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoSet profile page title 29975/head
Christopher Ng [Mon, 29 Nov 2021 20:33:03 +0000 (20:33 +0000)]
Set profile page title

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29967 from nextcloud/backport/29917/stable23
blizzz [Tue, 30 Nov 2021 13:55:23 +0000 (14:55 +0100)]
Merge pull request #29967 from nextcloud/backport/29917/stable23

[stable23] Fix source of translations

2 years agoMerge pull request #29977 from nextcloud/backport/29974/stable23
Christoph Wurst [Tue, 30 Nov 2021 13:34:17 +0000 (14:34 +0100)]
Merge pull request #29977 from nextcloud/backport/29974/stable23

[stable23] Let repair step query exceptions bubble up

2 years agoInclude previous execption for repair steps that don't exist 29977/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 agoMerge pull request #29970 from nextcloud/backport/29870/stable23
Louis [Tue, 30 Nov 2021 09:03:04 +0000 (10:03 +0100)]
Merge pull request #29970 from nextcloud/backport/29870/stable23

[stable23] Prevent your own status from replacing another user's status on profile

2 years agoPrevent your own status from replacing another user's status 29970/head
Christopher Ng [Mon, 29 Nov 2021 18:55:35 +0000 (18:55 +0000)]
Prevent your own status from replacing another user's status

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29961 from nextcloud/backport/29951/stable23
Christoph Wurst [Mon, 29 Nov 2021 19:04:25 +0000 (20:04 +0100)]
Merge pull request #29961 from nextcloud/backport/29951/stable23

[stable23] Interpolate the log message also for logged exceptions

2 years agoFix source of translations 29967/head
Christopher Ng [Fri, 26 Nov 2021 02:00:40 +0000 (02:00 +0000)]
Fix source of translations

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoInterpolate the log message also for logged exceptions 29961/head
Christoph Wurst [Mon, 29 Nov 2021 13:29:35 +0000 (14:29 +0100)]
Interpolate the log message also for logged exceptions

According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.

Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #29937 from nextcloud/dependabot/npm_and_yarn/stable23/testing...
dependabot[bot] [Sat, 27 Nov 2021 14:59:15 +0000 (14:59 +0000)]
Merge pull request #29937 from nextcloud/dependabot/npm_and_yarn/stable23/testing-library/jest-dom-5.15.1

2 years agoBump @testing-library/jest-dom from 5.15.0 to 5.15.1 29937/head
dependabot[bot] [Sat, 27 Nov 2021 14:13:27 +0000 (14:13 +0000)]
Bump @testing-library/jest-dom from 5.15.0 to 5.15.1

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.15.0...v5.15.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29936 from nextcloud/dependabot/npm_and_yarn/stable23/sass-1...
dependabot[bot] [Sat, 27 Nov 2021 06:15:07 +0000 (06:15 +0000)]
Merge pull request #29936 from nextcloud/dependabot/npm_and_yarn/stable23/sass-1.43.5

2 years agoBump sass from 1.43.4 to 1.43.5 29936/head
dependabot[bot] [Sat, 27 Nov 2021 03:17:43 +0000 (03:17 +0000)]
Bump sass from 1.43.4 to 1.43.5

Bumps [sass](https://github.com/sass/dart-sass) from 1.43.4 to 1.43.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.4...1.43.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29925 from nextcloud/release/23.0.0 v23.0.0
blizzz [Fri, 26 Nov 2021 20:49:32 +0000 (21:49 +0100)]
Merge pull request #29925 from nextcloud/release/23.0.0

23.0.0

2 years agoMerge pull request #29928 from nextcloud/backport/29926/stable23
blizzz [Fri, 26 Nov 2021 19:58:36 +0000 (20:58 +0100)]
Merge pull request #29928 from nextcloud/backport/29926/stable23

[stable23] obey  accounts_data column length when inserting and searching

2 years agoObey col length of 255 to insert and search in accounts_data 29928/head
Arthur Schiwon [Fri, 26 Nov 2021 15:30:14 +0000 (16:30 +0100)]
Obey col length of 255 to insert and search in accounts_data

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoadd method to shorten a string to given byte size to Utils
Arthur Schiwon [Fri, 26 Nov 2021 15:21:40 +0000 (16:21 +0100)]
add method to shorten a string to given byte size to Utils

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #29918 from nextcloud/backport/29871/stable23
Pytal [Fri, 26 Nov 2021 17:16:22 +0000 (09:16 -0800)]
Merge pull request #29918 from nextcloud/backport/29871/stable23

2 years agoNextcloud Hub II 29925/head
John Molakvoæ (skjnldsv) [Fri, 26 Nov 2021 15:50:40 +0000 (16:50 +0100)]
Nextcloud Hub II

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 years agoSet number of visibility dropdown rows dynamically 29918/head
Christopher Ng [Fri, 26 Nov 2021 00:51:57 +0000 (00:51 +0000)]
Set number of visibility dropdown rows dynamically

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29848 from nextcloud/backport/29836/stable23
MichaIng [Fri, 26 Nov 2021 14:46:16 +0000 (15:46 +0100)]
Merge pull request #29848 from nextcloud/backport/29836/stable23

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

2 years ago23.0.0
John Molakvoæ (skjnldsv) [Fri, 26 Nov 2021 14:37:06 +0000 (15:37 +0100)]
23.0.0

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 years agoTest cache invalidation for AbstractMapping in test suite 29848/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 #29913 from nextcloud/backport/29906/stable23
Carl Schwan [Fri, 26 Nov 2021 10:16:15 +0000 (11:16 +0100)]
Merge pull request #29913 from nextcloud/backport/29906/stable23

[stable23] Use strict comparison to detect usage of redis cluster

2 years agoMerge pull request #29916 from nextcloud/backport/29893/stable23
Carl Schwan [Fri, 26 Nov 2021 10:15:37 +0000 (11:15 +0100)]
Merge pull request #29916 from nextcloud/backport/29893/stable23

[stable23] Improve accessibility for personal info settings and profile

3 years agoImprove accessibility 29916/head
Christopher Ng [Fri, 26 Nov 2021 00:16:02 +0000 (00:16 +0000)]
Improve accessibility

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29909 from nextcloud/backport/29891/stable23
Pytal [Fri, 26 Nov 2021 00:10:58 +0000 (16:10 -0800)]
Merge pull request #29909 from nextcloud/backport/29891/stable23

3 years agoMerge pull request #29908 from nextcloud/backport/29894/stable23
Joas Schilling [Thu, 25 Nov 2021 21:56:13 +0000 (22:56 +0100)]
Merge pull request #29908 from nextcloud/backport/29894/stable23

[stable23] Fix inactive profile parameters being displayed in the Profile visibility section

3 years agoUse strict comparison to detect usage of redis cluster 29913/head
Louis Chemineau [Thu, 25 Nov 2021 15:19:42 +0000 (16:19 +0100)]
Use strict comparison to detect usage of redis cluster

Signed-off-by: Louis Chemineau <louis@chmn.me>
3 years agoAdjust margin of status on profile 29909/head
Christopher Ng [Thu, 25 Nov 2021 01:37:54 +0000 (01:37 +0000)]
Adjust margin of status on profile

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoFix inactive profile parameters being returned 29908/head
Christopher Ng [Thu, 25 Nov 2021 05:01:18 +0000 (05:01 +0000)]
Fix inactive profile parameters being returned

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29800 from nextcloud/backport/29632/stable23
MichaIng [Thu, 25 Nov 2021 16:13:34 +0000 (17:13 +0100)]
Merge pull request #29800 from nextcloud/backport/29632/stable23

[stable23] fix imagecreatetruecolor() error

3 years agoMerge pull request #29898 from nextcloud/backport/29895/stable23
Joas Schilling [Thu, 25 Nov 2021 13:14:45 +0000 (14:14 +0100)]
Merge pull request #29898 from nextcloud/backport/29895/stable23

[stable23] Check for invalid characters before trimming

3 years agoCorrectly set the response after a ClientException as well 29898/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>
3 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>
3 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>
3 years agoMerge pull request #29877 from nextcloud/backport/29869/stable23
Pytal [Wed, 24 Nov 2021 19:07:38 +0000 (11:07 -0800)]
Merge pull request #29877 from nextcloud/backport/29869/stable23

3 years agoMerge pull request #29882 from nextcloud/backport/29826/stable23
szaimen [Wed, 24 Nov 2021 16:41:44 +0000 (17:41 +0100)]
Merge pull request #29882 from nextcloud/backport/29826/stable23

[stable23] Personalsettings - fix marginLeft as it breaks the layout

3 years agoPersonalsettings - remove marginLeft as it breaks the layout 29882/head
szaimen [Sun, 21 Nov 2021 14:44:01 +0000 (15:44 +0100)]
Personalsettings - remove marginLeft as it breaks the layout

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29876 from nextcloud/backport/29864/stable23
Vincent Petry [Wed, 24 Nov 2021 11:45:43 +0000 (12:45 +0100)]
Merge pull request #29876 from nextcloud/backport/29864/stable23

[stable23] Allow to fetch the creation time of folders

3 years agoHide user status from public 29877/head
Christopher Ng [Tue, 23 Nov 2021 22:58:44 +0000 (22:58 +0000)]
Hide user status from public

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoAllow to fetch the creation time of folders 29876/head
Julius Härtl [Tue, 23 Nov 2021 15:55:33 +0000 (16:55 +0100)]
Allow to fetch the creation time of folders

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #29858 from nextcloud/backport/29791/stable23
Pytal [Wed, 24 Nov 2021 00:19:19 +0000 (16:19 -0800)]
Merge pull request #29858 from nextcloud/backport/29791/stable23

3 years agoMerge pull request #29847 from nextcloud/backport/29833/stable23
szaimen [Tue, 23 Nov 2021 16:33:34 +0000 (17:33 +0100)]
Merge pull request #29847 from nextcloud/backport/29833/stable23

[stable23] make profile page usable on mobile

3 years agofix imagecreatetruecolor() error 29800/head
szaimen [Wed, 10 Nov 2021 14:50:15 +0000 (15:50 +0100)]
fix imagecreatetruecolor() error

Signed-off-by: szaimen <szaimen@e.mail.de>
3 years agomake profile page usable on mobile 29847/head
szaimen [Mon, 22 Nov 2021 12:17:40 +0000 (13:17 +0100)]
make profile page usable on mobile

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoFix multiple bugs with user status 29858/head
Carl Schwan [Fri, 19 Nov 2021 14:09:05 +0000 (15:09 +0100)]
Fix multiple bugs with user status

* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3 years agoMerge pull request #29844 from nextcloud/backport/29567/stable23
Louis [Tue, 23 Nov 2021 13:19:42 +0000 (14:19 +0100)]
Merge pull request #29844 from nextcloud/backport/29567/stable23

[stable23] Improve sorting of profile visibility dropdowns

3 years agoMerge pull request #29845 from nextcloud/backport/29544/stable23
Louis [Tue, 23 Nov 2021 13:17:43 +0000 (14:17 +0100)]
Merge pull request #29845 from nextcloud/backport/29544/stable23

[stable23] Fix wording on profile page

3 years agoMerge pull request #29849 from nextcloud/backport/29835/stable23
Vincent Petry [Tue, 23 Nov 2021 13:03:01 +0000 (14:03 +0100)]
Merge pull request #29849 from nextcloud/backport/29835/stable23

[stable23] Fix getting subnet of ipv4 mapped ipv6 addresses

3 years agoType hint in IpAddress 29849/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>
3 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>
3 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>
3 years agoFix wording on profile page 29845/head
Christopher Ng [Thu, 4 Nov 2021 01:14:24 +0000 (01:14 +0000)]
Fix wording on profile page

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoImprove sorting 29844/head
Christopher Ng [Thu, 4 Nov 2021 22:34:12 +0000 (22:34 +0000)]
Improve sorting
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29815 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Mon, 22 Nov 2021 20:43:40 +0000 (20:43 +0000)]
Merge pull request #29815 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.0

3 years agoUpdate sabre/dav requirement from 4.1.5 to 4.2.0 in /build/integration 29815/head
dependabot[bot] [Mon, 22 Nov 2021 19:58:42 +0000 (19:58 +0000)]
Update sabre/dav requirement from 4.1.5 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/4.1.5...4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #29813 from nextcloud/dependabot/npm_and_yarn/stable23/camelcase...
Louis [Mon, 22 Nov 2021 10:06:23 +0000 (11:06 +0100)]
Merge pull request #29813 from nextcloud/dependabot/npm_and_yarn/stable23/camelcase-6.2.1

Bump camelcase from 6.2.0 to 6.2.1

3 years agoMerge pull request #29828 from nextcloud/backport/29708/stable23
Joas Schilling [Mon, 22 Nov 2021 08:24:15 +0000 (09:24 +0100)]
Merge pull request #29828 from nextcloud/backport/29708/stable23

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

3 years agoDo not print verbose info about app updates if there are none 29828/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>
3 years agoMerge pull request #29793 from nextcloud/backport/29605/stable23
MichaIng [Sun, 21 Nov 2021 19:02:09 +0000 (20:02 +0100)]
Merge pull request #29793 from nextcloud/backport/29605/stable23

[stable23] Normalize file name before existence check in scanner

3 years agoMerge pull request #29797 from nextcloud/backport/29788/stable23
MichaIng [Sun, 21 Nov 2021 18:58:52 +0000 (19:58 +0100)]
Merge pull request #29797 from nextcloud/backport/29788/stable23

[stable23] Fix doc link in sharing settings

3 years agoBump camelcase from 6.2.0 to 6.2.1 29813/head
dependabot[bot] [Sat, 20 Nov 2021 03:32:16 +0000 (03:32 +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>
3 years agoFix doc link in sharing settings 29797/head
Vincent Petry [Fri, 19 Nov 2021 13:58:44 +0000 (14:58 +0100)]
Fix doc link in sharing settings

The doc link "i" icon was on the wrong line.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #29789 from nextcloud/backport/29784/stable23
szaimen [Fri, 19 Nov 2021 15:24:45 +0000 (16:24 +0100)]
Merge pull request #29789 from nextcloud/backport/29784/stable23

[stable23] App summary is optional

3 years agoNormalize directory entries in Encoding wrapper 29793/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>
3 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>
3 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>
3 years agoApp summary is optional 29789/head
Joas Schilling [Fri, 19 Nov 2021 13:02:03 +0000 (14:02 +0100)]
App summary is optional

Fixing:
Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #29766 from nextcloud/version/23rc3 v23.0.0rc3
blizzz [Thu, 18 Nov 2021 14:28:12 +0000 (15:28 +0100)]
Merge pull request #29766 from nextcloud/version/23rc3

23 RC 3

3 years agoMerge pull request #29760 from nextcloud/backport/29752/stable23
blizzz [Thu, 18 Nov 2021 14:27:22 +0000 (15:27 +0100)]
Merge pull request #29760 from nextcloud/backport/29752/stable23

[stable23] Explicitly allow some routes without 2FA

3 years ago23 RC 3 29766/head
Arthur Schiwon [Thu, 18 Nov 2021 12:58:39 +0000 (13:58 +0100)]
23 RC 3

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoExplicitly allow some routes without 2FA 29760/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>
3 years agoMerge pull request #29749 from nextcloud/backport/29747/stable23
Carl Schwan [Wed, 17 Nov 2021 19:55:12 +0000 (20:55 +0100)]
Merge pull request #29749 from nextcloud/backport/29747/stable23

[stable23] Allow to serve static WebAssembly and TensorFlow Lite files