Commit Graph

54233 Commits

Author SHA1 Message Date
lui87kw 3fe3d1fca3 Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-07-15 10:18:47 +02:00
bladewing 7dafd5831f Avoid substr() error when strpos returns false
"Exception: substr() expects parameter 3 to be int, bool given" can occur on Line 378 $mimePart = substr($icon, 0, strpos($icon, '-'));
This happens, when '-' is not found and strpos returns false instead of an int.
When this occurs, e.g., Activity hangs.

Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-07-15 10:18:47 +02:00
Morris Jobke 3e8087bff1
Merge pull request #21838 from nextcloud/enh/dav/do_not_log_invalid_range
Do not log RequestedRangeNotSatisfiable exceptions in DAV
2020-07-14 21:44:49 +02:00
Roeland Jago Douma 68f1283691
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 20:46:33 +02:00
Morris Jobke 2ad95feab6
Merge pull request #21816 from nextcloud/techdebt/noid/federatedfilesharing-to-ibootstrap
Use IBootstrap for the app federatedfilesharing
2020-07-14 20:44:05 +02:00
Morris Jobke 157c652762
Merge pull request #21825 from nextcloud/fix/appframework/services
Fix AppFramework services
2020-07-14 17:07:38 +02:00
Morris Jobke fba64a972f
Merge pull request #21812 from nextcloud/feature/noid/app-bootstrap-without-app.php
Do not load app.php if Application implements IBootstrap
2020-07-14 17:06:06 +02:00
Roeland Jago Douma dca2469462
Merge pull request #21833 from nextcloud/docfix/noid/irequest_getHeader
Fix PHPDoc of IRequest::getHeader
2020-07-14 16:43:09 +02:00
Morris Jobke 6f167f0dd1
Merge pull request #21828 from nextcloud/enhancement/lazy-bootstrap-registration-delegation
Delegate bootstrap registration lazily
2020-07-14 16:37:04 +02:00
Morris Jobke 7e281a07bb
Use IBootstrap for the app federatedfilesharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 16:34:43 +02:00
Roeland Jago Douma fa9dfd83c9
Fix AppFramework services
* We can't just register an alias as the services need the appId to be
  injected. if we just register an alias this blows up since the main
  container doesn't have the appId.
* Moved the Authtokens over to show the PoC works

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 16:01:14 +02:00
Morris Jobke d9cc2f0213
Do not load app.php if Application implements IBootstrap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 15:55:23 +02:00
Christoph Wurst f03f88b437
Delegate bootstrap registration lazily
* Keep the registration context
* Expose the context object for other components
* Ensure registration is only run once

Search providers are migrated for demonstration.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-14 15:33:32 +02:00
Morris Jobke 1b34862c22
Merge pull request #21832 from nextcloud/bugfix/noid/source-maps-prod
Build source maps on production build again
2020-07-14 15:29:58 +02:00
Christoph Wurst 9c209ab208
Merge pull request #21827 from nextcloud/fix/psr3-logger-exception
Make the PSR-3 adapter exception-aware
2020-07-14 14:44:18 +02:00
npmbuildbot[bot] 6d2f9b3dd5 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-14 12:34:10 +00:00
Georg Ehrke 3bdfb380fc
Fix PHPDoc of IRequest::getHeader
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-14 14:20:43 +02:00
Julius Härtl 506f1784fc
Build source maps on production build again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-14 13:52:53 +02:00
Christoph Wurst ab303dddcd
Make the PSR-3 adapter exception-aware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-14 09:38:51 +02:00
Morris Jobke 7b82895982
Merge pull request #21824 from nextcloud/techdebt/noid/bootstrap-user_ldap
Use IBootstrap for the app user_ldap
2020-07-14 09:38:08 +02:00
Roeland Jago Douma 3a1e9076d7
Merge pull request #21357 from nextcloud/feature/21265/personal-share-notes
Add Editing for Link Share Labels
2020-07-14 09:24:29 +02:00
Roeland Jago Douma 5f23259ab6
Merge pull request #21791 from nextcloud/bug/21790/update-guzzle
Add Guzzle's InvalidArgumentException
2020-07-14 09:23:36 +02:00
Morris Jobke f42e557fa1
Use IBootstrap for the app user_ldap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 04:47:54 +02:00
Nextcloud bot 5dca062c97
[tx-robot] updated from transifex 2020-07-14 02:17:20 +00:00
Gary Kim a2cedcefee
Add user input for link share labels
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-07-14 10:02:17 +08:00
Daniel Kesselberg fb6c7a48b5
Add Guzzle's InvalidArgumentException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-14 00:19:16 +02:00
Morris Jobke 8f78205be0
Merge pull request #21813 from nextcloud/enh/noid/report-code-style-to-github
Report php-cs-fixer errors to GitHub
2020-07-13 22:43:06 +02:00
Morris Jobke c419342c4e
Merge pull request #21820 from nextcloud/techdebt/noid/ldap-do-not-use-custom-DI-names
Do not use custom DI object names for user_ldap
2020-07-13 22:42:06 +02:00
Morris Jobke 37720317fe
Merge pull request #21819 from nextcloud/techdebt/noid/updatenotification-bootstrap
Use IBootstrap for the app updatenotification
2020-07-13 18:52:20 +02:00
Morris Jobke 3203286f52
Do not use custom DI object names for user_ldap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13 17:22:19 +02:00
Morris Jobke 81a433d5db
Use IBootstrap for the app updatenotification
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13 17:09:23 +02:00
Morris Jobke cbbbbee8b1
Merge pull request #21785 from nextcloud/techdebt/noid/remove-classmap-in-files_external
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH us…
2020-07-13 16:47:12 +02:00
Daniel Kesselberg f64b47c36a
Report php-cs-fixer errors to GitHub
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-13 16:04:31 +02:00
Roeland Jago Douma 615cf6a808
Merge pull request #21792 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-13 13:17:17 +02:00
Joas Schilling d31f5251f1
Merge pull request #21748 from nextcloud/bugfix/noid/improve-error-reporting-with-sharing
Improve error reporting on sharing errors
2020-07-13 11:55:48 +02:00
Morris Jobke 2c87ce60a0
Merge pull request #21800 from nextcloud/bug/noid/key_export_call
Call openssl_pkey_export with $config and log errors.
2020-07-13 10:58:24 +02:00
Morris Jobke 7569bc15bd
Merge pull request #21789 from nextcloud/ftp-filter-hash
filter files containing a hash in the path for ftp storages
2020-07-13 10:56:16 +02:00
dependabot-preview[bot] deacc7f923 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-13 08:46:04 +00:00
Roeland Jago Douma a8cc99bd53
Merge pull request #21794 from nextcloud/dependabot/npm_and_yarn/jsdom-16.3.0
Bump jsdom from 16.2.2 to 16.3.0
2020-07-13 10:23:42 +02:00
Nextcloud bot 0cfaaf9fac
[tx-robot] updated from transifex 2020-07-13 02:17:04 +00:00
Daniel Kesselberg ddc06e3a88
Call openssl_pkey_export with $config and log errors.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-12 20:22:36 +02:00
Nextcloud bot af423ebad9
[tx-robot] updated from transifex 2020-07-12 02:16:46 +00:00
dependabot-preview[bot] 7fde7389a8
Bump jsdom from 16.2.2 to 16.3.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.2 to 16.3.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.2...16.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-11 09:24:27 +00:00
Roeland Jago Douma 65f2dc538b
Merge pull request #21796 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.3
Bump mochapack from 2.0.2 to 2.0.3
2020-07-11 11:22:02 +02:00
Nextcloud bot 27da68b1a0
[tx-robot] updated from transifex 2020-07-11 02:17:19 +00:00
dependabot-preview[bot] 581d438d81
Bump mochapack from 2.0.2 to 2.0.3
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-11 01:18:37 +00:00
Robin Appelman e357d46863
filter files containing a hash in the path for ftp storages
the php ftp streamwrapper doesn't handle hashes correctly and will break when it tries to enter a path containing a hash.

By filtering out paths containing a hash we can at least stop the external storage from breaking completely

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-10 14:18:40 +02:00
Roeland Jago Douma 3f87ef9137
Merge pull request #21684 from nextcloud/dependabot/npm_and_yarn/sass-loader-9.0.1
Bump sass-loader from 8.0.2 to 9.0.1
2020-07-10 09:13:17 +02:00
Roeland Jago Douma 7d5854a38c
Merge pull request #21730 from nextcloud/design/app-limit
Up the limit for the header app menu
2020-07-10 09:02:42 +02:00
Jan-Christoph Borchardt df9529e9ea Up the limit for the header app menu, fix #21635
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-10 06:43:38 +00:00