]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoFix comparison of PHP versions 25138/head
Damien Goutte-Gattat [Thu, 14 Jan 2021 22:54:53 +0000 (22:54 +0000)]
Fix comparison of PHP versions

Use the builtin function `version_compare` to check an app's
compatibility with the available PHP version, instead of reusing
the `OC\App\CompareVersion::isCompatible` method which is intended
to compare Nextcloud versions. PHP version strings do not always
necessarily follow the simple Major.Minor.Patch format used by
Nextcloud and therefore cannot be properly compared by that method.

Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
3 years agoMerge pull request #25085 from nextcloud/dependabot/submodules/3rdparty-1381d28
dependabot-preview[bot] [Thu, 14 Jan 2021 18:13:28 +0000 (18:13 +0000)]
Merge pull request #25085 from nextcloud/dependabot/submodules/3rdparty-1381d28

3 years agoMerge pull request #25131 from nextcloud/fix/imports
Roeland Jago Douma [Thu, 14 Jan 2021 18:08:09 +0000 (19:08 +0100)]
Merge pull request #25131 from nextcloud/fix/imports

Fix @nextcloud/vue imports

3 years agoBump 3rdparty from `7bbfe82` to `1381d28` 25085/head
dependabot-preview[bot] [Thu, 14 Jan 2021 17:27:24 +0000 (17:27 +0000)]
Bump 3rdparty from `7bbfe82` to `1381d28`

Bumps [3rdparty](https://github.com/nextcloud/3rdparty) from `7bbfe82` to `1381d28`.
- [Release notes](https://github.com/nextcloud/3rdparty/releases)
- [Commits](https://github.com/nextcloud/3rdparty/compare/7bbfe82c51aa168683ae6e47e3da7d3e587f6ca4...1381d2869a8c75fbe103a13b7a7223f9a11583f9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoFix @nextcloud/vue imports 25131/head
John Molakvoæ (skjnldsv) [Thu, 14 Jan 2021 16:16:27 +0000 (17:16 +0100)]
Fix @nextcloud/vue imports

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoMerge pull request #25091 from nextcloud/enhancement/ocp-db-exception-abstraction
Christoph Wurst [Thu, 14 Jan 2021 11:27:23 +0000 (12:27 +0100)]
Merge pull request #25091 from nextcloud/enhancement/ocp-db-exception-abstraction

Add our own DB exception abstraction

3 years agoMerge pull request #25084 from rfc2822/patch-2
Roeland Jago Douma [Thu, 14 Jan 2021 11:13:55 +0000 (12:13 +0100)]
Merge pull request #25084 from rfc2822/patch-2

Update DAVx5 in AuthToken.vue

3 years agoMerge pull request #25114 from nextcloud/dismiss-reminder-notifications-from-passed...
Roeland Jago Douma [Thu, 14 Jan 2021 10:37:38 +0000 (11:37 +0100)]
Merge pull request #25114 from nextcloud/dismiss-reminder-notifications-from-passed-events

Dismiss reminder notifications from passed events

3 years agoMerge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2
blizzz [Thu, 14 Jan 2021 10:36:42 +0000 (11:36 +0100)]
Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2

respect DB restrictions on number of arguments in statements and queries

3 years agoMerge pull request #25110 from nextcloud/fix/24970/dashboard-greetings
Roeland Jago Douma [Thu, 14 Jan 2021 10:36:29 +0000 (11:36 +0100)]
Merge pull request #25110 from nextcloud/fix/24970/dashboard-greetings

Fix night condition in dashboard greeting

3 years agoUpdate DAVx5 in AuthToken.vue 25084/head
Ricki Hirner [Mon, 11 Jan 2021 18:31:58 +0000 (19:31 +0100)]
Update DAVx5 in AuthToken.vue

1. It's named DAVx5 (only very old clients have DAVdroid in the User-Agent)
2. Use passive matching (?:droid|x5) because otherwise, "x5" is recognized and shown as operating system
3. Also include the version postfix which contains information like "-beta2", which is important for the user

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #25065 from nextcloud/version/21/beta6 v21.0.0beta6
Roeland Jago Douma [Thu, 14 Jan 2021 09:53:20 +0000 (10:53 +0100)]
Merge pull request #25065 from nextcloud/version/21/beta6

21 beta6

3 years agoDismiss reminder notifications from passed events 25114/head
Thomas Citharel [Wed, 13 Jan 2021 18:59:29 +0000 (19:59 +0100)]
Dismiss reminder notifications from passed events

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 14 Jan 2021 02:19:03 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agorefs #24970 fix night condition in dashboard greeting 25110/head
Julien Veyssier [Wed, 13 Jan 2021 17:41:53 +0000 (18:41 +0100)]
refs #24970 fix night condition in dashboard greeting

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agosilence psalm false positive 25036/head
Arthur Schiwon [Wed, 13 Jan 2021 10:54:29 +0000 (11:54 +0100)]
silence psalm false positive

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #25105 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Wed, 13 Jan 2021 06:25:11 +0000 (07:25 +0100)]
Merge pull request #25105 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 25105/head
Nextcloud-PR-Bot [Wed, 13 Jan 2021 04:59:54 +0000 (04:59 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 13 Jan 2021 02:20:19 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

3 years agoAdd our own DB exception abstraction 25091/head
Christoph Wurst [Tue, 12 Jan 2021 11:24:36 +0000 (12:24 +0100)]
Add our own DB exception abstraction

Right now our API exports the Doctrine/dbal exception. As we've seen
with the dbal 3 upgrade, the leakage of 3rdparty types is problematic as
a dependency update means lots of work in apps, due to the direct
dependency of what Nextcloud ships. This breaks this dependency so that
apps only need to depend on our public API. That API can then be vendor
(db lib) agnostic and we can work around future deprecations/removals in
dbal more easily.

Right now the type of exception thrown is transported as "reason". For
the more popular types of errors we can extend the new exception class
and allow apps to catch specific errors only. Right now they have to
catch-check-rethrow. This is not ideal, but better than the dependnecy
on dbal.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #25089 from nextcloud/enhancement/ocp-db-types
blizzz [Tue, 12 Jan 2021 14:24:15 +0000 (15:24 +0100)]
Merge pull request #25089 from nextcloud/enhancement/ocp-db-types

Add our own db column types via the public API

3 years agoMerge pull request #25088 from nextcloud/fix/allow_app_updates_again
Roeland Jago Douma [Tue, 12 Jan 2021 13:34:21 +0000 (14:34 +0100)]
Merge pull request #25088 from nextcloud/fix/allow_app_updates_again

Allow installing/updating of apps again

3 years agoMigrate internal classes to the OCP db col types 25089/head
Christoph Wurst [Tue, 12 Jan 2021 09:20:12 +0000 (10:20 +0100)]
Migrate internal classes to the OCP db col types

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoAdd our own constants for db column types
Christoph Wurst [Tue, 12 Jan 2021 09:14:49 +0000 (10:14 +0100)]
Add our own constants for db column types

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24606 from hosting-de/feature/allow-symlinks-configurable
Vincent Petry [Tue, 12 Jan 2021 12:20:26 +0000 (13:20 +0100)]
Merge pull request #24606 from hosting-de/feature/allow-symlinks-configurable

Add 'allow Symlinks' as an option to config.php

3 years agoFix option in the client code itself as well 25088/head
Roeland Jago Douma [Tue, 12 Jan 2021 10:01:06 +0000 (11:01 +0100)]
Fix option in the client code itself as well

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoAllow installing/updating of apps again
Roeland Jago Douma [Tue, 12 Jan 2021 09:10:08 +0000 (10:10 +0100)]
Allow installing/updating of apps again

The Guzzle API changed. We shall now use sink

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25080 from nextcloud/fix/file-scan-db
Roeland Jago Douma [Tue, 12 Jan 2021 09:46:02 +0000 (10:46 +0100)]
Merge pull request #25080 from nextcloud/fix/file-scan-db

Fix database connection usage in the files scanner

3 years agoAdd 'allow Symlinks' as an option to config.php 24606/head
Johannes Leuker [Tue, 8 Dec 2020 14:12:04 +0000 (15:12 +0100)]
Add 'allow Symlinks' as an option to config.php

Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
3 years agoMerge pull request #25087 from nextcloud/techdebt/noid/update-psalm-baseline-as-recom...
Morris Jobke [Tue, 12 Jan 2021 09:14:11 +0000 (10:14 +0100)]
Merge pull request #25087 from nextcloud/techdebt/noid/update-psalm-baseline-as-recommended.xml

Update psalm baseline to remove obsolete stuff

3 years agoFix casing of MySQLPlatform class name 25087/head
Vincent Petry [Tue, 12 Jan 2021 08:39:18 +0000 (09:39 +0100)]
Fix casing of MySQLPlatform class name

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoUpdate psalm baseline to remove obsolete stuff
Vincent Petry [Tue, 12 Jan 2021 08:26:20 +0000 (09:26 +0100)]
Update psalm baseline to remove obsolete stuff

As seen in CI static checks, some blocks in the baseline were not needed any
more.

This will fix static checks in CI.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 12 Jan 2021 02:19:49 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25038 from nextcloud/bugfix/noid/install-mysql8-with-php8
blizzz [Mon, 11 Jan 2021 17:07:11 +0000 (18:07 +0100)]
Merge pull request #25038 from nextcloud/bugfix/noid/install-mysql8-with-php8

Don't try a transaction for the migrator on MySQL

3 years agoFix database connection usage in the files scanner 25080/head
Christoph Wurst [Mon, 11 Jan 2021 15:38:31 +0000 (16:38 +0100)]
Fix database connection usage in the files scanner

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #25039 from nextcloud/fix/libxml-use-internal-errors-deprecated
Roeland Jago Douma [Mon, 11 Jan 2021 15:14:38 +0000 (16:14 +0100)]
Merge pull request #25039 from nextcloud/fix/libxml-use-internal-errors-deprecated

Only use libxml_disable_entity_loader on php older than 8

3 years agoOnly rollback when not MySQL 25038/head
Joas Schilling [Mon, 11 Jan 2021 15:10:16 +0000 (16:10 +0100)]
Only rollback when not MySQL

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #25048 from nextcloud/dependabot/npm_and_yarn/webdav-3.6.2
dependabot-preview[bot] [Mon, 11 Jan 2021 14:10:56 +0000 (14:10 +0000)]
Merge pull request #25048 from nextcloud/dependabot/npm_and_yarn/webdav-3.6.2

3 years agoMerge pull request #25034 from nextcloud/bugfix/noid/load-authentication-for-app...
Morris Jobke [Mon, 11 Jan 2021 13:44:10 +0000 (14:44 +0100)]
Merge pull request #25034 from nextcloud/bugfix/noid/load-authentication-for-app-upgrades

Make sure to do priority app upgrades first

3 years agoMerge pull request #25016 from nextcloud/enh/noid/add-check-for-unsupported-db
Roeland Jago Douma [Mon, 11 Jan 2021 13:21:42 +0000 (14:21 +0100)]
Merge pull request #25016 from nextcloud/enh/noid/add-check-for-unsupported-db

Add setup check to verify that the used DB version is still supported…

3 years agoMerge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-casts
Morris Jobke [Mon, 11 Jan 2021 13:15:16 +0000 (14:15 +0100)]
Merge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-casts

Remove unneeded casts that were found by Psalm

3 years agoBump webdav from 3.6.1 to 3.6.2 25048/head
dependabot-preview[bot] [Mon, 11 Jan 2021 12:32:12 +0000 (12:32 +0000)]
Bump webdav from 3.6.1 to 3.6.2

Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v3.6.1...v3.6.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 agoDB: warn on parameter number constraints
Arthur Schiwon [Fri, 8 Jan 2021 11:46:10 +0000 (12:46 +0100)]
DB: warn on parameter number constraints

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agorespect DB limits limit per statement and query
Arthur Schiwon [Fri, 8 Jan 2021 10:54:07 +0000 (11:54 +0100)]
respect DB limits limit per statement and query

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #25070 from nextcloud/feature/noid/card-ros-definitions
Roeland Jago Douma [Mon, 11 Jan 2021 12:31:21 +0000 (13:31 +0100)]
Merge pull request #25070 from nextcloud/feature/noid/card-ros-definitions

Deck Rich-Object-String definitions for deck boards and cards

3 years agoMerge pull request #24910 from nextcloud/dependachristoph/composer/scss-1.4.0
Morris Jobke [Mon, 11 Jan 2021 12:25:00 +0000 (13:25 +0100)]
Merge pull request #24910 from nextcloud/dependachristoph/composer/scss-1.4.0

Bump scssphp/scssphp from 1.0.3 to 1.4.0

3 years agoMerge pull request #25069 from nextcloud/bugfix/noid/regression-dont-touch-assignable...
Roeland Jago Douma [Mon, 11 Jan 2021 12:17:35 +0000 (13:17 +0100)]
Merge pull request #25069 from nextcloud/bugfix/noid/regression-dont-touch-assignable-column

Don't remove assignable column for now

3 years agoRemove unneeded casts that were found by Psalm 25073/head
Morris Jobke [Mon, 11 Jan 2021 11:57:03 +0000 (12:57 +0100)]
Remove unneeded casts that were found by Psalm

In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoUnquote string when removing the hash from a color 24910/head
Julius Härtl [Mon, 11 Jan 2021 09:09:51 +0000 (10:09 +0100)]
Unquote string when removing the hash from a color

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMake SCSS compliant
Julius Härtl [Mon, 11 Jan 2021 08:51:26 +0000 (09:51 +0100)]
Make SCSS compliant

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoBump scssphp/scssphp from 1.0.3 to 1.4.0
Christoph Wurst [Wed, 30 Dec 2020 13:46:51 +0000 (14:46 +0100)]
Bump scssphp/scssphp from 1.0.3 to 1.4.0

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoDeck Rich-Object-String definitions for deck boards and cards 25070/head
Joas Schilling [Mon, 11 Jan 2021 11:03:13 +0000 (12:03 +0100)]
Deck Rich-Object-String definitions for deck boards and cards

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDon't remove assignable column for now 25069/head
Vincent Petry [Mon, 11 Jan 2021 10:58:14 +0000 (11:58 +0100)]
Don't remove assignable column for now

It causes side effects.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #25049 from nextcloud/dependabot/npm_and_yarn/webpack-4.45.0
dependabot-preview[bot] [Mon, 11 Jan 2021 10:55:29 +0000 (10:55 +0000)]
Merge pull request #25049 from nextcloud/dependabot/npm_and_yarn/webpack-4.45.0

3 years agoBump webpack from 4.44.2 to 4.45.0 25049/head
dependabot-preview[bot] [Sat, 9 Jan 2021 02:20:58 +0000 (02:20 +0000)]
Bump webpack from 4.44.2 to 4.45.0

Bumps [webpack](https://github.com/webpack/webpack) from 4.44.2 to 4.45.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.2...v4.45.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 #24661 from nextcloud/external-storage-cant-edit
Morris Jobke [Mon, 11 Jan 2021 09:42:48 +0000 (10:42 +0100)]
Merge pull request #24661 from nextcloud/external-storage-cant-edit

dont offer to edit external config settings if we can't edit them

3 years ago21 beta6 25065/head
Roeland Jago Douma [Mon, 11 Jan 2021 08:54:10 +0000 (09:54 +0100)]
21 beta6

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 11 Jan 2021 02:19:52 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 10 Jan 2021 02:22:39 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25050 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Sat, 9 Jan 2021 07:54:46 +0000 (08:54 +0100)]
Merge pull request #25050 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 25050/head
Nextcloud-PR-Bot [Sat, 9 Jan 2021 04:53:55 +0000 (04:53 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years agoMerge pull request #25047 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.3
dependabot-preview[bot] [Sat, 9 Jan 2021 03:09:48 +0000 (03:09 +0000)]
Merge pull request #25047 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.3

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 9 Jan 2021 02:21:37 +0000 (02:21 +0000)]
[tx-robot] updated from transifex

3 years agoBump sinon from 9.2.2 to 9.2.3 25047/head
dependabot-preview[bot] [Sat, 9 Jan 2021 02:17:49 +0000 (02:17 +0000)]
Bump sinon from 9.2.2 to 9.2.3

Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.2 to 9.2.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.2...v9.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoOnly use libxml_disable_entity_loader on php older than 8 25039/head
Christoph Wurst [Fri, 8 Jan 2021 15:30:05 +0000 (16:30 +0100)]
Only use libxml_disable_entity_loader on php older than 8

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoDon't try a transaction for the migrator on MySQL
Joas Schilling [Fri, 8 Jan 2021 15:25:40 +0000 (16:25 +0100)]
Don't try a transaction for the migrator on MySQL

As per https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html
CREATE TABLE statements automatically commit always. The only reason
this worked in the past was that PHPs PDO connection didn't check the
actual state on commit, but only checked their internal state.
But in PHP8 this was fixed:
https://github.com/php/php-src/blob/PHP-8.0/UPGRADING#L446-L450
So now commit() fails because the internal PDO connection implicitly
commited already.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoadjust tests 24661/head
Robin Appelman [Fri, 8 Jan 2021 15:14:44 +0000 (16:14 +0100)]
adjust tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #24951 from nextcloud/version/21/beta5 v21.0.0beta5
Roeland Jago Douma [Fri, 8 Jan 2021 14:24:10 +0000 (15:24 +0100)]
Merge pull request #24951 from nextcloud/version/21/beta5

21 beta5

3 years agodont offer to edit external config settings if we can't edit them
Robin Appelman [Fri, 11 Dec 2020 15:40:29 +0000 (16:40 +0100)]
dont offer to edit external config settings if we can't edit them

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #24948 from nextcloud/dependabot/composer/doctrine/dbal-3.0.0
Christoph Wurst [Fri, 8 Jan 2021 13:58:43 +0000 (14:58 +0100)]
Merge pull request #24948 from nextcloud/dependabot/composer/doctrine/dbal-3.0.0

Bump doctrine/dbal from 2.12.0 to 3.0.0

3 years agoMerge pull request #22992 from nextcloud/password-urlencode
Morris Jobke [Fri, 8 Jan 2021 13:34:01 +0000 (14:34 +0100)]
Merge pull request #22992 from nextcloud/password-urlencode

allow authenticating using urlencoded passwords

3 years agoUpdate baseline.xml 22992/head
Morris Jobke [Fri, 8 Jan 2021 13:21:12 +0000 (14:21 +0100)]
Update baseline.xml

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoAdd setup check to verify that the used DB version is still supported in the next... 25016/head
Morris Jobke [Thu, 7 Jan 2021 15:26:51 +0000 (16:26 +0100)]
Add setup check to verify that the used DB version is still supported in the next major release

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoUse specific docker image tags to allow drone to cache them and not run into docker... 24948/head
Morris Jobke [Fri, 8 Jan 2021 12:23:55 +0000 (13:23 +0100)]
Use specific docker image tags to allow drone to cache them and not run into docker pull rate limits

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #25017 from nextcloud/fix-clearing-the-label-of-a-share
Roeland Jago Douma [Fri, 8 Jan 2021 11:39:12 +0000 (12:39 +0100)]
Merge pull request #25017 from nextcloud/fix-clearing-the-label-of-a-share

Fix clearing the label of a share

3 years agoMake sure to do priority app upgrades first 25034/head
Julius Härtl [Fri, 8 Jan 2021 11:27:51 +0000 (12:27 +0100)]
Make sure to do priority app upgrades first

Otherwise those apps might not be loaded when the others app migrations
are running. The previous loading of authentication apps in the upgrade
step never worked as it just returns in maintenance mode

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoRollback failed transactions in TestCase.php to not break followup tests
Christoph Wurst [Fri, 8 Jan 2021 10:45:02 +0000 (11:45 +0100)]
Rollback failed transactions in TestCase.php to not break followup tests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoRemove "primary" option from schema builder argument $options as it is not used anymo...
Morris Jobke [Wed, 6 Jan 2021 18:39:41 +0000 (19:39 +0100)]
Remove "primary" option from schema builder argument $options as it is not used anymore and triggers an exception

See https://github.com/doctrine/dbal/commit/138eb85234a1faeaa2e6a32cd7bcc66bb51c64e8#diff-300f55366adb50a32a40882ebdc95c163b141f64cba5f45f20bda04a907b3eb3L82

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoBump doctrine/dbal from 2.12.0 to 3.0.0
Christoph Wurst [Sun, 3 Jan 2021 14:28:31 +0000 (15:28 +0100)]
Bump doctrine/dbal from 2.12.0 to 3.0.0

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #25031 from nextcloud/revert-25020-fix/noid/limitied-allowed-items...
Roeland Jago Douma [Fri, 8 Jan 2021 09:44:48 +0000 (10:44 +0100)]
Merge pull request #25031 from nextcloud/revert-25020-fix/noid/limitied-allowed-items-db-in

Revert "(LDAP) respect DB limits of arguments in an IN statement"

3 years agoRevert "(LDAP) respect DB limits of arguments in an IN statement" 25031/head
Roeland Jago Douma [Fri, 8 Jan 2021 09:44:32 +0000 (10:44 +0100)]
Revert "(LDAP) respect DB limits of arguments in an IN statement"

3 years agoFix clearing the label of a share 25017/head
Daniel Calviño Sánchez [Thu, 7 Jan 2021 17:10:11 +0000 (18:10 +0100)]
Fix clearing the label of a share

When the label is being edited its value is stored in "newLabel", and
the original label is shown only if "newLabel" is not set. However, as
it was checked against any falsy value instead of only undefined when
the label was cleared and thus it has an empty value the original label
was shown instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #25029 from nextcloud/rakekniven-patch-1
Morris Jobke [Fri, 8 Jan 2021 09:08:14 +0000 (10:08 +0100)]
Merge pull request #25029 from nextcloud/rakekniven-patch-1

Change defaultapp in config.sample.php to dashboard to improve docs and align it to source code

3 years agoChange defaultapp to dashboard 25029/head
rakekniven [Fri, 8 Jan 2021 08:49:12 +0000 (09:49 +0100)]
Change defaultapp to dashboard

Result of discussion at https://help.nextcloud.com/t/enable-dashboard-on-per-user-basis/94872

Code reference:
https://github.com/nextcloud/server/blob/db86bea18ce41ad73e9c1a06f2b2d89d8d4f2ef8/lib/private/legacy/OC_Util.php#L1106

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
3 years agoMerge pull request #25015 from nextcloud/fix/no-double-intl-polyfill
Roeland Jago Douma [Fri, 8 Jan 2021 07:25:31 +0000 (08:25 +0100)]
Merge pull request #25015 from nextcloud/fix/no-double-intl-polyfill

Replace patchwork/utf8 with symfony-polyfill-*

3 years agoMerge pull request #25020 from nextcloud/fix/noid/limitied-allowed-items-db-in
Roeland Jago Douma [Fri, 8 Jan 2021 07:25:03 +0000 (08:25 +0100)]
Merge pull request #25020 from nextcloud/fix/noid/limitied-allowed-items-db-in

(LDAP) respect DB limits of arguments in an IN statement

3 years agoMerge pull request #25021 from nextcloud/enhancement/occ-install-exception-trace
Roeland Jago Douma [Fri, 8 Jan 2021 07:22:50 +0000 (08:22 +0100)]
Merge pull request #25021 from nextcloud/enhancement/occ-install-exception-trace

Print an exception trace for setup exceptions

3 years agoMerge pull request #25025 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Fri, 8 Jan 2021 07:22:35 +0000 (08:22 +0100)]
Merge pull request #25025 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 25025/head
Nextcloud-PR-Bot [Fri, 8 Jan 2021 04:53:15 +0000 (04:53 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 8 Jan 2021 02:22:30 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24892 from nextcloud/fix/use-symfony-dispatcher-correctly
Morris Jobke [Thu, 7 Jan 2021 20:42:44 +0000 (21:42 +0100)]
Merge pull request #24892 from nextcloud/fix/use-symfony-dispatcher-correctly

Use the Symfony dispatcher correctly

3 years agoMerge pull request #23261 from nextcloud/enh/external-storage-session-type
Morris Jobke [Thu, 7 Jan 2021 20:29:13 +0000 (21:29 +0100)]
Merge pull request #23261 from nextcloud/enh/external-storage-session-type

Expose session based authentication through mount point type

3 years agoReplace patchwork/utf8 with symfony-polyfill-* 25015/head
Christoph Wurst [Thu, 7 Jan 2021 14:55:49 +0000 (15:55 +0100)]
Replace patchwork/utf8 with symfony-polyfill-*

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24989 from nextcloud/scanner-ignore-non-readable
Morris Jobke [Thu, 7 Jan 2021 20:10:53 +0000 (21:10 +0100)]
Merge pull request #24989 from nextcloud/scanner-ignore-non-readable

ignore files that have no read permissions during scanning

3 years agoAdd more previous exceptions to database setup code 25021/head
Morris Jobke [Thu, 7 Jan 2021 20:04:11 +0000 (21:04 +0100)]
Add more previous exceptions to database setup code

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agorespect DB limits of arguments in a IN list 25020/head
Arthur Schiwon [Thu, 7 Jan 2021 18:43:21 +0000 (19:43 +0100)]
respect DB limits of arguments in a IN list

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #24934 from nextcloud/max_file_uploads
Roeland Jago Douma [Thu, 7 Jan 2021 19:15:13 +0000 (20:15 +0100)]
Merge pull request #24934 from nextcloud/max_file_uploads

Remove useless ini_set calls

3 years agoPrint an exception trace for setup exceptions
Christoph Wurst [Thu, 7 Jan 2021 19:04:04 +0000 (20:04 +0100)]
Print an exception trace for setup exceptions

Right now any setup error will just result in the exception message
being printed. In some cases this doesn't give any insights into what
went wrong. This adds some dedicated logic to print the exception trace
and any previous exceptions to the CLI.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24969 from nextcloud/dependabot/npm_and_yarn/core-js-3.8.2
Roeland Jago Douma [Thu, 7 Jan 2021 19:09:03 +0000 (20:09 +0100)]
Merge pull request #24969 from nextcloud/dependabot/npm_and_yarn/core-js-3.8.2

Bump core-js from 3.8.1 to 3.8.2

3 years agoMerge pull request #25018 from nextcloud/fix-name-of-avatar-integration-tests-in...
Roeland Jago Douma [Thu, 7 Jan 2021 19:06:54 +0000 (20:06 +0100)]
Merge pull request #25018 from nextcloud/fix-name-of-avatar-integration-tests-in-drone

Fix name of avatar integration tests in Drone