summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* mark getAppContainer as a valid way to construct app containersRobin Appelman2019-11-041-0/+8
| | | | | | this is triggerd (and not cought by the query arm) if an item from an app is queried before the app queries it's own Application instance Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #17506 from nextcloud/bugfix/12790/workflow-frontendblizzz2019-11-041-3/+0
|\ | | | | Workflow frontend polishing
| * do not break on Checkers that do not need specific context infoArthur Schiwon2019-10-291-3/+0
| | | | | | | | | | | | request time, for example Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fixup! Get all shares as iterableDaniel Calviño Sánchez2019-10-302-0/+2
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Get all shares as iterableRoeland Jago Douma2019-10-302-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes we need all shares or rather a specific subset of shares but creating dedicated functions is a pain. This just returns an iterable object for all shares so we can loop over them without allocating all the memory on the system. It should not be used by any user called code. But in an occ command or background job it is fine IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17562 from ↵Roeland Jago Douma2019-10-291-2/+25
|\ \ | | | | | | | | | | | | nextcloud/techdebt/17509/log-error-when-setting-up-application-incorrectly Log an error in development cases when the application class was set …
| * | Log an error in development cases when the application class was set up ↵Joas Schilling2019-10-161-2/+25
| | | | | | | | | | | | | | | | | | incorrectly Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Having the contructor in the interface makes no sense...Roeland Jago Douma2019-10-291-7/+0
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17173 from nextcloud/feature/event-broadcastingRoeland Jago Douma2019-10-282-0/+128
|\ \ | | | | | | Make it possible to broadcast events to (web) clients
| * | Make it possible to broadcast events to (web) clientsChristoph Wurst2019-10-282-0/+128
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Add isXXX getter to EntityChristoph Wurst2019-10-221-9/+12
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / use OCP\EventDispatcher\Event over Symfony's deprecated EventArthur Schiwon2019-10-178-8/+8
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow to set the group display name in the database backendJoas Schilling2019-09-272-0/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a displayname to the database group backendJoas Schilling2019-09-271-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add talk-attachment as a rich object typeJoas Schilling2019-09-171-0/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #17151 from nextcloud/td/remove/createPreviewRoeland Jago Douma2019-09-151-12/+0
|\ | | | | Remove deprecated function createPreview
| * Remove deprecated function createPreviewRoeland Jago Douma2019-09-151-12/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Disable app token creation for impersonated people, ref #15539Greta Doci2019-09-151-0/+17
|/ | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Use Symfony's new contract Event class instead of the deprecated oneChristoph Wurst2019-09-123-2/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add Symfony inspired typed event dispatcher methodChristoph Wurst2019-09-111-0/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #16682 from nextcloud/enh/12790/workflow-backendRoeland Jago Douma2019-09-1111-26/+573
|\ | | | | workflow overhaul
| * fix missing @since'sArthur Schiwon2019-09-092-0/+13
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * entities equip the RuleMatcher on the events they are aware ofArthur Schiwon2019-09-092-3/+11
| | | | | | | | | | | | Operations will receive the matcher instance Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * let a dedicate service serve a stateful processArthur Schiwon2019-09-095-46/+63
| | | | | | | | | | | | | | | | * includes making ICheck not requiring any context setter * and IFileCheck extending the IEntityCheck as entity data can be handed in via Dispatcher Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * require IChecks to receive entity contextArthur Schiwon2019-09-091-0/+20
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * seperate setFileInfo from ICheckArthur Schiwon2019-09-092-10/+45
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Return actual event data instead of self callingJulius Härtl2019-09-091-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * extends ICheck with scope and entity support, provide them as initialStateArthur Schiwon2019-09-092-4/+37
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * WFE as proxy listen to relevent events and forwards themArthur Schiwon2019-09-091-0/+15
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * introduce GenericEntityEvent and adapt File entityArthur Schiwon2019-09-091-0/+67
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * adds a trigger hint for complex operationsArthur Schiwon2019-09-091-2/+15
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * remove IEntity's getId in favor of class nameArthur Schiwon2019-09-091-14/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * merge IOperator with IOperation for simplicityArthur Schiwon2019-09-095-100/+58
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * add operator interfaces / APIArthur Schiwon2019-09-094-0/+192
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * add missing @since annotationsArthur Schiwon2019-09-092-1/+9
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * the workflow manager becomes scope aware, Part 1Arthur Schiwon2019-09-091-0/+4
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * introducing Entity interfaces and a File one as first implementationArthur Schiwon2019-09-093-0/+144
| | | | | | | | | | | | also adds admin settings that pass entities as initial state Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * open the WFE to deal with other subjects but filesArthur Schiwon2019-09-091-0/+34
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | set default CSP on NotFoundResponseRoeland Jago Douma2019-09-091-0/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16859 from PhrozenByte/patch-1Roeland Jago Douma2019-09-091-0/+11
|\ | | | | Add IAppManager::getAppWebPath()
| * Improve usage of IAppManager::getAppWebPath()Daniel Rudolf2019-09-051-2/+2
| | | | | | | | | | | | Deprecate \OC_App::getAppWebPath() and \OC_App::getAppPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * Add IAppManager::getAppWebPath()Daniel Rudolf2019-08-251-0/+11
| | | | | | | | | | | | Implements a public API for \OC_App::getAppWebPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | Merge pull request #17006 from nextcloud/querybuilder-max-minRoeland Jago Douma2019-09-071-0/+20
|\ \ | | | | | | add MAX and MIN to functionbuilder
| * | add MAX and MIN to functionbuilderRobin Appelman2019-09-061-0/+20
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #16928 from nextcloud/fix/icontrolelrmethodreflectorRoeland Jago Douma2019-09-031-0/+1
|\ \ \ | | | | | | | | Remove reflect method form public interface
| * | | Remove reflect method form public interfaceRoeland Jago Douma2019-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reflect method is (and should) only every be called internally. Since if you call it again it would otherwise start mixing and matching arguments etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Define a guest type so Talk can use it in it's notificationsJoas Schilling2019-09-021-0/+19
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add deprecation warningRoeland Jago Douma2019-08-291-0/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #16723 from nextcloud/fix/sharing/unshare-messageJoas Schilling2019-08-261-0/+8
|\ \ \ | |_|/ |/| | Add expiration event for shares
| * | Add expiration event for sharesJohn Molakvoæ (skjnldsv)2019-08-211-0/+8
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>