Commit graph

222 commits

Author SHA1 Message Date
Sipke Schoorstra cf6c80ab85
Add email module (#3469) 2022-11-24 14:28:29 +01:00
Sipke Schoorstra f6a06f6f45 Merge MemoryCache module with Common module 2022-11-23 11:17:22 +01:00
Sipke Schoorstra 660cfbfd05 Update DB context class names and create SQL Server provider 2022-11-20 19:00:03 +01:00
Sipke Schoorstra 8cc8d1bcbf
Telnyx integration (#3453)
* Incremental work on Telnyx integration

* Incremental port of Telnyx activities

* Fix polymorphic JSON serialization for webhook data

* Fix IsFirstPass logic

* Fix trigger base to prevent activity auto completion

* Temporarily disable persistent snapshotting provider for testing

* Fix namespaces

* Add method to register activities in bulk using marker type

* Fix Telnyx refit client setup

* Register all Telnyx activities by default

* Incremental work on webhook driven resumption and correlation

* Incremental work on post-bookmark signaling

* Fix bookmark resolution

* Include correlation ID with bookmark

* Fix Telnyx resumption input

* Replace bookmark persisted signal with handler

* Fix SpeakText completion

* Add flow outcomes to SpeakText activity

* Update GatherUsingSpeak and GatherUsingaudio

* Refactor "is first pass" concept

* Fix WebhookEvent activity

* Add HTTP absolute URL provider

* Formatting and small changes

* Various API enhancements
2022-11-19 22:30:43 +01:00
Sipke Schoorstra 5e35dad9e7 Update samples 2022-11-10 16:00:13 +01:00
Sipke Schoorstra ecf5ff77cf Remove old samples and initiate new samples 2022-11-10 14:40:37 +01:00
Sipke Schoorstra 50d81b45c6 Update ci workflow 2022-11-10 12:50:19 +01:00
Sipke Schoorstra 0a6a25b1fd Update build configs 2022-11-10 12:06:50 +01:00
Sipke Schoorstra 09d4dbd5a4 Add GitHub actions 2022-11-09 13:53:04 +01:00
Sipke Schoorstra 31942ae96f
Implement async workflow state exporter for DB workflow instance (#3291)
* Incremental work on in-process message consumers

* Implement asynchronous workflow state DB exporter

* Fixes
2022-09-07 17:28:36 +02:00
Sipke Schoorstra b3bae39bfe
Default Runtime & Persistence (#3287)
* Delete DefaultWorkflowInvoker.cs

* Incremental work

* Refactor runtime

* Implement workflow state store + bookmark store

* Cleanup

* Update migrations

* Move store abstractions to management and runtime projects

* Consolidate persistence providers into single package

* Generate migrations

* Regenerate migrations

* Fix DI of memory stores

* Update migrations

* Refactor definition reference due to unserializable record

* Update web server bundle to use EF core by default

* Update Bookmark.cs

Fixes System Text Json deserialization
2022-09-04 17:04:14 +02:00
Sipke Schoorstra 6f5a02966e Squashed commit of the following:
commit f5266d120035646b13b580987fc17192d3b0d86f
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 15:46:50 2022 +0200

    Add memory user and role store

commit 96b2e97b460ee6708b6c1792ae85c51f96b139f8
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 14:46:27 2022 +0200

    Add session storage support for auth session

commit a4a52d402d371d4b8a5b6f6281059b81522316b2
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 14:22:08 2022 +0200

    Implement login screen

commit 5b1e509d3f9306b9f4803de04f2d9c1c7a3fc41b
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Tue Aug 30 15:04:40 2022 +0200

    Incremental work on auth

commit eccca88c07653b440f85069785416e1ce247d0d4
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Mon Aug 29 14:50:08 2022 +0200

    Add couple of read wildcards for testing

commit 1b38596a34c1d56d11edc82f5b974e06ac2fde0e
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Mon Aug 29 14:40:49 2022 +0200

    Incremental work on identity module
2022-08-31 15:47:10 +02:00
Sipke Schoorstra 078f21cf61 Incremental work 2022-08-26 21:59:17 +02:00
Sipke Schoorstra 5f9ea3e045 Update Elsa.sln 2022-08-25 20:00:17 +02:00
Sipke Schoorstra 8e9bb60d63 Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3
# Conflicts:
#	Elsa.sln
2022-08-25 19:59:53 +02:00
Sipke Schoorstra dee71aa0da Scaffold two new sample projects 2022-08-25 19:56:18 +02:00
cristinamudura e5d5aec1a7
Added proto actor implementation for kubernetes and refactored relevant projects to contain the only needed classes. (#3256) 2022-08-17 21:39:08 +02:00
Sipke Schoorstra e942f799ec Add default implementations for job queue and scheduler 2022-08-11 12:45:07 +02:00
Sipke Schoorstra 3174399517 Initial work on job activities 2022-07-26 23:30:42 +02:00
Sipke Schoorstra 4ed7f4b5da
Designer Activity Definitions (#3221)
* Incremental work on custom activities

* Incremental work on refactoring versioned entities

* Add ActivityDefinition infrastructure

* Incremental work on activity definition manager

* Incremental work on API endpoints

* Refactored flowchart component to include hierarchical nav

* Incremental work on modularization of designer component

* Restructuring into modules

* Rename CustomActivities module

* Apply security

* Fix activity definition GET endpoint

* Incremental work on activity definition provider

* Incremental work on activity definition execution

* Update ActivityDefinitionMaterializer.cs

* Update ActivityDefinitionActivityProvider.cs

* Add activity definition referenced version update handler

* Maintain position of not found activity

* Fix prefix naming
2022-07-21 16:18:42 +02:00
Sipke Schoorstra a28d2eb63a
Features API (#3081)
* Rename module and features

* Move Mediator, AspNetCore and Expressions to modules folder

* Update labels-widget.tsx
2022-05-27 12:36:39 +02:00
Sipke Schoorstra 76b9ae96fb Cleanup 2022-05-26 17:05:36 +02:00
Sipke Schoorstra fccf4737e2
V3 modular configuration (#3070)
* Restructuring (WIP)

* Fix warnings

* Move DSL to modules

* Update namespaces

* Make design factory base reusable

* Update service registrations

* Remove unused namespaces and rename ElsaDbContext

* Incremental work on migrations

* Generate WorkflowsDbContext SQLite migrations

* Rename ServiceCollectionExtensions

* Update DbContextOptionsBuilderExtensions.cs

* Restructure

* Configuration refactorings (WIP)

* Incremental work on configurator API

* Incremental work on configuration API

* Incremental work on configuration API

* Fix workflow runtime options

* Move standard stream providers

* Implement configurator dependencies

* Cleanup configurator API

* Update configurator dependencies

* Cleanup

* Update Label API endpoints

* Fix eager configuration issue
2022-05-26 12:47:31 +02:00
Sipke Schoorstra 0729d35ab6 Refactor API endpoints 2022-05-08 23:07:26 +02:00
Sipke Schoorstra a44ceaeb55
Implement V3 stores (#2980)
* Implement IWorkflowInstanceStore

* Implement IWorkflowDefinitionStore

* Implement IWorkflowTriggerStore

* Implement IWorkflowBookmarkStore

* Implement IWorkflowExecutonLogStore

* Restructure folders

* Persist workflow instance status timestamps
2022-04-30 15:10:11 +02:00
Sipke Schoorstra 261c9cb1a5
Implement Default Workflow Invoker (#2979)
* Implement default invoker

* Proto actor improvements

* Refactor workflow registry handling

* Update migrations
2022-04-30 11:10:08 +02:00
Sipke Schoorstra be77c5667e Add samples and docker support 2022-04-29 14:40:25 +02:00
Sipke Schoorstra e8ba302500 Incremental work on tests 2022-04-12 15:55:35 +02:00
Sipke Schoorstra 78a799edb9 Incremental work on proto actor and service bus 2022-04-10 14:35:53 +02:00
Sipke Schoorstra b23ebdaddd Restructuring 2022-03-22 14:33:15 +01:00
Sipke Schoorstra 4f3a3de208 Various API enhancements 2022-03-08 22:41:12 +01:00
Sipke Schoorstra c33549c291 Add WorkflowContexts module 2022-03-08 14:40:47 +01:00
Sipke Schoorstra f5aeaf9120 Various refactorings 2022-03-07 22:56:16 +01:00
Sipke Schoorstra 9210a75553 Add RunJavaScript activity 2022-03-07 15:42:12 +01:00
Sipke Schoorstra 88609d5a62 Incremental work on Azure Service Bus module 2022-02-21 16:13:55 +01:00
Sipke Schoorstra 34f851d8c7 Refactor module structure 2022-02-01 20:45:11 +01:00
Sipke Schoorstra c15f3097f8 Upgrade packages 2022-01-18 20:35:44 +01:00
Sipke Schoorstra 6e969bfa5f Split scheduling activities into scheduling library and activity library 2022-01-18 12:39:05 +01:00
Sipke Schoorstra 1949221b23 Incremental work on scheduling activities 2022-01-13 22:38:01 +01:00
Sipke Schoorstra 803f74b8b5 Rename Timers project to Scheduling 2022-01-12 14:39:19 +01:00
Sipke Schoorstra 6e56d83e4d Initial version of liquid handler 2022-01-12 12:37:40 +01:00
Sipke Schoorstra 689147b9ca Add sources from experimental repo 2022-01-04 09:42:12 +01:00
Sipke Schoorstra 42ce946d64 Reset 2022-01-04 09:38:11 +01:00
Yopi Cahya 4933a2e81e
Upgrade all projects to .NET6.0 (#2616)
* Upgrade all projects to .NET6.0

* Add compatibility NET5.0

* Add compatibility NET Core 3.1

* Update appveyor.yml

* Update packages

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

Remove common Authorization package

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

reimplement fix for #1568

* reimplement fix for #1611

* add missing .netcoreapp3.1 references to persistence packages

* fix Jint reference

* change samples and tests to target .NET 6

* cleanup multi-targeting conditions in samples/tests

* revert Elsa and Elsa.Temporal.Common to .netstandard2.1 only

* Update docker files to use net6.0 SDK

* Fix docker poor performance on arm64

* Update Elsa.sln

* Update Elsa.Activities.RabbitMq.csproj

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Co-authored-by: Mohamed Ali <antivirus.cs@gmail.com>
2021-12-26 22:31:35 +01:00
Konstantins Vedenins 5c6dc307f5
Closes #2489, MQTT activity (#2615)
* added MQTT activity

* Added common.props to Elsa.Activities.Mqtt, downgraded to .NET 5

* updated project settings for MQTT

* removed implicit usings from MQTT projects
2021-12-22 11:49:57 +01:00
Konstantins Vedenins 834475cfca
moved workflowtesting module into folder, fixed number of warnings (#2603) 2021-12-20 10:21:34 +01:00
Konstantins Vedenins f8c174df14
Closes #1660: Added RabbitMQ activities (#2547)
* Added RabbitMQ activities

* Added RabbitMQ activities

* RabbitMQ: cleaned up & refactored, added sample project

* reverted change that re-written other update during conflict resolve

* removed queue listener toggle for RabbitMQ receiver, refactored workers
2021-12-16 14:33:03 +01:00
Sipke Schoorstra 0df2269df5 Fix Dockerfiles to apply custom Nuget.Config 2021-11-22 22:03:44 +01:00
Konstantins Vedenins 621f0ccf2e
Closes #676: Execute single activity (#2438)
* #676 added restartFromActivity server implementation

* #676: restart from activity - added client side implementation

* #676: renamed method to better reflect it's purpose

* #676: moved workflow test activity message status to enum

* #676: when workflow is executed, first activity is selected

* #676: moved workflow testing to a separate module

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-11-19 20:54:49 +01:00
Sipke Schoorstra 0e42ad5fe0 Update workflow launchpad to prevent duplicate correlated workflow instances 2021-11-01 11:15:00 +01:00