]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoBump css-vars-ponyfill from 2.4.1 to 2.4.2 24424/head
dependabot-preview[bot] [Mon, 30 Nov 2020 10:33:02 +0000 (10:33 +0000)]
Bump css-vars-ponyfill from 2.4.1 to 2.4.2

Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.1 to 2.4.2.
- [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.4.1...v2.4.2)

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 #24406 from nextcloud/enhancement/ldap-install-php-to-repair-step
Morris Jobke [Mon, 30 Nov 2020 10:22:35 +0000 (11:22 +0100)]
Merge pull request #24406 from nextcloud/enhancement/ldap-install-php-to-repair-step

Migrate LDAP's install.php to a repair step

3 years agoMerge pull request #24440 from nextcloud/techdebt/noid/replace-static-unshare-call...
Morris Jobke [Mon, 30 Nov 2020 10:11:59 +0000 (11:11 +0100)]
Merge pull request #24440 from nextcloud/techdebt/noid/replace-static-unshare-call-in-test-with-sharemanager

Replace static call to Share::unshare with ShareManager->deleteShare in tests

3 years agoMerge pull request #24340 from nextcloud/td/psalm/job_execute
Morris Jobke [Mon, 30 Nov 2020 09:00:14 +0000 (10:00 +0100)]
Merge pull request #24340 from nextcloud/td/psalm/job_execute

Use proper OCP\BackgroundJobs\Job

3 years agoMerge pull request #23652 from nextcloud/bug/circles-508/circles-public-shares
Morris Jobke [Mon, 30 Nov 2020 08:53:53 +0000 (09:53 +0100)]
Merge pull request #23652 from nextcloud/bug/circles-508/circles-public-shares

Fix public calendars shared to circles

3 years agoReplace static call to Share::unshare with ShareManager->deleteShare in tests 24440/head
Morris Jobke [Sun, 29 Nov 2020 21:50:30 +0000 (22:50 +0100)]
Replace static call to Share::unshare with ShareManager->deleteShare in tests

And then cleanup all the code that is dead then...

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24439 from nextcloud/techdebt/noid/legacy-share-cleanup
John Molakvoæ [Mon, 30 Nov 2020 08:05:02 +0000 (09:05 +0100)]
Merge pull request #24439 from nextcloud/techdebt/noid/legacy-share-cleanup

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 30 Nov 2020 02:19:45 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoRemove now unused methods in Share.php due to the reduced code complexity in Share... 24439/head
Morris Jobke [Sun, 29 Nov 2020 21:38:19 +0000 (22:38 +0100)]
Remove now unused methods in Share.php due to the reduced code complexity in Share::getItems

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoRemove unused method Share Helper::generateTarget
Morris Jobke [Sun, 29 Nov 2020 21:37:28 +0000 (22:37 +0100)]
Remove unused method Share Helper::generateTarget

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoReduce code complexity in Share::getItems by tracing all remaining callers 24441/head
Morris Jobke [Sun, 29 Nov 2020 21:30:09 +0000 (22:30 +0100)]
Reduce code complexity in Share::getItems by tracing all remaining callers

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoRemove unused Share::getItemSharedWithBySource()
Morris Jobke [Sun, 29 Nov 2020 21:24:12 +0000 (22:24 +0100)]
Remove unused Share::getItemSharedWithBySource()

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24405 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Sun, 29 Nov 2020 13:02:36 +0000 (14:02 +0100)]
Merge pull request #24405 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 24405/head
Nextcloud-PR-Bot [Sun, 29 Nov 2020 04:27:32 +0000 (04:27 +0000)]
Update psalm baseline

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

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 28 Nov 2020 02:18:24 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMigrate LDAP's install.php to a repair step 24406/head
Christoph Wurst [Fri, 27 Nov 2020 06:46:19 +0000 (07:46 +0100)]
Migrate LDAP's install.php to a repair step

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24413 from nextcloud/techdebt/remvoe-ldap-update-php
blizzz [Fri, 27 Nov 2020 13:56:28 +0000 (14:56 +0100)]
Merge pull request #24413 from nextcloud/techdebt/remvoe-ldap-update-php

Remove the obsolete update.php of user_ldap

3 years agoRemove the obsolete update.php of user_ldap 24413/head
Christoph Wurst [Fri, 27 Nov 2020 11:18:06 +0000 (12:18 +0100)]
Remove the obsolete update.php of user_ldap

This was necessary long time ago for backwards compat with older
instances that were upgraded. Since this script has been run many times
with all the previous major versions, it's finally time to remove this.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24395 from nextcloud/techdebt/composer-require-simplexml
Julius Härtl [Fri, 27 Nov 2020 09:54:17 +0000 (10:54 +0100)]
Merge pull request #24395 from nextcloud/techdebt/composer-require-simplexml

Require ext-simplexml via composer

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 27 Nov 2020 02:18:17 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24393 from nextcloud/techdebt/unused-updater-check-app-upgrade
blizzz [Thu, 26 Nov 2020 17:11:51 +0000 (18:11 +0100)]
Merge pull request #24393 from nextcloud/techdebt/unused-updater-check-app-upgrade

Remove dead method \OC\Updater::checkAppUpgrade

3 years agoRequire ext-simplexml via composer 24395/head
Christoph Wurst [Thu, 26 Nov 2020 14:15:55 +0000 (15:15 +0100)]
Require ext-simplexml via composer

This makes phpunit (and static analysis?) happy

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoRemove dead method \OC\Updater::checkAppUpgrade 24393/head
Christoph Wurst [Thu, 26 Nov 2020 13:48:41 +0000 (14:48 +0100)]
Remove dead method \OC\Updater::checkAppUpgrade

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24319 from nextcloud/techdebt/noid/streamline-user-creation-and...
Christoph Wurst [Thu, 26 Nov 2020 13:09:54 +0000 (14:09 +0100)]
Merge pull request #24319 from nextcloud/techdebt/noid/streamline-user-creation-and-deletion-events

Streamline user creation and deletion events

3 years agoMerge pull request #24375 from nextcloud/fix/noid/display-remote-sharers-filelist
blizzz [Thu, 26 Nov 2020 13:08:13 +0000 (14:08 +0100)]
Merge pull request #24375 from nextcloud/fix/noid/display-remote-sharers-filelist

formatting remote sharer should take protocol, path into account

3 years agoformatting remote sharer should take protocol, path into account 24375/head
Arthur Schiwon [Wed, 25 Nov 2020 15:36:30 +0000 (16:36 +0100)]
formatting remote sharer should take protocol, path into  account

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #24382 from nextcloud/bugfix/noid/urlencode-inherited-shares
Christoph Wurst [Thu, 26 Nov 2020 09:23:16 +0000 (10:23 +0100)]
Merge pull request #24382 from nextcloud/bugfix/noid/urlencode-inherited-shares

Properly encode path when fetching inherited shares

3 years agoProperly encode path when fetching inherited shares 24382/head
Julius Härtl [Thu, 26 Nov 2020 08:22:12 +0000 (09:22 +0100)]
Properly encode path when fetching inherited shares

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoA valid user session is required for circles. 23652/head
Daniel Kesselberg [Fri, 23 Oct 2020 19:18:02 +0000 (21:18 +0200)]
A valid user session is required for circles.

The circles app depends on a valid userId. A public shared calender might be viewed by guests without a user session. For such requests the principal is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years agoUpdate phpdoc for circleToPrincipal
Daniel Kesselberg [Fri, 23 Oct 2020 19:12:15 +0000 (21:12 +0200)]
Update phpdoc for circleToPrincipal

as the QueryException is already catched inside circleToPrincipal.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 26 Nov 2020 02:18:48 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24374 from nextcloud/bugfix/23542
Christoph Wurst [Wed, 25 Nov 2020 16:09:06 +0000 (17:09 +0100)]
Merge pull request #24374 from nextcloud/bugfix/23542

Use proper bundles for files client and fileinfo

3 years agoMerge pull request #23912 from nextcloud/objectstore-copy
Roeland Jago Douma [Wed, 25 Nov 2020 15:09:26 +0000 (16:09 +0100)]
Merge pull request #23912 from nextcloud/objectstore-copy

use in objectstore copy

3 years agoFiles client and info bundles are always loaded so we don't need to load them again 24374/head
Julius Härtl [Wed, 25 Nov 2020 14:05:04 +0000 (15:05 +0100)]
Files client and info bundles are always loaded so we don't need to load them again

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoUse proper OCP\BackgroundJobs\Job 24340/head
Roeland Jago Douma [Tue, 24 Nov 2020 13:18:47 +0000 (14:18 +0100)]
Use proper OCP\BackgroundJobs\Job

And typehunt the IJobList

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24357 from nextcloud/fix/vcf-export-group-multiline
Christoph Wurst [Wed, 25 Nov 2020 11:24:27 +0000 (12:24 +0100)]
Merge pull request #24357 from nextcloud/fix/vcf-export-group-multiline

Make sure we add new line between vcf groups exports

3 years agoMerge pull request #24363 from nextcloud/fix/versions-expire-storage-not-available
Christoph Wurst [Wed, 25 Nov 2020 10:37:33 +0000 (11:37 +0100)]
Merge pull request #24363 from nextcloud/fix/versions-expire-storage-not-available

Catch storage not available in versions expire command

3 years agoMerge pull request #24361 from nextcloud/fix/noid/fedshares-displaynames-again
Christoph Wurst [Wed, 25 Nov 2020 08:49:20 +0000 (09:49 +0100)]
Merge pull request #24361 from nextcloud/fix/noid/fedshares-displaynames-again

send expected format of cloud id

3 years agoCatch storage not available in versions expire command 24363/head
Christoph Wurst [Wed, 25 Nov 2020 08:28:38 +0000 (09:28 +0100)]
Catch storage not available in versions expire command

External storage with session credentials is not accessible without a
user session, hence background jobs and CLI commands can't work with
them. The previously unhandled exception causes logged errors in the
nextcloud log. This patch catches the specific exception and logs it as
warnings. So for a production instance the error won't spam their logs
for this non-recoverable and technically unsolvable error if the minimum
log level is set to the default of 3 (error).

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 25 Nov 2020 02:18:53 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agosend expected format of cloud id 24361/head
Arthur Schiwon [Tue, 24 Nov 2020 22:14:43 +0000 (23:14 +0100)]
send expected format of cloud id

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMake sure we add new line between vcf groups exports 24357/head
John Molakvoæ (skjnldsv) [Tue, 24 Nov 2020 17:33:39 +0000 (18:33 +0100)]
Make sure we add new line between vcf groups exports

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoMerge pull request #24162 from nextcloud/fix/noid/fedshares-displaynamez
blizzz [Tue, 24 Nov 2020 16:23:37 +0000 (17:23 +0100)]
Merge pull request #24162 from nextcloud/fix/noid/fedshares-displaynamez

set the display name of federated sharees from addressbook

3 years agoMerge pull request #24341 from nextcloud/fix/sharing-enforce-expire-checkbox
blizzz [Tue, 24 Nov 2020 14:49:49 +0000 (15:49 +0100)]
Merge pull request #24341 from nextcloud/fix/sharing-enforce-expire-checkbox

Fix the config key on the sharing expire checkbox

3 years agouse in objectstore copy 23912/head
Robin Appelman [Thu, 5 Nov 2020 15:30:05 +0000 (16:30 +0100)]
use in objectstore copy

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #24331 from nextcloud/bugfix/fix-contactsmenu-position
Roeland Jago Douma [Tue, 24 Nov 2020 13:27:36 +0000 (14:27 +0100)]
Merge pull request #24331 from nextcloud/bugfix/fix-contactsmenu-position

Fix contacts menu position and show uid as a tooltip

3 years agoFix the config key on the sharing expire checkbox 24341/head
Christoph Wurst [Tue, 24 Nov 2020 13:17:41 +0000 (14:17 +0100)]
Fix the config key on the sharing expire checkbox

We don't use `shareapi_internal_enforce_expire_date` anywhere.
`shareapi_enforce_internal_expire_date` is the one we want.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24324 from nextcloud/td/psalm/backgroundjob_job
Roeland Jago Douma [Tue, 24 Nov 2020 12:16:12 +0000 (13:16 +0100)]
Merge pull request #24324 from nextcloud/td/psalm/backgroundjob_job

Fix the OCP\BackgroundJob\Job to make it compatible with  its interface

3 years agoset the display name of federated sharees from addressbook 24162/head
Arthur Schiwon [Mon, 16 Nov 2020 16:56:44 +0000 (17:56 +0100)]
set the display name of federated sharees from addressbook

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoFix contacts menu position and show uid as a tooltip 24331/head
Julius Härtl [Tue, 29 Sep 2020 11:32:18 +0000 (13:32 +0200)]
Fix contacts menu position and show uid as a tooltip

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #24315 from nextcloud/fix/23174/flow-ops-fix-default-value
blizzz [Tue, 24 Nov 2020 10:24:32 +0000 (11:24 +0100)]
Merge pull request #24315 from nextcloud/fix/23174/flow-ops-fix-default-value

avoid empty null default with value that will be inserted anyways

3 years agoMerge pull request #24272 from nextcloud/dependabot/npm_and_yarn/jquery-migrate-3.3.2
dependabot-preview[bot] [Tue, 24 Nov 2020 09:29:34 +0000 (09:29 +0000)]
Merge pull request #24272 from nextcloud/dependabot/npm_and_yarn/jquery-migrate-3.3.2

3 years agoMerge pull request #24323 from nextcloud/fix/comments-tab-missing
Roeland Jago Douma [Tue, 24 Nov 2020 08:34:50 +0000 (09:34 +0100)]
Merge pull request #24323 from nextcloud/fix/comments-tab-missing

Fix reverse registration and missing comments tab

3 years agoFix the OCP\BackgroundJob\Job to make it compatible with its interface 24324/head
Roeland Jago Douma [Tue, 24 Nov 2020 08:33:49 +0000 (09:33 +0100)]
Fix the OCP\BackgroundJob\Job to make it compatible with  its interface

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoBump jquery-migrate from 3.3.1 to 3.3.2 24272/head
dependabot-preview[bot] [Sat, 21 Nov 2020 02:16:58 +0000 (02:16 +0000)]
Bump jquery-migrate from 3.3.1 to 3.3.2

Bumps [jquery-migrate](https://github.com/jquery/jquery-migrate) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/jquery/jquery-migrate/releases)
- [Commits](https://github.com/jquery/jquery-migrate/compare/3.3.1...3.3.2)

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 #24312 from nextcloud/bugfix/noid/fix-router-alias
Roeland Jago Douma [Tue, 24 Nov 2020 07:43:29 +0000 (08:43 +0100)]
Merge pull request #24312 from nextcloud/bugfix/noid/fix-router-alias

Add proper alias for internal router class

3 years agoMerge pull request #24271 from nextcloud/dependabot/npm_and_yarn/babel/preset-env...
Julius Härtl [Tue, 24 Nov 2020 07:38:15 +0000 (08:38 +0100)]
Merge pull request #24271 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.7

Bump @babel/preset-env from 7.12.1 to 7.12.7

3 years agoMerge pull request #24320 from nextcloud/typo/noid/fix-typo-in-deprecated
Roeland Jago Douma [Tue, 24 Nov 2020 07:31:38 +0000 (08:31 +0100)]
Merge pull request #24320 from nextcloud/typo/noid/fix-typo-in-deprecated

Fix typo in @deprecated PHPDoc tag

3 years agoMerge pull request #24321 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Tue, 24 Nov 2020 07:31:28 +0000 (08:31 +0100)]
Merge pull request #24321 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoFix reverse registration and missing comments tab 24323/head
Christoph Wurst [Tue, 24 Nov 2020 07:28:19 +0000 (08:28 +0100)]
Fix reverse registration and missing comments tab

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoAdd proper alias for internal router class 24312/head
Julius Härtl [Mon, 23 Nov 2020 15:14:19 +0000 (16:14 +0100)]
Add proper alias for internal router class

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoUpdate psalm baseline 24321/head
Nextcloud-PR-Bot [Tue, 24 Nov 2020 04:25:08 +0000 (04:25 +0000)]
Update psalm baseline

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

3 years agoFix typo in @deprecated PHPDoc tag 24320/head
Morris Jobke [Mon, 23 Nov 2020 23:13:09 +0000 (00:13 +0100)]
Fix typo in @deprecated PHPDoc tag

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoStreamline user creation and deletion events 24319/head
Morris Jobke [Mon, 23 Nov 2020 22:59:50 +0000 (23:59 +0100)]
Streamline user creation and deletion events

CreateUserEvent was the only one that didn't matched the naming scheme of BeforePASTTENSEEvent and PASTTENSEEvent. The event wasn't used at all so this just removes it again as there is BeforeUserCreatedEvent that is also available since 18.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoavoid empty null default with value that will be inserted anyways 24315/head
Arthur Schiwon [Mon, 23 Nov 2020 20:17:37 +0000 (21:17 +0100)]
avoid empty null default with value that will be inserted anyways

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #24288 from nextcloud/techdebt/noid/encryption-setup-dependency...
Morris Jobke [Mon, 23 Nov 2020 19:43:42 +0000 (20:43 +0100)]
Merge pull request #24288 from nextcloud/techdebt/noid/encryption-setup-dependency-cleanup

Remove unused dependencies in encryption app setup

3 years agoBump @babel/preset-env from 7.12.1 to 7.12.7 24271/head
dependabot-preview[bot] [Mon, 23 Nov 2020 13:42:28 +0000 (13:42 +0000)]
Bump @babel/preset-env from 7.12.1 to 7.12.7

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.1 to 7.12.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.7/packages/babel-preset-env)

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 #24289 from nextcloud/techdebt/noid/encryption-make-application...
Morris Jobke [Mon, 23 Nov 2020 15:23:21 +0000 (16:23 +0100)]
Merge pull request #24289 from nextcloud/techdebt/noid/encryption-make-application-class-dependency-free

[encryption] Remove dependency fetching inside the constructor and mo…

3 years agoRemove unused dependencies in encryption app setup 24288/head
Morris Jobke [Sun, 22 Nov 2020 20:56:00 +0000 (21:56 +0100)]
Remove unused dependencies in encryption app setup

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24310 from nextcloud/perf/noid/theming-capabilities
Morris Jobke [Mon, 23 Nov 2020 14:48:57 +0000 (15:48 +0100)]
Merge pull request #24310 from nextcloud/perf/noid/theming-capabilities

Optimize check if background is themed

3 years agoMerge pull request #24273 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.7
Roeland Jago Douma [Mon, 23 Nov 2020 13:39:56 +0000 (14:39 +0100)]
Merge pull request #24273 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.7

Bump @babel/core from 7.12.3 to 7.12.7

3 years agoOptimize chek if background is themed 24310/head
Julius Härtl [Fri, 20 Nov 2020 18:28:18 +0000 (19:28 +0100)]
Optimize chek if background is themed

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoBump @babel/core from 7.12.3 to 7.12.7 24273/head
dependabot-preview[bot] [Mon, 23 Nov 2020 10:24:28 +0000 (10:24 +0000)]
Bump @babel/core from 7.12.3 to 7.12.7

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.3 to 7.12.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.7/packages/babel-core)

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 #24275 from nextcloud/dependabot/npm_and_yarn/moment-timezone...
Roeland Jago Douma [Mon, 23 Nov 2020 10:10:24 +0000 (11:10 +0100)]
Merge pull request #24275 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.32

Bump moment-timezone from 0.5.31 to 0.5.32

3 years agoMerge pull request #24251 from nextcloud/fix/sabre-parse-xml-errors
Roeland Jago Douma [Mon, 23 Nov 2020 09:28:06 +0000 (10:28 +0100)]
Merge pull request #24251 from nextcloud/fix/sabre-parse-xml-errors

Update sabre/xml to fix XML parsing errors (with empty strings)

3 years agoBump moment-timezone from 0.5.31 to 0.5.32 24275/head
dependabot-preview[bot] [Sat, 21 Nov 2020 02:19:35 +0000 (02:19 +0000)]
Bump moment-timezone from 0.5.31 to 0.5.32

Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.31 to 0.5.32.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.31...0.5.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoUpdate sabre/xml to fix XML parsing errors (with empty strings) 24251/head
Christoph Wurst [Fri, 20 Nov 2020 14:46:48 +0000 (15:46 +0100)]
Update sabre/xml to fix XML parsing errors (with empty strings)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24290 from nextcloud/propagate-taint
Roeland Jago Douma [Mon, 23 Nov 2020 07:40:14 +0000 (08:40 +0100)]
Merge pull request #24290 from nextcloud/propagate-taint

Add IRequest taint sources

3 years agoMerge pull request #24293 from nextcloud/dependabot/composer/vimeo/psalm-4.2.1
Roeland Jago Douma [Mon, 23 Nov 2020 07:03:07 +0000 (08:03 +0100)]
Merge pull request #24293 from nextcloud/dependabot/composer/vimeo/psalm-4.2.1

Bump vimeo/psalm from 4.2.0 to 4.2.1

3 years agoBump vimeo/psalm from 4.2.0 to 4.2.1 24293/head
dependabot-preview[bot] [Mon, 23 Nov 2020 02:42:54 +0000 (02:42 +0000)]
Bump vimeo/psalm from 4.2.0 to 4.2.1

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

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

3 years agoAdd IRequest taint sources 24290/head
Lukas Reschke [Sat, 21 Nov 2020 20:03:43 +0000 (21:03 +0100)]
Add IRequest taint sources

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years ago[encryption] Remove dependency fetching inside the constructor and move them to metho... 24289/head
Morris Jobke [Sun, 22 Nov 2020 21:09:09 +0000 (22:09 +0100)]
[encryption] Remove dependency fetching inside the constructor and move them to method call parameters

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24267 from nextcloud/techdebt/noid/auto-wire-encryption-app-view...
Morris Jobke [Sun, 22 Nov 2020 21:33:53 +0000 (22:33 +0100)]
Merge pull request #24267 from nextcloud/techdebt/noid/auto-wire-encryption-app-view-dependent

Auto-wire remaining encryption app services that depend on View

3 years agoAuto-wire remaining encryption app services that depend on View 24267/head
Morris Jobke [Fri, 20 Nov 2020 23:19:39 +0000 (00:19 +0100)]
Auto-wire remaining encryption app services that depend on View

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24269 from nextcloud/taint-specialize
Roeland Jago Douma [Sun, 22 Nov 2020 12:39:46 +0000 (13:39 +0100)]
Merge pull request #24269 from nextcloud/taint-specialize

Mark getAppPath as specialized taint

3 years agoMerge pull request #24268 from nextcloud/add-app-as-sanitizer-for-include
Roeland Jago Douma [Sun, 22 Nov 2020 09:53:26 +0000 (10:53 +0100)]
Merge pull request #24268 from nextcloud/add-app-as-sanitizer-for-include

Mark cleanAppId as sanitizer for include

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 22 Nov 2020 02:18:27 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24276 from nextcloud/dependabot/npm_and_yarn/vue-material-design...
John Molakvoæ [Sat, 21 Nov 2020 10:11:28 +0000 (11:11 +0100)]
Merge pull request #24276 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.11.0

Bump vue-material-design-icons from 4.10.0 to 4.11.0

3 years agoBump vue-material-design-icons from 4.10.0 to 4.11.0 24276/head
dependabot-preview[bot] [Sat, 21 Nov 2020 02:20:25 +0000 (02:20 +0000)]
Bump vue-material-design-icons from 4.10.0 to 4.11.0

Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.10.0 to 4.11.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.10.0...4.11.0)

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

3 years agoMark getAppPath as specialized taint 24269/head
Lukas Reschke [Sat, 21 Nov 2020 01:11:37 +0000 (01:11 +0000)]
Mark getAppPath as specialized taint

Should remove some false positives.

https://psalm.dev/docs/security_analysis/avoiding_false_positives/

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years agoMark cleanAppId as sanitizer for include 24268/head
Lukas Reschke [Sat, 21 Nov 2020 00:57:25 +0000 (00:57 +0000)]
Mark cleanAppId as sanitizer for include

Should remove a bunch of false positive code scanning results.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 years agoAllow View to be used via DI
Morris Jobke [Fri, 20 Nov 2020 23:18:59 +0000 (00:18 +0100)]
Allow View to be used via DI

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #24064 from nextcloud/techdebt/noid/auto-wire-encryption-app
Morris Jobke [Fri, 20 Nov 2020 23:04:54 +0000 (00:04 +0100)]
Merge pull request #24064 from nextcloud/techdebt/noid/auto-wire-encryption-app

Auto-wire as much as possible in the encryption app

3 years agoMerge pull request #24246 from LukasReschke/add-taint-flow-analysis
Morris Jobke [Fri, 20 Nov 2020 23:04:37 +0000 (00:04 +0100)]
Merge pull request #24246 from LukasReschke/add-taint-flow-analysis

Add Psalm Security Analysis

3 years agoAuto-wire as much as possible in the encryption app 24064/head
Morris Jobke [Wed, 11 Nov 2020 21:04:12 +0000 (22:04 +0100)]
Auto-wire as much as possible in the encryption app

Also cleans up only non-classname services in the server container

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoAdd Psalm Taint Flow Analysis 24246/head
Lukas Reschke [Fri, 20 Nov 2020 11:19:59 +0000 (11:19 +0000)]
Add Psalm Taint Flow Analysis

This adds the Psalm Security Analysis, as described at
https://psalm.dev/docs/security_analysis/

It also adds a plugin for adding input into AppFramework.

The results can be viewed in the GitHub Security tab at
https://github.com/nextcloud/server/security/code-scanning

**Q&A:**

Q: Why do you not use the shipped Psalm version?
A: I do a lot of changes to the Psalm Taint behaviour. Using released
versions is not gonna get us the results we want.

Q: How do I improve false positives?
A: https://psalm.dev/docs/security_analysis/avoiding_false_positives/

Q: How do I add custom sources?
A: https://psalm.dev/docs/security_analysis/custom_taint_sources/

Q: We should run this on apps!
A: Yes.

Q: What will change in Psalm?
A: Quite some of the PHP core functions are not yet marked to propagate
the taint. This leads to results where the taint flow is lost. That's
something that I am currently working on.

Q: Why is the plugin MIT licensed?
A: Because its the first of its kind (based on GitHub Code Search) and
I want other people to copy it if they want to. Security is for all :)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>