Commit graph

2158 commits

Author SHA1 Message Date
Sipke Schoorstra ebac9ef511 Cleanup 2021-11-17 18:34:20 +01:00
Sipke Schoorstra a4d91c0ae0 Added sample code for demonstrating Azure Service Bus activities 2021-11-09 14:29:05 +01:00
Sipke Schoorstra 844ada9a67 Fix CleanupService
Fixes that the lock handle wasn't actually used
2021-11-04 11:40:28 +01:00
Sipke Schoorstra 369ebb6db3 Ensure CleanupService executes on one node at a time. 2021-11-04 00:33:10 +01:00
Sipke Schoorstra 8c6a01a363 Update Jint
Fixes #2426
2021-11-03 19:41:29 +01:00
Sipke Schoorstra f475790c30 Make CleanupService resilient against exceptions
This ensures the background task keeps running even when a cleanup attempt fails due to e.g. DB timeout exceptions.
2021-11-03 19:31:34 +01:00
Sipke Schoorstra feff07bda5 Make ServiceBusFactory thread-safe 2021-11-02 20:57:42 +01:00
Sipke Schoorstra bf87a2a699 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-11-02 09:56:29 +01:00
Sipke Schoorstra 5f9dc30a84 Update generated designer readme files 2021-11-02 09:56:25 +01:00
RaulPuscas 4244cc222d
Update JTokenHttpResponseContentReader.cs (#1667)
Adjusted JTokenHttpResponseContentReader JToken parsing mechanic

Closes #1664
2021-11-01 23:51:26 +01:00
Sipke Schoorstra e0c8601f96 Add jsonEncode/jsonDecode JS functions
This works around the limitation of Jint's JSON.stringify where it cannot properly serialize ExpandoObject.

Fixes #2426
2021-11-01 22:37:35 +01:00
Sipke Schoorstra 9f8a8db96a Add custom attributes field to activity descriptor 2021-11-01 21:03:52 +01:00
Sipke Schoorstra 0e42ad5fe0 Update workflow launchpad to prevent duplicate correlated workflow instances 2021-11-01 11:15:00 +01:00
Sipke Schoorstra 4967a35e43 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-10-29 14:58:48 +02:00
Sipke Schoorstra 6ff2d69cb2 Fix cleanup service
Fixes the issue where the job would run only once, instead of peridiocally.
2021-10-29 14:58:43 +02:00
Sipke Schoorstra 442ac6c6e9 Update message type list to hashset
Avoids duplicate entries
2021-10-29 14:58:08 +02:00
noxe 86dd2f91bb
Change RunWorkflowInternalAsync to protected virtual (#2408)
Co-authored-by: Martin <mp@prakom.net>
2021-10-26 10:11:49 +02:00
Rainer Wittmann aa5663006c
add correlationId filter to instance view (#2406) 2021-10-25 13:56:46 +02:00
Sipke Schoorstra e7d1ceb992 Formatting 2021-10-25 13:55:44 +02:00
susch19 510153de3a
Add new compare function to IBookmark (#1668)
* so values that are excluded from hashing can still be checked before triggering a workflow
* implemented a default function for the new compare in the interface, so there is no need to implement it, if the hashing is enough
* add support for case insensitive os platform for file system event
* fix case insensitivity for entity name for entity changed bookmark
2021-10-25 13:51:35 +02:00
noxe 21ff1c7c83
return enumerable if it is assignable from the desiredtype (#1669)
Co-authored-by: Martin <mp@prakom.net>
2021-10-25 13:47:07 +02:00
Konstantins Vedenins 1ecc6452a0
Fixes #1651 (#1672)
* #1651: fixed issue when non-HttpRequestModel input would cause exception

* extracted performance/fault popup content in their own components

* #1651: added fault/performance information to activity popup
2021-10-25 13:39:41 +02:00
andrewkorol 75dc334438
added validation support (#1665) 2021-10-21 13:36:35 +02:00
Sipke Schoorstra 7ee50cf6af Refactor activity execution failure event publishing logic 2021-10-21 11:21:25 +02:00
Konstantins Vedenins bccb32b003
Fixes #1651 (#1663)
* ignoring start button click in Test mode

* #1651: added word-break to endpoint URL

* #1651: refresh test panel on workflow execute, if activity is already selected

* removed clipboard permission checks that failed to build

Seems like an old ongoing issue with TypeScript: https://github.com/microsoft/TypeScript/issues/33923

* #1651: fixed flyout panel position

* #1651: flyout panel button position fix

* #1651: fixed javascript evaluation exception being swallowed

* #1651: added copy button to http entry endpoint url

* #1651: test panel refactoring, use schema button for SendHttpRequest

* #1651: add node is not clickable in test mode

* fixed "can't access property "contains", this.contextMenuWidget is undefined"

* added couple safeguard checks to context menu

* reversed incorrect update

* #1651: added z-index to toaster to move it to front

* removed unnecessary empty line
2021-10-21 11:00:17 +02:00
Sipke Schoorstra e116ca8624 Client assets production build & cleanup 2021-10-19 19:30:39 +02:00
Sipke Schoorstra ebc0808b0a Update Elsa.Activities.Webhooks.csproj 2021-10-19 11:32:34 +02:00
Sipke Schoorstra 57fab11fd5 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-10-19 11:23:05 +02:00
Sipke Schoorstra 2d18300127 Formatting 2021-10-19 11:23:03 +02:00
atorres16 241b944c6f
Fix #1640 - Added the value for the message's From property (#1644)
Co-authored-by: Alejandro Torres <atorres@linamar.com>
2021-10-19 11:13:19 +02:00
Rainer Wittmann e7743144fe
fixes propertyDescriptor is potentially undefined (#1649) 2021-10-19 11:12:16 +02:00
Konstantins Vedenins 3986d9294c
Hardcoded dynamic classes (#1639) 2021-10-13 17:05:12 +02:00
Matthew Green cdf120dc0e
Alter bookmark expression to include correlation when its needed as 'this.CorrelationId == null' isnt trimmed in YesSql providing incorrect sql (#1634)
Co-authored-by: Matthew Green <Matthew.Green@brightstarr.com>
2021-10-13 13:33:47 +02:00
PietroLubini ab6b2515d0
Fix #1611 (#1633)
Co-authored-by: Petro Liubynskyi <petro.liubynskyi@sigma.software>
2021-10-13 11:31:25 +02:00
Sipke Schoorstra 02e720812e Fix pager URL 2021-10-12 17:14:18 +02:00
Sipke Schoorstra fb0e3bd048 Update Pomelo.EntityFrameworkCore.MySql to 5.0.2
Fixes #1627
2021-10-12 16:59:38 +02:00
Sipke Schoorstra 8edd9ced86 Remove "Elsa" schema from MySQL migrations
Fixes #1626
2021-10-12 16:55:27 +02:00
Sergei e1f3456d40
changed logic to check missing context for providers masstransit (#1629) 2021-10-12 16:49:48 +02:00
Konstantins Vedenins 688b9de909
#1601 swapped stencil-click-outside with @Listen decorator (#1625) 2021-10-12 16:48:04 +02:00
Sipke Schoorstra 49208b679e Fix Entity activity services 2021-10-08 21:23:10 +02:00
Sipke Schoorstra 0be13f5893 Allow ad-hoc creation of service bus for sending messages 2021-10-08 21:22:49 +02:00
Sipke Schoorstra 35a15e815f Add fail-safe distributed lock handle decorator
Fixes #1511
2021-10-08 17:18:08 +02:00
Sipke Schoorstra 4934de6ac8
Service Bus refactorings (#1613)
Fixes an issue where message types were registered with their own service bus, instead of these message types becoming part of the same bus configuration.

Fixes #1464
2021-10-08 16:45:23 +02:00
Sipke Schoorstra 0be4d3e156 Apply improved JSON serialization settings to workflow definition API endpoints 2021-10-08 15:03:25 +02:00
simona-taran 23592c099d
Fixed issue with selecting instances on multiple pages. (#1609) 2021-10-07 16:44:18 +02:00
Sipke Schoorstra 517c7bc0db Fix definition serialization for designer
This fixes the issue where a JSON response is sent back to the designer that includes $id fields, which potentially causes roundtrip issues when sent back to the server where the $id fields are then regarded as property keys, potentially conflicting with $id fields generated by Newtonsoft Json to serialize references.

Fixes #1605
2021-10-07 13:55:20 +02:00
Sipke Schoorstra f14278f2dc Fix YesSQL provider for bookmarks
Fixes #1604
2021-10-06 21:47:23 +02:00
Sipke Schoorstra 0232e47f4d Backwards compatibility for older workflow instances 2021-10-05 17:36:15 +02:00
Sipke Schoorstra e70475d1e0 Trim ASB queue name at 50 characters 2021-10-05 17:26:01 +02:00
Sipke Schoorstra 134896258a Retry temporal startup job upon failure
This prevents workflows from remaining "stuck" in case this job fails due to e.g. a DB exception.
2021-10-05 17:25:41 +02:00