Commit graph

509 commits

Author SHA1 Message Date
Sipke Schoorstra dcd4ae121f Update referenced NPM package version 2023-03-27 21:05:12 +02:00
gurkanguran fab9470504
Importing workflows regardless of the order (#3833)
* Import workflows regardless of the order

* Store original activity json
2023-03-27 12:48:16 +02:00
Sipke Schoorstra aabdce5ff4 Refactor response models for Application and User 2023-03-27 11:36:11 +02:00
Sipke Schoorstra 97b8d2ae7d Fix JWT Bearer options configurator 2023-03-27 11:35:49 +02:00
Sipke Schoorstra ded2966416 Add missing AdminRoleProvider 2023-03-27 11:35:33 +02:00
Sipke Schoorstra bf810e7d7a Add endpoint to create users 2023-03-27 00:43:39 +02:00
Sipke Schoorstra 30c4e5b1e7
Implement API key authentication (#3834)
* Implement API key storage

* Implement API key validation

* Implement EF Core providers
2023-03-26 23:53:17 +02:00
Sipke Schoorstra cebf6f12e3 Add integration test for reading composite activity output 2023-03-24 22:25:48 +01:00
Sipke Schoorstra 0e992a9cbd Ensure outputs on WorkflowDefinitionActivity are declared in memory register
This ensures that activities in the workflow setting a variable assign it to the right location in the right memory register.
2023-03-24 20:59:15 +01:00
Sipke Schoorstra ac8e43cbed Ensure variables declared on a Composite activity get declared 2023-03-24 20:58:06 +01:00
Sipke Schoorstra 5aefa30886 Rename helper TryGet to GetOrDefault 2023-03-24 20:57:27 +01:00
Sipke Schoorstra b76442859b Fix handling of sequence type serialization 2023-03-24 11:11:56 +01:00
gurkanguran ee28ff69e1
Import workflows with subworkflow properly (#3825)
* Update activity registry on workflow creation

* Read subworkflows properly from json file

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-23 11:23:12 +01:00
gurkanguran e4789cf85b
Reference variable with Id instead of Name to prevent issues with updating name (#3814)
* Implemented Id property for variable for memory reference

* Removed debugger

* Fixed the issue with memory block reference of variable

* Fixed infinite recursive calling issue

* Handle variables with ID already containing

* Update JS variable getters based on declared variables

* Prevent Export from including composite roots

* Update JS evaluator with support for reading and writing variables in scope

* Fix polymorphic converter with support for arrays

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-22 22:50:26 +01:00
Sipke Schoorstra 8289b03f79 Fix JSON serialization issues 2023-03-22 19:28:38 +01:00
Sipke Schoorstra 9f3d654cbc Update JSON property dictionary serialization to maintain original .NET types 2023-03-22 12:19:23 +01:00
Sipke Schoorstra 32db4a75fd Remove oracle code for entities not part of the current DB context
Fixes #3804
2023-03-20 21:52:11 +01:00
Sipke Schoorstra 57882a5a80 Add support for triggering event synchronous and specific workflow instance targeting 2023-03-20 21:38:00 +01:00
Sipke Schoorstra fad27d0fb0
Refactor composite activity input and scoped memory (#3815)
* Incremental work

* Enable control over when to include full compositie root

* Cleanup

* Update WorkflowDefinitionActivity

* Implement input as variables

* Delete unused class

* Remove less common types

* Rename ExpandoObject to JSON

* Implement variable scoping

* Remove parent/child relationship from MemoryRegister

* Add support for sending input to "trigger event" endpoint

* Add support for configuring input storage driver

* Remove unused namespace imports

* Auto-register activity types when running a workflow

* Fix missing variables from containers
2023-03-20 19:55:11 +01:00
Sipke Schoorstra a9e67b9b1c Add support for object literals to Outcome activity 2023-03-17 21:11:55 +01:00
Sipke Schoorstra dc2dcb44a9 Fix missing fields on export 2023-03-15 21:40:28 +01:00
Sipke Schoorstra 1c013efa38 Fix WorkflowDefinitionActivityProvider
In addition to yielding defined outcomes as ports, the Root activity needs to be included as well in order for child activities to be visible to the activity walker.
2023-03-15 21:32:40 +01:00
Sipke Schoorstra 69f7e80415 Update Complete activity with support different outcome types 2023-03-15 21:31:32 +01:00
herblinernexxbizz 95ca326133
Features/v3 add short and full guid (#3800)
* add full guid and shortguid as javascript/jint functions with intellisense

* add guid as string and rename other method
2023-03-15 12:29:07 +01:00
Sipke Schoorstra c81e328c8d Fix early exit on workflow definition activity input evaluation 2023-03-14 08:17:04 +01:00
Sipke Schoorstra a11798e936 Update ActivityDescriptorExtensions to potentially return null when getting an attribute 2023-03-14 08:16:04 +01:00
Sipke Schoorstra 85fb7360b4 Add dictionary extension methods to get value or default 2023-03-14 08:14:42 +01:00
Sipke Schoorstra 6fcf23dffa Add XML comments & small cleanup 2023-03-14 08:14:14 +01:00
Sipke Schoorstra 262160113e Add support for converting ExpandoObject into .NET type to ObjectConverter 2023-03-14 08:12:45 +01:00
gurkanguran f7f5290d04
Added github workflow to automate designer package update process (#3791)
* Updated package.json files

* Added npm pipeline for designer

* Updated Elsa.Workflows.Designer package
2023-03-14 08:07:15 +01:00
Sipke Schoorstra c1dca8fbe2
Fixes for Journal (#3792)
* Include NodeID in execution log and update workflow journal component

* Recreate Runtime migrations
2023-03-14 08:03:44 +01:00
Sipke Schoorstra d8b95db04e Add support for providing workflow input via dispatch endpoint 2023-03-13 12:31:23 +01:00
Sipke Schoorstra 2f8dde1f99 Bump designer version 2023-03-13 11:26:44 +01:00
Sipke Schoorstra d45f6f2f85 Fix delete workflow definition version 2023-03-12 20:59:11 +01:00
Sipke Schoorstra d3bed9773e Bump designer 2023-03-12 20:20:52 +01:00
Sipke Schoorstra 08069c40d2
Implement outcomes for SendHttpRequest activity (#3787) 2023-03-11 22:14:39 +01:00
Sipke Schoorstra 2dfc9e9551 Add default ctor to Inline
This fixes the issue where composite coded activities contain Inline activities that cannot be serialized otherwise.
2023-03-09 19:53:09 +01:00
Sipke Schoorstra 1946272490 Fix output type of For activity 2023-03-09 14:40:18 +01:00
Sipke Schoorstra 2d4c3fe7c3 Bump designer version 2023-03-09 13:08:10 +01:00
Sipke Schoorstra 625da40e34 Fix ExpandoObjectConverter array serialization for non-complex values 2023-03-09 11:35:03 +01:00
Sipke Schoorstra d85e8a6c5e Improve automatic handling of content parsing and writing 2023-03-09 11:24:00 +01:00
Sipke Schoorstra ba02b80fb0 Rename catch-all outcome 2023-03-09 11:23:35 +01:00
Sipke Schoorstra c5f35c81fc Fix variable with generic type serialization 2023-03-09 11:02:07 +01:00
Sipke Schoorstra 93288fa557 Implement response header parsing for HTTP Response activity 2023-03-09 10:24:38 +01:00
Sipke Schoorstra ccfbc47c71 Fix default variable value serialization issue 2023-03-08 21:43:47 +01:00
herblinernexxbizz 7d7e893a62
V3 update routetable on startup (#3780)
* add triggering all indexes to route table

* create hostedservice to run population of routetable
2023-03-08 21:43:02 +01:00
Sipke Schoorstra 6289d86899 Bump designer version 2023-03-08 20:50:22 +01:00
Sipke Schoorstra 8a2e9c2093 Bump designer version 2023-03-08 20:25:31 +01:00
Sipke Schoorstra e5ddb8907d Bump designer version 2023-03-08 20:03:34 +01:00
Sipke Schoorstra 09d1cb598e Bump designer version 2023-03-08 19:43:00 +01:00