aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not cache file ids in FileSystemTags inside group foldersRichard Steinmetz2021-09-141-2/+10
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Set alias for result of cast column functionDaniel Kesselberg2021-08-161-1/+2
| | | | | | On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make "name" column nullable in workflow operationsVincent Petry2021-08-104-4/+69
| | | | | | | | | | | | | The "name" column is now unused and the code is always inserting an empty string. While this works with most databases, Oracle complains because an empty string is equivalent to null. To fix this, the column definition is changed to allow null values now. Also added some logging in case of database exceptions, because without this nothing would be logged to detect the above problem. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0431-91/+198
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Rename External storages to External storageszaimen2021-05-201-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Prefer string $file over 1-element array in script()François Freitag2021-05-181-3/+1
| | | | | | | The string syntax is more obvious. There should be one (and preferably only one) way of doing things. Signed-off-by: François Freitag <mail@franek.fr>
* Merge pull request #25588 from nextcloud/techdept/custom-psr-loggerChristoph Wurst2021-03-051-2/+3
|\ | | | | Migrate custom loggers to PSR
| * Migrate WFE to the new PSR loggerChristoph Wurst2021-02-111-2/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Move some settings over to the IInitialStateRoeland Jago Douma2021-03-022-12/+7
| | | | | | | | | | | | The old one has been deprecated. Part one of many. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-3/+3
|/ | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-083-17/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* consider local external storages, tooArthur Schiwon2020-12-151-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* enables the file name check also to match name of mountpointsArthur Schiwon2020-12-151-2/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Only execute plain mimetype check for directories and do the fallback only ↵Morris Jobke2020-11-301-2/+6
| | | | | | | | for non-directories Ref #23096 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Files client and info bundles are always loaded so we don't need to load ↵Julius Härtl2020-11-251-2/+0
| | | | | | them again Signed-off-by: Julius Härtl <jus@bitgrid.net>
* avoid empty null default with value that will be inserted anywaysArthur Schiwon2020-11-232-13/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* inform the user when flow config data exceeds thresholdsArthur Schiwon2020-10-281-0/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix type errors detected by PsalmChristoph Wurst2020-10-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #23096 from nextcloud/bugfix/noid/mimetypes2Morris Jobke2020-10-051-0/+13
|\ | | | | Also check the path based mimetype for flow rule checks
| * Make sure to check the mimetype on the path if a secure one could not be ↵Julius Härtl2020-09-291-0/+13
| | | | | | | | | | | | detemined though the content Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-052-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update urls to stackoverflow.com to "HTTPS"J0WI2020-09-171-3/+3
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Don't use SELECT DISTINCT when to_char() is used in a WHERE statementJoas Schilling2020-09-071-3/+3
| | | | | | Nice bug in Oracle Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix possible leaking scope in FlowArthur Schiwon2020-08-242-0/+16
| | | | | | | | | - a configured flow can be brought into consideration, despite its event was not fired - it could either run through - or run into a RuntimeException and killing processing of valid flows Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Prefer typed event over string based onesMorris Jobke2020-08-102-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Adjust apps' code to use the ContainerInterfaceChristoph Wurst2020-07-211-5/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21547 from nextcloud/enhancement/workflowengine-bootstrapRoeland Jago Douma2020-07-022-43/+84
|\ | | | | Migrate WFE to the new bootstrap mechanism
| * Move the event listener into a dedicated classChristoph Wurst2020-06-242-40/+64
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Migrate WFE to new bootstrap mechanismChristoph Wurst2020-06-241-14/+31
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #21590 from nextcloud/debt/noid/unused-methodRoeland Jago Douma2020-07-021-6/+0
|\ \ | | | | | | Remove unused method.
| * | Remove unused method.Daniel Kesselberg2020-06-251-6/+0
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #21599 from nextcloud/debt/noid/type-to-typesRoeland Jago Douma2020-07-021-17/+17
|\ \ | | | | | | Replace TYPE with TYPES
| * | Replace TYPE with TYPESDaniel Kesselberg2020-06-301-17/+17
| |/ | | | | | | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / Also always return in app commandsJoas Schilling2020-06-261-1/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* flow to not use deprecated event dispatcher methodsArthur Schiwon2020-06-192-17/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Flow: Include root folder for shared storages when fetching system tagsJulius Härtl2020-06-151-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move the systemtags to core/srcRoeland Jago Douma2020-05-281-3/+1
| | | | | | | * Move to the handlebar loader from webpack Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add visibility to all constantsChristoph Wurst2020-04-102-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-103-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1018-67/+52
| | | | | | | | | | | | | | | 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 elseif instead of else ifChristoph Wurst2020-04-105-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-093-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-0915-0/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-099-9/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add app config to disable user flowsJulius Härtl2020-03-215-4/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>