Commit Graph

54372 Commits

Author SHA1 Message Date
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
Morris Jobke b6bbc709b2
Merge pull request #21280 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-1.1.0
Bump @nextcloud/router from 1.0.2 to 1.1.0
2020-07-03 12:31:35 +02:00
Joas Schilling db8267db26
Use the new method everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-03 10:59:43 +02:00
Daniel Kesselberg 9b10d35477
Fix wrong phpdoc for execute method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-03 10:47:15 +02:00
Christoph Wurst 318d553dbd
Merge pull request #21662 from nextcloud/fix/s3-bucket-compat-static-call
Fix static method call for s3 bucket compat check
2020-07-03 10:22:53 +02:00
Roeland Jago Douma 5e985c61dc
Merge pull request #20198 from nextcloud/enh/enable-codecov
Send coverage to codecov again
2020-07-03 10:07:04 +02:00
Joas Schilling 19e1efd1dd
Merge pull request #21439 from nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class
Move AutoComplete::filterResults to new event dispatcher and GenericE…
2020-07-03 10:03:34 +02:00
Roeland Jago Douma ffc85ad614
Merge pull request #21431 from nextcloud/search-filter-invalid-results
Filter out search results that have invalid encoding
2020-07-03 09:09:03 +02:00
Christoph Wurst d3a4bc91f7
Fix static method call for s3 bucket compat check
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 09:02:58 +02:00
dependabot-preview[bot] ec151e17c5 Bump @nextcloud/router from 1.0.2 to 1.1.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-03 06:42:35 +00: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 b997edad10
Add a dedicated method to get the language for another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 10:20:07 +02:00
Joas Schilling 35c6b1236f
Move AutoComplete::filterResults to new event dispatcher and GenericEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 09:57:33 +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
Daniel Kesselberg 9d04ed66e3
Hello codecov 🚀
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 21:53:11 +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
Robin Appelman da2d425044
add proper paths to locking exceptions
while some code paths do wrap the "raw" locking exception into one with a proper path, not all of them do
by adding the proper path to the original exception we ensure that we always have the usefull information in out logs

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-30 18:10:42 +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