Sipke Schoorstra
40eef28fc7
Add web farm hosting support ( #229 )
...
* Implement distributed lock provider and workflow queue worker
* Add SQL Server lock provider
2020-01-14 23:11:50 +01:00
Sipke Schoorstra
c889a7a5d0
Merge branch 'develop' into feature/elsa-2.0
...
# Conflicts:
# src/core/Elsa.Abstractions/Converters/TypeNameHandlingConverter.cs
# src/core/Elsa.Abstractions/Serialization/Handlers/DefaultValueHandler.cs
# src/core/Elsa.Abstractions/Serialization/Handlers/IValueHandler.cs
# src/core/Elsa.Abstractions/Serialization/Handlers/ObjectHandler.cs
# src/core/Elsa.Abstractions/Serialization/Handlers/PrimitiveValueHandler.cs
2020-01-12 20:34:20 +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
6ea6498ca0
Fix issue due to parallel access to DbContext
...
Fixes #219
2020-01-06 21:11:05 +01:00
James Doran
7aa9f0510f
Fixed Serialization for Objects ( #220 )
...
Registered ObjectHandler in TypeNameHandlingConverter
Passed through object type in IValueHandler.Serialize to be written as TypeName
2020-01-06 19:32:25 +10:30
Sipke Schoorstra
b2ad297a0d
Fix README.md
2020-01-04 11:17:11 +01:00
Sipke Schoorstra
f938c32a8f
Rename destination activity to target activity
2019-12-28 20:23:33 +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
ebc2a4a89e
Added VariableExpression ( #217 )
...
* Add VariableExpression
* Workflow Runner bug fixes
2019-12-25 12:10:39 +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
Sipke Schoorstra
bd422f5d14
Feature/persist on every activity ( #215 )
...
* Add support for resuming crashed workflow hosts
* Add workflow persistence behavior
2019-12-21 12:34:27 +01:00
Sipke Schoorstra
452516bdfa
Merge branch 'develop' into feature/elsa-2.0
...
# Conflicts:
# src/persistence/Elsa.Persistence.YesSql/StartupTasks/InitializeStoreTask.cs
2019-12-21 12:32:04 +01:00
Sipke Schoorstra
0fbb47ff8f
Fix broken Sample23
2019-12-21 10:45:16 +01:00
Sipke Schoorstra
80ad40824e
Fix broken date/time/nodatime serialization ( #214 )
...
Added extensible support for specialized primitive handling such as
DateTime and NodaTime primitives.
This fixes the issue where a Variable is serialized using a primitive's
string representation and losing the target type, which is needed for
reconstructing the type upon deserialization.
2019-12-21 10:05:10 +01:00
James Doran
6addf0f974
YesSql now stores schema version ( #213 )
2019-12-21 08:54:32 +10:30
Sipke Schoorstra
56402c33ba
Merge branch 'develop' into feature/elsa-2.0
2019-12-19 17:08:13 +01:00
Sipke Schoorstra
57a8693c21
Explicit EF identity specification + DateTime serialization issue ( #212 )
...
* Explicitly specify identity for Id columns
This fixes an issue where EF Core 2.2 does not set Identity = Yes when
defining the Id columns.
* Fix DateTime serialization issue
This change fixes an issue by taking over the serialization of a DateTime value.
The problem with serializing a DateTime value as-is is that upon deserialization, the JToken type would be set as String instead of Date.
This is because NodaTime disables automatic date time handling for Instant types.
However that causes an issue when trying to serialize and deserialize DateTime values.
This change explicitly tests for DateTime values and handles it appropriately.
A future improvement might be to make this TypeNameHandlingConverter class extensible by implementing a provider-based model,
enabling developers to take control over how certain types are serialized.
2019-12-19 17:07:23 +01:00
Sipke Schoorstra
853abf4e62
Merge branch 'develop' into feature/elsa-2.0
...
# Conflicts:
# Samples.sln
# Samples.sln.DotSettings
# src/samples/Sample04/Program.cs
2019-12-17 21:50:53 +01:00
Sipke Schoorstra
1daf8e25a0
Remove compiler warnings
2019-12-17 21:44:40 +01:00
Nate Hughey
e55c17ea92
Feature - Customize Elsa.Persistence.EntityFrameworkCore Migrations and Schema ( #204 )
...
* Added PostgreSql support to Elsa.Persistence.EntityFrameworkCore via Npgsql.
* Customize Elsa.Persistence.EntityFrameworkCore Migrations and Schema.
* Added Context factory in Sample23 to use the IDbContextCustomSchema.
* Refactor the Custom Schema support to use the EFCore IDbContextOptionsExtension.
2019-12-17 21:38:58 +01:00
James Doran
205487425a
Variable fixes ( #211 )
...
* GetVariable<T> now uses Convert.ChangeType
Fixes issue where saving an Int32, serialising and deserialising, then accessing with GetVariable<int>(...) no longer causes type cast exception.
The saved value is a JValue which treats Int32 as Int64. Convert.ChangeType has a better chance of performing conversion without error.
Also returns default of T if the variable isn't found.
* Added SetVariable overload in Variables
To prevent double-wrapping objects in more than 1 Variable object
2019-12-13 17:51:01 +10:30
James Doran
c8d7ac076f
YesSql instance storage fixes ( #209 )
...
* WorkflowInstanceIndex now stores records correctly
* Saving a workflow instance now updates existing instance rather than creating a new document
* Fixed serialisation exception when saving existing instance containing NodaTime types
2019-12-11 08:15:05 +01:00
Sipke Schoorstra
61c9ac48c7
Update packages
2019-12-10 15:46:49 +01:00
Andale-online
d9e27377b0
Feature: Startup Activities ( #206 )
...
* Feature: Startup Activities
2019-12-04 18:20:01 +01:00
Sipke Schoorstra
21744a5056
Update Sample04 with printing execution log to console
2019-12-04 13:10:47 +01:00
Sipke Schoorstra
dce24b4f3b
Refactor rename to updated workflow terminology
2019-11-29 13:32:05 +01:00
nhughey-evo
a89897b8e1
Feature: Persistence Provider -> Added PostgreSql support to Elsa.Persistence.EntityFrameworkCore via Npgsql ( #201 )
2019-11-28 11:35:30 +01:00
Sipke Schoorstra
98fe6d21d7
Add SQL Server example
2019-11-26 22:54:06 +01:00
Sipke Schoorstra
b7103188fd
Incremental work on GraphQL
2019-11-24 22:02:14 +01:00
Sipke Schoorstra
34a3872693
Remove LastResult, refactor activity output
2019-11-24 15:25:16 +01:00
Sipke Schoorstra
d9cf7c4f1c
Incremental work on GraphQL
2019-11-23 15:08:40 +01:00
James Doran
7356bf10c8
Moved JavaScript DI extension method namespace ( #179 ) ( #196 )
2019-11-23 08:21:20 +01:00
Antoine Griffard
6c2960e1dd
Fix link on Orchard Core doc ( #195 )
2019-11-22 23:52:10 +01:00
Sipke Schoorstra
baef007e2b
Incremental work on GraphQL
2019-11-22 23:07:31 +01:00
Sipke Schoorstra
ac3ea9573f
Add icons to packages
2019-11-22 17:34:55 +01:00
Sipke Schoorstra
4b78e2740b
Package icon test
2019-11-22 17:21:42 +01:00
Sipke Schoorstra
a16811f517
Add Elsa.Activities.Reflection package to solution
2019-11-22 16:25:19 +01:00
James Doran
2e3993c472
Switch activity now sets "Result" output variable with the expression result ( #193 )
2019-11-22 15:32:41 +01:00
Peter Davis
2eab1fc080
Control flow extension methods ( #192 )
...
Just makes the code a little more readable 🙂
2019-11-22 15:32:19 +01:00
Sipke Schoorstra
675c0e94b0
Replace SmtpClient from System.Net.Mail with MailKit's ( #194 )
...
* Replace SmtpClient from System.Net.Mail with MailKit's
2019-11-22 15:29:35 +01:00
James Doran
de57602023
Merge pull request #190 from elsa-workflows/feature/scripting-config
...
Add script options configuration (#179 )
2019-11-22 08:42:51 +10:30
James Doran
e805a74ad7
Moved WithJavaScriptOptions extension method into Elsa.Scripting.JavaScript project ( #179 )
2019-11-22 08:37:06 +10:30
Sipke Schoorstra
4ea15fc10a
Add Docker badge
2019-11-21 22:56:17 +01:00
James Doran
9556b80016
Add script options configuration ( #179 )
2019-11-21 21:09:58 +10:30
Peter Davis
e05192086e
Scheduled MassTransit message delivery ( #175 )
...
Creating a sample workflow with scheduled message delivery
* Add MassTransit quartz job factory
* Add cancel schedule message activity
* Correlate MassTransit messages to workflow based on message properties
* Add cart expired and submitted workflow steps
* Add message schedule options configuration
* Code cleanup
* Update launch settings
* Cleanup send and publish activities
* Add scheduled time expression property
2019-11-21 08:14:01 +01:00
Peter Davis
e47a952039
Add the ability to publish events via MassTransit ( #187 )
2019-11-20 10:27:53 +01:00
Sipke Schoorstra
b545fd2aea
Add Dockerfile and docker-compose ( #186 )
...
Fixes #142
2019-11-19 19:25:56 +01:00
James Doran
788fe49225
Switch activity is now case-insensitive when matching expression result to outcomes ( #183 )
2019-11-19 08:47:17 +01:00
James Doran
6714308558
JavaScriptExpresionEvaluator now takes into account the target type when performing conversion ( #185 )
2019-11-19 08:42:28 +01:00
Peter Davis
bbfbba53ce
Fix issue with property expressions throwing invalid cast exceptions ( #173 )
...
Expression was returning the JValue of the property and was unable to convert to a string.
2019-11-18 08:07:33 +01:00