]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoalso use storage copy when dav copying directories 25255/head
Robin Appelman [Thu, 21 Jan 2021 16:58:20 +0000 (17:58 +0100)]
also use storage copy when dav copying directories

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoMerge pull request #25212 from nextcloud/enh/preview-markdown
Morris Jobke [Wed, 20 Jan 2021 14:02:41 +0000 (15:02 +0100)]
Merge pull request #25212 from nextcloud/enh/preview-markdown

Enhance markdown file preview rendering

3 years agoFix typo in comment 25212/head
Morris Jobke [Wed, 20 Jan 2021 14:02:32 +0000 (15:02 +0100)]
Fix typo in comment

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #25224 from nextcloud/bugfix/24600/fix-saving-user-credentials
Morris Jobke [Wed, 20 Jan 2021 13:59:30 +0000 (14:59 +0100)]
Merge pull request #25224 from nextcloud/bugfix/24600/fix-saving-user-credentials

Update handling of user credentials

3 years agoMerge pull request #25217 from nextcloud/enh/drop_index
Roeland Jago Douma [Wed, 20 Jan 2021 10:13:20 +0000 (11:13 +0100)]
Merge pull request #25217 from nextcloud/enh/drop_index

Drop authtoken_version_index

3 years agoEnhance markdown file preview rendering
Julius Härtl [Tue, 19 Jan 2021 14:53:37 +0000 (15:53 +0100)]
Enhance markdown file preview rendering

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoFix potential empty result 25224/head
Joas Schilling [Wed, 20 Jan 2021 09:09:45 +0000 (10:09 +0100)]
Fix potential empty result

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDrop authtoken_version_index 25217/head
Roeland Jago Douma [Tue, 19 Jan 2021 19:54:07 +0000 (20:54 +0100)]
Drop authtoken_version_index

The index was used when deleting old tokens. On top of that the index is
of course not that great since the version is either 1 or 2.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25223 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Wed, 20 Jan 2021 08:07:35 +0000 (09:07 +0100)]
Merge pull request #25223 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoCompare and store the login name via the event
Joas Schilling [Fri, 18 Dec 2020 13:46:41 +0000 (14:46 +0100)]
Compare and store the login name via the event

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoAlso fix the username when it changed
Joas Schilling [Thu, 17 Dec 2020 10:47:17 +0000 (11:47 +0100)]
Also fix the username when it changed

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDon't save credentials of another user
Joas Schilling [Thu, 17 Dec 2020 10:46:57 +0000 (11:46 +0100)]
Don't save credentials of another user

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoUpdate psalm baseline 25223/head
Nextcloud-PR-Bot [Wed, 20 Jan 2021 05:05:00 +0000 (05:05 +0000)]
Update psalm baseline

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

3 years agoMerge pull request #25151 from nextcloud/bugfix/noid/ie11-dashboard-syntax-error
Morris Jobke [Tue, 19 Jan 2021 22:08:33 +0000 (23:08 +0100)]
Merge pull request #25151 from nextcloud/bugfix/noid/ie11-dashboard-syntax-error

Fix IE 11 dashboard syntax error

3 years agoMerge pull request #25216 from nextcloud/enh/ca-bundle
Morris Jobke [Tue, 19 Jan 2021 21:53:49 +0000 (22:53 +0100)]
Merge pull request #25216 from nextcloud/enh/ca-bundle

Bump CA bundle

3 years agoMerge pull request #25173 from nextcloud/enh/webp_support
Roeland Jago Douma [Tue, 19 Jan 2021 20:01:47 +0000 (21:01 +0100)]
Merge pull request #25173 from nextcloud/enh/webp_support

Add support for webp

3 years agoAdd support for webp 25173/head
Roeland Jago Douma [Sun, 17 Jan 2021 20:09:31 +0000 (21:09 +0100)]
Add support for webp

Including handling in OC_Image
But also a preview provider

Of course only works if your php actually supports webp

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25184 from nextcloud/feature/noid/first-class-citizen-notifications
Roeland Jago Douma [Tue, 19 Jan 2021 18:40:07 +0000 (19:40 +0100)]
Merge pull request #25184 from nextcloud/feature/noid/first-class-citizen-notifications

Directly add notifications element

3 years agoBump CA bundle 25216/head
Roeland Jago Douma [Tue, 19 Jan 2021 14:56:03 +0000 (15:56 +0100)]
Bump CA bundle

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25198 from nextcloud/dependabot/composer/pear/archive_tar-1.4.12
Christoph Wurst [Tue, 19 Jan 2021 11:13:30 +0000 (12:13 +0100)]
Merge pull request #25198 from nextcloud/dependabot/composer/pear/archive_tar-1.4.12

Bump pear/archive_tar from 1.4.11 to 1.4.12

3 years agoBump pear/archive_tar from 1.4.11 to 1.4.12 25198/head
Christoph Wurst [Tue, 19 Jan 2021 09:59:04 +0000 (10:59 +0100)]
Bump pear/archive_tar from 1.4.11 to 1.4.12

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #25153 from nextcloud/bugfix/noid/force-signature-verification...
Roeland Jago Douma [Tue, 19 Jan 2021 08:35:52 +0000 (09:35 +0100)]
Merge pull request #25153 from nextcloud/bugfix/noid/force-signature-verification-on-occ

Force signature verification of apps on occ

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 19 Jan 2021 02:20:43 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25186 from nextcloud/bugfix/noid/dont-log-keys-on-verifySignature
Morris Jobke [Mon, 18 Jan 2021 21:23:36 +0000 (22:23 +0100)]
Merge pull request #25186 from nextcloud/bugfix/noid/dont-log-keys-on-verifySignature

Don't log keys on checkSignature

3 years agoMerge pull request #25187 from nextcloud/dependabot/composer/symfony/polyfill-intl...
Morris Jobke [Mon, 18 Jan 2021 21:21:44 +0000 (22:21 +0100)]
Merge pull request #25187 from nextcloud/dependabot/composer/symfony/polyfill-intl-normalizer-1.22.0

Bump symfony/polyfill-intl-normalizer from 1.20.0 to 1.22.0

3 years agoMerge pull request #25182 from nextcloud/bugfix/noid/readd-element-id
John Molakvoæ [Mon, 18 Jan 2021 20:08:43 +0000 (21:08 +0100)]
Merge pull request #25182 from nextcloud/bugfix/noid/readd-element-id

Readd element ID after component mount.

3 years agoMerge pull request #25181 from nextcloud/crl/update-revoked-gravatar.crt
Roeland Jago Douma [Mon, 18 Jan 2021 19:22:27 +0000 (20:22 +0100)]
Merge pull request #25181 from nextcloud/crl/update-revoked-gravatar.crt

Update CRL due to revoked gravatar.crl

3 years agoMerge pull request #25185 from nextcloud/bugfix/share-errors
Roeland Jago Douma [Mon, 18 Jan 2021 19:19:30 +0000 (20:19 +0100)]
Merge pull request #25185 from nextcloud/bugfix/share-errors

Show the actual error on share requests

3 years agoBump symfony/polyfill-intl-normalizer from 1.20.0 to 1.22.0 25187/head
Christoph Wurst [Mon, 18 Jan 2021 16:04:48 +0000 (17:04 +0100)]
Bump symfony/polyfill-intl-normalizer from 1.20.0 to 1.22.0

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoDon't log keys on checkSignature 25186/head
Joas Schilling [Mon, 18 Jan 2021 15:09:06 +0000 (16:09 +0100)]
Don't log keys on checkSignature

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoShow the actual error on share requests 25185/head
Julius Härtl [Mon, 18 Jan 2021 14:34:17 +0000 (15:34 +0100)]
Show the actual error on share requests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoDirectly add notifications element 25184/head
Joas Schilling [Mon, 18 Jan 2021 14:00:20 +0000 (15:00 +0100)]
Directly add notifications element

Since there seems to be an issue with the old way notifications is mounted,
we now hardcode it.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoReadd element ID after component mount. 25182/head
Joas Schilling [Mon, 18 Jan 2021 12:43:46 +0000 (13:43 +0100)]
Readd element ID after component mount.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoUpdate CRL due to revoked gravatar.crl 25181/head
Morris Jobke [Mon, 18 Jan 2021 12:46:33 +0000 (13:46 +0100)]
Update CRL due to revoked gravatar.crl

https://github.com/nextcloud/app-certificate-requests/pull/362

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoMerge pull request #25168 from nextcloud/fix/cards_abiduri
Morris Jobke [Mon, 18 Jan 2021 12:35:20 +0000 (13:35 +0100)]
Merge pull request #25168 from nextcloud/fix/cards_abiduri

Add cards_abiduri index on install

3 years agoMerge pull request #25059 from nextcloud/dependabot/composer/web-auth/webauthn-lib...
Morris Jobke [Mon, 18 Jan 2021 12:34:33 +0000 (13:34 +0100)]
Merge pull request #25059 from nextcloud/dependabot/composer/web-auth/webauthn-lib-3.3.1

Bump web-auth/webauthn-lib from 3.1.1 to 3.3.1

3 years agoMerge pull request #25177 from nextcloud/bugfix/noid/more-usable-mysql-password
Roeland Jago Douma [Mon, 18 Jan 2021 11:55:30 +0000 (12:55 +0100)]
Merge pull request #25177 from nextcloud/bugfix/noid/more-usable-mysql-password

Only use alphanumeric chars for mysql password

3 years agoMerge pull request #25176 from nextcloud/add-composer-lock-for-acceptance-tests-to-git
Morris Jobke [Mon, 18 Jan 2021 11:49:36 +0000 (12:49 +0100)]
Merge pull request #25176 from nextcloud/add-composer-lock-for-acceptance-tests-to-git

Add "composer.lock" for acceptance tests to git

3 years agoOnly use alphanumeric chars for mysql password 25177/head
Joas Schilling [Mon, 18 Jan 2021 11:03:52 +0000 (12:03 +0100)]
Only use alphanumeric chars for mysql password

/ and + can cause problems with other tools that you might want to run on your Nextcloud database.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix markup 25153/head
Joas Schilling [Fri, 15 Jan 2021 15:38:25 +0000 (16:38 +0100)]
Fix markup

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoAdd a warning when trying to run integrity:check-core on git
Joas Schilling [Fri, 15 Jan 2021 15:37:46 +0000 (16:37 +0100)]
Add a warning when trying to run integrity:check-core on git

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoCleanup the constructor
Joas Schilling [Fri, 15 Jan 2021 15:33:47 +0000 (16:33 +0100)]
Cleanup the constructor

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoForce run the verification of the signature on occ
Joas Schilling [Fri, 15 Jan 2021 15:29:54 +0000 (16:29 +0100)]
Force run the verification of the signature on occ

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoBump web-auth/webauthn-lib from 3.1.1 to 3.3.1 25059/head
Christoph Wurst [Sun, 10 Jan 2021 17:04:46 +0000 (18:04 +0100)]
Bump web-auth/webauthn-lib from 3.1.1 to 3.3.1

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Jan 2021 02:19:28 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #25160 from nextcloud/dependabot/npm_and_yarn/webpack-4.46.0
dependabot-preview[bot] [Sun, 17 Jan 2021 20:13:45 +0000 (20:13 +0000)]
Merge pull request #25160 from nextcloud/dependabot/npm_and_yarn/webpack-4.46.0

3 years agoAdd "composer.lock" for acceptance tests to git 25176/head
Daniel Calviño Sánchez [Sun, 17 Jan 2021 12:50:47 +0000 (13:50 +0100)]
Add "composer.lock" for acceptance tests to git

As "composer.lock" was not versioned the dependencies had to be resolved
everytime that the acceptance tests run, which took some precious time.

Besides that the dependency versions were also tightened for better
control.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Jan 2021 02:19:53 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoAdd cards_abiduri index on install 25168/head
Roeland Jago Douma [Sat, 16 Jan 2021 19:43:16 +0000 (20:43 +0100)]
Add cards_abiduri index on install

Else we directly tell the admin to add this on install.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #25159 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.1.1
dependabot-preview[bot] [Sat, 16 Jan 2021 03:13:40 +0000 (03:13 +0000)]
Merge pull request #25159 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.1.1

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Jan 2021 02:20:04 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

3 years agoBump webpack from 4.45.0 to 4.46.0 25160/head
dependabot-preview[bot] [Sat, 16 Jan 2021 02:18:52 +0000 (02:18 +0000)]
Bump webpack from 4.45.0 to 4.46.0

Bumps [webpack](https://github.com/webpack/webpack) from 4.45.0 to 4.46.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.45.0...v4.46.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump sass-loader from 10.1.0 to 10.1.1 25159/head
dependabot-preview[bot] [Sat, 16 Jan 2021 02:17:36 +0000 (02:17 +0000)]
Bump sass-loader from 10.1.0 to 10.1.1

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.1.0 to 10.1.1.
- [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.1.0...v10.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #25138 from gouttegd/fix25137
Joas Schilling [Fri, 15 Jan 2021 14:18:25 +0000 (15:18 +0100)]
Merge pull request #25138 from gouttegd/fix25137

Fix comparison of PHP versions

3 years agoFix IE 11 dashboard syntax error 25151/head
Vincent Petry [Fri, 15 Jan 2021 13:26:50 +0000 (14:26 +0100)]
Fix IE 11 dashboard syntax error

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoMerge pull request #25142 from nextcloud/fix/login_no_logout_redirect
Roeland Jago Douma [Fri, 15 Jan 2021 10:51:30 +0000 (11:51 +0100)]
Merge pull request #25142 from nextcloud/fix/login_no_logout_redirect

Do not redirect to logout after login

3 years agoMerge pull request #25141 from nextcloud/bugfix/noid/add-a-hint-about-priority
Morris Jobke [Fri, 15 Jan 2021 08:46:37 +0000 (09:46 +0100)]
Merge pull request #25141 from nextcloud/bugfix/noid/add-a-hint-about-priority

Add a hint about the direction of priority

3 years agoDo not redirect to logout after login 25142/head
Roeland Jago Douma [Fri, 15 Jan 2021 08:29:54 +0000 (09:29 +0100)]
Do not redirect to logout after login

This can happen when the session was killed due to a timeout. Then
logout was triggered. Nobody wants to login only to be logged out again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoAdd a hint about the direction of priority 25141/head
Joas Schilling [Fri, 15 Jan 2021 07:32:09 +0000 (08:32 +0100)]
Add a hint about the direction of priority

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #25055 from nina-py/18439-add-crop-image-previews-setting
Julius Härtl [Fri, 15 Jan 2021 07:07:52 +0000 (08:07 +0100)]
Merge pull request #25055 from nina-py/18439-add-crop-image-previews-setting

Add "Crop image previews" setting to files

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Jan 2021 02:20:25 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

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 agoAdd "Crop image previews" setting to files 25055/head
Nina Pypchenko [Sun, 10 Jan 2021 08:14:49 +0000 (19:14 +1100)]
Add "Crop image previews" setting to files

Added a new user setting that toggles cropping on image previews
in grid view.

True (default value): crops each image to a square. False: keep original
aspect ratio.

Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>
Closes #18439.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
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>