]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoReduce the getAppPath and autoloader calls 23976/head
Roeland Jago Douma [Sat, 7 Nov 2020 16:24:41 +0000 (17:24 +0100)]
Reduce the getAppPath and autoloader calls

The getAppPath will always return the same data for the same appId. It
is actually already cached. However we do some cleanup of the appId
(again). Same for the autoloading it is actually already checked.

This just removes the unneeded calls. Which can add up if you have a lot
of incomming shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23923 from nextcloud/bugfix/oci/fix-greatest-order-for-oracle
Roeland Jago Douma [Sat, 7 Nov 2020 15:55:13 +0000 (16:55 +0100)]
Merge pull request #23923 from nextcloud/bugfix/oci/fix-greatest-order-for-oracle

Fix greatest/least order for oracle

3 years agoMerge pull request #23956 from nextcloud/dependabot/npm_and_yarn/node-sass-5.0.0
John Molakvoæ [Sat, 7 Nov 2020 13:13:02 +0000 (14:13 +0100)]
Merge pull request #23956 from nextcloud/dependabot/npm_and_yarn/node-sass-5.0.0

Bump node-sass from 4.14.1 to 5.0.0

3 years agoUpdate parameters 23923/head
Joas Schilling [Sat, 7 Nov 2020 13:06:03 +0000 (14:06 +0100)]
Update parameters

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoBump node-sass from 4.14.1 to 5.0.0 23956/head
dependabot-preview[bot] [Sat, 7 Nov 2020 11:13:51 +0000 (11:13 +0000)]
Bump node-sass from 4.14.1 to 5.0.0

Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.1 to 5.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #23961 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill...
dependabot-preview[bot] [Sat, 7 Nov 2020 11:10:32 +0000 (11:10 +0000)]
Merge pull request #23961 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.1

3 years agoMerge pull request #23957 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.5
John Molakvoæ [Sat, 7 Nov 2020 09:36:57 +0000 (10:36 +0100)]
Merge pull request #23957 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.5

Bump vue-loader from 15.9.4 to 15.9.5

3 years agoMerge pull request #23960 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.3
John Molakvoæ [Sat, 7 Nov 2020 09:36:43 +0000 (10:36 +0100)]
Merge pull request #23960 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.3

Bump bootstrap from 4.5.2 to 4.5.3

3 years agoMerge pull request #23962 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.9
John Molakvoæ [Sat, 7 Nov 2020 09:36:35 +0000 (10:36 +0100)]
Merge pull request #23962 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.9

Bump vue-router from 3.4.8 to 3.4.9

3 years agoMerge pull request #23964 from nextcloud/dependabot/npm_and_yarn/marked-1.2.3
John Molakvoæ [Sat, 7 Nov 2020 09:36:15 +0000 (10:36 +0100)]
Merge pull request #23964 from nextcloud/dependabot/npm_and_yarn/marked-1.2.3

Bump marked from 1.2.0 to 1.2.3

3 years agoMerge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb
John Molakvoæ [Sat, 7 Nov 2020 09:19:23 +0000 (10:19 +0100)]
Merge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb

Use query builder instead of OC_DB in trashbin

3 years agoBump css-vars-ponyfill from 2.3.2 to 2.4.1 23961/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:24:25 +0000 (02:24 +0000)]
Bump css-vars-ponyfill from 2.3.2 to 2.4.1

Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.3.2 to 2.4.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.3.2...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoBump vue-loader from 15.9.4 to 15.9.5 23957/head
dependabot-preview[bot] [Sat, 7 Nov 2020 09:15:44 +0000 (09:15 +0000)]
Bump vue-loader from 15.9.4 to 15.9.5

Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.4 to 15.9.5.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.4...v15.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23965 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.2.0
dependabot-preview[bot] [Sat, 7 Nov 2020 09:13:23 +0000 (09:13 +0000)]
Merge pull request #23965 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.2.0

3 years agoMerge pull request #23934 from nextcloud/enh/avoid_scss_compile
John Molakvoæ [Sat, 7 Nov 2020 09:11:50 +0000 (10:11 +0100)]
Merge pull request #23934 from nextcloud/enh/avoid_scss_compile

3 years agoFix tests to return config default values 23934/head
Morris Jobke [Fri, 6 Nov 2020 21:53:33 +0000 (22:53 +0100)]
Fix tests to return config default values

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoBump vue-router from 3.4.8 to 3.4.9 23962/head
dependabot-preview[bot] [Sat, 7 Nov 2020 09:03:47 +0000 (09:03 +0000)]
Bump vue-router from 3.4.8 to 3.4.9

Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.8 to 3.4.9.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.4.8...v3.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23966 from nextcloud/dependabot/npm_and_yarn/vue-material-design...
dependabot-preview[bot] [Sat, 7 Nov 2020 09:01:22 +0000 (09:01 +0000)]
Merge pull request #23966 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.10.0

3 years agoMerge pull request #23963 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.1
dependabot-preview[bot] [Sat, 7 Nov 2020 07:59:41 +0000 (07:59 +0000)]
Merge pull request #23963 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.1

3 years agoMerge pull request #23968 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Sat, 7 Nov 2020 06:58:42 +0000 (07:58 +0100)]
Merge pull request #23968 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoBump sinon from 9.2.0 to 9.2.1 23963/head
dependabot-preview[bot] [Sat, 7 Nov 2020 04:42:20 +0000 (04:42 +0000)]
Bump sinon from 9.2.0 to 9.2.1

Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23959 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.5
dependabot-preview[bot] [Sat, 7 Nov 2020 04:39:49 +0000 (04:39 +0000)]
Merge pull request #23959 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.5

3 years agoUpdate psalm baseline 23968/head
Nextcloud-PR-Bot [Sat, 7 Nov 2020 04:26:22 +0000 (04:26 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years agoBump vue-material-design-icons from 4.9.0 to 4.10.0 23966/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:28:03 +0000 (02:28 +0000)]
Bump vue-material-design-icons from 4.9.0 to 4.10.0

Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.9.0...4.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump webpack-cli from 4.1.0 to 4.2.0 23965/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:27:13 +0000 (02:27 +0000)]
Bump webpack-cli from 4.1.0 to 4.2.0

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.1.0...webpack-cli@4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump marked from 1.2.0 to 1.2.3 23964/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:26:33 +0000 (02:26 +0000)]
Bump marked from 1.2.0 to 1.2.3

Bumps [marked](https://github.com/markedjs/marked) from 1.2.0 to 1.2.3.
- [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.0...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump bootstrap from 4.5.2 to 4.5.3 23960/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:23:32 +0000 (02:23 +0000)]
Bump bootstrap from 4.5.2 to 4.5.3

Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump sass-loader from 10.0.4 to 10.0.5 23959/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:22:14 +0000 (02:22 +0000)]
Bump sass-loader from 10.0.4 to 10.0.5

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.4 to 10.0.5.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.4...v10.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 7 Nov 2020 02:18:58 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23821 from nextcloud/td/enh/no_fs_setup_by_default
Morris Jobke [Fri, 6 Nov 2020 22:03:09 +0000 (23:03 +0100)]
Merge pull request #23821 from nextcloud/td/enh/no_fs_setup_by_default

Do not setup the default FS on normal routes

3 years agoMerge pull request #23942 from nextcloud/techdebt/cookie-lax-php7.3
Morris Jobke [Fri, 6 Nov 2020 21:42:20 +0000 (22:42 +0100)]
Merge pull request #23942 from nextcloud/techdebt/cookie-lax-php7.3

Remove the cookie paths for php<7.3

3 years agoMerge pull request #23938 from nextcloud/bugfix/oci/sharing-ocdb
Morris Jobke [Fri, 6 Nov 2020 21:41:20 +0000 (22:41 +0100)]
Merge pull request #23938 from nextcloud/bugfix/oci/sharing-ocdb

Replace some usages of OC_DB in OC\Share\* with query builder

3 years agoMerge pull request #23851 from nextcloud/enh/read_env_only_once
Morris Jobke [Fri, 6 Nov 2020 21:35:00 +0000 (22:35 +0100)]
Merge pull request #23851 from nextcloud/enh/read_env_only_once

Read the env variables only once

3 years agoUse query builder instead of OC_DB in trashbin 23936/head
Joas Schilling [Fri, 6 Nov 2020 10:48:52 +0000 (11:48 +0100)]
Use query builder instead of OC_DB in trashbin

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #23943 from nextcloud/bugfix/oci/fix-ilike-on-oracle
Morris Jobke [Fri, 6 Nov 2020 21:27:30 +0000 (22:27 +0100)]
Merge pull request #23943 from nextcloud/bugfix/oci/fix-ilike-on-oracle

Fix iLike() falsely turning escaped % and _ into wildcards

3 years agoMerge pull request #23922 from nextcloud/bugfix/noid/fix-query-type-detection
Morris Jobke [Fri, 6 Nov 2020 21:18:14 +0000 (22:18 +0100)]
Merge pull request #23922 from nextcloud/bugfix/noid/fix-query-type-detection

Improve query type detection

3 years agoMerge pull request #23928 from nextcloud/bugfix/oci/dont-leave-stray-cursors-on-mimet...
Morris Jobke [Fri, 6 Nov 2020 21:09:44 +0000 (22:09 +0100)]
Merge pull request #23928 from nextcloud/bugfix/oci/dont-leave-stray-cursors-on-mimetype-update

Fix repair mimetype step to not leave stray cursors

3 years agoMerge pull request #23940 from nextcloud/enh/skip_already_loaded_apps
Morris Jobke [Fri, 6 Nov 2020 20:58:44 +0000 (21:58 +0100)]
Merge pull request #23940 from nextcloud/enh/skip_already_loaded_apps

Skip already loaded apps in loadApps

3 years agoMerge pull request #23919 from nextcloud/dependabot/npm_and_yarn/css-loader-5.0.1
dependabot-preview[bot] [Fri, 6 Nov 2020 20:55:42 +0000 (20:55 +0000)]
Merge pull request #23919 from nextcloud/dependabot/npm_and_yarn/css-loader-5.0.1

3 years agoMerge pull request #23929 from nextcloud/techdebt/noid/deprecate-prepare-and-execute...
Morris Jobke [Fri, 6 Nov 2020 15:24:29 +0000 (16:24 +0100)]
Merge pull request #23929 from nextcloud/techdebt/noid/deprecate-prepare-and-execute-audited-as-they-leak-cursors

Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors

3 years agoFix iLike() falsely turning escaped % and _ into wildcards 23943/head
Joas Schilling [Fri, 6 Nov 2020 14:31:28 +0000 (15:31 +0100)]
Fix iLike() falsely turning escaped % and _ into wildcards

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #23932 from nextcloud/enh/s3/do_not_check_bucket_exists_on_every_r...
Morris Jobke [Fri, 6 Nov 2020 15:13:20 +0000 (16:13 +0100)]
Merge pull request #23932 from nextcloud/enh/s3/do_not_check_bucket_exists_on_every_request

Allow config to specify the bucket exists

3 years agoRemove the cookie paths for php<7.3 23942/head
Christoph Wurst [Fri, 6 Nov 2020 14:57:17 +0000 (15:57 +0100)]
Remove the cookie paths for php<7.3

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoSkip already loaded apps in loadApps 23940/head
Roeland Jago Douma [Fri, 6 Nov 2020 13:26:42 +0000 (14:26 +0100)]
Skip already loaded apps in loadApps

Otherwise you might end up calling a lot of functions unneeded.
And while the individual calls are cheap if you multiply them by 20k
they still get somewhat expensive.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoReplace some usages of OC_DB in OC\Share\* with query builder 23938/head
Joas Schilling [Fri, 6 Nov 2020 12:02:14 +0000 (13:02 +0100)]
Replace some usages of OC_DB in OC\Share\* with query builder

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMake sure Oracle always casts everything in the best way
Joas Schilling [Fri, 6 Nov 2020 07:52:09 +0000 (08:52 +0100)]
Make sure Oracle always casts everything in the best way

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoUse Query builder function
Joas Schilling [Fri, 6 Nov 2020 07:44:46 +0000 (08:44 +0100)]
Use Query builder function

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix order of GREATEST for Oracle
Joas Schilling [Wed, 4 Nov 2020 16:02:23 +0000 (17:02 +0100)]
Fix order of GREATEST for Oracle

As per https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions060.htm
Oracle uses the first value to cast the rest or the values.
So when the first value is a plain int, instead of doing the math,
it will cast the expression to int and continue with a potential 0.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #23921 from nextcloud/techdebt/oci/fix-casting-to-integer
Julius Härtl [Fri, 6 Nov 2020 10:39:48 +0000 (11:39 +0100)]
Merge pull request #23921 from nextcloud/techdebt/oci/fix-casting-to-integer

Fix casting to integer on Oracle

3 years agoAvoid SCSS compilation if not needed
Roeland Jago Douma [Fri, 6 Nov 2020 10:26:53 +0000 (11:26 +0100)]
Avoid SCSS compilation if not needed

Now we do on each template load a compile with the SCSS variables to see
if they changed or not. However there is no real reason for this if the
variables didn't change.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoAllow config to specify the bucket exists 23932/head
Roeland Jago Douma [Fri, 6 Nov 2020 10:06:40 +0000 (11:06 +0100)]
Allow config to specify the bucket exists

In the 99% case the bucket is just always there. And if it is not the
read/write will fail hard anyways. Esp on big instances the Objectstore
is not always fast and this can save a few hundered ms of each request
that acess the objectstore.

In short it is adding

'verify_bucket_exists' => false

To the S3 config part

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoDeprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors 23929/head
Joas Schilling [Fri, 6 Nov 2020 09:37:37 +0000 (10:37 +0100)]
Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix repair mimetype step to not leave stray cursors 23928/head
Joas Schilling [Fri, 6 Nov 2020 09:26:41 +0000 (10:26 +0100)]
Fix repair mimetype step to not leave stray cursors

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix tests 23851/head
Roeland Jago Douma [Fri, 6 Nov 2020 08:37:45 +0000 (09:37 +0100)]
Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23920 from nextcloud/fix/match_bearer_front
Morris Jobke [Fri, 6 Nov 2020 08:19:05 +0000 (09:19 +0100)]
Merge pull request #23920 from nextcloud/fix/match_bearer_front

Bearer must be in the start of the auth header

3 years agoMerge pull request #23918 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Morris Jobke [Fri, 6 Nov 2020 08:11:33 +0000 (09:11 +0100)]
Merge pull request #23918 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoFix getstorage call 23821/head
Roeland Jago Douma [Fri, 6 Nov 2020 08:03:20 +0000 (09:03 +0100)]
Fix getstorage call

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoDo not setup the default FS on normal routes
Roeland Jago Douma [Sat, 31 Oct 2020 14:10:48 +0000 (15:10 +0100)]
Do not setup the default FS on normal routes

This should help with load times hopefully. Only initialize the FS if we
actually ned it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoBump css-loader from 3.6.0 to 5.0.1 23919/head
dependabot-preview[bot] [Fri, 6 Nov 2020 07:06:21 +0000 (07:06 +0000)]
Bump css-loader from 3.6.0 to 5.0.1

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 5.0.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoImprove query type detection 23922/head
Joas Schilling [Thu, 5 Nov 2020 16:08:35 +0000 (17:08 +0100)]
Improve query type detection

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix casting to integer on Oracle 23921/head
Joas Schilling [Thu, 5 Nov 2020 09:50:21 +0000 (10:50 +0100)]
Fix casting to integer on Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoBearer must be in the start of the auth header 23920/head
Roeland Jago Douma [Fri, 6 Nov 2020 07:32:50 +0000 (08:32 +0100)]
Bearer must be in the start of the auth header

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm...
John Molakvoæ [Fri, 6 Nov 2020 07:04:07 +0000 (08:04 +0100)]
Merge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm-button

3 years agoMerge pull request #23916 from nextcloud/dependabot/npm_and_yarn/mocha-8.2.1
dependabot-preview[bot] [Fri, 6 Nov 2020 06:54:29 +0000 (06:54 +0000)]
Merge pull request #23916 from nextcloud/dependabot/npm_and_yarn/mocha-8.2.1

3 years agoUpdate psalm baseline 23918/head
Nextcloud-PR-Bot [Fri, 6 Nov 2020 04:25:56 +0000 (04:25 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 6 Nov 2020 02:19:11 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23857 from nextcloud/dependabot/composer/vimeo/psalm-4.1.1
Morris Jobke [Thu, 5 Nov 2020 22:56:56 +0000 (23:56 +0100)]
Merge pull request #23857 from nextcloud/dependabot/composer/vimeo/psalm-4.1.1

Bump vimeo/psalm from 4.0.1 to 4.1.1

3 years agoBump vimeo/psalm from 4.0.1 to 4.1.1 23857/head
dependabot-preview[bot] [Thu, 5 Nov 2020 22:41:22 +0000 (22:41 +0000)]
Bump vimeo/psalm from 4.0.1 to 4.1.1

Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.0.1 to 4.1.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.0.1...4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23906 from nextcloud/techdebt/noid/simplify-can-change-user-pasword
Morris Jobke [Thu, 5 Nov 2020 22:39:13 +0000 (23:39 +0100)]
Merge pull request #23906 from nextcloud/techdebt/noid/simplify-can-change-user-pasword

Simplify the check if admin can change password based on encryption status

3 years agoMerge pull request #23887 from ecsecta/fix_23797
Morris Jobke [Thu, 5 Nov 2020 21:58:30 +0000 (22:58 +0100)]
Merge pull request #23887 from ecsecta/fix_23797

Do not emit UserCreatedEvent twice

3 years agoSimplify the check if admin can change password based on encryption status 23906/head
Morris Jobke [Thu, 5 Nov 2020 12:21:19 +0000 (13:21 +0100)]
Simplify the check if admin can change password based on encryption status

Found by Psalm:
```
/home/runner/work/server/server/apps/settings/lib/Controller/UsersController.php:324:8:error - RedundantCondition: Type true for $isEncryptionModuleLoaded is never falsy
```

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23004 from nextcloud/files-scan-background
Julius Härtl [Thu, 5 Nov 2020 21:15:01 +0000 (22:15 +0100)]
Merge pull request #23004 from nextcloud/files-scan-background

only run the background scanner for users that have unscanned files

3 years agoBump mocha from 7.2.0 to 8.2.1 23916/head
dependabot-preview[bot] [Thu, 5 Nov 2020 21:06:45 +0000 (21:06 +0000)]
Bump mocha from 7.2.0 to 8.2.1

Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.2.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #23910 from nextcloud/bugfix/23908/fix-share-link-avatar
Julius Härtl [Thu, 5 Nov 2020 21:00:11 +0000 (22:00 +0100)]
Merge pull request #23910 from nextcloud/bugfix/23908/fix-share-link-avatar

Fix link share avatar icon

3 years agoMake link share avatar icon blue again 23910/head
Vincent Petry [Thu, 5 Nov 2020 15:39:07 +0000 (16:39 +0100)]
Make link share avatar icon blue again

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix link share avatar icon
Vincent Petry [Thu, 5 Nov 2020 14:42:35 +0000 (15:42 +0100)]
Fix link share avatar icon

Use "icon-class" instead of "class" as this is how to tell the component
that we don't want initials displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #23907 from nextcloud/fix/noid/update-baseline-due-to-phpdoc
kesselb [Thu, 5 Nov 2020 15:34:01 +0000 (16:34 +0100)]
Merge pull request #23907 from nextcloud/fix/noid/update-baseline-due-to-phpdoc

Check in InvalidArgument psalm error into baseline

3 years agoAdd confirm button in new link share pending expire/password menu 23347/head
Richard Steinmetz [Sun, 11 Oct 2020 11:08:59 +0000 (13:08 +0200)]
Add confirm button in new link share pending expire/password menu

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
3 years agoCheck InvalidArgument psalm error into baseline - PHPDoc needs to be improved 23907/head
Morris Jobke [Thu, 5 Nov 2020 12:49:25 +0000 (13:49 +0100)]
Check InvalidArgument psalm error into baseline - PHPDoc needs to be improved

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23904 from nextcloud/fix/php-lint
John Molakvoæ [Thu, 5 Nov 2020 09:51:13 +0000 (10:51 +0100)]
Merge pull request #23904 from nextcloud/fix/php-lint

Fix php lint action

3 years agoMerge pull request #23868 from nextcloud/techdebt/webpack-hide-modules
John Molakvoæ [Thu, 5 Nov 2020 09:20:16 +0000 (10:20 +0100)]
Merge pull request #23868 from nextcloud/techdebt/webpack-hide-modules

Remove old hide modules option for webpack

3 years agoRemove old hide modules option for webpack 23868/head
Christoph Wurst [Tue, 3 Nov 2020 14:33:46 +0000 (15:33 +0100)]
Remove old hide modules option for webpack

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #23901 from nextcloud/techdebt/noid/deprecate-old-usermanager...
Roeland Jago Douma [Thu, 5 Nov 2020 08:37:07 +0000 (09:37 +0100)]
Merge pull request #23901 from nextcloud/techdebt/noid/deprecate-old-usermanager-events

Deprecate old user manager events for user creation

3 years agoFix php lint action 23904/head
John Molakvoæ [Thu, 5 Nov 2020 08:34:04 +0000 (09:34 +0100)]
Fix php lint action

3 years agofix: also remove use statement of UserCreatedEvent 23887/head
Tobias Assmann [Thu, 5 Nov 2020 07:51:14 +0000 (08:51 +0100)]
fix: also remove use statement of UserCreatedEvent

Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 5 Nov 2020 02:18:49 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23819 from nextcloud/td/routing/move_things_around
Morris Jobke [Wed, 4 Nov 2020 21:16:13 +0000 (22:16 +0100)]
Merge pull request #23819 from nextcloud/td/routing/move_things_around

Cleanup routing

3 years agoMerge pull request #23820 from nextcloud/td/remove/OCPAPI_check
Morris Jobke [Wed, 4 Nov 2020 20:56:28 +0000 (21:56 +0100)]
Merge pull request #23820 from nextcloud/td/remove/OCPAPI_check

Remove the matching on ancient /ocs routes

3 years agoMerge pull request #23792 from nextcloud/techdebt/noid/group-unread-comment-count...
Morris Jobke [Wed, 4 Nov 2020 20:45:44 +0000 (21:45 +0100)]
Merge pull request #23792 from nextcloud/techdebt/noid/group-unread-comment-count-query

Add a function to get the unread count for multiple objects in one go

3 years agoDeprecate old user manager events for user creation 23901/head
Morris Jobke [Wed, 4 Nov 2020 20:19:16 +0000 (21:19 +0100)]
Deprecate old user manager events for user creation

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #23888 from nextcloud/fix/noid/only-fetch-jsconfig-when-used
Morris Jobke [Wed, 4 Nov 2020 18:33:24 +0000 (19:33 +0100)]
Merge pull request #23888 from nextcloud/fix/noid/only-fetch-jsconfig-when-used

Only build JSConfig in TemplateLayout when it is actually used

3 years agoHave the CommentsPropertiesPlugin use the new fancy method 23792/head
Roeland Jago Douma [Mon, 2 Nov 2020 20:11:47 +0000 (21:11 +0100)]
Have the CommentsPropertiesPlugin use the new fancy method

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23897 from nextcloud/bugfix/23236
Christoph Wurst [Wed, 4 Nov 2020 14:32:21 +0000 (15:32 +0100)]
Merge pull request #23897 from nextcloud/bugfix/23236

Move help to separate stylesheet

3 years agoMerge pull request #23898 from nextcloud/bugfix/noid/list-style-scope
John Molakvoæ [Wed, 4 Nov 2020 14:14:30 +0000 (15:14 +0100)]
Merge pull request #23898 from nextcloud/bugfix/noid/list-style-scope

Make user status styles scoped

3 years agoMake user status styles scoped 23898/head
Julius Härtl [Wed, 4 Nov 2020 12:33:32 +0000 (13:33 +0100)]
Make user status styles scoped

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMove help to separate stylesheet 23897/head
Julius Härtl [Wed, 4 Nov 2020 12:17:16 +0000 (13:17 +0100)]
Move help to separate stylesheet

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #23890 from nextcloud/techdebt/noid/refactor-theming-getImage
kesselb [Wed, 4 Nov 2020 11:30:24 +0000 (12:30 +0100)]
Merge pull request #23890 from nextcloud/techdebt/noid/refactor-theming-getImage

Cleanup ImageManager::getImage()

3 years agoMerge pull request #23869 from nextcloud/rakekniven-patch-1
John Molakvoæ [Wed, 4 Nov 2020 11:12:53 +0000 (12:12 +0100)]
Merge pull request #23869 from nextcloud/rakekniven-patch-1

3 years agoAdd a function to get the unread count for multiple objects in one go
Joas Schilling [Fri, 30 Oct 2020 11:10:59 +0000 (12:10 +0100)]
Add a function to get the unread count for multiple objects in one go

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDocument the behaviour inline 23888/head
Morris Jobke [Wed, 4 Nov 2020 09:12:56 +0000 (10:12 +0100)]
Document the behaviour inline

Signed-off-by: Morris Jobke <hey@morrisjobke.de>