aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Service
Commit message (Collapse)AuthorAgeFilesLines
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-20/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-312-44/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-14/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-6/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
|/ | | | | | | | | | 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>
* fix possible leaking scope in FlowArthur Schiwon2020-08-241-0/+14
| | | | | | | | | - 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>
* Remove unused method.Daniel Kesselberg2020-06-251-6/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-15/+14
| | | | | | | | | | | | | | | 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-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-092-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add app config to disable user flowsJulius Härtl2020-03-211-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Annotate $additionalScopes so the IDE knows what type $scopeCandidate is.Daniel Kesselberg2020-03-171-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Reduce flow logging at INFO levelJulius Härtl2020-02-141-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* always require a message paramter for data loggingArthur Schiwon2020-01-281-1/+3
| | | | | | also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* log Flow activityArthur Schiwon2020-01-282-1/+219
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Flows that are managing themselves do not necessarily set the entityArthur Schiwon2019-12-181-8/+10
| | | | | | | for instance files_automatedtagging, which works on a lower level. Fixes a Call to a member function isLegitimatedForUserId() on null. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* do not add (user) flows twiceArthur Schiwon2019-12-161-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow to specify apps that somethign is a dirJoas Schilling2019-12-101-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add convenience interfaces so entities can provide presentable detailsArthur Schiwon2019-11-281-0/+7
| | | | | | 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-4/+46
| | | | | | for instance, when a sharee changes a file, the owner can act upon Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* do not break on Checkers that do not need specific context infoArthur Schiwon2019-10-291-4/+1
| | | | | | request time, for example Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix order/entity types when setting the contextArthur Schiwon2019-09-101-8/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* let a dedicate service serve a stateful processArthur Schiwon2019-09-091-0/+137
* 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>