Commit graph

4555 commits

Author SHA1 Message Date
Sipke Schoorstra e03439515f Enable conditional MassTransit usage in Elsa.WorkflowServer
An if condition has been introduced to control the usage of MassTransit in the Elsa.WorkflowServer.Web.
2023-12-08 09:07:57 +01:00
MariusVuscanNx 2dc584fac7
Implemeted FlowFork activity (#4684) 2023-12-07 22:29:05 +01:00
Sipke Schoorstra 683f0ee6d8
Add Bulk Dispatch Workflow activity (#4683)
* Initial version of BulkDispatchWorkflow

* Update comments

* Refactor options models for running workflows and add Properties

* Fix resumption

* Add ability to provide arguments when evaluating expressions

* Update args syntax for JS

* Fix ProtoActor Runtime Properties mapping

* Use default constructor

* Provide completed workflow instance ID as input to BulkDispatchWorkflows

* Implement ChildFaulted port

* Switch to Publish to make Memory service bus work

* Update input evaluation and activity output retrieval

Refined the input evaluation process to only consider inputs with AutoEvaluate set to true. Added a comment to clarify the purpose of the GetActivitiesWithOutputs method. Removed the unnecessary check for AutoEvaluate from the EvaluateInputPropertyAsync method.
2023-12-06 22:32:08 +01:00
Sipke Schoorstra 0146a8aeb0 Update AllInOne dockerfile 2023-12-04 14:25:34 +01:00
Sipke Schoorstra 50ac0e9371 Exclude Start field from being serialized 2023-11-30 12:14:01 +01:00
Sipke Schoorstra 1ed98dfb57 Cleanup 2023-11-30 12:06:41 +01:00
Sipke Schoorstra 811ab7702d Fix conversion of dynamic values to T 2023-11-29 20:30:38 +01:00
Sipke Schoorstra 213f114cfc Add support for JsonObject to target type conversion 2023-11-29 15:09:00 +01:00
Sipke Schoorstra 3352cbee40 Update tests 2023-11-28 22:51:23 +01:00
Sipke Schoorstra d25dbe552e Fix .NET targeting in ElsaAPI client 2023-11-28 22:45:07 +01:00
Sipke Schoorstra bca5a8c545 Change C# Variable to Variables 2023-11-27 20:50:47 +01:00
Sipke Schoorstra fa1e9ba70f Add check to InputJsonConverterFactory
As of .NET 8, base type Input is also seen.
2023-11-27 20:37:44 +01:00
Sipke Schoorstra f5962501bc Update targets 2023-11-27 20:20:22 +01:00
Sipke Schoorstra 5964fc0afb Update AllInOne project 2023-11-27 20:10:55 +01:00
Sipke Schoorstra 694a90baee Update build 2023-11-27 20:05:26 +01:00
Sipke Schoorstra 86ffcfab5d Update Dockerfile 2023-11-27 20:03:50 +01:00
Sipke Schoorstra b73c21e868 Fix package references in DropIns 2023-11-27 20:00:18 +01:00
Sipke Schoorstra 40fce04a14 Fix BulkUpsert for EF Core 8 2023-11-27 19:25:44 +01:00
Sipke Schoorstra b84bcdff93 Increase length of token signing secret (min. 256 bits) 2023-11-27 13:31:42 +01:00
Sipke Schoorstra bec8cbc322
Target .NET 8 (#4660) 2023-11-27 11:26:16 +01:00
Sipke Schoorstra 580f4a22f7 Update log level in appsettings.json of reference server project 2023-11-26 13:33:15 +01:00
Sipke Schoorstra 48e9963d6e Split import endpoints
This fixes an issue where the import of JSON content returns 415.
2023-11-24 21:54:08 +01:00
Sipke Schoorstra c08388ec07 Update JsonContentFactory to use StringContent
This fixes an issue that Content-Length header is not included when using JsonContent, which is problematic for certain backend APIs.
2023-11-24 20:11:28 +01:00
MariusVuscanNx 6a8c175b6d
Updated Api.Client to include instance bulk import and export (#4652) 2023-11-24 11:24:16 +01:00
Sipke Schoorstra 14d7ec18d6 Handle user-usage of $id key in JSON objects 2023-11-23 20:30:58 +01:00
Sipke Schoorstra c10e1b4232 Update TriggerIndexer to return modifiable lists 2023-11-22 20:47:15 +01:00
Sipke Schoorstra c841b3511f Handle attempts to serialize unserializable values 2023-11-22 20:46:40 +01:00
Sipke Schoorstra f033631b30 Fix FlowSendHttpRequest Done outcome
This fixes an issue where Done is not always triggered
2023-11-22 20:46:12 +01:00
Sipke Schoorstra 225a99f39d
Bulk Import + Export of Workflow Definitions and Instances (#4643)
* Implement bulk export of workflow definitions

* Update Import endpoint with support for file uploads

* Update Import endpoint to return imported workflow count

* Implement workflow instance (bulk) export

* Implement workflow state, bookmark, workflow + activity execution export

* Remove globally imported usings
2023-11-22 14:31:48 +01:00
Sipke Schoorstra c4449a4b34 Update outdated Elsa.Studio package references 2023-11-20 22:32:20 +01:00
Sipke Schoorstra 95bdcc64b6 Fix output mapping
Fixes #4566
2023-11-19 22:04:41 +01:00
Sipke Schoorstra fbcb6ae493 Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3 2023-11-19 21:13:26 +01:00
Sipke Schoorstra 0c8fa75a47 Replace IronPython implementation with Python.NET
#4164
2023-11-19 21:13:19 +01:00
jdevillard e518ec60c1
Features : Allow Customization of DbContext Schema (#4638)
* Implement Changing DB Migration Schema At Runtime

* Add Schema Customization for SQL Server Provider

* Add Schema Customization for PostreSql  Provider

* Add Schema Customization for MySql  Provider

---------

Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
2023-11-19 10:22:13 +01:00
Sipke Schoorstra c4e812c6ec Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3 2023-11-18 13:47:36 +01:00
Sipke Schoorstra d0060230c7 Update Expression Value property to be object 2023-11-18 13:47:31 +01:00
GitHub Action dae7591726 Updated designer version to 3.0.3-preview.209 2023-11-18 12:41:37 +00:00
Dharmang Gajjar 75b2f30775
fix: workflow definition editor autoLayout (#4634) 2023-11-18 13:39:02 +01:00
Sipke Schoorstra bf205c72b9 Fix SetOutput handling 2023-11-17 20:59:09 +01:00
Sipke Schoorstra c99ce46f25 Add missing namespace 2023-11-15 21:18:34 +01:00
Borja Fernández 7fe05f491d
Complete activity if items count is 0 (#4623) 2023-11-15 21:00:34 +01:00
Borja Fernández 793002ac9f
Add activity execution log pipeline and exception handler pipeline (#4607) 2023-11-15 20:54:44 +01:00
jdevillard 17f5218285
Change endpoint to Post (#4619)
* Change endpoinit to Post

* change Post for Api Client

---------

Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
2023-11-15 20:50:56 +01:00
Sipke Schoorstra 21e438bdd1
Add Azure Service Bus for MassTransit (#4624)
* Split RabbitMQ from MassTransit and add Azure Service Bus package

* Use Send topology for commands
2023-11-15 20:47:11 +01:00
Sipke Schoorstra 3a4b15be13 Fix output mapping naming collision 2023-11-15 15:13:19 +01:00
Sipke Schoorstra e4d6ad22c4
Decouple Expression Types (#4622)
* Refactor Expressions model

* Enable expression type filtering

* Implement dynamic enablement of satelite dependencies
2023-11-14 20:44:42 +01:00
kirill 13e9e4fc65
Add Input Validation for Elsa.Identity Login Endpoint (#4601)
* add validator for login request

* login request: only require parameters to be not null (allow empty/whitespace)
2023-11-13 20:40:01 +01:00
Sipke Schoorstra 883ca85753 Handle workflows marked as activities with duplicate names 2023-11-10 22:08:59 +01:00
Sipke Schoorstra f0f39bec77 Fix flowchart completion miss
Added a check to take into account scheduled work who's owner is tje flowchart
2023-11-10 22:08:35 +01:00
Sipke Schoorstra 603e97691c Update AllInOne project with latest Elsa Studio packages 2023-11-10 22:07:09 +01:00