summaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-7/+2
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix license headersChristoph Wurst2020-01-134-3/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the new Events in FlowRoeland Jago Douma2020-01-024-6/+171
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headers for 18Christoph Wurst2019-12-201-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to specify apps that somethign is a dirJoas Schilling2019-12-101-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-0517-17/+48
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add convenience interfaces so entities can provide presentable detailsArthur Schiwon2019-11-285-0/+180
| | | | | | the File entity starts with a display text (used by talk) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* allow user flows when the acting user is legitimate, but not its ownerArthur Schiwon2019-11-282-0/+39
| | | | | | for instance, when a sharee changes a file, the owner can act upon Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* relax dependency on GenericEvent, instead stay compatible with old eventsArthur Schiwon2019-11-134-4/+101
| | | | | | * also fixes tagging events Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* 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>
* 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>
* Update license headersMorris Jobke2017-11-063-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Validate the operationJoas Schilling2016-08-191-0/+39
|
* Remove php side of check registrationJoas Schilling2016-07-271-79/+0
|
* Add workflowengineMorris Jobke2016-07-263-0/+183