Commit graph

170 commits

Author SHA1 Message Date
Sipke Schoorstra 62aa989a9e Fix JS intellisense
This does remove intellisense for "strongly typed" HttpEndpoint's Output property.
2021-11-25 16:29:26 +01:00
Sipke Schoorstra 9f36d668f7 Fix intellisense context
Fixes #1553
2021-11-25 12:31:34 +01:00
noxe 5fae56d2bf
Bug - Accessing Output via Liquid (#2509)
* do not create a new Scope - reuse workflowExecutionContext's scope

* Upgrade Rebus.ServiceProvider to 7.0

* using the correct storage provider

Co-authored-by: Martin <mp@prakom.net>
2021-11-24 11:52:46 +01:00
Sipke Schoorstra a0b3ca00f1 Update Elsa.Scripting.JavaScript.csproj 2021-11-22 22:03:02 +01:00
Sipke Schoorstra 62afa2f918 Fix accidental C#10 syntax 2021-11-22 22:02:55 +01:00
Sipke Schoorstra daaabfbf5b Add base64 encoding JS functions 2021-11-22 18:34:06 +01:00
PietroLubini 123c7eaa1d
Resolve #2415 - Dynamic Activity Outcomes from activity property descriptor (#2473) 2021-11-15 16:54:33 +01:00
Sipke Schoorstra 8c6a01a363 Update Jint
Fixes #2426
2021-11-03 19:41:29 +01:00
Sipke Schoorstra e0c8601f96 Add jsonEncode/jsonDecode JS functions
This works around the limitation of Jint's JSON.stringify where it cannot properly serialize ExpandoObject.

Fixes #2426
2021-11-01 22:37:35 +01:00
noxe 21ff1c7c83
return enumerable if it is assignable from the desiredtype (#1669)
Co-authored-by: Martin <mp@prakom.net>
2021-10-25 13:47:07 +02:00
axeleron007 f9923b5ca1 Intermediate commit to the PR requests 2021-09-29 12:36:32 +03:00
axeleron007 743bfa0643 The HttpEndpoint logic moved from Elsa.Scripting.JavaScript to Elsa.HttpEndpoint project 2021-09-28 15:06:13 +03:00
Andrey Mishurinsky bdf304627a
Merge branch 'master' into manual_workflow_trigger 2021-09-27 15:44:56 +03:00
Sipke Schoorstra 328b3b15cb Update RunJavaScript.cs
Closes #1569
2021-09-27 14:10:55 +02:00
axeleron007 ca1c855140 Fixes to PR 2021-09-24 12:49:44 +03:00
Sipke Schoorstra 648bdcb1a3 Use default workflow storage provider when none specified
Fixes #1546
2021-09-20 17:05:15 +02:00
Sipke Schoorstra 30ec4b20b5 BREAKING: Refactor SendHttpRequest content parser APIs
Allows user to select what content parser to use to handle response of requests made by SendHttpRequest activity.
2021-09-18 11:39:45 +02:00
Andrey Mishurinsky cb73a5295c
Merge branch 'master' into manual_workflow_trigger 2021-09-16 17:16:06 +03:00
axeleron007 c1104e35d4 Fix to Json Schema type definition parser 2021-09-16 13:30:29 +03:00
axeleron007 dd16c1921f Fix to Test run mode. 2021-09-16 12:51:27 +03:00
Sipke Schoorstra 6352372179 Update package references 2021-09-14 16:09:59 +02:00
axeleron007 08235ce8d4 Merge branch 'master' into manual_workflow_trigger 2021-09-14 15:19:10 +03:00
axeleron007 df1145bc72 Some fixes to the Typescript definition generator 2021-09-14 09:29:27 +03:00
axeleron007 14c7582a32 Workflow Execution development 2021-09-13 18:29:40 +03:00
axeleron007 68ad66b4a7 Use generics for TargetType in intellisense typescript generator and code clean up 2021-09-02 18:00:17 +03:00
Andrey Mishurinsky a24fa583cc some test changes 2021-09-02 09:47:31 +03:00
Sipke Schoorstra 3c4a10d650 Implement infinite loop detection and handling 2021-09-01 19:06:07 +02:00
Sipke Schoorstra 9a97334ee4 Update RenderJavaScriptDateTimeTypeDefinitions.cs
Remove warning
2021-08-23 12:08:45 +02:00
Sipke Schoorstra f7a63b80c5 Reduce number of DB commits during workflow execution 2021-08-23 11:57:50 +02:00
Sipke Schoorstra c6f29e3aa2 Add more liquid things 2021-08-19 14:46:27 +02:00
Sipke Schoorstra 9e1574bc30 Allow casting to nullable target types 2021-08-19 14:46:08 +02:00
Joseph Stewart dafd763097 Refactor common activity and fix bug in Liquid handler 2021-08-07 18:56:13 +02:00
Joseph Stewart c49ed765b9 Add tests for liquid expressions 2021-08-07 18:56:13 +02:00
Joseph Stewart e51395ff21 Add test for javascript 2021-08-07 18:56:13 +02:00
Joseph Stewart 60aa235b16 Add javascript option to disable config access 2021-08-07 18:56:13 +02:00
Joseph Stewart dabca2e130 Add Config access opt-in to Liquid expression 2021-08-07 18:56:13 +02:00
Sipke Schoorstra cd43136e74 Fix type definition provider for workflows
This handles the case when the variable is initialized with a null value.
2021-08-07 18:28:25 +02:00
Sipke Schoorstra 19619b8307 Fix WorkflowDefinitionId liquid filter
The name argument should be optional.
2021-08-05 14:27:44 +02:00
Sipke Schoorstra 8fb52ebcc1 Add support for ExpandoObject deserialization into strongly typed object 2021-07-31 12:54:46 +02:00
Sipke Schoorstra 2c3935f0e0 Add support for specifying default workflow storage providers per activity property
Fixes #1254
2021-07-31 12:54:46 +02:00
Sipke Schoorstra 43973b408c Add periodFromNow JS function
Fixes #1066
2021-07-24 13:58:10 +02:00
Sipke Schoorstra 4f96f9d0c4 Allow multiple calls to AddHttpActivities 2021-07-20 16:04:00 +02:00
Sipke Schoorstra e890c685e1 Improve Finish activity for sending output back to parent
This update automatically resolves the output reference (if any) and passes that to the parent instead of the output reference
2021-07-11 12:10:16 +02:00
axeleron007 32c2815f55 Don#t use colon in appsettings #1223
Colons are removed from any element name in the appsettings
2021-07-07 10:31:29 +03:00
Sipke Schoorstra 88bc022140 Normalize signal names (ignore case) 2021-07-06 20:43:42 +02:00
Sipke Schoorstra d49bbd61ea Remove unused namespaces 2021-06-28 22:38:23 +02:00
Sipke Schoorstra 3f5a9690f8 Add Call Me Back activity for Ring Groups 2021-06-23 21:13:53 +02:00
Sipke Schoorstra 63113d31d7 Add various Startups
Note that this is a work in progress. Not all modules have startups yet.
2021-06-19 20:19:05 +02:00
Sipke Schoorstra 67c230a2af Resolve warnings 2021-06-19 11:51:06 +02:00
Sipke Schoorstra 97a9619fad Add support for email attachments 2021-06-16 17:03:06 +02:00