aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Entity/File.php
Commit message (Collapse)AuthorAgeFilesLines
* fixes an undefined index when getAccessList returns an empty arrayArthur Schiwon2021-10-221-1/+1
| | | | | | - [] is a valid return value that should be honored as having no access Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* File entity to implement IIconArthur Schiwon2020-08-071-1/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Flow File entity implements IContextPortationArthur Schiwon2020-08-051-7/+57
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+4
| | | | | | | | | | | | | | | 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 a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"Joas Schilling2020-01-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #18162 from nextcloud/enh/noid/url-fileentityblizzz2019-12-191-1/+13
|\ | | | | flow file entity to provide the internal URL
| * flow file entity to provide the internal URLArthur Schiwon2019-12-131-1/+13
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | pass the proper storage-internal pathArthur Schiwon2019-12-171-1/+1
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Set fileInfo in the rule matcherJulius Härtl2019-11-281-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add convenience interfaces so entities can provide presentable detailsArthur Schiwon2019-11-281-3/+64
| | | | | | 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-281-26/+70
| | | | | | 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-131-15/+21
| | | | | | * also fixes tagging events Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* File entity supports tagging events nowArthur Schiwon2019-09-091-1/+18
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* entities equip the RuleMatcher on the events they are aware ofArthur Schiwon2019-09-091-0/+19
| | | | | | Operations will receive the matcher instance Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* introduce GenericEntityEvent and adapt File entityArthur Schiwon2019-09-091-9/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove IEntity's getId in favor of class nameArthur Schiwon2019-09-091-4/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* introducing Entity interfaces and a File one as first implementationArthur Schiwon2019-09-091-0/+68
also adds admin settings that pass entities as initial state Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>