Commit graph

854 commits

Author SHA1 Message Date
Sipke Schoorstra efb27e73e5 Fix designer bg 2021-03-11 16:05:58 +01:00
Sipke Schoorstra 5df7621b5b Generate optimized tailwind css 2021-03-11 15:14:27 +01:00
Sipke Schoorstra 4a4961471a Implement Import feature 2021-03-11 14:51:17 +01:00
Sipke Schoorstra e66b410545 Implement Export feature 2021-03-11 14:51:17 +01:00
Sipke Schoorstra f61df66148
Activity editor tabs (#745)
* Add activity editor tabs

* WIP: Workflow Context activity tab

* Implement common activity settings
2021-03-11 11:28:19 +01:00
Craig Fowler 6f7d512a9f
Merge pull request #735 from craigfowler/feature/728-WorkflowInstances-not-persisting
Resolve #728 workflow instances weren't persisting
2021-03-11 09:01:07 +00:00
Craig Fowler 10094942a4 PR rework #728 - Remove repetitive logging 2021-03-10 20:15:52 +00:00
Craig Fowler 5c927501d0 PR rework #728 - Default persistence behavior
This reworks the way that the default behavior is selected, in line
with comments.  The changes to the enum are reverted, and the
three places which create a workflow definition are now altered to
explicitly choose WorkflowBurst

This includes a change to the TS enum definition - update to match
its C# counterpart.
2021-03-10 20:08:53 +00:00
Sipke Schoorstra edc9a5ceda Remove unnecessary workflowDefinition construction in constructor of workflow editor component 2021-03-10 20:55:53 +01:00
Sipke Schoorstra 7075b6ae77 Auto-clean invalid connections 2021-03-10 20:50:06 +01:00
Sipke Schoorstra 4eb3f47d30 Extract options and UI hint resolvers 2021-03-10 20:23:21 +01:00
Sipke Schoorstra 0442e1e699 Refactor options provider with DI support 2021-03-10 20:23:21 +01:00
Sipke Schoorstra 68675b685a Fix that icon components are reused 2021-03-10 20:01:20 +01:00
Sipke Schoorstra 14bf27942a Provide icons for core activities 2021-03-10 15:11:51 +01:00
Sipke Schoorstra f6cea85821 Package Monaco Editor worker initialization for easier reuse 2021-03-10 13:38:18 +01:00
Craig Fowler 7f5a6228cf Resolve #728 - Fix ActivityExecuted persistence
The PersistWorkflow service will now handle ActivityExecuted
persistence behaviour, presumably as-intended.
2021-03-09 20:09:36 +00:00
Craig Fowler 8751bead5a WIP #728 - Make WorkflowBurst default behaviour
In the comments to #728 it was suggested that
WorkflowBurst persistence behaviour was a more
sane default.
2021-03-09 19:57:45 +00:00
Craig Fowler 32bcf9a751 WIP #728 - Add test cases for persistence
This also includes a change to the workflow used in the test-case.
There are quite complex reasons for this, as explained here:

  https://github.com/elsa-workflows/elsa-core/issues/728#issuecomment-794319236

The real crux of it is that the workflow must have an activity
which suspends it, and that activity that suspends the workflow
must not be the starting activity.  This is why I added an unused
set-variable activity as the starter.

This commit shows that the various persistence test cases _mostly_
work OK, with the one exception of ActivityExecuted.
2021-03-09 19:57:02 +00:00
Sipke Schoorstra 98798c8dfd Fix designer to insert new activities connected between Start and existing target 2021-03-09 14:08:16 +01:00
Sipke Schoorstra dee30999b4 Implement drag&drop to change connections 2021-03-09 13:49:22 +01:00
Sipke Schoorstra 6220a49708 Implement delete connection on click 2021-03-09 13:49:22 +01:00
Sipke Schoorstra bba0878de3 Implement persistence of manually created connections 2021-03-09 13:49:22 +01:00
David Peters 91675c987b EFCore sample able to use any provider 2021-03-08 22:10:17 +01:00
David Peters 69d2260333 Sqlite indicies 2021-03-08 22:10:17 +01:00
David Peters 3d12e8969a WIP: SQL Server cant't index nvarchar(max) fields 2021-03-08 22:10:17 +01:00
David Peters 006101499b postgres migration 2021-03-08 22:10:17 +01:00
David Peters 0aa2f7d8b0 added EFCore indicies 2021-03-08 22:10:17 +01:00
Sipke Schoorstra 1241a75d15 Add Persistence Behavior setting to Workflow Definition settings dialog 2021-03-08 15:22:44 +01:00
Sipke Schoorstra 0e3f8b40b0 Add Unpublish button to workflow editor 2021-03-08 15:14:02 +01:00
Sipke Schoorstra b28f4d3897 Rename Unpublish endpoint to Retract 2021-03-08 15:14:02 +01:00
Sipke Schoorstra bbf04fb5c3 Update YesSql provider 2021-03-08 15:14:02 +01:00
Sipke Schoorstra d53aee02be Update migrations 2021-03-08 15:14:02 +01:00
Sipke Schoorstra 222d88c275 Add Retract endpoint 2021-03-08 15:14:02 +01:00
Sipke Schoorstra 972dd49139 Add Unpublish method to WorkflowPublisher 2021-03-08 15:14:02 +01:00
Sipke Schoorstra 62352e27ac Remove IsEnabled flag 2021-03-08 15:14:02 +01:00
Sipke Schoorstra b07eabc6c6 Add visual indicator when workflow being saved in the background 2021-03-08 13:39:01 +01:00
Sipke Schoorstra e9d68c0b75 Fix System.InvalidOperationException : 'No IConfigureOptions<>, IPostConfigureOptions<>, or IValidateOptions<> implementations were found.' 2021-03-08 10:38:09 +01:00
Sipke Schoorstra 286a9586ad Fix activity attribute on SendAzureServiceBusMessage 2021-03-07 13:00:23 +01:00
Sipke Schoorstra ed012d9c64 Fix Published notification message binding 2021-03-06 22:07:05 +01:00
Sipke Schoorstra 7481d3e08b Add Published notification 2021-03-06 22:04:30 +01:00
Sipke Schoorstra 5e665c9119 Add JS functions to get and set variables 2021-03-06 14:33:42 +01:00
Sipke Schoorstra 5d3385e594 Update elsa designer tailwind 2021-03-06 14:29:54 +01:00
Sipke Schoorstra d7d7bd4a7e Add RunJavaScript activity 2021-03-06 13:41:52 +01:00
Sipke Schoorstra dc95276abb Update SendEmail activity property UI hints 2021-03-06 09:40:49 +01:00
Sipke Schoorstra 21ac6866ea Add multi-text control 2021-03-06 09:40:49 +01:00
Sipke Schoorstra 0a4c564667 WIP: Add plugin model for customizing activity displays 2021-03-06 09:40:49 +01:00
Sipke Schoorstra 7f768f4b17 Update If activity to use expression editor input control for Condition 2021-03-06 09:40:49 +01:00
Sipke Schoorstra 4b33418cf7 Fix declarative composite activity definition to blueprint mapping 2021-03-04 21:52:23 +01:00
Sipke Schoorstra b5f5d5d223 Update Blazor Bindings with latest stencil component 2021-03-04 17:45:59 +01:00
Sipke Schoorstra f8d0a7ec03 Fix typo and client 2021-03-04 17:45:59 +01:00