Commit graph

812 commits

Author SHA1 Message Date
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
Sipke Schoorstra 6eadac5736 Improve javascript engine 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 8aa40f9f73 Handle re-scheduling of temporal events after (re-)indexing triggers 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 9e31439802 Fix JavaScriptExpressionHandler string conversion 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 3b7e5aff57 Add dropdown control 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 9c6c141516 Add checkbox control 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 149916c73d Minor cleanup 2021-03-04 17:45:59 +01:00
Sipke Schoorstra bd23810972 Re-index workflow triggers when workflow definition gets published 2021-03-04 17:45:59 +01:00
Sipke Schoorstra b90e0c1a71 Implement workflow registry cache eviction upon workflow definition saving 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 59d2cf8239 Publish WorkflowDefinitionPublished event when publishing workflow definition 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 9cf13df50d Update TriggerFinder parameter naming 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 128705fd19 Make WorkflowBlueprintMaterializer resilient to missing properties 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 404339e097 Update TriggerIndexer to ignore deprecated IsEnabled flag 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 74a3ed5a15 WIP: Update HttpEndpoint with support for multiple HTTP methods 2021-03-04 17:45:59 +01:00
Sipke Schoorstra e15893bef2 WIP: Add JSON expression handler 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 1c948ba0e3 WIP: Improved code editor style and added check-list input editor 2021-03-04 17:45:59 +01:00
Sipke Schoorstra fe691f6d9c Refactor activity property type to UIHint 2021-03-04 17:45:59 +01:00
David Peters 51f9ed11f8 Added PostgreSql EFcore provider 2021-03-04 16:54:06 +01:00
Sipke Schoorstra 1daed3c1c3 Update Startup activities 2021-03-03 11:42:35 +01:00
Sipke Schoorstra a14f7cc267
Expressions editor (#695)
* A functioning monaco editor

* Incremental work on intellisense

* Add Workflow Context Options settings to designer

* Rudimentary work on variables
2021-03-02 09:00:51 +01:00
Sipke Schoorstra 33ea486901 Rename HttpRequestReceived to HttpEndpoint 2021-03-01 21:11:21 +01:00
Craig Fowler ec12edd129 Resolve #564 - Further renames Timer → Temporal
This is all trivial renaming of namespaces (and some cases directories)
to match the main work done in the ticket.
2021-02-28 20:49:34 +01:00
Craig Fowler ed81b5679a WIP #564 - Rename & alter temporal activity setup
Temporal activities no longer have a generalised extension method
for registering them with a service collecton.  It is still static and has
the same rough shape as an extension method.  This way it is less
visible and less likely to be called by accident.

Also in-line with changes in this branch, things have been renamed
  Timers → Temporal
2021-02-28 20:49:34 +01:00
Craig Fowler a0f0db4d54 WIP #564 - Removed reference/dependency from Elsa
Because the consumer must choose either Hangfire or Quartz impl
package, the main Elsa metapackage can no longer directly provide
Temporal activities.
2021-02-28 20:49:34 +01:00
Craig Fowler 16f5688d5b WIP #564 - Updates to package description 2021-02-28 20:49:34 +01:00
Craig Fowler b8f18996c6 WIP #564 - Rename Elsa.Activities.Timers impl projects
The project/NuGet package for implementation logic relating to
temporal actions has been renamed:
  Elsa.Activities.Timers.Hangfire → Elsa.Activities.Temporal.Hangfire
  Elsa.Activities.Timers.Quartz → Elsa.Activities.Temporal.Quartz

Whilst large numbers of C# files are "changed" by this commit,
it's just a straight move to a new path.
2021-02-28 20:49:34 +01:00
Craig Fowler 77a8f5be52 WIP #564 - Rename Elsa.Activities.Timers
The project/NuGet package for common logic relating to
temporal actions has been renamed:
  Elsa.Activities.Timers → Elsa.Activities.Temporal.Common

Whilst large numbers of files are "changed" by this commit,
it's just a straight move to a new path.
2021-02-28 20:49:34 +01:00
Craig Fowler ac44bf4535 WIP #564 - Bulk namepace change: Timers → Temporal
The name "Timers" is being replaced with "Temporal".  This commit
changes just the code (not project names/directories).
2021-02-28 20:49:34 +01:00
Jens Willmer 5ea9afb87e Time since option 2021-02-26 11:29:55 +01:00
Jens Willmer ab842d9193 Fixed code highlighting and auto complete 2021-02-26 11:28:55 +01:00
Sipke Schoorstra be718db55d Update WorkflowPersistenceBehavior in client package 2021-02-25 15:57:30 +01:00
Sipke Schoorstra 046cf53b06
Add WorkflowExecutionBurstStarting event to allow for persisting status changes before executing activities that potentially take a long time to finish (#666)
* Add WorkflowExecutionBurstStarting event to allow for persisting status changes before executing activities that potentially take a long time to finish

* Also persist workflow instance when burst is starting and behavior set to WorkflowPassCompleted
2021-02-25 15:43:12 +01:00
Sipke Schoorstra 5584ccfc90 Add sample project demonstrating invoking workflows from controllers 2021-02-25 13:33:14 +01:00
Sipke Schoorstra 3814ea6ff4
Update OutcomeResult to try a default connection via implicit "Done" outcome (#655)
* Update OutcomeResult to try a default connection via implicit "Done" outcome

* Add demo project for auto-connected activities
2021-02-24 14:29:56 +01:00
Craig Fowler b583c7f1a9
Resolves #485 - Add PurgeVariables functionality (#654)
* Trivial - Add VS Code workspace

* Trivial - Add VSCode build task & extra ignore

On GNU/Linux, auto-generated .directory
files should be ignored.

* WIP #485 - Boilerplate for unit test project

* WIP #485 - Add test coverage (Remove/RemoveAll)

* WIP #485 - Implement RemoveAll

* Remove redundant logic, covered by IDictionary

Per the following, the contract for a generic IDictionary,
the Remove method already deals with non-existent keys.

  https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2.remove?view=net-5.0#System_Collections_Generic_IDictionary_2_Remove__0_

* Resolve #485 - Add PurgeVariables methods

These are convenience methods upon ActivityExecutionContext
and WorkflowExecutionContext, consistent with their current APIs.

Also in this commit are tests for those simple methods.
There's a bit of test-scaffold as well included, such as:
* Autofixture Xunit2 integration
* New project for unit tests
* Customize attribute for avoiding crashes on Autofixture recursion
* Reusable specimen builder for creating IServiceProvider which
  resolves services from Autofixture
* Custonize attribute for a parameter to use that ^^ specimen builder
2021-02-24 14:29:03 +01:00
Sipke Schoorstra b2d6859331 Undo dictionary serialization processing 2021-02-22 16:27:43 +01:00
Sipke Schoorstra 7aa299553b Formatting 2021-02-21 11:00:35 +01:00
Sipke Schoorstra 05c15a2eaf Autogenerate switch case labels 2021-02-20 21:21:18 +01:00
Sipke Schoorstra f048e6d3ef
Refactor Switch builder API (#649)
* Refactor Switch builder API

* Remove unused namespaces
2021-02-20 20:47:56 +01:00
Sipke Schoorstra 0bf3fecf18 Rename IfElse to If 2021-02-20 15:56:32 +01:00
Sipke Schoorstra 49108a9544 Add missing bindings project 2021-02-20 15:42:49 +01:00
Sipke Schoorstra a29905bae2
Introduce AmbientActivityExecutionContext to support direct access to composite activity input properties from child activities (#648) 2021-02-20 15:23:39 +01:00
Sipke Schoorstra 15f1411838
Add support for scoped variables (#647) 2021-02-20 12:45:16 +01:00