Commit graph

140 commits

Author SHA1 Message Date
Sipke Schoorstra e31f804ec0 Update HTTP Endpoint type definition renderer 2021-12-09 15:19:16 +01:00
Sipke Schoorstra f756e3f78d Cleanup 2021-11-25 22:36:30 +01:00
Sipke Schoorstra b6a7a38b21 Add intellisense support for dynamic HttpEndpoint output
Fixes #2526
2021-11-25 22:32:33 +01:00
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
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
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
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 9e1574bc30 Allow casting to nullable target types 2021-08-19 14:46:08 +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
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 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
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 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
Sipke Schoorstra ebaeabb934 Implement support for HTTP file download for SendHttpRequest and WriteHttpResponse 2021-06-16 08:57:19 +02:00
Sipke Schoorstra f67140f7e2 Cleanup 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 9ec82d9293 Refactor Output handling 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 1db05d3b0b Update models and UI to support configurable activity output storage 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 757a2f566f Refactor activity state serialization to support property types typed as object 2021-06-07 22:04:36 +02:00
Sipke Schoorstra a64675817a Fix that JS handler overwrites activity output with other props 2021-06-05 15:35:50 +02:00
Sipke Schoorstra d339b8d389 Add support for JProperty objects 2021-06-05 13:00:38 +02:00
Sipke Schoorstra d9e88dd195 Fix type definition generation for classes 2021-05-31 20:38:10 +02:00