summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Better event description for BeforeTemplateRenderedEvent in files and ↵Morris Jobke2020-07-151-2/+2
| | | | | | files_sharing Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add real events to load additionalscriptsRoeland Jago Douma2020-07-152-0/+62
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Dashboard strict typingJulius Härtl2020-07-153-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add load method for apps to bootstrap their panelsJulius Härtl2020-07-151-6/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup public api methodsJulius Härtl2020-07-153-17/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate panel register event right away but keep it for not breaking ↵Julius Härtl2020-07-151-0/+6
| | | | | | backward compatible apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move to lazy panel registration during registration contextJulius Härtl2020-07-152-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate old dashboard APIJulius Härtl2020-07-159-0/+79
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add new dashboard public APIJulius Härtl2020-07-153-0/+165
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make the subscription registry lazyRoeland Jago Douma2020-07-091-2/+14
| | | | | | | 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>
* Remove old deprecated getAppFolderRoeland Jago Douma2020-07-061-9/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20729 from nextcloud/cleanup/noid/shared-tags-codeMorris Jobke2020-07-061-2/+2
|\ | | | | Tags.php and the old sharing mechanism
| * Tags.php and the old sharing mechanismMorris Jobke2020-07-061-2/+2
| | | | | | | | | | | | 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>
* | Deprecate registerRoutesRoeland Jago Douma2020-07-061-0/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21238 from ↵Morris Jobke2020-07-062-0/+65
|\ | | | | | | | | 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-032-0/+65
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21665 from nextcloud/debt/noid/job-listMorris Jobke2020-07-061-6/+4
|\ \ | | | | | | Fix wrong phpdoc for execute method
| * | Use formal type hints instead of informal PHPDocMorris Jobke2020-07-061-5/+3
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix wrong phpdoc for execute methodDaniel Kesselberg2020-07-031-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #21636 from nextcloud/lock-exception-readable-pathMorris Jobke2020-07-052-3/+9
|\ \ \ | | | | | | | | add proper paths to locking exceptions
| * | | add proper paths to locking exceptionsRobin Appelman2020-06-302-3/+9
| | |/ | |/| | | | | | | | | | | | | | | | 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>
* | | Merge pull request #21626 from nextcloud/enhancement/injectible-callablesMorris Jobke2020-07-051-0/+22
|\ \ \ | | | | | | | | Callable parameter injection
| * | | Callable parameter injectionChristoph Wurst2020-07-031-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #21533 from ↵Roeland Jago Douma2020-07-041-0/+9
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | nextcloud/techdebt/noid/dedicated-method-to-get-a-users-language Techdebt/noid/dedicated method to get a users language
| * | | Add a dedicated method to get the language for another userJoas Schilling2020-07-011-0/+9
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #21439 from ↵Joas Schilling2020-07-031-1/+1
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class Move AutoComplete::filterResults to new event dispatcher and GenericE…
| * | Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling2020-07-011-1/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Replace TYPE with TYPESDaniel Kesselberg2020-06-301-2/+3
|/ | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix robots "noindex, nofollow" signalsJoas Schilling2020-06-252-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deprecate \OCP\ISearchChristoph Wurst2020-06-245-0/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Implement unified search for FilesChristoph Wurst2020-06-241-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add unified search APIChristoph Wurst2020-06-245-0/+391
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21479 from nextcloud/fix/21474/allow_specifying_cookie_typeblizzz2020-06-222-3/+5
|\ | | | | Allow to specify the cookie type for appframework responses
| * Allow to specify the cookie type for appframework responsesRoeland Jago Douma2020-06-222-3/+5
| | | | | | | | | | | | | | | | | | In general it is good to set them to Lax. But also to give devs more control over them is not a bad thing. Helps with #21474 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21475 from nextcloud/enh/noid/flow-event-dispatcherblizzz2020-06-221-0/+34
|\ \ | |/ |/| flow to not use deprecated event dispatcher methods
| * flow to not use deprecated event dispatcher methodsArthur Schiwon2020-06-191-0/+34
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-193-0/+20
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Load the app.php before running apps' boot methodChristoph Wurst2020-06-171-0/+7
| | | | | | | | | | | | | | | | Some apps require the composer autoloader from app.php. If we run boot before including that file, classes and functions from dependencies won't be found. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-173-0/+209
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21311 from nextcloud/techdebt/noid/make-share-order-reliableRoeland Jago Douma2020-06-091-1/+1
|\ | | | | Always sort shares in a reliable way
| * Always sort shares in a reliable wayJoas Schilling2020-06-081-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Deprecate \OCP\IServerContainer::getEventDispatcherChristoph Wurst2020-06-081-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add lazy events for the Node APIRoeland Jago Douma2020-05-2815-0/+530
| | | | | | | | | | | Right now if you want to get events via the Node API you have to have a real instance of the Root. Which in turns sets up the whole FS. We should make sure this is done lazy. Else enabling the preview generator for example makes you setup the whole FS on each and every authenticated call. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Copy over the ETag and LastModified when formatting a DataresponseRoeland Jago Douma2020-05-191-0/+8
| | | | | | This way the ETag checks etc are all working. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow links to conversationsJoas Schilling2020-05-131-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #20897 from nextcloud/bugfix/httpcacheRoeland Jago Douma2020-05-131-5/+4
|\ | | | | Proxy server could cache http response when it is not private
| * Add public argument to Http cacheFor()Clement Wong2020-05-101-5/+4
| | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
| * Proxy server could cache http response when it is not privateClement Wong2020-05-101-2/+2
| | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
* | Fix OCPSinceChecker and php-csMorris Jobke2020-05-081-0/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add InitialState Appframework serviceRoeland Jago Douma2020-05-071-0/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>