Sipke Schoorstra
b6a7a38b21
Add intellisense support for dynamic HttpEndpoint output
...
Fixes #2526
2021-11-25 22:32:33 +01:00
Sipke Schoorstra
9f36d668f7
Fix intellisense context
...
Fixes #1553
2021-11-25 12:31:34 +01:00
Sipke Schoorstra
62afa2f918
Fix accidental C#10 syntax
2021-11-22 22:02:55 +01:00
Sipke Schoorstra
daaabfbf5b
Add base64 encoding JS functions
2021-11-22 18:34:06 +01:00
axeleron007
08235ce8d4
Merge branch 'master' into manual_workflow_trigger
2021-09-14 15:19:10 +03:00
axeleron007
14c7582a32
Workflow Execution development
2021-09-13 18:29:40 +03:00
Andrey Mishurinsky
a24fa583cc
some test changes
2021-09-02 09:47:31 +03:00
Sipke Schoorstra
3c4a10d650
Implement infinite loop detection and handling
2021-09-01 19:06:07 +02:00
Sipke Schoorstra
97a9619fad
Add support for email attachments
2021-06-16 17:03:06 +02:00
Sipke Schoorstra
757a2f566f
Refactor activity state serialization to support property types typed as object
2021-06-07 22:04:36 +02:00
Sipke Schoorstra
d339b8d389
Add support for JProperty objects
2021-06-05 13:00:38 +02:00
Sipke Schoorstra
7e9ac20e8d
Fix named activity missing in intellisense and blacklist many system types
2021-05-30 12:51:58 +02:00
Sipke Schoorstra
d033b56d29
Increase javascript intellisense coverage
2021-05-30 12:51:58 +02:00
Sipke Schoorstra
094eccd572
Implement Switch expression evaluation
2021-04-12 22:29:58 +02:00
Sipke Schoorstra
df6ad74eec
Replace custom distributed locking implementation with DistributedLock
...
https://github.com/madelson/DistributedLock
2021-04-07 13:13:13 +02:00
Craig Fowler
8e16f5f269
Related to #761 - Refactor complex conversion
...
This removes all of the (now actually non-trivial) conversion logic from
the class which is actually responsible for executing the Jint engine.
This moves it all to a new service which uses chain of responsibility to
convert the result, using one of a few different mechanisms.
Of note is the handling of ExpandoObject when no specific type
information has been provided, and also the handling of enumerables,
with the exception of strings.
2021-04-01 20:25:09 +02:00
Sipke Schoorstra
d7d7bd4a7e
Add RunJavaScript activity
2021-03-06 13:41:52 +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
d41039b567
Rename extensions namespace
2020-12-18 11:35:29 +01:00
Sviataslau Hankovich
6551b61ead
Simplify Options, get rid of OptionsBuilder ( #431 )
...
* Minor cleanup
* Fix namespaces
* Simplify options
2020-10-27 12:32:53 +01:00
Sipke Schoorstra
7a7d032e9e
Remove unused namespaces
2020-10-11 14:33:56 +02:00
Sipke Schoorstra
7e45845a47
Introduce Workflow Instance Manager and Workflow Definition Manager
2020-10-11 14:33:18 +02:00
Sipke Schoorstra
60bfb4e7b2
Added Graphql ( #246 )
...
* Added GraphQL using Hot Chocolate
2020-02-15 20:32:16 +01:00
Sipke Schoorstra
aefe630f42
Merge branch 'develop' into feature/elsa-2.0
...
# Conflicts:
# Samples.sln
# src/core/Elsa.Abstractions/Elsa.Abstractions.csproj
# src/core/Elsa.Core/Elsa.Core.csproj
# src/persistence/Elsa.Persistence.EntityFrameworkCore/Extensions/EFCoreServiceCollectionExtensions.cs
# src/providers/Elsa.Persistence.EntityFrameworkCore/Elsa.Persistence.EntityFrameworkCore.csproj
# src/providers/Elsa.Persistence.YesSql/DbContexts/DesignTimeDbContextFactoryBase.cs
# src/providers/Elsa.Persistence.YesSql/DbContexts/MySqlContext.cs
# src/providers/Elsa.Persistence.YesSql/DbContexts/MySqlContextFactory.cs
# src/providers/Elsa.Persistence.YesSql/Elsa.Persistence.YesSql.csproj
# src/providers/Elsa.Persistence.YesSql/Migrations/MySql/20200113102615_InitialCreate.Designer.cs
# src/providers/Elsa.Persistence.YesSql/Migrations/MySql/20200113102615_InitialCreate.cs
# src/providers/Elsa.Persistence.YesSql/Migrations/MySql/MySqlContextModelSnapshot.cs
# src/samples/Elsa.Samples.Timers/Elsa.Samples.Timers.csproj
# src/samples/Sample05/Program.cs
# src/samples/Sample08/Sample08.csproj
# src/samples/Sample08/Startup.cs
# src/samples/Sample14/Program.cs
# src/samples/Sample14/Sample14.csproj
# src/samples/Sample16/Sample16.csproj
# src/samples/Sample18/Program.cs
# src/samples/Sample18/Sample18.csproj
# src/samples/Sample19/Sample19.csproj
# src/samples/Sample19/Startup.cs
# src/samples/Sample21/Sample21.csproj
# src/samples/Sample21/Startup.cs
# src/samples/Sample22/Program.cs
# src/samples/Sample22/Sample22.csproj
# src/samples/Sample23/Program.cs
# src/samples/Sample23/Sample23.csproj
2020-01-16 21:23:45 +01:00
Sipke Schoorstra
7b94637386
Code-first improvements ( #223 )
...
* Refactor workflow model and scheduler
* Improve workflow builder API
2020-01-12 20:15:57 +01:00
Sipke Schoorstra
1338dc0a95
Container Activities ( #218 )
...
* Add support for child activities.
* Add type map feature.
* Update While, For and ForEach activities
2019-12-28 10:56:12 +01:00
Sipke Schoorstra
8092d166a5
Add native .NET code support + activity input/output ( #216 )
...
* Add code activity
* Refactor Workflow State to use Variables
* Update InstantEvent and SetVariable
* Update samples
* Add activity input/output
2019-12-23 21:43:11 +01:00
James Doran
7356bf10c8
Moved JavaScript DI extension method namespace ( #179 ) ( #196 )
2019-11-23 08:21:20 +01:00
James Doran
e805a74ad7
Moved WithJavaScriptOptions extension method into Elsa.Scripting.JavaScript project ( #179 )
2019-11-22 08:37:06 +10:30
James Doran
9556b80016
Add script options configuration ( #179 )
2019-11-21 21:09:58 +10:30
James Doran
6714308558
JavaScriptExpresionEvaluator now takes into account the target type when performing conversion ( #185 )
2019-11-19 08:42:28 +01:00
Sipke Schoorstra
21f770bc48
Refactorings and fixes ( #168 )
...
* Variables are now stored including their type name for automatic deserialization into their actual type. This is important for use in expressions.
* **SplitObject** and **ExecuteMethod** now use workflow expressions instead of variable names. This allows for more flexibility.
* Improved **Join** activity to allow proper function within looping constructs.
* Improved Variables performance. Variables are no longer serialized/deserialized upon writing/reading perspectively, only when the workflow instance is persisted.
2019-11-17 20:43:16 +01:00
Sipke Schoorstra
57f116c239
Fix object disposed bug ( #116 )
...
* Refactor buggy SignalRequestHandler
For some reason, the following code is problematic:
await DecryptToken()
.BindAsync(GetWorkflowInstanceAsync)
.BindAsync(CheckIfExecutingAsync)
.MapAsync(ResumeWorkflowAsync);
Basically, any lambda in the BindAsync and MapAsync could execute even after the containing method returned
* Implement better message handler registration without adding multiple IMediator services
* Abstracted Mediator service registration methods.
* Add Liquid support for JObject.
2019-10-31 21:31:18 +01:00
Sipke Schoorstra
aef8741d84
Add Liquid expressions ( #111 )
...
* Reorganize projects
* Implement Liquid expression evaluator
* Refactor activity references to use `Name`
2019-10-27 15:38:37 +01:00