Commit Graph

56391 Commits

Author SHA1 Message Date
Roeland Jago Douma 66013f906d
Merge pull request #24189 from nextcloud/enh/csp/frame-ancestors
Set frame-ancestors to none if none are filled
2020-11-18 11:29:28 +01:00
Roeland Jago Douma 884c80053a
Merge pull request #24198 from nextcloud/bugfix/noid/no-fs-setup-dashboard
Only setup filesystem if needed for dashboard background service
2020-11-18 11:28:52 +01:00
Christoph Wurst 5eaeba49aa
Merge pull request #24186 from nextcloud/enh/password_to_post
Move the password fiels of chaging passwords to post
2020-11-18 10:19:30 +01:00
Roeland Jago Douma 9163790b7c
Set frame-ancestors to none if none are filled
frame-ancestors doesn't fall back to default-src. So when we apply a
very restricted CSP we should make sure to set it to 'none' and not
leave it empty.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-18 10:13:36 +01:00
Julius Härtl e904da9d7a
Only setup filesystem if needed for dashboard background service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-18 09:03:56 +01:00
Christoph Wurst 3cf39c573f
Allow lazy app registration
During app installation we run migration steps. Those steps may use
services the app registers or classes from composer. Hence we have to
make sure the app runs through the registration.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-18 08:48:45 +01:00
Nextcloud bot b5ba1dec5d
[tx-robot] updated from transifex 2020-11-18 02:18:36 +00:00
Roeland Jago Douma 3c334b11f5
Merge pull request #21716 from nextcloud/td/remove/irouter_cleanup
Remove some IRouter methods
2020-11-17 21:53:49 +01:00
Roeland Jago Douma 0f1cc78389
Merge pull request #24188 from nextcloud/enh/password_external_post
Move the global password for files external to post
2020-11-17 19:56:03 +01:00
Julius Härtl 400958cb50
Merge pull request #24192 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.3
Bump jquery from 3.2 to 3.3
2020-11-17 19:42:03 +01:00
Christoph Wurst 6d204adbac
Bump jquery from 3.2 to 3.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 18:28:25 +01:00
Christoph Wurst 7ba3654d36
Merge pull request #24179 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.2
Bump jquery from 3.1 to 3.2
2020-11-17 16:57:12 +01:00
Roeland Jago Douma 97a1098d4d
Move the global password for files external to post
Again more false positives in some scanners

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 16:14:21 +01:00
Roeland Jago Douma 644e7a2085
Move the password fiels of chaging passwords to post
* This is not actually used with GET (obviously). But else some scanners
  trip on it

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 16:10:18 +01:00
Christoph Wurst 1e000ae4df
Bump jquery from 3.1 to 3.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 14:22:00 +01:00
Roeland Jago Douma 72a9c35be3
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>
2020-11-17 14:08:20 +01:00
Christoph Wurst 5acabcf5cb
Merge pull request #24102 from nextcloud/bugfix/noid/quota-upload
Check quota of subdirectories when uploading to them
2020-11-17 13:30:08 +01:00
Roeland Jago Douma 2429e8b4c5
Merge pull request #24098 from nextcloud/bugfix/noid/resharing-rights-on-circles
circleId too short in some request
2020-11-17 11:22:02 +01:00
Roeland Jago Douma b24b74f03b
Merge pull request #24163 from nextcloud/techdebt/noid/add-types-to-function-builder
Add types to function builder
2020-11-17 10:12:55 +01:00
Julius Härtl f9536b0809
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>
2020-11-17 09:43:44 +01:00
John Molakvoæ ce5e60d4b5
Merge pull request #24108 from csware/apple-unknown-year
Use correct year for generated birthdays events
2020-11-17 09:20:59 +01:00
Roeland Jago Douma 12098f0813
Merge pull request #24168 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-17 08:56:12 +01:00
Julius Härtl e051ef1d68
Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 08:30:51 +01:00
Nextcloud-PR-Bot e93a76962c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-17 04:22:33 +00:00
Nextcloud bot 7afe12eccb
[tx-robot] updated from transifex 2020-11-17 02:18:26 +00:00
Joas Schilling 4f26eee609
Update psalm baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:46:24 +01:00
Joas Schilling a8cb8e21c1
Add types to function builder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:46:24 +01:00
Joas Schilling 9a3ce2f71f
Don't drop the table anymore when we create it again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:34:38 +01:00
Robin Appelman a61a757b85
allow selecting multiple columns with SELECT DISTINCT
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-16 15:45:17 +01:00
Roeland Jago Douma 426dc68b45
Merge pull request #24069 from nextcloud/fix-default-internal-expiration-date
Fix default internal expiration date
2020-11-16 14:13:56 +01:00
Christoph Wurst d0f738fd59
Merge pull request #24112 from nextcloud/bugfix/24099/setup-fs-before-query-storage-in-settings
Set up FS before querying storage info in settings
2020-11-16 11:46:22 +01:00
kesselb 17034866f5
Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query
Don't throw on SHOW VERSION query
2020-11-16 09:56:51 +01:00
Daniel Calviño Sánchez 28c57004dd Add integration tests for creating shares with default expiration dates
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez 4f5271acf9 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>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez 4d3cb1533e 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>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez bcf0a69af4 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>
2020-11-16 08:54:18 +01:00
Joas Schilling 91a3e439cb
Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 08:43:48 +01:00
Nextcloud bot 0bed1c2bd0
[tx-robot] updated from transifex 2020-11-16 02:19:21 +00:00
Nextcloud bot 769f59ec65
[tx-robot] updated from transifex 2020-11-15 02:19:01 +00:00
dependabot-preview[bot] bcd5376373
Merge pull request #24124 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.2 2020-11-14 16:51:52 +00:00
dependabot-preview[bot] 3116cb1445 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>
2020-11-14 16:12:21 +00:00
John Molakvoæ 08bde8e411
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
2020-11-14 16:55:02 +01:00
dependabot-preview[bot] ffeace3e1d 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>
2020-11-14 14:51:32 +00:00
dependabot-preview[bot] a0c93cc8e6
Merge pull request #24127 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.9.0 2020-11-14 14:27:02 +00:00
dependabot-preview[bot] 104b4fa2af 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>
2020-11-14 13:28:18 +00:00
dependabot-preview[bot] ac5d73db96
Merge pull request #24122 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-3.1.1 2020-11-14 12:16:38 +00:00
dependabot-preview[bot] 9e17df8ced 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>
2020-11-14 11:34:58 +00:00
dependabot-preview[bot] 815173b87c
Merge pull request #24119 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.2.0 2020-11-14 11:15:23 +00:00
dependabot-preview[bot] 299874dcd9 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>
2020-11-14 10:35:24 +00:00
John Molakvoæ 973482c834
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
2020-11-14 10:22:21 +01:00