Commit graph

854 commits

Author SHA1 Message Date
Sipke Schoorstra ce974a777f Rename application properties of flowchart activity for consistency 2023-06-18 22:06:54 +02:00
Sipke Schoorstra 8b05d89d43 Fix connection serialisation + front end connection error 2023-06-18 21:26:44 +02:00
Sipke Schoorstra b356cdb52b
Refactor connection model (#4146) 2023-06-18 14:32:48 +02:00
GitHub Action 02572e9ce2 Updated designer version to 3.0.3-preview.173 2023-06-16 16:30:22 +00:00
MariusVuscanNx 183e2bc0a3
Fixed workflow definition populator to also take into consideration the isReadonly field (#4138) 2023-06-14 10:55:43 +02:00
herblinernexxbizz 2a9793768a
make isReadonly editable on workflow model (#4130) 2023-06-13 10:25:42 +02:00
GitHub Action e3303aa07f Updated designer version to 3.0.3-preview.172 2023-06-12 09:38:24 +00:00
GitHub Action 3a230c8088 Updated designer version to 3.0.3-preview.171 2023-06-12 09:15:54 +00:00
herblinernexxbizz e5a5705888
V3 make workflowdefinition have readonly (#4124)
* fix broken build and add readonly to dapper migration

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-12 11:12:18 +02:00
GitHub Action 04ba54f3a5 Updated designer version to 3.0.3-preview.170 2023-06-12 08:47:29 +00:00
herblinernexxbizz 3aa05d1fed
V3 search workflows definitions and instances (#4123)
* search workflowdefinition

* filter workflowinstance

* also add version options

* initiate search field

* add search to workflowinstance

* extend search with description and definitionversionid

* make everything work for workflow definition and instance search
2023-06-12 10:44:33 +02:00
herblinernexxbizz 8c308cc8ee
V3 make workflowdefinition have readonly (#4068)
* add readonly functionality to Elsa

* merge with v3

* remove launch settings

* remove spaces

* Handle merge conflicts

* Exclude non-existent folder from sample project

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-12 10:41:38 +02:00
GitHub Action 4846a9bfac Updated designer version to 3.0.3-preview.167 2023-06-10 13:37:59 +00:00
Sipke Schoorstra 48a226397f Merge branch 'v3-activity-output' into v3 2023-06-10 15:35:03 +02:00
Sipke Schoorstra 144d9d0aa4 Update Elsa API Client with ActivityDescriptors API 2023-06-10 15:33:32 +02:00
Sipke Schoorstra de9b3e866b Refactor-rename PortMode to PortType 2023-06-10 15:33:06 +02:00
Sipke Schoorstra b996d1d393 Extend FeatureDescriptor with namespace and full name props 2023-06-10 15:31:45 +02:00
Sipke Schoorstra 8d33084d4e Fix null ID reference bug in function definition provider 2023-06-10 15:30:47 +02:00
GitHub Action 8e30bb3067 Updated designer version to 3.0.3-preview.166 2023-06-09 20:14:22 +00:00
Sipke Schoorstra 04fe32cabb
Implement activity output APIs (#4119) 2023-06-09 22:10:56 +02:00
Sipke Schoorstra 6e03f61818 Implement activity output APIs 2023-06-09 21:53:21 +02:00
GitHub Action 584004f5be Updated designer version to 3.0.3-preview.165 2023-06-08 09:42:32 +00:00
Sipke Schoorstra c216185c5e
Update Workflow model with support for Inputs, Outputs and Outcomes (#4112)
* Fix mutable prop changes warning

* Fix graph no longer scrolling to content

* Remove unused namespace imports

* Update Workflow model with support for input, output and outcomes

* Update sample with EF core persistence

* Rename FluentStorage to BlobStorage
2023-06-08 11:39:19 +02:00
Sipke Schoorstra d53eb500f2 Merge remote-tracking branch 'origin/v3' into v3 2023-06-08 10:27:07 +02:00
Sipke Schoorstra 0c63d3211d Update System.Data.SqlClient 2023-06-08 10:26:58 +02:00
GitHub Action 23cdcb19d3 Updated designer version to 3.0.3-preview.164 2023-06-07 21:26:08 +00:00
Sipke Schoorstra 5addf479b7 Ignore package lock file 2023-06-07 22:54:34 +02:00
Sipke Schoorstra 6578d9b74f Fix auth on typescript definitions endpoint 2023-06-07 22:53:34 +02:00
Sipke Schoorstra afac92fd43 Merge remote-tracking branch 'origin/v3' into v3 2023-06-06 21:58:18 +02:00
Sipke Schoorstra ac929f47bd Remove unused namespaces 2023-06-06 21:58:13 +02:00
GitHub Action ea772fa5b9 Updated designer version to 3.0.3-preview.163 2023-06-06 19:46:40 +00:00
Sipke Schoorstra ae34a7a537
Implement Dapper for Identity (#4110) 2023-06-06 21:43:53 +02:00
GitHub Action cc99e5b7fa Updated designer version to 3.0.3-preview.162 2023-06-06 18:52:26 +00:00
Sipke Schoorstra 6c1cca372c
Dapper persistence provider (#4109)
* Implement Dapper stores
2023-06-06 20:49:14 +02:00
GitHub Action 80ac1ccb97 Updated designer version to 3.0.3-preview.161 2023-06-06 18:24:52 +00:00
GitHub Action 4b78a4128d Updated designer version to 3.0.3-preview.160 2023-06-06 13:13:31 +00:00
GitHub Action 56a7df1d40 Updated designer version to 3.0.3-preview.159 2023-06-06 11:53:23 +00:00
GitHub Action f849408a7a Updated designer version to 3.0.3-preview.158 2023-06-06 00:16:29 +00:00
GitHub Action 78796d9ae6 Updated designer version to 3.0.3-preview.157 2023-06-05 23:45:55 +00:00
GitHub Action 645f9d81d9 Updated designer version to 3.0.3-preview.156 2023-06-05 21:37:03 +00:00
herblinernexxbizz 1f7df0efcd
make it so you can start a specific version of a workflow (#4103) 2023-06-05 14:17:02 +02:00
Sipke Schoorstra d789676043 Fix null options 2023-06-03 20:36:07 +02:00
Sipke Schoorstra 5b29451add Add methods to opt out specific activities 2023-06-03 20:35:36 +02:00
GitHub Action b5439132cf Updated designer version to 3.0.3-preview.155 2023-06-03 10:30:55 +00:00
Sipke Schoorstra 0bb2ddcfee
Support sub-workflow dependency handling of JSON workflows (#4098)
* Change "Usable as Activity" setting into checkbox

* Update client model

* Update query to use shadow property

* Update UsableAsActivity usages

* Implement staged provisioning of workflows

* Add tests

* Update migrations
2023-06-03 12:28:10 +02:00
GitHub Action c6a4ae7fd9 Updated designer version to 3.0.3-preview.154 2023-06-01 13:48:25 +00:00
GitHub Action ddb7e4837f Updated designer version to 3.0.3-preview.153 2023-05-31 10:37:06 +00:00
Sipke Schoorstra 6449969604 Fix workflow memory issues 2023-05-30 23:00:52 +02:00
Sipke Schoorstra 71e55ea999 Update Quartz scheduler to only schedule once 2023-05-30 21:52:31 +02:00
GitHub Action 1cc8d36d08 Updated designer version to 3.0.3-preview.152 2023-05-29 20:29:45 +00:00
GitHub Action f8d1e07a22 Updated designer version to 3.0.3-preview.151 2023-05-29 20:21:27 +00:00
GitHub Action eead6777b9 Updated designer version to 3.0.3-preview.149 2023-05-29 18:50:33 +00:00
Sipke Schoorstra 7c73f93d41 Use invariant culture when converting values 2023-05-29 14:23:41 +02:00
Sipke Schoorstra 85bff3a528 Fix output serialization 2023-05-28 20:32:51 +02:00
Sipke Schoorstra 607aba1943 Fix identity assignment 2023-05-28 18:35:45 +02:00
Sipke Schoorstra 923229bf91 Fix null reference exception in EF core provider 2023-05-28 16:40:48 +02:00
Sipke Schoorstra 63124bd9b5 Fix typo 2023-05-28 16:40:34 +02:00
Sipke Schoorstra 7ee85aa98a Add missing dependency to FluentStorage feature 2023-05-28 16:40:27 +02:00
Sipke Schoorstra 8d8a8679f7 Ad XML comments 2023-05-28 16:40:10 +02:00
Sipke Schoorstra c99280b792 Add methods to add multiple workflows from a given assembly 2023-05-28 16:20:16 +02:00
Akash Jadhav cd187f93c1
Schema Name editable in V3 (#4072)
* add ElsaDbContextOptions

* set Schema from elsaDbContextOptions

* file rename

* add options as arg to DbContextOptionsBuilderExtensions

* add options to module extensions in Elsa.EntityFrameworkCore.MySql

* add options to module extensions in Elsa.EntityFrameworkCore.PostgreSql

* add options to module extensions in Elsa.EntityFrameworkCore.Sqlite

* add options to module extensions in Elsa.EntityFrameworkCore.SqlServer

* add validations

* update doc strings
2023-05-28 11:56:49 +02:00
Sipke Schoorstra 6f455f7e70
Update DSL implementation and integration (#4073) 2023-05-28 11:54:12 +02:00
GitHub Action f328a5cdea Updated designer version to 3.0.3-preview.145 2023-05-26 18:40:21 +00:00
MariusVuscanNx 5703584ea2
Added modes to the switch activities (#4067) 2023-05-25 22:55:17 +02:00
Akash Jadhav 758a5a4b62
add Elsa.EntityFrameworkCore.MySql (#4047)
* add  Elsa.EntityFrameworkCore.MySql

* cleanup

* review changes

* indentation changes

---------

Co-authored-by: gambitier <csegambitier@hotmail.com>
2023-05-25 22:54:54 +02:00
MariusVuscanNx 63ada68a20
Added workflow execution context to the workflow executred and workflow executing notifications (#4065) 2023-05-25 22:54:16 +02:00
Sipke Schoorstra a842c694c3 Fix variable accessors for liquid 2023-05-24 21:33:41 +02:00
GitHub Action d0ed7a1699 Updated designer version to 3.0.3-preview.143 2023-05-24 16:34:03 +00:00
GitHub Action c42635f3fe Updated designer version to 3.0.3-preview.142 2023-05-24 14:06:10 +00:00
GitHub Action 26a72d411e Updated designer version to 3.0.3-preview.141 2023-05-24 13:39:25 +00:00
MariusVuscanNx 09a0cfe5fe
Allow the user to select the start activty when calling through the api (#4064) 2023-05-24 15:18:51 +02:00
Sipke Schoorstra 9c05794f73 Add option to publisher to provide different default root 2023-05-24 14:22:32 +02:00
Sipke Schoorstra 0df76b73ef Generate default ID for flowchart if empty in converter 2023-05-24 14:21:58 +02:00
Sipke Schoorstra 9433b22b75 Extract route table updater to reusable service 2023-05-24 14:21:19 +02:00
GitHub Action 3e7f1bd528 Updated designer version to 3.0.3-preview.140 2023-05-23 12:48:27 +00:00
Sipke Schoorstra db77162d24 Update package lock 2023-05-23 14:41:11 +02:00
Sipke Schoorstra 1dc8edca28 Update designer to 139 2023-05-23 14:41:01 +02:00
Sipke Schoorstra be66169126 Update designer to 138 2023-05-22 21:40:05 +02:00
Sipke Schoorstra bc21ccda95 Restore ElsaStudio component and update custom element usages 2023-05-22 12:38:19 +02:00
Sipke Schoorstra 5ba159f16f Update designer package reference 2023-05-21 21:42:24 +02:00
Sipke Schoorstra 987a51a8c5 Refactor designer to single <elsa-studio> component 2023-05-21 21:30:56 +02:00
Sipke Schoorstra da82ef0635 Extract workflow state exporter into handler and add default exporter 2023-05-21 10:16:56 +02:00
Sipke Schoorstra 16452795b0 Change workflow runtime trigger options record into class 2023-05-21 10:16:25 +02:00
Sipke Schoorstra 577e8fa30d Fix activity of T result 2023-05-21 10:15:56 +02:00
Sipke Schoorstra 6d15c536f3 Make activity input property options provider async 2023-05-21 10:11:16 +02:00
Sipke Schoorstra 3999b65391 Make email sMTP service pluggable 2023-05-21 10:10:10 +02:00
GitHub Action 5a4ccfd8fa Updated designer version to 3.0.3-preview.136 2023-05-19 19:29:39 +00:00
Sipke Schoorstra 5518582b68 Add support for externally initialized monaco 2023-05-19 21:25:48 +02:00
Sipke Schoorstra f018cc010a Merge remote-tracking branch 'origin/v3' into v3 2023-05-19 14:37:08 +02:00
Sipke Schoorstra 5ef8fd4ffd Update login endpoint 2023-05-19 14:36:36 +02:00
GitHub Action e424a0ce7e Updated designer version to 3.0.3-preview.134 2023-05-17 18:14:29 +00:00
GitHub Action 7afcf1513b Updated designer version to 3.0.3-preview.133 2023-05-17 11:09:19 +00:00
Sipke Schoorstra 25e9c8484f Stash 2023-05-17 12:52:13 +02:00
Sipke Schoorstra c07e561ad3 Update API client 2023-05-16 22:37:08 +02:00
Sipke Schoorstra 3a2b7f40bc Restructure API client 2023-05-16 20:03:12 +02:00
Sipke Schoorstra ad44becbda Rename environment model 2023-05-16 19:09:09 +02:00
Sipke Schoorstra 9f9f35edb4 Merge branch 'v3' into v3-environments 2023-05-16 15:07:55 +02:00
GitHub Action d0417ad268 Updated designer version to 3.0.3-preview.128 2023-05-16 08:54:13 +00:00
Sipke Schoorstra e1ec2c87d0 Incremental work on Environments module 2023-05-16 10:03:55 +02:00
herblinernexxbizz b9ac0e478e
add ordering to workflowdefinitions (#4040)
* add ordering to workflowdefinitions

* do default ordering ans sorting right
2023-05-15 11:36:59 +02:00
Sipke Schoorstra 96b840d9e6 Remove dependency on IWorkflowInstanceStore 2023-05-11 22:59:35 +02:00
Sipke Schoorstra c18701e8ce Update Http module to add Authorization services
Required by AuthenticationBasedHttpEndpointAuthorizationHandler
2023-05-11 22:58:59 +02:00
Sipke Schoorstra 4e99f37b77 Fix target type discovery
When trying to locate a memory block from a reference, we need to search the hierarchy.
2023-05-11 16:53:33 +02:00
Sipke Schoorstra 5848db1f37 Remove $id exclusion from ExpandoObjectConverter 2023-05-11 11:17:16 +02:00
Sipke Schoorstra 2ae438002d Fix that flowchart doesn't complete
The issue was that the "has pending work" check considered *any* scheduled activity, regardless of the owner. Instead, the flowchart should check the scheduler for any work that *it* scheduled.
2023-05-10 21:46:11 +02:00
Sipke Schoorstra dcc35469a7 Implement backwards compatibility for older activity schema 2023-05-10 21:44:37 +02:00
Sipke Schoorstra 796c6cbc2b HTTP parser: parse object into ExpandoObject 2023-05-10 16:10:24 +02:00
Sipke Schoorstra 7ab08215a9 Fix workflow activity doesn't complete when no assigned outputs 2023-05-10 15:59:22 +02:00
Sipke Schoorstra e799381001 Ensure ExpandoObject array properties are deserialized as arrays
This also enables the use of jint's isArray method to return true, since the object is now an actual array.
2023-05-10 13:57:44 +02:00
Sipke Schoorstra c4a435b495 Merge remote-tracking branch 'origin/v3' into v3 2023-05-10 11:38:55 +02:00
Sipke Schoorstra 791e691ae7 Fix usage of incorrect activity descriptor when evaluating props 2023-05-10 11:38:50 +02:00
herblinernexxbizz 8cec7615aa
remove polymorphicobjectconverter for http serialization (#4018) 2023-05-10 10:18:18 +02:00
Sipke Schoorstra 832a5b116b Update memory store to use concurrent dictionary
Fixes #3741
2023-05-08 22:56:37 +02:00
GitHub Action f6b0ab9974 Updated designer version to 3.0.3-preview.126 2023-05-08 20:43:46 +00:00
Sipke Schoorstra 47ed8e3571
Cleanup IActivity interface (#4010)
* Update activity names and descriptions

* Rename JS functions

* Make endpoint class internal

* Pre-create workflow instance ID when dispatching workflows
2023-05-08 22:38:59 +02:00
Sipke Schoorstra 5b84f264c3 Update polymorphic converter to stop trying to parse string into date time offset 2023-05-03 10:35:58 +02:00
Sipke Schoorstra 14b23d1cc5 Auto stash before revert of "Simplify IActivity (#3991)" 2023-05-03 10:34:38 +02:00
Sipke Schoorstra 307962c0f5 Revert "Simplify IActivity (#3991)"
This reverts commit ae9f4104c6.
2023-05-03 10:24:36 +02:00
Sipke Schoorstra ae9f4104c6
Simplify IActivity (#3991)
* Cleanup IActivity interface and update activity ctors

* Increase XML comment coverage
2023-05-02 20:05:36 +02:00
Sipke Schoorstra e12a57b83a Fix localhost permissions for AllInOne bundle app
Fixes #3987
2023-05-02 11:03:34 +02:00
Sipke Schoorstra 437eb3f9dc Update workflow definition reference updater to include version ID 2023-05-02 09:57:44 +02:00
Sipke Schoorstra 44d84e5359 Merge remote-tracking branch 'origin/v3' into v3 2023-05-01 22:26:20 +02:00
Sipke Schoorstra bce43df83a Add support for date like to date like conversion
For example, when a JS expression returns a DateTime value, and the capturing WF variable is of type DateTimeOffset.
2023-05-01 22:26:15 +02:00
Sipke Schoorstra 6bc830b37b Fix proto actor model mapping 2023-05-01 22:25:31 +02:00
Sipke Schoorstra aca8cc16fb Fix activity kind for Telnyx webhooks 2023-05-01 22:25:19 +02:00
GitHub Action 3d83d94333 Updated designer version to 3.0.3-preview.125 2023-05-01 13:55:37 +00:00
Sipke Schoorstra a8387cb964 Merge remote-tracking branch 'origin/v3' into v3 2023-05-01 15:18:30 +02:00
Sipke Schoorstra 920bf38308 Fix type converter for array types 2023-05-01 15:18:24 +02:00
GitHub Action b50a8105c5 Updated designer version to 3.0.3-preview.124 2023-05-01 12:21:14 +00:00
Sipke Schoorstra 0744b22e6b Fix composite activity version reference upgrade 2023-05-01 12:48:07 +02:00
Sipke Schoorstra 9b6c08bf38
Fix HTTP triggers not being updated (#3985)
* Fix triggers not being replaced

* XML comments and minor DI changes
2023-05-01 12:06:51 +02:00
Sipke Schoorstra 4112fbfc9a
ACA cluster provider support for multiple images + pluggable member store (#3981)
* Decouple ACA cluster provider storage

* Add readme
2023-04-30 22:25:40 +02:00
GitHub Action 01bb089e0e Updated designer version to 3.0.3-preview.121 2023-04-29 08:12:31 +00:00
Sipke Schoorstra 7d713d81a3 Add support for default activity input 2023-04-28 22:41:18 +02:00
Sipke Schoorstra 39c34b5a1e Update Users endpoint permissioms 2023-04-28 15:41:13 +02:00
Sipke Schoorstra d1eb096b6e Add missing model 2023-04-28 15:41:01 +02:00
Sipke Schoorstra 465358d663 Add API endpoint to create new roles 2023-04-28 15:40:48 +02:00
Sipke Schoorstra 6a0556cd2c Update RoleStore
No need for serialization (which in fact breaks this store) since we already use custom converters for the Permissions field
2023-04-28 15:40:35 +02:00
Sipke Schoorstra 6c7c62a8a2 Ensure ResultVariable is declared in workflow memory space 2023-04-28 15:15:54 +02:00
Sipke Schoorstra ed3581569b Make Parallel activity non-browsable
We don't have the right UI for this yet
2023-04-28 15:14:44 +02:00
Sipke Schoorstra a67361c6ae Fix variable type serialization 2023-04-28 14:31:38 +02:00
Sipke Schoorstra c31d5323a5
Add link between version ID and workflow definition activity (#3979)
Closes #3902
2023-04-28 12:40:51 +02:00
Yunus0497 4a7f5e2675
added sqlserver extension for 'ExecutionLogRecordPersistenceFeature' (#3971)
Co-authored-by: Mohammed Yunus <mohammedyunus@theaccessgroup.com>
2023-04-28 11:40:58 +02:00
Sipke Schoorstra 5d766e921b Merge remote-tracking branch 'origin/v3' into v3 2023-04-28 11:38:13 +02:00
Sipke Schoorstra 885119c768 Add events for ActivityExecuting and ActivityExecuted 2023-04-28 11:37:01 +02:00
herblinernexxbizz a0bdf45851
Features/fix serialization issues (#3966)
* run locally

* commit created test

* updated test

* Island

* Commented code

* creating tests

* upodate tests

* revert

* create working tests

* fix test roundtrip Jobject

* update tests

* finish tests

* create branch without getdefinition by keys

* move test files add @

* Special properties deserialization test

* refactor tests make it shorter

* clean PolymorphicObjectConverter

* rename properties

* Escape keys starting with reserved symbols

* Fix fix of converter

* Add newline normalization

* Minor cleanup and handling nullability warnings

* compact tests

---------

Co-authored-by: Marius Vasile Vușcan <marius.vuscan@nexxbiz.io>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-28 10:29:06 +02:00
GitHub Action dc109d2a42 Updated designer version to 3.0.3-preview.120 2023-04-27 15:38:22 +00:00
gurkanguran 453dbd2196
Auto update consuming workflows' composite activity references (#3950)
* Update consuming workflows when the composite activity published

* Display auto-update option and notifications in designer

* Update consuming workflows with a separate api call

* Display notification only if there are consuming workflows found

---------

Co-authored-by: Gürkan Güran <gguran@interfirst.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-27 17:33:48 +02:00
gurkanguran e9f3cb9329
Publish workflows imported programatically (#3958) 2023-04-27 14:52:07 +02:00
Sipke Schoorstra cdef7d409d Update input JSON converter to also read its ID 2023-04-25 22:39:56 +02:00