Commit graph

280 commits

Author SHA1 Message Date
Sipke Schoorstra 1d059f878b
Refactor IHttpResponseContentReader (#2608) 2021-12-20 16:40:06 +01:00
noxe 2ff8edb5ba change First() to FirstOrDefault() to prevent Exception 2021-12-09 15:34:30 +01:00
Sipke Schoorstra 9d7da9d5b9 Update HttpEndpointTypeDefinitionRenderer.cs 2021-12-09 15:20:14 +01:00
Sipke Schoorstra e31f804ec0 Update HTTP Endpoint type definition renderer 2021-12-09 15:19:16 +01:00
Sipke Schoorstra 54ed32ebbc Update HttpEndpointTypeDefinitionRenderer.cs 2021-12-09 13:41:00 +01:00
Sipke Schoorstra 1f92aef256 Update HttpEndpointTypeDefinitionRenderer.cs 2021-12-09 11:43:26 +01:00
noxe 072db97d39
System.InvalidOperationException: "Sequence contains no elements" (#2530)
* do not create a new Scope - reuse workflowExecutionContext's scope

* Upgrade Rebus.ServiceProvider to 7.0

* fixing System.InvalidOperationException: "Sequence contains no elements"

Co-authored-by: Martin <mp@prakom.net>
2021-11-26 20:57:33 +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
PietroLubini 123c7eaa1d
Resolve #2415 - Dynamic Activity Outcomes from activity property descriptor (#2473) 2021-11-15 16:54:33 +01:00
RaulPuscas 4244cc222d
Update JTokenHttpResponseContentReader.cs (#1667)
Adjusted JTokenHttpResponseContentReader JToken parsing mechanic

Closes #1664
2021-11-01 23:51:26 +01:00
Sipke Schoorstra d06199f9ee Make Http Endpoint activity security opt-in 2021-10-04 15:52:56 +02:00
axeleron007 c197ae9199 Final changes to PR/ 2021-10-02 22:46:10 +03:00
axeleron007 f203e0cdef PR change requests 2021-09-30 12:00:44 +03:00
axeleron007 80ce9995a8 some fixes to the PR change requests 2021-09-29 13:42:15 +03: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
axeleron007 8e1144435e SignalRConnectionId and IsTest flag are removed from blueprint classes 2021-09-27 15:40:19 +03:00
Mohamed Ali 95424f39fb
Multi-targeting Elsa.Activities.Http for .NET Core 3.1 and .NET 5 (#1568)
* multi targeting for Webhooks

* Multi-targeting Elsa.Activities.Http

Co-authored-by: Mohamed Ali <ali@ymacctv.com>
2021-09-27 13:48:52 +02:00
axeleron007 418d7edca9 Json schema ad hoc validation added and code clean up 2021-09-27 13:31:57 +03:00
axeleron007 04bacaa281 fixes 2021-09-21 14:04:37 +03:00
Sipke Schoorstra fd44667abc Fix signal URL for virtual directories
Fixes #1525
2021-09-20 16:33:51 +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
Sipke Schoorstra 142b574481 Update packages 2021-09-16 20:25:38 +02:00
Andrey Mishurinsky cb73a5295c
Merge branch 'master' into manual_workflow_trigger 2021-09-16 17:16:06 +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 27da6531d1 Fix to published workflow 2021-09-14 15:01:32 +03:00
axeleron007 14c7582a32 Workflow Execution development 2021-09-13 18:29:40 +03:00
Sipke Schoorstra e04a910d96
Workflow journal enhancements (#1481)
* Add support for custom journal data logging

* Update ForEach with journal logging

* Update ReadLine with Journal logging

* Update For.cs

* Update While.cs

* Update Switch activity

* Update Join.cs

* Update Timer activities

* Update Azure Service Bus and Telnyx activities

* Update various other activities
2021-09-03 13:05:09 +02:00
Andrey Mishurinsky ef37f87514
Disable workflow (#1336)
* Publish/Subscribe events added to WorkflowSettings and WorkflowRegistry

* Workflow Registry re-indexed and cache refreshed on workflow disable/enable

* IsDisabled property added to WorkflowBlueprintSummary to display disabled status in the UI

* MySql, PostgreSql and SqlServer persistence added to Workflow Settings

* Validation for disabled workflow in Workflow Resumer

* WorkflowSettings configuration added to the appsettings.json

* Workflow Settings added to Elsa.Server.Host startup collection

* IWorkflowSettingsProvider implemented

* Update README.md

* Elsa-Workflow-Settings and Elsa-Webhooks separate modules added and decoupled from Elsa Web

* Delete unused Client projects

* LoadWorkflowSettingsDisabledHandler changes

* FeatureProvider removed, Webhooks plugin merged to Webhooks Feature Plugin

* Update Webhooks and Settings plugin

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-09-02 16:20:10 +02: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 fc954d9968 Improve error messages
Closes #1425
2021-08-31 16:09:04 +02:00
Sipke Schoorstra 64ec9dade7 Expose HttpClientBuilder 2021-08-31 15:21:10 +02:00
Sipke Schoorstra cbdc3e4375 Make available raw content 2021-08-20 12:24:59 +02:00
Sipke Schoorstra a3631d6d26
Http endpoint security (#1389) 2021-08-13 16:17:57 +02:00
Sipke Schoorstra e8439aa994 Update WriteHttpResponseExtensions.cs
Fix serialization issues when using WriteHttpResponse from code.

The issue was that the lambda for the Content property itself was being serialized.
2021-08-04 13:45:52 +02:00
Sipke Schoorstra cf39594e0f Update TriggerEndpoint with support for customizing HTTP response
Fixes #1304
2021-07-31 12:54:46 +02:00
Sipke Schoorstra e2deafd228 Update WriteHttpResponse with support for writing streams 2021-07-31 12:54:46 +02:00
Sipke Schoorstra c7d186b990 Update DefaultAbsoluteUrlProvider
Fixes #1112
2021-07-24 21:03:24 +02:00
Sipke Schoorstra d280f0d814 Handle null base URL with detailed exception message 2021-07-24 13:09:26 +02:00
Sipke Schoorstra 42e95033cf
BREAKING: Persistable input (#1302)
* Implement resuming Idle workflows + persistable input

* Refactor workflow input model

* Re-enable tests
2021-07-22 22:13:33 +02:00
Sipke Schoorstra 4f96f9d0c4 Allow multiple calls to AddHttpActivities 2021-07-20 16:04:00 +02:00
Sipke Schoorstra e3c3a32853 Hotfix for HttpEndpointMiddleware
Fixes that subpath no longer matched any workflows
2021-07-15 15:33:31 +02:00
Sipke Schoorstra 2635115766 Fix HttpEndpointMiddleware to return 404 when workflow not found
Fixes #1253
2021-07-14 13:11:30 +02:00
Sipke Schoorstra cbfb21c4c9 Remove redundant Trigger parameter from workflow selection 2021-07-12 19:37:01 +02:00