]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoRemove some IRouter methods 21716/head
Roeland Jago Douma [Mon, 6 Jul 2020 14:00:58 +0000 (16:00 +0200)]
Remove some IRouter methods

This is not the end. IRouter needs to burn.
But it is a start.

🎵 we didn't start the fire ðŸŽµ

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24102 from nextcloud/bugfix/noid/quota-upload
Christoph Wurst [Tue, 17 Nov 2020 12:30:08 +0000 (13:30 +0100)]
Merge pull request #24102 from nextcloud/bugfix/noid/quota-upload

Check quota of subdirectories when uploading to them

3 years agoMerge pull request #24098 from nextcloud/bugfix/noid/resharing-rights-on-circles
Roeland Jago Douma [Tue, 17 Nov 2020 10:22:02 +0000 (11:22 +0100)]
Merge pull request #24098 from nextcloud/bugfix/noid/resharing-rights-on-circles

circleId too short in some request

3 years agoMerge pull request #24163 from nextcloud/techdebt/noid/add-types-to-function-builder
Roeland Jago Douma [Tue, 17 Nov 2020 09:12:55 +0000 (10:12 +0100)]
Merge pull request #24163 from nextcloud/techdebt/noid/add-types-to-function-builder

Add types to function builder

3 years agoCheck for target folder available quota when uploading 24102/head
Julius Härtl [Fri, 13 Nov 2020 11:46:12 +0000 (12:46 +0100)]
Check for target folder available quota when uploading

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24108 from csware/apple-unknown-year
John Molakvoæ [Tue, 17 Nov 2020 08:20:59 +0000 (09:20 +0100)]
Merge pull request #24108 from csware/apple-unknown-year

Use correct year for generated birthdays events

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

[Automated] Update psalm-baseline.xml

3 years agoFetch quota with files propfind
Julius Härtl [Fri, 16 Oct 2020 12:22:47 +0000 (14:22 +0200)]
Fetch quota with files propfind

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

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

3 years agoUpdate psalm baseline 24163/head
Joas Schilling [Mon, 16 Nov 2020 18:20:21 +0000 (19:20 +0100)]
Update psalm baseline

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoAdd types to function builder
Joas Schilling [Mon, 16 Nov 2020 18:17:21 +0000 (19:17 +0100)]
Add types to function builder

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #24069 from nextcloud/fix-default-internal-expiration-date
Roeland Jago Douma [Mon, 16 Nov 2020 13:13:56 +0000 (14:13 +0100)]
Merge pull request #24069 from nextcloud/fix-default-internal-expiration-date

Fix default internal expiration date

3 years agoMerge pull request #24112 from nextcloud/bugfix/24099/setup-fs-before-query-storage...
Christoph Wurst [Mon, 16 Nov 2020 10:46:22 +0000 (11:46 +0100)]
Merge pull request #24112 from nextcloud/bugfix/24099/setup-fs-before-query-storage-in-settings

Set up FS before querying storage info in settings

3 years agoMerge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version...
kesselb [Mon, 16 Nov 2020 08:56:51 +0000 (09:56 +0100)]
Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query

Don't throw on SHOW VERSION query

3 years agoAdd integration tests for creating shares with default expiration dates 24069/head
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:52:53 +0000 (11:52 +0100)]
Add integration tests for creating shares with default expiration dates

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoReset app configs by deleting the values instead of setting the defaults
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:51:37 +0000 (11:51 +0100)]
Reset app configs by deleting the values instead of setting the defaults

This avoids the need to keep the default values in the integration tests
in sync with the code, and also makes possible to reset values with
"dynamic" defaults (defaults that depend on other values).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd unit tests for "validateExpirationDateInternal"
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:50:16 +0000 (11:50 +0100)]
Add unit tests for "validateExpirationDateInternal"

They were copied and adjusted as needed from the tests for
"validateExpirationDate".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix default internal expiration date
Daniel Calviño Sánchez [Thu, 12 Nov 2020 10:49:40 +0000 (11:49 +0100)]
Fix default internal expiration date

The default expiration date for internal shares was set from the default
link expiration date instead of the internal one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoDon't throw on SHOW VERSION query 24146/head
Joas Schilling [Mon, 16 Nov 2020 07:43:48 +0000 (08:43 +0100)]
Don't throw on SHOW VERSION query

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 16 Nov 2020 02:19:21 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 15 Nov 2020 02:19:01 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24124 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.2
dependabot-preview[bot] [Sat, 14 Nov 2020 16:51:52 +0000 (16:51 +0000)]
Merge pull request #24124 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.2

3 years agoBump dompurify from 2.2.0 to 2.2.2 24124/head
dependabot-preview[bot] [Sat, 14 Nov 2020 15:57:25 +0000 (15:57 +0000)]
Bump dompurify from 2.2.0 to 2.2.2

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.0...2.2.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 #24126 from nextcloud/dependabot/npm_and_yarn/core-js-3.7.0
John Molakvoæ [Sat, 14 Nov 2020 15:55:02 +0000 (16:55 +0100)]
Merge pull request #24126 from nextcloud/dependabot/npm_and_yarn/core-js-3.7.0

Bump core-js from 3.6.5 to 3.7.0

3 years agoBump core-js from 3.6.5 to 3.7.0 24126/head
dependabot-preview[bot] [Sat, 14 Nov 2020 14:29:27 +0000 (14:29 +0000)]
Bump core-js from 3.6.5 to 3.7.0

Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.5 to 3.7.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.5...v3.7.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 #24127 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collec...
dependabot-preview[bot] [Sat, 14 Nov 2020 14:27:02 +0000 (14:27 +0000)]
Merge pull request #24127 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.9.0

3 years agoBump nextcloud-vue-collections from 0.8.1 to 0.9.0 24127/head
dependabot-preview[bot] [Sat, 14 Nov 2020 12:44:30 +0000 (12:44 +0000)]
Bump nextcloud-vue-collections from 0.8.1 to 0.9.0

Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.8.1...v0.9.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 #24122 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs...
dependabot-preview[bot] [Sat, 14 Nov 2020 12:16:38 +0000 (12:16 +0000)]
Merge pull request #24122 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-3.1.1

3 years agoBump @nextcloud/dialogs from 3.0.0 to 3.1.1 24122/head
dependabot-preview[bot] [Sat, 14 Nov 2020 11:17:54 +0000 (11:17 +0000)]
Bump @nextcloud/dialogs from 3.0.0 to 3.1.1

Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v3.0.0...v3.1.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 agoMerge pull request #24119 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.2.0
dependabot-preview[bot] [Sat, 14 Nov 2020 11:15:23 +0000 (11:15 +0000)]
Merge pull request #24119 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.2.0

3 years agoBump @nextcloud/vue from 3.1.0 to 3.2.0 24119/head
dependabot-preview[bot] [Sat, 14 Nov 2020 02:17:35 +0000 (02:17 +0000)]
Bump @nextcloud/vue from 3.1.0 to 3.2.0

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.1.0...v3.2.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 #24118 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.1
John Molakvoæ [Sat, 14 Nov 2020 09:22:21 +0000 (10:22 +0100)]
Merge pull request #24118 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.1

Bump babel-loader from 8.1.0 to 8.2.1

3 years agoMerge pull request #24123 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.4.0
John Molakvoæ [Sat, 14 Nov 2020 09:20:31 +0000 (10:20 +0100)]
Merge pull request #24123 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.4.0

Bump webpack-merge from 5.2.0 to 5.4.0

3 years agoMerge pull request #24125 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-standa...
dependabot-preview[bot] [Sat, 14 Nov 2020 09:20:21 +0000 (09:20 +0000)]
Merge pull request #24125 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-standard-4.1.0

3 years agoMerge pull request #24120 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.1.0
dependabot-preview[bot] [Sat, 14 Nov 2020 09:19:57 +0000 (09:19 +0000)]
Merge pull request #24120 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.1.0

3 years agoMerge pull request #24130 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Sat, 14 Nov 2020 08:50:04 +0000 (09:50 +0100)]
Merge pull request #24130 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 24130/head
Nextcloud-PR-Bot [Sat, 14 Nov 2020 04:21:44 +0000 (04:21 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years agoBump eslint-plugin-standard from 4.0.2 to 4.1.0 24125/head
dependabot-preview[bot] [Sat, 14 Nov 2020 02:22:09 +0000 (02:22 +0000)]
Bump eslint-plugin-standard from 4.0.2 to 4.1.0

Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.0.2...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump webpack-merge from 5.2.0 to 5.4.0 24123/head
dependabot-preview[bot] [Sat, 14 Nov 2020 02:20:47 +0000 (02:20 +0000)]
Bump webpack-merge from 5.2.0 to 5.4.0

Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.2.0...v5.4.0)

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

3 years agoBump sass-loader from 10.0.5 to 10.1.0 24120/head
dependabot-preview[bot] [Sat, 14 Nov 2020 02:18:43 +0000 (02:18 +0000)]
Bump sass-loader from 10.0.5 to 10.1.0

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoBump babel-loader from 8.1.0 to 8.2.1 24118/head
dependabot-preview[bot] [Sat, 14 Nov 2020 02:16:48 +0000 (02:16 +0000)]
Bump babel-loader from 8.1.0 to 8.2.1

Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.1.0 to 8.2.1.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.1.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
3 years agoMerge pull request #24096 from nextcloud/fix/contacts-interaction-card-resource-to...
Christoph Wurst [Fri, 13 Nov 2020 18:15:31 +0000 (19:15 +0100)]
Merge pull request #24096 from nextcloud/fix/contacts-interaction-card-resource-to-string

Convert the card resource to a string if necessary

3 years agoSet up FS before querying storage info in settings 24112/head
Vincent Petry [Fri, 13 Nov 2020 15:52:08 +0000 (16:52 +0100)]
Set up FS before querying storage info in settings

The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.

This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoUse correct year for generated birthdays events 24108/head
Sven Strickroth [Fri, 13 Nov 2020 14:57:12 +0000 (15:57 +0100)]
Use correct year for generated birthdays events

'X-APPLE-OMIT-YEAR' is not always present, at least iOS 12.4 uses the hard coded date of 1604 (the start of the gregorian calendar) when the year is unknown.

cf. https://forums.bitfire.at/topic/2050/bday-without-year-for-vcard-3-0-if-server-drops-property-x-apple-omit-year and https://gitlab.com/CardBook/CardBook/-/issues/586

Signed-off-by: Sven Strickroth <email@cs-ware.de>
3 years agoMerge pull request #24085 from nextcloud/fix/register-add-missing-primary-keys
kesselb [Fri, 13 Nov 2020 14:39:03 +0000 (15:39 +0100)]
Merge pull request #24085 from nextcloud/fix/register-add-missing-primary-keys

Register new command db:add-missing-primary-keys

3 years agoMerge pull request #24023 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.1.0
Greta [Fri, 13 Nov 2020 13:42:46 +0000 (14:42 +0100)]
Merge pull request #24023 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.1.0

Bump jquery from 2.2.4 to 3.1.0

3 years agoMerge pull request #23588 from nextcloud/enh/23558/override-dashboard-default-background
Julien Veyssier [Fri, 13 Nov 2020 11:34:41 +0000 (12:34 +0100)]
Merge pull request #23588 from nextcloud/enh/23558/override-dashboard-default-background

Override default dashboard background with theming one

3 years agocircleId too short in some request 24098/head
Maxence Lange [Fri, 13 Nov 2020 09:58:54 +0000 (08:58 -0100)]
circleId too short in some request

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
3 years agoConvert the card resource to a string if necessary 24096/head
Christoph Wurst [Fri, 13 Nov 2020 08:10:35 +0000 (09:10 +0100)]
Convert the card resource to a string if necessary

Apparently the fetched column can be a string or resource. Hence we have
to catch the resource type and convert it to a string.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoBump jquery from 2.2.4 to 3.1.0 24023/head
Christoph Wurst [Tue, 10 Nov 2020 08:50:46 +0000 (09:50 +0100)]
Bump jquery from 2.2.4 to 3.1.0

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agooverride default dashboard background with theming one 23588/head
Julien Veyssier [Tue, 20 Oct 2020 10:36:41 +0000 (12:36 +0200)]
override default dashboard background with theming one
fix getAppValue default value in theming app
fix cacheBuster value injection

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #24088 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Fri, 13 Nov 2020 06:25:36 +0000 (07:25 +0100)]
Merge pull request #24088 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 24088/head
Nextcloud-PR-Bot [Fri, 13 Nov 2020 04:22:06 +0000 (04:22 +0000)]
Update psalm baseline

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

3 years agoRegister new command db:add-missing-primary-keys 24085/head
MichaIng [Thu, 12 Nov 2020 23:02:05 +0000 (00:02 +0100)]
Register new command db:add-missing-primary-keys

Introduced with: https://github.com/nextcloud/server/commit/d5df033ede1f2b19b87c365b1f808130023edf17

Signed-off-by: MichaIng <micha@dietpi.com>
3 years agoMerge pull request #24066 from nextcloud/fix/sharing/expiration-date-internal
Julius Härtl [Thu, 12 Nov 2020 20:57:19 +0000 (21:57 +0100)]
Merge pull request #24066 from nextcloud/fix/sharing/expiration-date-internal

Fix default internal expiration date enforce

3 years agoMerge pull request #24053 from nextcloud/bugfix/noid/fix-user-status-for-oracle
Julius Härtl [Thu, 12 Nov 2020 20:43:31 +0000 (21:43 +0100)]
Merge pull request #24053 from nextcloud/bugfix/noid/fix-user-status-for-oracle

3 years agoMerge pull request #24072 from nextcloud/fix-storage-credential-migration
Morris Jobke [Thu, 12 Nov 2020 14:49:05 +0000 (15:49 +0100)]
Merge pull request #24072 from nextcloud/fix-storage-credential-migration

fix migration of oc_credentials table

3 years agofix migration of oc_credentials table 24072/head
Robin Appelman [Thu, 12 Nov 2020 14:03:21 +0000 (15:03 +0100)]
fix migration of oc_credentials table

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoAdd explicit time to test date for clarity
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:43:03 +0000 (08:43 +0100)]
Add explicit time to test date for clarity

This shows in a clearer way that the expected expiration date is the
original one, but without time.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd unit test for expiration date with date and with default
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:35:34 +0000 (09:35 +0100)]
Add unit test for expiration date with date and with default

This adds back what was being actually tested in the unit test fixed in
the previous commit.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix unit test for expiration date without date but with default
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:34:58 +0000 (09:34 +0100)]
Fix unit test for expiration date without date but with default

The expiration date was explicitly given, so it was not testing what it
should. Moreover, "link_defaultExpDays" needs to be mapped when testing
the default value (even if it will just fallback to the value of
"shareapi_expire_after_n_days").

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix unit test method name
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:46:37 +0000 (08:46 +0100)]
Fix unit test method name

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix unit test for verifying enforced valid expiration date.
Daniel Calviño Sánchez [Thu, 12 Nov 2020 07:25:36 +0000 (08:25 +0100)]
Fix unit test for verifying enforced valid expiration date.

The enforced expiration date was not actually enabled, as for that
"shareapi_default_expire_date" needs to be explicitly set to "yes".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix unit test for verifying enforced expire date too far in the future
Daniel Calviño Sánchez [Wed, 11 Nov 2020 19:50:23 +0000 (20:50 +0100)]
Fix unit test for verifying enforced expire date too far in the future

The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.

Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd unit tests to enforce a relaxed default share expiration date
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:36:04 +0000 (19:36 +0100)]
Add unit tests to enforce a relaxed default share expiration date

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove wrong and misleading comment
Daniel Calviño Sánchez [Wed, 11 Nov 2020 19:27:01 +0000 (20:27 +0100)]
Remove wrong and misleading comment

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove extra spaces
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:38:20 +0000 (09:38 +0100)]
Remove extra spaces

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix typo in variable name
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:55:20 +0000 (19:55 +0100)]
Fix typo in variable name

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix typos in method names
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:34:26 +0000 (19:34 +0100)]
Fix typos in method names

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoMerge pull request #24065 from nextcloud/enh/pimp_accessibilitycontroller
Christoph Wurst [Thu, 12 Nov 2020 07:32:21 +0000 (08:32 +0100)]
Merge pull request #24065 from nextcloud/enh/pimp_accessibilitycontroller

Pimp the accesibility controller

3 years agoFix default internal expiration date enforce 24066/head
John Molakvoæ (skjnldsv) [Thu, 12 Nov 2020 07:10:28 +0000 (08:10 +0100)]
Fix default internal expiration date enforce

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 12 Nov 2020 02:19:24 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24063 from nextcloud/techdebt/noid/switch-to-class-names-for...
Morris Jobke [Wed, 11 Nov 2020 21:34:17 +0000 (22:34 +0100)]
Merge pull request #24063 from nextcloud/techdebt/noid/switch-to-class-names-for-encryption-DI

Change to full class names for the encryption app DI in preparation of auto-wiring

3 years agoPimp the accesibility controller 24065/head
Roeland Jago Douma [Wed, 11 Nov 2020 21:17:53 +0000 (22:17 +0100)]
Pimp the accesibility controller

* No usused members
* appRoot member
* less constructor args

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24037 from nextcloud/enh/reflectionparamter_getclass_deprecatred
Roeland Jago Douma [Wed, 11 Nov 2020 20:53:55 +0000 (21:53 +0100)]
Merge pull request #24037 from nextcloud/enh/reflectionparamter_getclass_deprecatred

ReflectionParamter::getClass is deprecated

3 years agoChange to full class names for the encryption app DI in preparation of auto-wiring 24063/head
Morris Jobke [Wed, 11 Nov 2020 19:46:22 +0000 (20:46 +0100)]
Change to full class names for the encryption app DI in preparation of auto-wiring

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoReflectionParamter::getClass is deprecated 24037/head
Roeland Jago Douma [Tue, 10 Nov 2020 20:05:32 +0000 (21:05 +0100)]
ReflectionParamter::getClass is deprecated

In php8 this starts throwing warnings. And since we use it quite often
we flood the log. This moves it to getType which does the same. Only non
deprecated now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24060 from nextcloud/revert-24039-faster-installation
Morris Jobke [Wed, 11 Nov 2020 19:10:36 +0000 (20:10 +0100)]
Merge pull request #24060 from nextcloud/revert-24039-faster-installation

Revert "Installation goes brrrr"

3 years agoRevert "Installation goes brrrr" 24060/head
Christoph Wurst [Wed, 11 Nov 2020 16:40:12 +0000 (17:40 +0100)]
Revert "Installation goes brrrr"

3 years agoMerge pull request #24054 from nextcloud/bugfix/noid/calendar-repair-oracle
Morris Jobke [Wed, 11 Nov 2020 16:09:28 +0000 (17:09 +0100)]
Merge pull request #24054 from nextcloud/bugfix/noid/calendar-repair-oracle

Manually iterate over calendardata when oracle is used

3 years agoDump autoloader 24053/head
Morris Jobke [Wed, 11 Nov 2020 15:49:37 +0000 (16:49 +0100)]
Dump autoloader

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoManually iterate over calendardata when oracle is used 24054/head
Julius Härtl [Wed, 11 Nov 2020 13:15:52 +0000 (14:15 +0100)]
Manually iterate over calendardata when oracle is used

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoAlso make direct_edit.accessed nullable
Joas Schilling [Wed, 11 Nov 2020 13:46:06 +0000 (14:46 +0100)]
Also make direct_edit.accessed nullable

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMake is_user_defined nullable so we can store false on oracle
Joas Schilling [Wed, 11 Nov 2020 13:04:09 +0000 (14:04 +0100)]
Make is_user_defined nullable so we can store false on oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #24039 from nextcloud/faster-installation
Joas Schilling [Wed, 11 Nov 2020 12:27:40 +0000 (13:27 +0100)]
Merge pull request #24039 from nextcloud/faster-installation

Installation goes brrrr

3 years agoMerge pull request #23915 from st3iny/fix/noid/png-icons-in-caldav-reminder-emails
Morris Jobke [Wed, 11 Nov 2020 11:45:23 +0000 (12:45 +0100)]
Merge pull request #23915 from st3iny/fix/noid/png-icons-in-caldav-reminder-emails

Use png icons in caldav reminder emails

3 years agoMerge pull request #24038 from nextcloud/techdebt/noid/remove-unused-static-methods...
Morris Jobke [Wed, 11 Nov 2020 11:41:04 +0000 (12:41 +0100)]
Merge pull request #24038 from nextcloud/techdebt/noid/remove-unused-static-methods-files_external

Remove unused and deprecated methods from files_external MountConfig

3 years agoDon't create a schema to check if the migrations table exists 24039/head
Joas Schilling [Tue, 10 Nov 2020 20:29:09 +0000 (21:29 +0100)]
Don't create a schema to check if the migrations table exists

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoReduce the number of schemas we generate when we just run all migrations anyway
Joas Schilling [Tue, 10 Nov 2020 20:28:39 +0000 (21:28 +0100)]
Reduce the number of schemas we generate when we just run all migrations anyway

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoOnly update the schema when we install anyway
Joas Schilling [Tue, 10 Nov 2020 20:26:41 +0000 (21:26 +0100)]
Only update the schema when we install anyway

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #24041 from nextcloud/techdebt/noid/remove-oc_hooks-for-group...
Julius Härtl [Wed, 11 Nov 2020 10:17:31 +0000 (11:17 +0100)]
Merge pull request #24041 from nextcloud/techdebt/noid/remove-oc_hooks-for-group-management

Remove old OC_Hook for OC_Group events

3 years agoMerge pull request #23882 from nextcloud/tests/oracle
Joas Schilling [Wed, 11 Nov 2020 09:05:24 +0000 (10:05 +0100)]
Merge pull request #23882 from nextcloud/tests/oracle

Run unit tests against oracle

3 years agoMerge pull request #24042 from nextcloud/fix-sharing-tab-state-not-matching-resharing...
Julius Härtl [Wed, 11 Nov 2020 08:28:23 +0000 (09:28 +0100)]
Merge pull request #24042 from nextcloud/fix-sharing-tab-state-not-matching-resharing-admin-settings

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 11 Nov 2020 02:20:12 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

3 years agoAdd integration tests for default share permissions 24042/head
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:17:04 +0000 (22:17 +0100)]
Add integration tests for default share permissions

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd acceptance tests for reshares by link when resharing is disabled
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:16:50 +0000 (22:16 +0100)]
Add acceptance tests for reshares by link when resharing is disabled

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd acceptance tests for reshares when resharing is disabled
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:16:10 +0000 (22:16 +0100)]
Add acceptance tests for reshares when resharing is disabled

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>