aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* extends ICheck with scope and entity support, provide them as initialStateArthur Schiwon2019-09-099-5/+123
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* WFE as proxy listen to relevent events and forwards themArthur Schiwon2019-09-092-4/+59
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* introduce GenericEntityEvent and adapt File entityArthur Schiwon2019-09-093-102/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* kill old non-OCS ControllerArthur Schiwon2019-09-091-128/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix parameter for OCSExcpetionblizzz2019-09-091-3/+3
| | | | | | Signed-off-by: blizzz <blizzz@arthur-schiwon.de> Co-Authored-By: Julius Härtl <jus@bitgrid.net>
* use correct builder instanceblizzz2019-09-091-1/+1
| | | | | | Signed-off-by: blizzz <blizzz@arthur-schiwon.de> Co-Authored-By: Julius Härtl <jus@bitgrid.net>
* adds a trigger hint for complex operationsArthur Schiwon2019-09-091-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix missing value and run against empty tables in migration scriptArthur Schiwon2019-09-092-15/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split events DB field into entity and events, adjust biz logicArthur Schiwon2019-09-094-29/+62
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend DB table, manager, controller with support for entity eventsArthur Schiwon2019-09-093-11/+86
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove IEntity's getId in favor of class nameArthur Schiwon2019-09-093-6/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* merge IOperator with IOperation for simplicityArthur Schiwon2019-09-092-16/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add operator interfaces / APIArthur Schiwon2019-09-094-5/+198
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* section and settings for usersArthur Schiwon2019-09-093-97/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* scope aware workflow controller and managerArthur Schiwon2019-09-096-154/+511
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* the workflow manager becomes scope aware, Part 1Arthur Schiwon2019-09-093-4/+182
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* introducing Entity interfaces and a File one as first implementationArthur Schiwon2019-09-096-4/+347
| | | | | | also adds admin settings that pass entities as initial state Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add scope table for workflows and switch to migrationsArthur Schiwon2019-09-091-0/+100
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* open the WFE to deal with other subjects but filesArthur Schiwon2019-09-091-2/+28
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* provides an OCS workflow controller for adminsArthur Schiwon2019-09-092-0/+146
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Be sure to get the jailed path if the storage is a jailRoeland Jago Douma2019-09-031-0/+5
| | | | | | Fixes: https://github.com/nextcloud/groupfolders/issues/583 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* webpackify workflowengineArthur Schiwon2019-05-091-13/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Change Workflow to Tag ManagementRoeland Jago Douma2019-02-191-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not load bundled jstimezonedetectRoeland Jago Douma2019-02-061-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* No need to explicitly load bundle dependenciesRoeland Jago Douma2019-02-041-1/+0
| | | | | | oc-webdav-backbone is loaded by default Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* A folder should get a folder mimetypeRoeland Jago Douma2018-10-291-0/+5
| | | | | | | | | | | If doing achunked upload the mimetype of the folder would otherwise be guessed from the path. Which always returned application/octet-stream. If an access control rule to block that is in place this means that all chunked uploads fail hard in directories as the isCreatable on the directory always fails. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move workflowengine to compiled handlebarsRoeland Jago Douma2018-10-151-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Ignore case for is and !isDaniel Kesselberg2018-10-051-4/+9
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove unused importDaniel Kesselberg2018-10-041-2/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make code strictDaniel Kesselberg2018-10-031-2/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add FileName to Workflow engineDaniel Kesselberg2018-10-032-0/+75
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix mimetype detection for junked uploadsJoas Schilling2018-08-241-4/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure to always use an array as parameterJoas Schilling2018-07-191-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make the Outlook and Thunderbird addons identifyableJoas Schilling2018-02-271-2/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use non aliased method insteadMorris Jobke2018-02-131-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-3/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use stripos instead of strpos(strtolower(), 'something')Morris Jobke2018-01-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Request->getHeader() should always return a stringMorris Jobke2018-01-171-2/+2
| | | | | | | | PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix L10N::tRoeland Jago Douma2017-08-011-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also add the root of external storages to the file id listJoas Schilling2017-03-301-5/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix workflow engine mimetype detection when creating a directoryJoas Schilling2017-03-231-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix admin panel missing some JS filesJoas Schilling2017-03-061-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix mimetype detection on public uploads for the workflow engineJoas Schilling2017-03-061-1/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add the icons for shipped appsJoas Schilling2017-01-191-3/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require password confirmation when changing workflow rulesJoas Schilling2016-11-181-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not reset the list after adding cached entriesJoas Schilling2016-10-171-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make mimetype also work for READ and DELETE operationsJoas Schilling2016-09-051-0/+39
|
* Better detection of mimetypes while uploading a zip on a macJoas Schilling2016-09-051-8/+46
|
* add section to worklfowengineArthur Schiwon2016-08-221-0/+57
|
* Validate the operationJoas Schilling2016-08-191-5/+43
|