Commit Graph

54052 Commits

Author SHA1 Message Date
Christoph Wurst 58b8b00798
Use \OCP\IContainer::injectFn to boot the Accessibility app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:53 +02:00
Christoph Wurst 8150bcb60c
Use \OCP\IContainer::injectFn to boot the DAV app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:53 +02:00
Christoph Wurst 4a3ea04baa
Callable parameter injection
This is like what we have to DI and classes, but for callables.

The motivating factor is to get rid of *service locators* in the `boot`
method of apps as a new pattern is about to emerge where we have lots of
`query` calls on the app or server container in order to fetch some
services.

With this little helper it's possible to call another (public) method
and magically have everything injected.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:46 +02:00
Nextcloud bot 0825530a1b
[tx-robot] updated from transifex 2020-07-03 02:17:12 +00:00
Morris Jobke d496c5c919
Merge pull request #21644 from nextcloud/bugfix/noid/typo-in-variable-name
Fix typo in variable name and make check more accurate
2020-07-03 00:05:58 +02:00
Roeland Jago Douma 1913b1b91f
Merge pull request #21591 from nextcloud/debt/noid/set-path-for-ocm-permissions
Pass $path to ocmPermissions2ncPermissions
2020-07-02 21:10:19 +02:00
Roeland Jago Douma 9b916c5509
Merge pull request #21648 from nextcloud/bug/21647/tar-header
Add missing TarHeader.php
2020-07-02 21:09:02 +02:00
Roeland Jago Douma d53e005458
Merge pull request #21360 from nextcloud/root-storage-prevent-scanning
prevent the root storage from accidentally scanning user folders
2020-07-02 21:07:16 +02:00
Roeland Jago Douma c97e85c6da
Merge pull request #21547 from nextcloud/enhancement/workflowengine-bootstrap
Migrate WFE to the new bootstrap mechanism
2020-07-02 21:03:14 +02:00
Roeland Jago Douma c79f8b9543
Merge pull request #21580 from therealklanni/master
Add audio formats to htaccess
2020-07-02 20:59:54 +02:00
Roeland Jago Douma 2464a60879
Merge pull request #21590 from nextcloud/debt/noid/unused-method
Remove unused method.
2020-07-02 20:58:20 +02:00
Daniel Kesselberg 2ac4548b49
Add missing TarHeader.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-02 20:01:47 +02:00
Roeland Jago Douma 19aa92a39c
Merge pull request #21657 from nextcloud/fix/no_undefined_in_template
Check if debugMode is defined before using it
2020-07-02 19:57:52 +02:00
Roeland Jago Douma ac3137a166
Check if debugMode is defined before using it
Else the sabre error page (where the var is not defined) will throw
warnings all the time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-02 15:46:59 +02:00
Roeland Jago Douma 0157e30ad4
Merge pull request #21599 from nextcloud/debt/noid/type-to-types
Replace TYPE with TYPES
2020-07-02 12:21:01 +02:00
Roeland Jago Douma 0ac3a65f62
Merge pull request #21653 from nextcloud/bugfix/noid/fix-ipv6-remote-addresses-from-x-forwarded-for-header
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
2020-07-02 12:01:24 +02:00
Joas Schilling 74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-02 11:13:13 +02:00
Joas Schilling 47a21fad8c
Merge pull request #21597 from nextcloud/techdebt/noid/return-value-for-commands
Add return value to all commands
2020-07-01 11:52:14 +02:00
Joas Schilling dc175d4ecc
Fix typo in variable name and make check more accurate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 10:48:38 +02:00
Joas Schilling ebedbf1579
Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-opens-new-browser-window
Change OAuth2 redirect link to relative link
2020-07-01 09:39:55 +02:00
Nextcloud bot 40165340f5
[tx-robot] updated from transifex 2020-07-01 02:16:15 +00:00
Daniel Kesselberg 87dd760a89
Replace TYPE with TYPES
As TYPE::* is deprecated.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 23:46:22 +02:00
Roeland Jago Douma 43216f0ac9
Merge pull request #21604 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.3
Bump vue-loader from 15.9.2 to 15.9.3
2020-06-30 21:20:07 +02:00
Roeland Jago Douma 873be16c8d
Merge pull request #21588 from nextcloud/bug/21214/method-signature
Update presign method to match with interface again.
2020-06-30 20:36:30 +02:00
Roeland Jago Douma c709dda597
Merge pull request #21589 from nextcloud/debt/noid/wrong-exception-call
Set retry = false for forbidden exception.
2020-06-30 20:35:47 +02:00
Roeland Jago Douma 451d39d308
Merge pull request #21603 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.2
Bump mochapack from 2.0.0 to 2.0.2
2020-06-30 20:34:52 +02:00
Roeland Jago Douma 89b548d6cc
Merge pull request #21592 from nextcloud/debt/noid/drop-parallel-lint
Remove unused jakub-onderka/php-parallel-lint
2020-06-30 19:40:56 +02:00
Roeland Jago Douma bc29e361b2
Merge pull request #21596 from nextcloud/debt/noid/share-return-mismatch
Replace Share with IShare and add missing return
2020-06-30 19:40:26 +02:00
Roeland Jago Douma 0e42d05457
Merge pull request #21632 from nextcloud/techdebt/app-php-deprecation-log
Log usages of the deprecated app.php file
2020-06-30 19:38:55 +02:00
Roeland Jago Douma aca0046aec
Merge pull request #21630 from nextcloud/fix/21627/close-x
Make closing dialogs callback with false
2020-06-30 19:38:37 +02:00
Roeland Jago Douma 1e3b02b8b8
Merge pull request #21606 from nextcloud/dependabot/npm_and_yarn/exports-loader-1.1.0
Bump exports-loader from 1.0.1 to 1.1.0
2020-06-30 19:36:52 +02:00
Gary Kim 8773ae49c5
Make closing dialogs callback with false
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Roeland Jago Douma 26aa838906
Merge pull request #21605 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.12
Bump dompurify from 2.0.11 to 2.0.12
2020-06-30 15:16:24 +02:00
dependabot-preview[bot] 298ece7639 Bump dompurify from 2.0.11 to 2.0.12
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.11...2.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-30 09:10:48 +00:00
Roeland Jago Douma 8af824e4f3
Merge pull request #21602 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.3.2
Bump css-vars-ponyfill from 2.3.1 to 2.3.2
2020-06-30 10:01:58 +02:00
Christoph Wurst 8e9726be5c
Log usages of the deprecated app.php file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-30 09:43:40 +02:00
dependabot-preview[bot] 84cf3660cb Bump css-vars-ponyfill from 2.3.1 to 2.3.2
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.3.1...v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-30 07:04:17 +00:00
Nextcloud bot c0c841bc93
[tx-robot] updated from transifex 2020-06-30 02:16:10 +00:00
Joas Schilling 10571813db
Merge pull request #21594 from nextcloud/bugfix/21586/precalculate-primary-element-color-for-dark-mode-too
Precalculate the primary element color for dark mode too
2020-06-29 14:05:10 +02:00
Nextcloud bot ec5c305547
[tx-robot] updated from transifex 2020-06-29 02:16:35 +00:00
Nextcloud bot d94ef09998
[tx-robot] updated from transifex 2020-06-28 02:16:10 +00:00
Nextcloud bot a076081c4d
[tx-robot] updated from transifex 2020-06-27 02:16:43 +00:00
dependabot-preview[bot] 459d7f0829
Bump exports-loader from 1.0.1 to 1.1.0
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v1.0.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:18:16 +00:00
dependabot-preview[bot] cfd26abcdb
Bump vue-loader from 15.9.2 to 15.9.3
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.2 to 15.9.3.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.2...v15.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:16:16 +00:00
dependabot-preview[bot] 7e25e337a6
Bump mochapack from 2.0.0 to 2.0.2
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/compare/v2.0.0...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:15:33 +00:00
Joas Schilling f8641a6e55
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 16:16:06 +02:00
Joas Schilling 1336f44a68
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 16:13:09 +02:00
Joas Schilling 3e0cfa6c32
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:25:33 +02:00
Joas Schilling d7c0b9cced
Also always return in app commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:12:11 +02:00
Joas Schilling ab21d69903
Add return value to all commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 14:54:51 +02:00