Commit graph

3777 commits

Author SHA1 Message Date
GitHub Action 169443bd0d Updated designer version to 3.0.3-preview.116 2023-04-19 19:32:38 +00:00
Sipke Schoorstra 10c721786a
Workflow Context Updates (#3933)
* Incremental work on context activity

* Add extensions to get and set context params

* Update polymorphic converter to handle objects serialized to primitives

* Add convenience factory methods for SetWorkflowContextParameter activity

* Add API endpoint to list available provider types

* Implement workflow context provider selection property panel

* Update context provider picker to be based on selected providers

* Make SendEmail support different types of input for To, Cc and Bcc fields

* Fix EF Core WorkflowDefinitionStore to use polymorphic serialization for metadata

* Add JS support for getting workflow contexts

* Add Installed Features endpoint

* Update polymorphic object converter to skip start array

* Update activity execution middleware to handle background execution

* Fix sample program to include activity middleware for contexts

* Comments and cleanup
2023-04-19 21:28:58 +02:00
GitHub Action 045106194c Updated designer version to 3.0.3-preview.115 2023-04-19 08:32:10 +00:00
Daxton Horspool 030e23f81f
#3890 Fixed Workflow Definition and Instance Browser Pagination (#3930)
* Fix WF Definition and Instance EF Impl.

Both Workflow Definition and Workflow Instance Browsers weren't paging correctly due to a missing Paginate IQueryable extension. Matched implementation detail for the Workflow Instance EF provider

* Workflow Instance browser persistence

Lookup settings are persisted in local storage for the workflow instance browser. Can be switched to session storage very easily, doesn't persist the search textbox value for now

* Workflow Definition browser persistence

Also added reset button for Workflow Instance settings, obviously resets everything to defaults and then persists
2023-04-19 10:28:14 +02:00
Sipke Schoorstra 31d24034d1 Update Email module
Fixes #3711
2023-04-18 22:14:18 +02:00
Sipke Schoorstra 8145e847e9 Merge remote-tracking branch 'origin/v3' into v3 2023-04-18 21:41:37 +02:00
Sipke Schoorstra 548bb34d3e Cleanup 2023-04-18 21:41:32 +02:00
GitHub Action 8445c13b47 Updated designer version to 3.0.3-preview.114 2023-04-18 19:33:40 +00:00
gurkanguran ecb95cc35d
Display generated version number on the designer (#3923)
* Implemented get version endpoint

* Get version from backend to display on designer

* Updated github pipelines

---------

Co-authored-by: Gürkan Güran <gguran@interfirst.com>
2023-04-18 21:29:55 +02:00
Sipke Schoorstra 3eb304e1ec
Fix flowchart completion bug (#3928)
* Ensure Flowchart completes when no more work

* Fix workflow instance JSON serializer

* Add tests that cover flowchart completion
2023-04-18 21:28:23 +02:00
GitHub Action 08671ebe39 Updated designer version to 3.0.3-preview.111 2023-04-18 12:56:12 +00:00
Daxton Horspool 8393713dd2
Tooltip Fixed Positioning (#3920)
Added support for Right, Left, Top, Bottom and Auto tooltip positioning. Auto positioning defaults to bottom, but repositions to top if the tooltip flows offscreen
2023-04-18 14:51:39 +02:00
Sipke Schoorstra be7cee7166 Fix hosted services configuration 2023-04-18 00:13:40 +02:00
Sipke Schoorstra 818019cd80 Minor Module optimizations 2023-04-18 00:08:24 +02:00
Sipke Schoorstra be911646e6 Add sample project for WorkflowContext module 2023-04-18 00:01:24 +02:00
Sipke Schoorstra 90e4b4680c Update PayloadSerializer to support Type serialization 2023-04-18 00:01:05 +02:00
Sipke Schoorstra 943df3d274 Cleanup and refactoring WorkflowContext APIs 2023-04-18 00:00:46 +02:00
Sipke Schoorstra 970d034037 Ensure app configuration gets invoked lastly 2023-04-17 23:59:02 +02:00
Sipke Schoorstra a5642034be Make sure all dependencies get invoked 2023-04-17 23:58:18 +02:00
Sipke Schoorstra b739f5c096 Fix missing feature dependency 2023-04-17 15:58:07 +02:00
Sipke Schoorstra c8d87cd763
Simplify Proto.Actor bookmarks and triggers (#3917)
* Refactor HTTP route table population

* Update workflow definition EF store to use abstract IWorkflowInstanceStore

This decoupling is necessary, because the application might not be using EF Core, but e.g. Elasticsearch

* Move workflow state persistence to the default workflow runtime feature

* Update JS handler to provide access to variables during trigger indexing

* Configure Proto.Actor runtime with different workflow pipeline

* Add sample using Proto.Actor runtime

* Replace BookmarkGrain with DB based persistence
2023-04-17 15:23:05 +02:00
Sipke Schoorstra 998fafa75c
Take latest version of no version specified (#3914) 2023-04-17 11:25:12 +02:00
Sipke Schoorstra c3ed7e7865
Improve JSON serializationfor workflow state (#3913)
* Incremental work on WorkflowStateSerializer

* Update Flow HTTP Request activity to default to Done outcome

* Fix reference handling

* Fix polymorphic object converter

* Add comments

* Add support for registering type alias during DI setup via options

* Fix trigger and bookmark payload persistence

* Update sample model

* Add support for custom dictionary types

* Split general serializer options provider into focused serializer services

* Formatting

* Update migrations
2023-04-17 00:11:58 +02:00
GitHub Action ac7f1f554b Updated designer version to 3.0.3-preview.107 2023-04-14 15:40:36 +00:00
Gürkan Güran 20d9b79abe Fix unpublish button 2023-04-14 17:36:41 +02:00
GitHub Action 56d8ac539d Updated designer version to 3.0.3-preview.106 2023-04-14 14:24:58 +00:00
Gürkan Güran d010dd5473 Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3 2023-04-14 16:19:40 +02:00
Gürkan Güran 6dabbd40ff Fix for variables in output tab not being refreshed 2023-04-14 16:19:38 +02:00
GitHub Action 8262cd2819 Updated designer version to 3.0.3-preview.105 2023-04-14 12:07:15 +00:00
Sipke Schoorstra 439d76d051 Experiment 3 2023-04-14 14:02:52 +02:00
Sipke Schoorstra 93d7de0912 Experiment 2a 2023-04-14 13:55:41 +02:00
Sipke Schoorstra 1a357f92ed Experiment 2 2023-04-14 13:54:31 +02:00
Sipke Schoorstra 7cac1c191e Experiment: lerna version 2023-04-14 13:50:59 +02:00
Sipke Schoorstra 402f6521c4 Revert version changes 2023-04-14 11:36:44 +02:00
Sipke Schoorstra d3d7d12105 Merge remote-tracking branch 'origin/v3' into v3 2023-04-14 11:27:52 +02:00
Sipke Schoorstra f652a3d86b Update wrapper 2023-04-14 11:26:42 +02:00
Gürkan Güran 996560b1ea Removed redundant code 2023-04-14 11:21:47 +02:00
Gürkan Güran 5ad12ba1bd Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3 2023-04-14 11:18:56 +02:00
Gürkan Güran 005f82c9d9 Refactor for instance viewer with subworkflows 2023-04-14 11:18:17 +02:00
Sipke Schoorstra 92985b1595 Update generated files 2023-04-14 11:08:07 +02:00
Mohamed Ali 2c4a0626ef
[no ci] update action to skip duplicate 2023-04-14 11:12:37 +03:00
Gürkan Güran 9448ed216b Show subworkflow activities in instance viewer flowchart 2023-04-14 09:54:21 +02:00
Sipke Schoorstra ed1192d223 Remove unnecessary cleanup
This is already done in the activity execution context itself
2023-04-13 22:40:41 +02:00
Sipke Schoorstra 1a389afb81 Fix Hangfire provider job cancellation cleanup 2023-04-13 22:34:07 +02:00
Sipke Schoorstra fb02379133 Fix tests 2023-04-13 22:23:07 +02:00
Sipke Schoorstra 98e0b4ae5f Graceful handling of task cancellation 2023-04-13 20:35:55 +02:00
Sipke Schoorstra 5c3a016140 Merge remote-tracking branch 'origin/v3' into v3 2023-04-13 20:05:47 +02:00
Sipke Schoorstra 17406c1db3 Implement activity cancellation 2023-04-13 20:05:14 +02:00
Sipke Schoorstra ae7b06059a Add sample endpoint that simulates a very slow one 2023-04-13 20:00:45 +02:00
Sipke Schoorstra b035255042 Add job runner in Mediator module 2023-04-13 19:59:57 +02:00