Commit graph

409 commits

Author SHA1 Message Date
Sipke Schoorstra 42bcade5fc Add missing project 2020-12-26 16:01:49 +01:00
Sipke Schoorstra 310cab9032
Elsa Activity + Workflow registration refactorings (#543)
* Elsa options and activity/workflow registration improvements

* Add convenience extensions for Quartz and Hangfire timer activity registration

* Fix solution and warnings
2020-12-26 12:21:08 +01:00
Sipke Schoorstra 1bf53fb59a
Elsa 2.0/workflow editor (#541)
* Fix connection model porperty names

* Add workflow instance name to index

* Enable sample workflows

* Incremental work on activity displays

* Add custom activity display support

* Optimize workflow registry list endpoint model
2020-12-25 22:00:25 +01:00
Rafael Carnucci 92e1a1c3bf
Redesign activities and workflows management (#536)
* Adding Activities, Workflows, TriggerProviders and WorkflowContextProviders by Reflection

* Activities stored in ElsaOptions, instead of IServiceCollection

* Remove the empty XML comments

* Renamed ElsaConfigurationsOptions to ElsaConfiguration

* Small enhancements

* Workflows stored in ElsaOptions, instead of IServiceCollection

* Instantiated workflows can now be added

* Workflow instance was not registered to DI

* Add Elsa.Activities.Rebus project to solution

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-25 21:17:17 +01:00
Sipke Schoorstra b24ff99354 Fix build after merge 2020-12-23 12:50:34 +01:00
Rafael Carnucci 4274996dd9
Separate quartz (#516)
* Fix sample Elsa.Samples.FileBasedWorkflow

* Separate Quartz from Elsa.Activities.Timers

* Incremental work on Hangfire integration

* Incremental work on Hangfire integration

* Incremental work on Hangfire integration

* Incremental work on Hangfire integration

* Add CancelTimer

* ToCronExpression for Duration

* Removed SweepInterval

* Synchronize access to scheduler

* Refactoring RunHangfireWorkflowJob

* Optimize timer activities to always execute when target time stamp lies in past

* Refactoring TimersOptionsExtensions

* Added common.props and configureawait.props

* Rename CancelTimer to ClearTimer

* Wrong parameter name in comment

* Refactoring TimerConsts and RunQuartzWorkflowJob

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-23 12:38:09 +01:00
Sipke Schoorstra 8dbc3fe100
Workflow Execution Log (#530)
* Rename provider folder to locking

* Update project reference paths

* Incremental work on workflow execution log storage

* Fix deadlock

* Add workflow execution log stores
2020-12-21 17:08:32 +01:00
Sipke Schoorstra 07ad72ecda Fix key not found error when blueprint doesn't exist 2020-12-18 13:02:57 +01:00
Rafael Carnucci 0ba56f51b4
Enhance project structure (#524)
* Fix sample Elsa.Samples.FileBasedWorkflow

* Centralize project properties

* Fix PackageLicenseExpression

* Added configureawait.props & FodyWeavers.xml & FodyWeavers.xsd.

* Remove icon.png and added PackageIconUrl

* Removed <Nullable>disable</Nullable>

* Fix Icon in Elsa.Activities.MassTransit and Rebuild

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
2020-12-16 10:31:02 +01:00
Rafael Carnucci b22a9f8f8c
Added EntityChanged Trigger (#512)
Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
2020-12-14 19:57:33 +01:00
Sipke Schoorstra 8270ca8a15 Incremental work on dashboard workflow instance filters 2020-12-12 22:13:13 +01:00
Sipke Schoorstra f2aae986f4 Use in-memory persistence by default 2020-12-12 14:07:17 +01:00
Sipke Schoorstra f4ae24095f Fix solution 2020-12-11 22:06:20 +01:00
Sipke Schoorstra 5fda977d63 Fix Elsa.sln 2020-12-11 21:13:27 +01:00
Rafael Carnucci 3b35d9ff0a
Seperate YesSql (#504)
* Seperate YesSql and added InMemory, MongoDb

* Error fixed, if DatabaseInitializer is run through several times

* icon.png was not packed

* Added AddWorkflowProvider to AddElsaPersistenceMongoDb

* Wrong primary keys were used for MongoDb

* Refactorig MongoDb

* Register IMongoCollection<WorkflowDefinition> and IMongoCollection<WorkflowInstance> with DI

* Wrong Parameter Type in Constructor (MongoDbWorkflowInstanceRepository)

* Add workflowDefinition.WorkflowDefinitionId = _idGenerator.Generate(); to Initialize

* Removed duplicated code

* Correct wrong Commit

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-11 21:03:49 +01:00
Sipke Schoorstra 65a266dfdb Update Elsa.sln 2020-12-11 20:59:28 +01:00
Sipke Schoorstra bc443fe317 Update Elsa.sln 2020-11-23 17:23:30 +01:00
Sipke Schoorstra 956f8ed1fa Fix build 2020-11-18 19:59:00 +01:00
Sipke Schoorstra d4d928ce9c Update Elsa.sln 2020-11-03 11:17:17 +01:00
Sipke Schoorstra ed8bfb1963 Update Elsa.sln 2020-10-29 09:24:28 +01:00
Sipke Schoorstra e7193c9d22 Fix solution file 2020-10-23 15:09:04 +02:00
Sipke Schoorstra bd3b41440a Incremental work on tests and QA 2020-10-19 22:12:11 +02:00
Sipke Schoorstra 0c47a781d5 Update package descriptions and names 2020-10-18 17:42:34 +02:00
Sipke Schoorstra a9348e6946 Fix Elsa.sln 2020-10-18 17:28:24 +02:00
Sipke Schoorstra dd0e123828 Update packages 2020-04-19 15:39:28 +02:00
Sipke Schoorstra ede85a4572 Fix Elsa.sln 2020-04-19 13:04:49 +02:00
Sipke Schoorstra c542a5a531 Merge branch 'develop' into feature/elsa-2.0
# Conflicts:
#	src/activities/Elsa.Activities.ControlFlow/Activities/ForEach.cs
#	src/core/Elsa.Abstractions/Extensions/WorkflowExtensions.cs
#	src/core/Elsa.Abstractions/Models/WorkflowInstance.cs
#	src/core/Elsa.Core/Expressions/LiteralEvaluator.cs
#	src/dashboard/Elsa.Dashboard/Extensions/DashboardServiceCollectionExtensions.cs
#	src/dashboard/Elsa.Dashboard/Theme/argon-dashboard/package-lock.json
#	src/dashboard/Elsa.Dashboard/Theme/argon-dashboard/package.json
#	src/persistence/Elsa.Persistence.DocumentDb/Extensions/ServiceConfigurationExtensions.cs
#	src/persistence/Elsa.Persistence.EntityFrameworkCore/Extensions/EFCoreServiceCollectionExtensions.cs
#	src/persistence/Elsa.Persistence.EntityFrameworkCore/Migrations/MySql/MySqlContextModelSnapshot.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/MySql/20200402200706_Update01.Designer.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/MySql/20200402200706_Update01.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/PostgreSql/20200402200555_Update01.Designer.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/PostgreSql/20200402200555_Update01.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/SqlServer/20200402200549_Update01.Designer.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/SqlServer/20200402200549_Update01.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/Sqlite/20200402200519_Update01.Designer.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/Sqlite/20200402200519_Update01.cs
#	src/providers/Elsa.Persistence.EntityFrameworkCore/Migrations/Sqlite/SqliteContextModelSnapshot.cs
#	src/samples/Sample24/Program.cs
#	src/scripting/Elsa.Scripting.JavaScript/Services/JavaScriptHandler.cs
2020-04-17 20:34:39 +02:00
Sipke Schoorstra 7390fcd8ab Remove reference to deleted project 2020-04-13 12:05:54 +02:00
Sipke Schoorstra 60bfb4e7b2
Added Graphql (#246)
* Added GraphQL using Hot Chocolate
2020-02-15 20:32:16 +01:00
Sipke Schoorstra e7bf3f5ab6 Fix tests 2020-01-19 10:13:11 +01:00
Sipke Schoorstra a16811f517 Add Elsa.Activities.Reflection package to solution 2019-11-22 16:25:19 +01:00
Sipke Schoorstra b545fd2aea
Add Dockerfile and docker-compose (#186)
Fixes #142
2019-11-19 19:25:56 +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
Sipke Schoorstra e573eeac5b Add Dropbox activities project to solution 2019-09-28 10:53:32 +02:00
Jonathan Ruckert ee9b1ae649 Added in DocumentDb Persistence layer (#79) 2019-09-25 13:43:42 +02:00
Sipke Schoorstra 9a525055c0 Add Elsa.WorkflowDesigner to solution for build 2019-09-22 11:26:42 +02:00
Sipke Schoorstra 3726644dda Replace Scrutor with Scrutor.Elsa 2019-09-22 00:13:00 +02:00
Sipke Schoorstra d530853eaa
Add MongoDB persistence provider and fix other providers (#64) 2019-09-08 11:45:35 +02:00
Sipke Schoorstra 9ecd9309d5
Add dashboard middleware (#62)
* Incremental work on dashboard

* Updated models

* Various improvements:

- Delete
- Draft / Publish
- Fix JSON Patch for JObject

* Update workflow-definitions view

* Update packages

* Update workflow editor
2019-08-07 21:12:47 +02:00
Sipke Schoorstra 19e45d1c16
Implemented EF Core provider (#58) 2019-07-26 19:10:43 +02:00
Sipke Schoorstra 12448cde5b
Added UserTask activity (#55) 2019-07-25 18:10:17 +02:00
Sipke Schoorstra 86dcf2f994 Updated namespaces and excluded samples from main solution 2019-07-15 09:53:48 +02:00
Sipke Schoorstra 7cab475321
Added MassTransit support (#46) 2019-07-07 14:20:42 +02:00
Sipke Schoorstra 877674619d
Added HTTP trigger & signal (#44)
* Incremental work on signaling

* Incremental work on signal middleware

* Getting somewhere!

* Refactored middelware

* Added BadRequestResult and NotFoundResult
2019-07-06 20:36:10 +02:00
Sipke Schoorstra c72519b234 Reorganized folders a bit 2019-06-28 19:01:23 +02:00
Sipke Schoorstra 42d625da11 Added HTTP sample workflow 2019-06-28 18:55:12 +02:00
Sipke Schoorstra 16fdc89d87
Simplified everything (#40)
* Removed cruft

* Consolidated activity driver with activity

* Incremental work on serialization

* Incremental work on serialization

* WIP

* Incremental work on strongly typed defined workflows

* Removed old samples and added new ones

* Updated primitives and improved workflow builder API

* WIP (broken)

* Coded workflow API improvements

* Fixed Email and Http libraries

* Fixed start activity issue
2019-06-27 22:55:55 +02:00
Sipke Schoorstra e24116681f Removed web UI related code 2019-06-12 22:44:18 +02:00
Sipke Schoorstra 2f5feb0f76
Automatic activity UI (#36)
* Broken, WIP

* Generalized activity card & design shapes

* Implemented generic activity editor

* Added more editor templates

* Incremental work on workflow expression template
2019-06-06 19:54:26 +02:00
Sipke Schoorstra 18fd2954d3
Separate storage for workflow definitions and instances (#34)
* Separated storage for definitions and instances
* Updated package references
* Added some demos
* Some web fixes
* Updated README
2019-06-01 13:14:09 +02:00
Sipke Schoorstra a167799cd6
Implemented Cron activity (#23) 2019-02-16 20:57:59 +01:00
Sipke Schoorstra 54d16e9767
Added SendEmail activity (#19) 2019-02-16 11:57:45 +01:00
Sipke Schoorstra 02d8cd071b Initial views and controllers displaying workflow instances 2019-01-06 16:52:04 +01:00
Sipke Schoorstra d6c73201f7 Bug fixes 2019-01-05 15:02:22 +01:00
Sipke Schoorstra 6731968803 Updated HttpRequestTrigger activity to support reading request content body 2019-01-02 00:09:13 +01:00
Sipke Schoorstra 7f32b09fa7 Some weird fixes 2019-01-01 21:44:18 +01:00
Sipke Schoorstra 260c303434 Added package version tags 2019-01-01 17:45:25 +01:00
Sipke Schoorstra b89e430036 Renamed theme 2019-01-01 17:27:28 +01:00
Sipke Schoorstra 5fbc8f04a5 Rename to Elsa 2018-12-31 10:59:35 +01:00
Renamed from Flowsharp.sln (Browse further)