aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
* Annotate $additionalScopes so the IDE knows what type $scopeCandidate is.Daniel Kesselberg2020-03-172-1/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #19989 from ↵Roeland Jago Douma2020-03-171-1/+1
|\ | | | | | | | | nextcloud/fix-single-ScopeContext-passed-to-setScopes Fix single "ScopeContext" passed to "setScopes"
| * Fix single "ScopeContext" passed to "setScopes"Daniel Calviño Sánchez2020-03-161-1/+1
| | | | | | | | | | | | | | "setScopes" expects an array, but a single "ScopeContext" was being passed instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Hide card for apps store if disabledDaniel Kesselberg2020-03-161-1/+16
|/ | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Continue with next foreach iterationJulius Härtl2020-02-171-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Reduce flow logging at INFO levelJulius Härtl2020-02-141-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #18904 from nextcloud/enh/noid/flow-loggingRoeland Jago Douma2020-02-106-2/+392
|\ | | | | Log Flow activity
| * always require a message paramter for data loggingArthur Schiwon2020-01-282-2/+4
| | | | | | | | | | | | also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * log Flow activityArthur Schiwon2020-01-286-2/+390
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>