Commit graph

1207 commits

Author SHA1 Message Date
Sipke Schoorstra dca9bf2509 Initial version of workflow instance viewer 2021-04-19 21:28:59 +02:00
Sipke Schoorstra 2eb4366628 Fix Hangfire setup in sample server project 2021-04-19 15:06:30 +02:00
Sipke Schoorstra 138d9be12c Add Send + Receive blocking workflow sample 2021-04-19 13:55:33 +02:00
Sipke Schoorstra 45ef7efd95 Delete temporary Azure Service Bus credentials 2021-04-19 13:55:33 +02:00
Sipke Schoorstra 347c188ab1 Ensure that StartupRunner hosted service is registered before Elsa Options get evaluated
This prevents an issue when the user invokes StartWorkflow<T>, which would register the StartWorkflow<T> hosted service before the StartupRunner hosted service is registered.
The problem with that is that the migrations runner for EF Core executes *after* the StartWorkflow hosted service, which would then fail because the DB isn't prepared at that point.
2021-04-19 13:55:33 +02:00
Sipke Schoorstra 6fc7e2031d Revert 5ed136a41f
Fixes #876
2021-04-19 13:55:33 +02:00
Christoph Keller 1b948149d0 Added Interface-Message example. 2021-04-16 22:47:52 +02:00
Christoph Keller 3d8bb747fe Minor MassTransit example fixes. 2021-04-16 22:47:52 +02:00
Christoph Keller c2da5ac30f Updated receive message activity, to allow interface-messages. 2021-04-16 22:47:52 +02:00
Sipke Schoorstra 5be9025f71 Add workflow execution log indexes for EF Core provider 2021-04-16 15:47:11 +02:00
Sipke Schoorstra a07231ff99 Fix YesSQL provider and update samples 2021-04-16 14:56:02 +02:00
Sipke Schoorstra d9094575fd Remove unused namespaces 2021-04-16 12:48:06 +02:00
Sipke Schoorstra 9ec6f40c90 Add events for activity execution result 2021-04-16 12:47:43 +02:00
Sipke Schoorstra ced11df305 Move activity type provider abstractions to services 2021-04-16 12:46:54 +02:00
Sipke Schoorstra 359a98f365 Fix notification titles 2021-04-15 21:39:19 +02:00
Sipke Schoorstra 5ed136a41f Extract auto-Done scheduling to a handler 2021-04-15 21:38:44 +02:00
Sipke Schoorstra 937b861359 Optimize workflow registry loading by only considering older versions for which there are non-finished workflow instances pending 2021-04-15 21:38:10 +02:00
Sipke Schoorstra 7fa0a3b8d7 Blob storage formatting 2021-04-15 19:28:35 +02:00
Sipke Schoorstra d6ed56ca07 Merge branch 'elsa_feature/elsa-2.0' into feature/blob-storage 2021-04-15 19:06:23 +02:00
tomy2105 ecb81aae88 Sort Child Activities Based On Output Order 2021-04-15 19:02:26 +02:00
Sipke Schoorstra 5d4f78dac5 Fix selected check boxes 2021-04-15 18:59:33 +02:00
Jens Willmer d34ca1208d Hide db file in solution browser 2021-04-15 18:45:04 +02:00
Jens Willmer 7eb908459d Revert back to .NET Core 5 and include docker build in dashboard
Debugging support of docker container is not working on .NET 6 (preview)
2021-04-15 18:45:04 +02:00
Jens Willmer 769fd71e5a Remove HTTPS redirect
Without a valid certificates it is only creating problems for the user. HTTPS redirect should be optional and provide a config to enable and reference valid certificates.
2021-04-15 18:45:04 +02:00
Sören Uhrbach 7fcc2ec0d2 fixed message class names 2021-04-15 18:34:45 +02:00
Sören Uhrbach 2bc60d9344 Added small example to prove functionality for receiving masstransit messages 2021-04-15 18:34:45 +02:00
Sören Uhrbach e51a4e9834 Trigger workflows from masstransit consumers 2021-04-15 18:34:45 +02:00
Sipke Schoorstra 5825ce6bc1 Add convenience JS functions 2021-04-15 16:08:44 +02:00
jdevillard 1bccef163d give access to Service bus Message UserProperties 2021-04-15 16:03:22 +02:00
Sipke Schoorstra 4b6bc659dd Fix form module updater 2021-04-15 15:49:09 +02:00
Sipke Schoorstra e827f32327 Formatting 2021-04-15 15:48:52 +02:00
Sipke Schoorstra 9bf48385aa Add generated readme files 2021-04-15 15:48:39 +02:00
Sipke Schoorstra 2f93d167a1 Safely dispose of editor 2021-04-15 15:48:22 +02:00
Sipke Schoorstra 18f45fe241 Fix workflow context type nullability 2021-04-15 15:48:04 +02:00
Sipke Schoorstra c1f827cfee Add string to Type converter 2021-04-15 14:39:59 +02:00
Sipke Schoorstra 3138c33903 Add JObject type conversion handling 2021-04-15 14:39:31 +02:00
Sipke Schoorstra 27dd87a344 Clean up event bus handler in activity picker 2021-04-14 22:47:10 +02:00
Sipke Schoorstra 0dae77db95 Restore Done outcome for If activity 2021-04-14 22:46:32 +02:00
Sipke Schoorstra 59aba78133 Formatting 2021-04-14 20:21:11 +02:00
Sipke Schoorstra acfb257199 Fix padding of Switch UI case expression editors 2021-04-14 20:21:11 +02:00
Sipke Schoorstra 393620603c Update check-list control with support for select list item structure 2021-04-14 20:21:11 +02:00
Craig Fowler d2de5ec77d
Merge pull request #851 from jdevillard/fix_PlainObjectResultConverter_ForSameObject
Fix plain object result converter for same object type
2021-04-14 17:11:49 +01:00
Sipke Schoorstra 43b2bef1a5 Make Elsa server URL configurable in ASPNET Core sample dashboard project 2021-04-14 14:45:25 +02:00
Sipke Schoorstra a4c53f64e9 Catch katavario exceptions 2021-04-14 14:45:25 +02:00
Sipke Schoorstra f3d904d246 Display While condition expression 2021-04-14 14:45:25 +02:00
Sipke Schoorstra 2902569d8f Prevent duplicate rendering of activities with multiple ancestor inbound connections 2021-04-14 14:45:25 +02:00
Sipke Schoorstra 89e1dc4e67 Fix event bus handler disposal 2021-04-14 13:13:34 +02:00
Sipke Schoorstra 5dd2c0be34 Add workflowContext global JS variable 2021-04-13 23:01:49 +02:00
Sipke Schoorstra eb09fcc7ff Fix intellisense items cut-off
Fixes #803
2021-04-13 22:13:28 +02:00
Sipke Schoorstra 2b0565ae66 Move re-indexing of triggers and re-creation of Azure Service Bus workers to an async background task (implemented as Rebus consumers) 2021-04-13 22:05:17 +02:00
Sipke Schoorstra 404f8b6fb5 Fix project reference path 2021-04-13 15:56:07 +02:00
Sipke Schoorstra 3a175936a9 Re-register Azure Service bus workers when workflows get published or retracted 2021-04-13 15:55:28 +02:00
Sipke Schoorstra c120dbd975 Remove debugger statement 2021-04-13 13:17:39 +02:00
Sipke Schoorstra 06233e7c05 Add JavaScript support for accessing appsettings 2021-04-13 13:17:24 +02:00
Sipke Schoorstra 5bab13e9f9 Add Liquid support for accessing appsettings 2021-04-13 12:57:58 +02:00
Sipke Schoorstra 1d1154723f Fix workflow settings error 2021-04-13 12:55:17 +02:00
Sipke Schoorstra 632087b12f Fix label display 2021-04-13 12:54:54 +02:00
Sipke Schoorstra a8de0f70c7 Handle null or empty queue names 2021-04-13 12:54:31 +02:00
Sipke Schoorstra 644f3cb95e Fix project reference path 2021-04-13 11:09:39 +02:00
Sipke Schoorstra 094eccd572 Implement Switch expression evaluation 2021-04-12 22:29:58 +02:00
Sipke Schoorstra b00eea3c6d Implement Switch UI with multi-expression support 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 39041f6394 Extract multi-syntax expression editor component 2021-04-12 22:29:58 +02:00
Sipke Schoorstra bf7e7894ff Rename workflow definition editor notifications component 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 5b3b11e2b5 Rename drivers folder 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 7991d4a468 Fix locking bug 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 08bc052a03 Incremental work on ASP.NET Core reference application for dashboard 2021-04-12 22:29:58 +02:00
Sipke Schoorstra 017897095a Rename stencil app components 2021-04-12 22:29:58 +02:00
jdevillard 0062585709 return object if it is already the good type 2021-04-09 22:24:53 +02:00
Sipke Schoorstra 9709ee6ca2 Implement search 2021-04-09 21:47:44 +02:00
Sipke Schoorstra 8900443669 Implement pagination 2021-04-09 21:26:42 +02:00
Sipke Schoorstra 4dbee3a7b3 Fix that subscriptions weren't created 2021-04-09 17:46:45 +02:00
Sipke Schoorstra 9defb83ba8 Lock on correlation ID to prevent race condition between incoming events and newly started workflows not yet persisted 2021-04-09 17:46:31 +02:00
Sipke Schoorstra 748df07087 Fix TriggerWorkflows to select only Suspended instances 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 86d958e4e8 Incremental work on pager 2021-04-09 17:01:15 +02:00
Sipke Schoorstra c1a5981485 Implement Delete and Bulk Delete 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 08ea83154c Implement workflow instance selection 2021-04-09 17:01:15 +02:00
Sipke Schoorstra b5dc232c13 Implement sort by status 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 9774e35e12 Fix date conversion issue with Sqlite provider 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 6e3c8d48ac Incremental work on workflow instances list screen 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 0bc41fc9b4 Incremental work on workflow instances list screen 2021-04-09 17:01:14 +02:00
Craig Fowler 57e38425ae
Merge pull request #846 from craigfowler/feature/751-postgres-yessql-exception
Resolve #751 - Crash when using PostgreSql with YesSQL
2021-04-08 16:53:58 +01:00
Sipke Schoorstra f074260211 Update DistributedLockProvider to not throw, but return a null handle 2021-04-08 14:53:15 +02:00
Craig Fowler 22326f1bab Resolve #751 - Fixes the reported problem 2021-04-07 22:26:21 +01:00
Craig Fowler 8798d6bd42 WIP #751 - Fix an issue with migrations
Rather oddly, the migrations weren't committing, and so the index
tables never got created.
2021-04-07 22:25:49 +01:00
Craig Fowler 53b16dee4f WIP #751 - Fix a bug in YesSQL init
As of this commit, the integration test fails for the exact same reason
as the reported issue describes.
2021-04-07 21:11:40 +01:00
Craig Fowler fa7601ca1a WIP #751 - Add integration test for using Postgres
From this commit onwards, in order to run all of the tests, you
must now have postgresql installed and running on your dev
environment.  The credentials/config is:
* Database name: elsa-yessql
* Username: postgres (this is the default anyway)
* Password: Password12! (this matches AppVeyor's postgres password)
* Port: 5432 (this is the default anyway)
2021-04-07 20:38:13 +01:00
Sipke Schoorstra f7529fbb63 Fix liquid handler for JValue 2021-04-07 21:07:19 +02:00
Sipke Schoorstra a0d345bebd Fix timing issue of workflow resumption by always storing new workflow instances before executing 2021-04-07 21:07:00 +02:00
Luca Pisano 8f82354b93 added cancellation token to async methods 2021-04-07 16:32:48 +02:00
Luca Pisano d0a48d5fb4 addressed revision suggestions 2021-04-07 16:32:29 +02:00
Sipke Schoorstra 52cd21d0ff Fix distributed lock extensions 2021-04-07 15:36:08 +02:00
Sipke Schoorstra ae46e0e143 Update packages and accommodate for breaking changes 2021-04-07 14:48:30 +02:00
Sipke Schoorstra 74839211b8 Mark Z.EntityFramework.Plus.EFCore with private assets = all 2021-04-07 13:34:51 +02:00
Sipke Schoorstra bbbb8a40f4 Fix activity type access bug 2021-04-07 13:13:13 +02:00
Sipke Schoorstra ce957b95e7 Cleanup 2021-04-07 13:13:13 +02:00
Sipke Schoorstra 0a02dc5cc2 Update extensions for Azure distributed lock 2021-04-07 13:13:13 +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
Sipke Schoorstra 031f75041a Update Blazor bindings 2021-04-07 11:18:58 +02:00
Luca Pisano 2205b91e9e typo corrections 2021-04-07 11:10:18 +02:00
Luca Pisano 5a47e11eb3 Storage Activities have been added based on already in place usage of IBlobStorage 2021-04-07 11:08:00 +02:00
Sipke Schoorstra aec08d9b0a Fix designer controls 2021-04-06 21:46:15 +02:00
Sipke Schoorstra 4511237a35 Fix deadlocks 2021-04-06 21:45:50 +02:00
Sipke Schoorstra 023c971834 Fix TelnyxWebhookDataJsonConverter 2021-04-06 21:45:14 +02:00
Sipke Schoorstra dd82c2f96f Use the mediator for triggering workflows synchronously 2021-04-06 21:43:49 +02:00
Sipke Schoorstra 8611ed5d11 Update HttpRequestMiddleware to use mediator 2021-04-06 21:42:06 +02:00
Sipke Schoorstra 522e9fc30d Fix RunJavaScript activity attributes 2021-04-06 21:41:43 +02:00
Sipke Schoorstra 07cd6a8ef8 Merge branch 'feature/elsa-2.0' into elsa-2.0/stencil-app 2021-04-06 12:10:50 +02:00
Sipke Schoorstra bcfc5ec966 Update packages 2021-04-06 12:10:27 +02:00
Sipke Schoorstra 8d87bd80b0 Fix various package scripts 2021-04-06 10:52:26 +02:00
Sipke Schoorstra e1119e79a6 Accommodate for Tailwind 2 breaking changes and fix build script (temporarily disabling sonar cube) 2021-04-06 10:26:23 +02:00
Sipke Schoorstra 727191c0e8 Incremental work on dashboard 2021-04-05 21:04:55 +02:00
Sipke Schoorstra aabf9ff2c2 Configure primitive activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra e2118a1135 Update expression evaluators to get merged variables 2021-04-04 15:37:28 +02:00
Sipke Schoorstra cebb57caaa Configure control flow activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 299b871c50 Formatting 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 35248ef43f Require explicit syntax for getting expression 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 33231bac85 Ensure no response if already started 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 9b3df1916b Handle potentially null list values 2021-04-04 15:37:28 +02:00
Sipke Schoorstra f330656c97 Configure Webhook activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 392fca87f9 Configure UserTask activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra d42bd00c8f Update Telnyx activity configurations 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 949ef056ab Configure Telnyx activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra e227b23f1f Incremental work on Telnyx activity configurations 2021-04-04 15:37:28 +02:00
Sipke Schoorstra ac8ddf2f00 Configure Rebus activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 12c57de73c Update MassTransit activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra de29f99f96 Update Redirect activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra fbc9d85d86 Update activity editor controls 2021-04-04 15:37:28 +02:00
Sipke Schoorstra a7a373583c Configure HTTP activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra d7b735125f Configure EntityChanged activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra a2aff3e54b Configure Dropbox activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 570a07e656 Configure Azure Service Bus activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 2e9617fdce Configure Temporal activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra bc98094b6b Designer activity editor controls tweaks and fixes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 4611ef2e08 Add convenience SyntaxNames class with commonly used syntax names 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 09892074bb Add Default Syntax and Supported Syntax activity property attributes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 2f12ed68cc Fix WebhookActivityTypeProvider property config 2021-04-04 15:37:28 +02:00
Sipke Schoorstra f92a2802d8 Configure SendEmail activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra eb1977c730 Configure WriteLine activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 6996d41376 Incremental work on property editor modes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 3bca56f0ff Incremental work on property editor modes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 9d333ec5b8 Add Document Approval sample project 2021-04-02 16:56:08 +02:00
Sipke Schoorstra 7f38b01db5 Fix TriggersWorkflows to ignore null/empty correlation IDs 2021-04-02 16:55:46 +02:00
Sipke Schoorstra 7e6c8774e8 Add SetVariableExtensions 2021-04-02 16:55:18 +02:00
Sipke Schoorstra 9bcc32d15a Code formatting 2021-04-02 16:55:04 +02:00
Sipke Schoorstra 461e38bb32 Fix Fork activity 2021-04-02 16:54:26 +02:00
Sipke Schoorstra 8b0b479b92 Fix signaling 2021-04-02 16:54:13 +02:00
Sipke Schoorstra 0acc836f4b Fix signaling 2021-04-02 16:53:46 +02:00
Sipke Schoorstra a6d05cfce0 Remove StringValuesModel
Deserialization causes problems when a value is a single string
2021-04-02 16:52:31 +02:00
Sipke Schoorstra 0dc2dd08bf Add FodyWeavers.xml 2021-04-02 13:09:15 +02:00
Sipke Schoorstra 207bbdb60e Update Elsa.Server.Hangfire.csproj 2021-04-02 13:08:33 +02:00