summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21822 from nextcloud/enh/events/additionalscriptsMorris Jobke2020-07-151-5/+15
|\ | | | | Add real events to load additionalscripts
| * Add real events to load additionalscriptsRoeland Jago Douma2020-07-151-5/+15
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21844 from ↵Morris Jobke2020-07-151-6/+9
|\ \ | | | | | | | | | | | | bladewing/bladewing-harden-against-mimetype-mismatch Avoid substr() error when strpos returns false
| * | Extra white space to follow other ifslui87kw2020-07-151-1/+1
| | | | | | | | | | | | Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
| * | Avoid substr() error when strpos returns falsebladewing2020-07-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | "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>
* | | Deprecate the internal Symfony dispatcher adapterChristoph Wurst2020-07-152-0/+17
| |/ |/| | | | | | | | | | | This type is not known on the public API, yet we should make sure that any usage of this class is noticed and migrated as soon as possible. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Dashboard strict typingJulius Härtl2020-07-151-0/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add load method for apps to bootstrap their panelsJulius Härtl2020-07-151-1/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Cleanup public api methodsJulius Härtl2020-07-151-5/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move to lazy panel registration during registration contextJulius Härtl2020-07-153-0/+97
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add new dashboard public APIJulius Härtl2020-07-152-0/+47
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #21825 from nextcloud/fix/appframework/servicesMorris Jobke2020-07-141-2/+14
|\ | | | | Fix AppFramework services
| * Fix AppFramework servicesRoeland Jago Douma2020-07-141-2/+14
| | | | | | | | | | | | | | | | | | * 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>
* | Merge pull request #21812 from ↵Morris Jobke2020-07-142-5/+18
|\ \ | | | | | | | | | | | | nextcloud/feature/noid/app-bootstrap-without-app.php Do not load app.php if Application implements IBootstrap
| * | Do not load app.php if Application implements IBootstrapMorris Jobke2020-07-142-5/+18
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #21833 from nextcloud/docfix/noid/irequest_getHeaderRoeland Jago Douma2020-07-141-1/+1
|\ \ | | | | | | Fix PHPDoc of IRequest::getHeader
| * | Fix PHPDoc of IRequest::getHeaderGeorg Ehrke2020-07-141-1/+1
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #21828 from ↵Morris Jobke2020-07-143-52/+38
|\ \ | | | | | | | | | | | | nextcloud/enhancement/lazy-bootstrap-registration-delegation Delegate bootstrap registration lazily
| * | Delegate bootstrap registration lazilyChristoph Wurst2020-07-143-52/+38
| |/ | | | | | | | | | | | | | | | | | | * 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>
* / Make the PSR-3 adapter exception-awareChristoph Wurst2020-07-141-9/+106
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21785 from ↵Morris Jobke2020-07-133-3/+3
|\ | | | | | | | | nextcloud/techdebt/noid/remove-classmap-in-files_external Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH us…
| * Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-103-3/+3
| | | | | | | | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #21789 from nextcloud/ftp-filter-hashMorris Jobke2020-07-131-1/+4
|\ \ | |/ |/| filter files containing a hash in the path for ftp storages
| * filter files containing a hash in the path for ftp storagesRobin Appelman2020-07-101-1/+4
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #21759 from nextcloud/enh/lazy_subscriptionRoeland Jago Douma2020-07-091-8/+38
|\ \ | |/ |/| Make the subscription registry lazy
| * Make the subscription registry lazyRoeland Jago Douma2020-07-091-8/+38
| | | | | | | | | | | | | | This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | ensure home storage is initialized on first setupRobin Appelman2020-07-093-2/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use the correct mountpoint to calculateRoeland Jago Douma2020-07-091-1/+8
|/ | | | | | | If we use the owners mount point this results in null. And then the rest of the checks get called with null. Which doesn't work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix regression in return value of OC_Util::checkDataDirectoryPermissions due ↵Morris Jobke2020-07-091-2/+2
| | | | | | to #21761 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Kill another unneeded translationRoeland Jago Douma2020-07-081-7/+5
| | | | | | We should only translate things when we actually need them. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21758 from nextcloud/fix/routes/defaultsRoeland Jago Douma2020-07-081-6/+10
|\ | | | | Fix supporting defaults for routes
| * Fix supporting defaults for routesRoeland Jago Douma2020-07-081-6/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Only translate if we need the stringRoeland Jago Douma2020-07-081-2/+1
|/ | | | | | | | This translation was done in each call. Over and over and over again. All while it was probably not used in 99.99999% of the cases. A small gain. But still. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not create a RouteActionHandler object for each routeRoeland Jago Douma2020-07-072-16/+23
| | | | | | | | | | This is not required and doesn't allow us to be properly lazy. On top of it this doesnt allow us to cache the routes (since closures/objects can't be cached). This is the first small step into cleaning up the routing we have Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21676 from J0WI/fix-chmod-on-fdMorris Jobke2020-07-071-1/+1
|\ | | | | Fix chmod on file descriptor
| * Fix chmod on file descriptorJ0WI2020-07-031-1/+1
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Merge pull request #21714 from nextcloud/td/remove/getAppFolderMorris Jobke2020-07-061-17/+0
|\ \ | | | | | | Remove old deprecated getAppFolder
| * | Remove old deprecated getAppFolderRoeland Jago Douma2020-07-061-17/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Update SecurityMiddleware.phpHolger Hees2020-07-061-1/+1
|/ / | | | | | | | | | | OC::$WEBROOT can be empty in case if your nextcloud installation has no url prefix. This will result in an empty Location Header. in other areas OC::$WEBROOT is always used together with an /
* | Cascading effect - more code that now is not used anymoreMorris Jobke2020-07-061-338/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Tags.php and the old sharing mechanismMorris Jobke2020-07-063-78/+7
| | | | | | | | | | | | The old sharing mechanism isn't working anymore, because it was replaced by Share 2.0. Also it was nowhere used so this removes the code paths and reduces complexity. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #21074 from jvsalo/shared-lock-multi-releaseMorris Jobke2020-07-061-1/+5
|\ \ | | | | | | Fix releasing a shared lock multiple times
| * | Fix releasing a shared lock multiple timesJaakko Salo2020-05-241-1/+5
| | | | | | | | | | | | Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
* | | Merge pull request #21238 from ↵Morris Jobke2020-07-061-0/+44
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/deferrable-notification-apps Allow notification apps to defer and flush the sending
| * | | Allow notification apps to defer and flush the sendingJoas Schilling2020-07-031-0/+44
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #21665 from nextcloud/debt/noid/job-listMorris Jobke2020-07-062-17/+9
|\ \ \ \ | | | | | | | | | | Fix wrong phpdoc for execute method
| * | | | Use formal type hints instead of informal PHPDocMorris Jobke2020-07-061-16/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Fix wrong phpdoc for execute methodDaniel Kesselberg2020-07-032-2/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #21636 from nextcloud/lock-exception-readable-pathMorris Jobke2020-07-054-7/+8
|\ \ \ \ \ | | | | | | | | | | | | add proper paths to locking exceptions
| * | | | | add proper paths to locking exceptionsRobin Appelman2020-06-304-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>