├── src ├── designer │ ├── bindings │ │ └── aspnet │ │ │ └── Elsa.Designer.Components.Web │ │ │ ├── index.js │ │ │ ├── _Imports.razor │ │ │ └── FodyWeavers.xml │ └── elsa-workflows-studio │ │ ├── src │ │ ├── components │ │ │ ├── controls │ │ │ │ ├── elsa-dropdown-button │ │ │ │ │ ├── elsa-dropdown-button.css │ │ │ │ │ └── models.tsx │ │ │ │ ├── elsa-context-menu │ │ │ │ │ └── models.tsx │ │ │ │ └── elsa-input-tags │ │ │ │ │ └── elsa-input-tags.css │ │ │ ├── editors │ │ │ │ ├── elsa-property-editor │ │ │ │ │ └── elsa-property-editor.css │ │ │ │ └── properties │ │ │ │ │ └── elsa-switch-cases-property │ │ │ │ │ └── models.ts │ │ │ ├── dashboard │ │ │ │ └── pages │ │ │ │ │ ├── elsa-studio-dashboard │ │ │ │ │ └── assets │ │ │ │ │ │ └── logo.png │ │ │ │ │ ├── elsa-studio-workflow-instances-list │ │ │ │ │ └── localizations.ts │ │ │ │ │ ├── elsa-studio-workflow-registry │ │ │ │ │ └── localizations.ts │ │ │ │ │ └── elsa-studio-workflow-definitions-list │ │ │ │ │ └── localizations.ts │ │ │ ├── shared │ │ │ │ └── elsa-confirm-dialog │ │ │ │ │ └── localizations.ts │ │ │ └── i18n │ │ │ │ └── intl-message.tsx │ │ ├── services │ │ │ ├── elsa-plugin.ts │ │ │ ├── event-bus.ts │ │ │ ├── property-display-driver.ts │ │ │ └── index.ts │ │ ├── modules │ │ │ ├── elsa-webhooks │ │ │ │ └── models │ │ │ │ │ ├── view.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── events.ts │ │ │ └── elsa-workflows-settings │ │ │ │ └── models │ │ │ │ ├── index.ts │ │ │ │ ├── domain.ts │ │ │ │ └── events.ts │ │ ├── models │ │ │ └── index.ts │ │ ├── assets │ │ │ ├── images │ │ │ │ ├── logo.png │ │ │ │ ├── tile.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── favicon-16x16.png │ │ │ │ └── favicon-32x32.png │ │ │ └── fonts │ │ │ │ └── inter │ │ │ │ ├── Inter-Bold.woff │ │ │ │ ├── Inter-Thin.woff │ │ │ │ ├── Inter.var.woff2 │ │ │ │ ├── Inter-Black.woff │ │ │ │ ├── Inter-Black.woff2 │ │ │ │ ├── Inter-Bold.woff2 │ │ │ │ ├── Inter-Italic.woff │ │ │ │ ├── Inter-Light.woff │ │ │ │ ├── Inter-Light.woff2 │ │ │ │ ├── Inter-Medium.woff │ │ │ │ ├── Inter-Thin.woff2 │ │ │ │ ├── Inter-ExtraBold.woff │ │ │ │ ├── Inter-Italic.woff2 │ │ │ │ ├── Inter-Medium.woff2 │ │ │ │ ├── Inter-Regular.woff │ │ │ │ ├── Inter-Regular.woff2 │ │ │ │ ├── Inter-SemiBold.woff │ │ │ │ ├── Inter-SemiBold.woff2 │ │ │ │ ├── Inter-BlackItalic.woff │ │ │ │ ├── Inter-BoldItalic.woff │ │ │ │ ├── Inter-BoldItalic.woff2 │ │ │ │ ├── Inter-ExtraBold.woff2 │ │ │ │ ├── Inter-ExtraLight.woff │ │ │ │ ├── Inter-ExtraLight.woff2 │ │ │ │ ├── Inter-LightItalic.woff │ │ │ │ ├── Inter-ThinItalic.woff │ │ │ │ ├── Inter-ThinItalic.woff2 │ │ │ │ ├── Inter-italic.var.woff2 │ │ │ │ ├── Inter-roman.var.woff2 │ │ │ │ ├── Inter-BlackItalic.woff2 │ │ │ │ ├── Inter-LightItalic.woff2 │ │ │ │ ├── Inter-MediumItalic.woff │ │ │ │ ├── Inter-MediumItalic.woff2 │ │ │ │ ├── Inter-SemiBoldItalic.woff │ │ │ │ ├── Inter-ExtraBoldItalic.woff │ │ │ │ ├── Inter-ExtraBoldItalic.woff2 │ │ │ │ ├── Inter-ExtraLightItalic.woff │ │ │ │ ├── Inter-SemiBoldItalic.woff2 │ │ │ │ └── Inter-ExtraLightItalic.woff2 │ │ ├── utils │ │ │ └── store.ts │ │ └── index.ts │ │ ├── tslint.json │ │ ├── .editorconfig │ │ ├── .prettierrc.json │ │ └── .gitignore ├── samples │ ├── aspnet │ │ ├── Elsa.Samples.HelloWorldHttp │ │ │ └── hello.http │ │ ├── Elsa.Samples.FaultyWorkflows │ │ │ ├── faulty.http │ │ │ └── appsettings.json │ │ ├── Elsa.Samples.Interrupts │ │ │ ├── interrupt.http │ │ │ ├── appsettings.json │ │ │ ├── Activities │ │ │ │ └── Sleep.cs │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.CustomActivities │ │ │ └── hello.http │ │ ├── Elsa.Samples.InvokeWorkflowFromController │ │ │ └── invoke-controller.http │ │ ├── Elsa.Samples.ReadModelHttp │ │ │ ├── workflows.http │ │ │ └── Models │ │ │ │ └── Contact.cs │ │ ├── Elsa.Samples.HttpEndpointSecurity │ │ │ ├── Endpoints │ │ │ │ └── Tokens │ │ │ │ │ └── Models.cs │ │ │ ├── Services │ │ │ │ └── ITokenService.cs │ │ │ └── Options │ │ │ │ └── JwtOptions.cs │ │ ├── Elsa.Samples.CorrelationHttp │ │ │ ├── Models │ │ │ │ └── Registration.cs │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.DocumentApproval │ │ │ ├── post-document.http │ │ │ └── appsettings.json │ │ ├── Elsa.Samples.SendHttp │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ │ ├── Elsa.Samples.SignalApi │ │ │ ├── appsettings.Development.json │ │ │ ├── appsettings.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.CustomTenantIdSource │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ │ ├── Elsa.Samples.ForkJoinTimerAndSignalHttp │ │ │ ├── appsettings.Development.json │ │ │ ├── appsettings.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.InfiniteLoopDetection │ │ │ └── appsettings.json │ │ ├── Elsa.Samples.ContextualWorkflowHttp │ │ │ ├── Models │ │ │ │ └── Comment.cs │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ └── Elsa.Samples.MassTransitRabbitMq │ │ │ └── Messages │ │ │ ├── IInterfaceMessage.cs │ │ │ ├── FirstMessage.cs │ │ │ └── SecondMessage.cs │ ├── dashboard │ │ ├── aspnetcore │ │ │ ├── ElsaDashboard.Samples.AspNetCore.SubPath │ │ │ │ └── Pages │ │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ │ ├── Privacy.cshtml │ │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationScriptsPartial.cshtml │ │ │ │ │ └── Index.cshtml │ │ │ └── ElsaDashboard.Samples.AspNetCore.Monolith │ │ │ │ └── Pages │ │ │ │ └── _ViewImports.cshtml │ │ ├── blazor │ │ │ ├── ElsaDashboard.Samples.BlazorServer │ │ │ │ ├── Shared │ │ │ │ │ └── MainLayout.razor │ │ │ │ ├── Pages │ │ │ │ │ └── Index.razor │ │ │ │ ├── appsettings.json │ │ │ │ └── appsettings.Development.json │ │ │ └── ElsaDashboard.Samples.BlazorWasm │ │ │ │ ├── Shared │ │ │ │ └── MainLayout.razor │ │ │ │ └── Pages │ │ │ │ └── Index.razor │ │ └── html │ │ │ └── package.json │ ├── worker │ │ ├── Elsa.Samples.DistributedLock │ │ │ └── docker-compose.yaml │ │ ├── Elsa.Samples.MultiTenantChildWorker │ │ │ ├── Messages │ │ │ │ └── OrderReceived.cs │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.BreakLoop │ │ │ ├── appsettings.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.Faulting │ │ │ ├── appsettings.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.WhileLoopWorker │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.CustomAttributesChildWorker │ │ │ ├── Messages │ │ │ │ └── OrderReceived.cs │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.RebusWorker │ │ │ ├── appsettings.Development.json │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── appsettings.json │ │ │ └── Messages │ │ │ │ └── Greeting.cs │ │ ├── Elsa.Samples.RunChildWorkflowWorker │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Elsa.Samples.AzureServiceBusWorker │ │ │ ├── appsettings.Development.json │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ ├── appsettings.json │ │ │ └── Messages │ │ │ │ └── Greeting.cs │ │ └── Elsa.Samples.Timers.Quartz │ │ │ ├── appsettings.json │ │ │ └── Properties │ │ │ └── launchSettings.json │ ├── server │ │ ├── Elsa.Samples.Server.Host │ │ │ ├── FodyWeavers.xml │ │ │ ├── appsettings.Development.json │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ └── SampleClientApp.Web │ │ │ ├── appsettings.Development.json │ │ │ ├── appsettings.json │ │ │ └── SampleClientApp.Web.csproj │ └── console │ │ ├── Elsa.Samples.EntityChanged │ │ └── Entity.cs │ │ ├── Elsa.Samples.FileWatcher │ │ └── appsettings.json │ │ └── Elsa.Samples.HelloWorldConsole │ │ └── HelloWorld.cs ├── core │ ├── Elsa.Abstractions │ │ ├── AssemblyInfo.cs │ │ ├── Services │ │ │ ├── Bookmarks │ │ │ │ ├── IBookmark.cs │ │ │ │ ├── BookmarkResult.cs │ │ │ │ ├── IBookmarkHasher.cs │ │ │ │ ├── BookmarkIndexingMode.cs │ │ │ │ └── NullBookmark.cs │ │ │ ├── IIdGenerator.cs │ │ │ ├── Models │ │ │ │ ├── ITargetEndpoint.cs │ │ │ │ ├── WorkflowInputReference.cs │ │ │ │ ├── ActivityOutput.cs │ │ │ │ ├── CollectedWorkflow.cs │ │ │ │ ├── IEndpoint.cs │ │ │ │ ├── WorkflowOutputReference.cs │ │ │ │ ├── ISourceEndpoint.cs │ │ │ │ ├── IConnection.cs │ │ │ │ ├── RunWorkflowResult.cs │ │ │ │ ├── StartableWorkflow.cs │ │ │ │ ├── StartableWorkflowDefinition.cs │ │ │ │ ├── StartWorkflowArgs.cs │ │ │ │ ├── TargetEndpoint.cs │ │ │ │ ├── StartableWorkflowsQuery.cs │ │ │ │ ├── WorkflowsQuery.cs │ │ │ │ ├── SourceEndpoint.cs │ │ │ │ ├── Endpoint.cs │ │ │ │ └── IWorkflowBlueprintWrapper.cs │ │ │ ├── IContainerNameAccessor.cs │ │ │ ├── Stability │ │ │ │ ├── ILoopHandlerProvider.cs │ │ │ │ ├── ILoopDetectorProvider.cs │ │ │ │ └── ILoopHandler.cs │ │ │ ├── ICloner.cs │ │ │ ├── Startup │ │ │ │ ├── IStartupRunner.cs │ │ │ │ └── IStartupTask.cs │ │ │ ├── Triggers │ │ │ │ ├── ITriggerIndexer.cs │ │ │ │ └── ITriggerFinder.cs │ │ │ ├── ITenantAccessor.cs │ │ │ └── Messaging │ │ │ │ ├── IEventPublisher.cs │ │ │ │ └── IServiceBusFactory.cs │ │ ├── Models │ │ │ ├── IEntity.cs │ │ │ ├── ScheduledActivity.cs │ │ │ ├── ITenantScope.cs │ │ │ ├── WorkflowInput.cs │ │ │ ├── Entity.cs │ │ │ ├── ICorrelationScope.cs │ │ │ ├── FinishOutput.cs │ │ │ ├── WorkflowFault.cs │ │ │ ├── ICompositeActivityDefinition.cs │ │ │ ├── WorkflowStatus.cs │ │ │ └── SimpleExceptionProperty.cs │ │ ├── ActivityResults │ │ │ ├── NoopResult.cs │ │ │ ├── DoneResult.cs │ │ │ └── IActivityExecutionResult.cs │ │ ├── Builders │ │ │ ├── IWorkflow.cs │ │ │ ├── ICompositeActivity.cs │ │ │ └── IConnectionBuilder.cs │ │ ├── Events │ │ │ ├── TriggerIndexingFinished.cs │ │ │ ├── DescribingActivityType.cs │ │ │ ├── ExecutingWorkflow.cs │ │ │ ├── WorkflowDefinitionSaved.cs │ │ │ ├── WorkflowDefinitionDeleted.cs │ │ │ ├── WorkflowDefinitionSaving.cs │ │ │ ├── WorkflowDefinitionDeleting.cs │ │ │ ├── WorkflowBlueprintLoaded.cs │ │ │ ├── WorkflowDefinitionPublished.cs │ │ │ ├── WorkflowDefinitionPublishing.cs │ │ │ ├── WorkflowDefinitionRetracted.cs │ │ │ ├── WorkflowDefinitionRetracting.cs │ │ │ ├── ActivityResuming.cs │ │ │ ├── WorkflowInputUpdated.cs │ │ │ ├── WorkflowDefinitionNotification.cs │ │ │ ├── WorkflowInstanceSaved.cs │ │ │ └── WorkflowInstanceDeleted.cs │ │ ├── Persistence │ │ │ ├── IBookmarkStore.cs │ │ │ ├── Specifications │ │ │ │ ├── SortDirection.cs │ │ │ │ ├── ISpecification.cs │ │ │ │ └── IdentitySpecification.cs │ │ │ ├── IWorkflowInstanceStore.cs │ │ │ ├── IWorkflowDefinitionStore.cs │ │ │ └── IWorkflowExecutionLogStore.cs │ │ ├── FodyWeavers.xml │ │ ├── Attributes │ │ │ ├── NonPersistableAttribute.cs │ │ │ ├── ExcludeFromHashAttribute.cs │ │ │ ├── ActivityOutputAttribute.cs │ │ │ ├── ActivityPropertyAttribute.cs │ │ │ ├── JobAttribute.cs │ │ │ ├── ActionAttribute.cs │ │ │ ├── TriggerAttribute.cs │ │ │ └── ContextTypeNameAttribute.cs │ │ ├── Providers │ │ │ ├── WorkflowStorage │ │ │ │ └── WorkflowStorageContext.cs │ │ │ ├── WorkflowContexts │ │ │ │ └── IWorkflowContextProvider.cs │ │ │ └── Activities │ │ │ │ └── IActivityProvider.cs │ │ ├── Design │ │ │ ├── PropertyCategories.cs │ │ │ └── IRuntimeSelectListItemsProvider.cs │ │ ├── Metadata │ │ │ ├── ActivityTraits.cs │ │ │ ├── IActivityPropertyOptionsProvider.cs │ │ │ ├── IActivityPropertyUIHintResolver.cs │ │ │ ├── IActivityPropertyDefaultValueProvider.cs │ │ │ ├── IActivityPropertyOptionsResolver.cs │ │ │ ├── IActivityPropertyDefaultValueResolver.cs │ │ │ ├── IOutcomesProvider.cs │ │ │ └── IDescribesActivityType.cs │ │ ├── OutcomeNames.cs │ │ └── Exceptions │ │ │ └── WorkflowException.cs │ ├── Elsa.Core │ │ ├── Activities │ │ │ ├── ControlFlow │ │ │ │ ├── Switch │ │ │ │ │ └── SwitchCase.cs │ │ │ │ └── For │ │ │ │ │ └── Operator.cs │ │ │ └── Workflows │ │ │ │ ├── RunWorkflow │ │ │ │ └── Models │ │ │ │ │ └── FinishedWorkflowModel.cs │ │ │ │ └── Workflow │ │ │ │ └── Workflow.cs │ │ ├── FodyWeavers.xml │ │ ├── Models │ │ │ └── ActivityLifecycle.cs │ │ ├── Services │ │ │ ├── IdGenerator.cs │ │ │ ├── Startup │ │ │ │ └── IStartup.cs │ │ │ └── OptionsContainerNameAccessor.cs │ │ ├── Options │ │ │ ├── ActivityExecutionCountLoopDetectorOptions.cs │ │ │ ├── LoopDetectorOptions.cs │ │ │ └── CooldownLoopHandlerOptions.cs │ │ ├── HostedServices │ │ │ └── IScopedBackgroundService.cs │ │ ├── Mapping │ │ │ └── ExceptionProfile.cs │ │ ├── Providers │ │ │ ├── Workflows │ │ │ │ └── BlobStorageWorkflowProviderOptions.cs │ │ │ └── WorkflowStorage │ │ │ │ └── BlobStorageWorkflowStorageProviderOptions.cs │ │ ├── Extensions │ │ │ └── CacheEntryExtensions.cs │ │ └── Persistence │ │ │ └── Specifications │ │ │ └── SpecificationExtensions.cs │ ├── Elsa.Features │ │ └── FodyWeavers.xml │ └── Elsa │ │ └── FodyWeavers.xml ├── activities │ ├── Elsa.Activities.Rebus │ │ └── icon.png │ ├── Elsa.Activities.Startup │ │ └── icon.png │ ├── Elsa.Activities.Dropbox │ │ ├── Models │ │ │ ├── UploadResponse.cs │ │ │ ├── UploadModeUnion.cs │ │ │ └── UploadMode.cs │ │ ├── FodyWeavers.xml │ │ ├── Options │ │ │ └── DropboxOptions.cs │ │ └── Services │ │ │ └── IFilesApi.cs │ ├── Elsa.Activities.Rpa.Web │ │ ├── Options │ │ │ ├── RpaWebOptions.cs │ │ │ ├── RpaWebConventions.cs │ │ │ └── DriverType.cs │ │ ├── FodyWeavers.xml │ │ └── Extensions │ │ │ └── Direction.cs │ ├── Elsa.Activities.Conductor │ │ ├── FodyWeavers.xml │ │ ├── Models │ │ │ ├── RunTaskModel.cs │ │ │ ├── SendCommandModel.cs │ │ │ ├── EventModel.cs │ │ │ ├── TaskResultModel.cs │ │ │ └── CommandDefinition.cs │ │ └── Services │ │ │ ├── ITasksProvider.cs │ │ │ ├── IEventsProvider.cs │ │ │ └── ICommandsProvider.cs │ ├── Elsa.Activities.Telnyx │ │ ├── Constants.cs │ │ ├── FodyWeavers.xml │ │ ├── Webhooks │ │ │ ├── Payloads │ │ │ │ ├── Call │ │ │ │ │ ├── CallRecordingUrls.cs │ │ │ │ │ └── CallPlayback.cs │ │ │ │ ├── Abstract │ │ │ │ │ └── Payload.cs │ │ │ │ └── UnsupportedPayload.cs │ │ │ ├── Models │ │ │ │ ├── TelnyxRecord.cs │ │ │ │ ├── TelnyxWebhookMeta.cs │ │ │ │ └── TelnyxWebhook.cs │ │ │ └── Services │ │ │ │ ├── IWebhookFilterService.cs │ │ │ │ ├── IWebhookHandler.cs │ │ │ │ └── IWebhookFilter.cs │ │ ├── Models │ │ │ └── RingGroupStrategy.cs │ │ ├── Client │ │ │ ├── Services │ │ │ │ ├── ITelnyxClient.cs │ │ │ │ └── TelnyxClient.cs │ │ │ └── Models │ │ │ │ ├── Header.cs │ │ │ │ ├── Responses.cs │ │ │ │ └── Errors.cs │ │ ├── Exceptions │ │ │ ├── TelnyxException.cs │ │ │ ├── MissingFromNumberException.cs │ │ │ ├── MissingCallControlIdException.cs │ │ │ └── MissingCallControlAppIdException.cs │ │ ├── Services │ │ │ └── IExtensionProvider.cs │ │ └── Providers │ │ │ └── Bookmarks │ │ │ ├── DialBookmark.cs │ │ │ └── AnswerCallBookmark.cs │ ├── webhooks │ │ ├── Elsa.Webhooks.Api │ │ │ ├── FodyWeavers.xml │ │ │ └── Models │ │ │ │ └── WebhookDefinitionSummaryModel.cs │ │ ├── Elsa.Webhooks.Abstractions │ │ │ ├── FodyWeavers.xml │ │ │ ├── Persistence │ │ │ │ └── IWebhookDefinitionStore.cs │ │ │ └── Events │ │ │ │ ├── WebhookDefinitionSaved.cs │ │ │ │ ├── WebhookDefinitionDeleted.cs │ │ │ │ ├── WebhookDefinitionSaving.cs │ │ │ │ └── WebhookDefinitionDeleting.cs │ │ ├── Elsa.Webhooks.Persistence.YesSql │ │ │ ├── FodyWeavers.xml │ │ │ └── Data │ │ │ │ └── CollectionNames.cs │ │ ├── Elsa.Webhooks.Persistence.MongoDb │ │ │ ├── FodyWeavers.xml │ │ │ └── Data │ │ │ │ └── CollectionNames.cs │ │ ├── Elsa.Webhooks.Persistence.EntityFramework.Core │ │ │ ├── FodyWeavers.xml │ │ │ └── Services │ │ │ │ └── IWebhookContextFactory.cs │ │ ├── Elsa.Webhooks.Persistence.EntityFramework.MySql │ │ │ └── FodyWeavers.xml │ │ ├── Elsa.Webhooks.Persistence.EntityFramework.PostgreSql │ │ │ └── FodyWeavers.xml │ │ ├── Elsa.Webhooks.Persistence.EntityFramework.SqlServer │ │ │ └── FodyWeavers.xml │ │ ├── Elsa.Webhooks.Persistence.EntityFramework.Sqlite │ │ │ └── FodyWeavers.xml │ │ └── Elsa.Activities.Webhooks │ │ │ ├── FodyWeavers.xml │ │ │ └── Models │ │ │ └── WebhookRequestModel.cs │ ├── Elsa.Activities.BlobStorage │ │ └── FodyWeavers.xml │ ├── Elsa.Activities.Temporal.Common │ │ ├── TimerConsts.cs │ │ ├── FodyWeavers.xml │ │ └── Options │ │ │ └── TimersOptions.cs │ ├── Elsa.Activities.Email │ │ ├── Options │ │ │ ├── SmtpDeliveryMethod.cs │ │ │ └── SmtpEncryptionMethod.cs │ │ ├── FodyWeavers.xml │ │ ├── Activities │ │ │ └── SendEmail │ │ │ │ └── EmailAttachment.cs │ │ └── Services │ │ │ └── ISmtpService.cs │ ├── Elsa.Activities.File │ │ ├── FodyWeavers.xml │ │ └── Activities │ │ │ └── OutFile │ │ │ └── CopyMode.cs │ ├── Elsa.Activities.Http │ │ ├── FodyWeavers.xml │ │ ├── Models │ │ │ ├── HttpResponseHeaders.cs │ │ │ ├── HttpWorkflowResource.cs │ │ │ ├── HttpRequestHeaders.cs │ │ │ ├── HttpResponseModel.cs │ │ │ ├── HttpRequestModel.cs │ │ │ └── AuthorizeHttpEndpointContext.cs │ │ ├── Services │ │ │ ├── IAbsoluteUrlProvider.cs │ │ │ ├── IRequestHandler.cs │ │ │ ├── IRequestHandlerResult.cs │ │ │ └── IHttpEndpointAuthorizationHandler.cs │ │ ├── Liquid │ │ │ └── LiquidRequestAccessor.cs │ │ └── Events │ │ │ └── HttpTriggeredSignal.cs │ ├── Elsa.Activities.Console │ │ └── FodyWeavers.xml │ ├── Elsa.Activities.Entity │ │ ├── FodyWeavers.xml │ │ ├── Activities │ │ │ └── EntityChanged │ │ │ │ └── EntityChangedActions.cs │ │ └── Attributes │ │ │ └── EntityNameAttribute.cs │ ├── Elsa.Activities.UserTask │ │ └── FodyWeavers.xml │ ├── Elsa.Activities.MassTransit │ │ ├── FodyWeavers.xml │ │ ├── Options │ │ │ ├── MessageScheduleOptions.cs │ │ │ └── RabbitMqOptions.cs │ │ └── Consumers │ │ │ └── MessageCorrelation │ │ │ └── ICorrelationIdSelector.cs │ ├── Elsa.Activities.AzureServiceBus │ │ ├── FodyWeavers.xml │ │ ├── Options │ │ │ └── AzureServiceBusOptions.cs │ │ └── Services │ │ │ ├── IServiceBusQueuesStarter.cs │ │ │ ├── IServiceBusTopicsStarter.cs │ │ │ ├── IQueueMessageSenderFactory.cs │ │ │ └── ITopicMessageSenderFactory.cs │ ├── Elsa.Activities.Temporal.Hangfire │ │ └── FodyWeavers.xml │ └── Elsa.Activities.Temporal.Quartz │ │ └── FodyWeavers.xml ├── dashboards │ └── ElsaDashboard │ │ ├── Pages │ │ └── _ViewImports.cshtml │ │ ├── ElsaDashboard.Web.csproj │ │ └── appsettings.json ├── caching │ └── Elsa.Caching.Rebus │ │ ├── Messages │ │ └── TriggerCacheSignal.cs │ │ └── FodyWeavers.xml ├── persistence │ ├── Elsa.Persistence.EntityFramework │ │ ├── Elsa.Persistence.EntityFramework.Core │ │ │ ├── Readme.md │ │ │ ├── FodyWeavers.xml │ │ │ ├── Services │ │ │ │ ├── IElsaContextFactory.cs │ │ │ │ └── IDbContextFactory.cs │ │ │ └── Extensions │ │ │ │ └── DateTimeExtensions.cs │ │ ├── Elsa.Persistence.EntityFramework.MySql │ │ │ └── FodyWeavers.xml │ │ ├── Elsa.Persistence.EntityFramework.Oracle │ │ │ ├── FodyWeavers.xml │ │ │ └── Readme.md │ │ ├── Elsa.Persistence.EntityFramework.SqlServer │ │ │ └── FodyWeavers.xml │ │ ├── Elsa.Persistence.EntityFramework.Sqlite │ │ │ └── FodyWeavers.xml │ │ └── Elsa.Persistence.EntityFramework.PostgreSql │ │ │ └── FodyWeavers.xml │ ├── Elsa.Persistence.YesSql │ │ ├── Documents │ │ │ └── YesSqlDocument.cs │ │ ├── FodyWeavers.xml │ │ ├── Services │ │ │ ├── ISessionProvider.cs │ │ │ └── ISpecificationMapper.cs │ │ └── Data │ │ │ └── DataMigration.cs │ └── Elsa.Persistence.MongoDb │ │ ├── FodyWeavers.xml │ │ ├── Options │ │ └── ElsaMongoDbOptions.cs │ │ └── CollectionNames.cs ├── clients │ └── Elsa.Client │ │ ├── Models │ │ ├── OrderBy.cs │ │ ├── WorkflowFault.cs │ │ ├── ActivityScope.cs │ │ ├── WorkflowStatus.cs │ │ ├── RetryWorkflowRequest.cs │ │ └── WorkflowContextOptions.cs │ │ ├── FodyWeavers.xml │ │ ├── Options │ │ └── ElsaClientOptions.cs │ │ └── Services │ │ └── IActivitiesApi.cs ├── server │ ├── Elsa.Server.Hangfire │ │ ├── FodyWeavers.xml │ │ └── QueueNames.cs │ ├── Elsa.Server.Orleans │ │ └── FodyWeavers.xml │ └── Elsa.Server.Api │ │ ├── Models │ │ ├── OrderBy.cs │ │ └── ListModel.cs │ │ ├── Endpoints │ │ └── WorkflowStorageProviders │ │ │ └── Models.cs │ │ ├── FodyWeavers.xml │ │ ├── ElsaApiOptions.cs │ │ └── Services │ │ └── IEndpointContentSerializerSettingsProvider.cs ├── indexing │ ├── Elsa.Indexing.Elasticsearch │ │ ├── Models │ │ │ └── IElasticEntity.cs │ │ ├── FodyWeavers.xml │ │ └── ElsaElasticsearchConsts.cs │ └── Elsa.Indexing.Abstractions │ │ ├── FodyWeavers.xml │ │ ├── Models │ │ └── ActivityDefinitionIndexModel.cs │ │ └── ElsaIndexingOptions.cs ├── modules │ ├── retention │ │ └── Elsa.Retention │ │ │ └── FodyWeavers.xml │ └── workflowsettings │ │ ├── Elsa.WorkflowSettings │ │ ├── FodyWeavers.xml │ │ ├── Persistence │ │ │ └── IWorkflowSettingsStore.cs │ │ ├── Events │ │ │ ├── WorkflowSettingsSaved.cs │ │ │ ├── WorkflowSettingsSaving.cs │ │ │ ├── WorkflowSettingsDeleted.cs │ │ │ └── WorkflowSettingsDeleting.cs │ │ ├── Models │ │ │ └── WorkflowSetting.cs │ │ └── Services │ │ │ └── IWorkflowSettingsManager.cs │ │ ├── Elsa.WorkflowSettings.Persistence.YesSql │ │ ├── FodyWeavers.xml │ │ └── Data │ │ │ └── CollectionNames.cs │ │ ├── Elsa.WorkflowSettings.Persistence.MongoDb │ │ ├── FodyWeavers.xml │ │ └── Data │ │ │ └── CollectionNames.cs │ │ ├── Elsa.WorkflowSettings.Persistence.EntityFramework.Core │ │ ├── FodyWeavers.xml │ │ └── Services │ │ │ └── IWorkflowSettingsContextFactory.cs │ │ ├── Elsa.WorkflowSettings.Persistence.EntityFramework.MySql │ │ └── FodyWeavers.xml │ │ ├── Elsa.WorkflowSettings.Persistence.EntityFramework.PostgreSql │ │ └── FodyWeavers.xml │ │ ├── Elsa.WorkflowSettings.Persistence.EntityFramework.SqlServer │ │ └── FodyWeavers.xml │ │ └── Elsa.WorkflowSettings.Persistence.EntityFramework.Sqlite │ │ └── FodyWeavers.xml ├── providers │ └── Elsa.Providers.Redis │ │ └── FodyWeavers.xml ├── scripting │ ├── Elsa.Scripting.Liquid │ │ ├── FodyWeavers.xml │ │ ├── Helpers │ │ │ └── LiquidActivityModel.cs │ │ └── Services │ │ │ └── ILiquidFilter.cs │ └── Elsa.Scripting.JavaScript │ │ ├── FodyWeavers.xml │ │ ├── Services │ │ └── IConvertsEnumerableToObject.cs │ │ └── Extensions │ │ └── EngineExtensions.cs ├── servicebus │ ├── Elsa.Rebus.RabbitMq │ │ └── FodyWeavers.xml │ └── Elsa.Rebus.AzureServiceBus │ │ └── FodyWeavers.xml └── locking │ ├── Elsa.DistributedLocking.AzureBlob │ └── FodyWeavers.xml │ ├── Elsa.DistributedLocking.Redis │ └── FodyWeavers.xml │ └── Elsa.DistributedLocking.SqlServer │ └── FodyWeavers.xml ├── run-server.ps1 ├── doc ├── elsa-logo.png ├── workflow-sample-1.png ├── workflow-sample-2.png ├── workflow-sample-3.png ├── dashboard-sample-1.png ├── dashboard-sample-2.png ├── elsa-2-hello-world-http.gif ├── elsa-2-dashboard-plus-designer.gif └── github-social-preview-banner-for-elsa.png ├── design ├── logo │ ├── Esla.ai │ ├── Esla-12.png │ ├── Esla-13.png │ ├── Esla-14.png │ ├── Esla-15.png │ ├── Esla-16.png │ ├── Esla-17.png │ ├── Esla-18.png │ ├── Esla-19.png │ ├── Esla-20.png │ ├── Esla-21.png │ ├── Esla-22.png │ ├── Esla_Source.ai │ └── Elsa-20-transparent.png ├── custom │ ├── icon.ai │ ├── icon.png │ └── icon.psd ├── icon │ ├── dark │ │ ├── favicon.ico │ │ ├── apple-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── ms-icon-70x70.png │ │ ├── apple-icon-57x57.png │ │ ├── apple-icon-60x60.png │ │ ├── apple-icon-72x72.png │ │ ├── apple-icon-76x76.png │ │ ├── ms-icon-144x144.png │ │ ├── ms-icon-150x150.png │ │ ├── ms-icon-310x310.png │ │ ├── android-icon-36x36.png │ │ ├── android-icon-48x48.png │ │ ├── android-icon-72x72.png │ │ ├── android-icon-96x96.png │ │ ├── apple-icon-114x114.png │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-144x144.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-180x180.png │ │ ├── android-icon-144x144.png │ │ ├── android-icon-192x192.png │ │ ├── apple-icon-precomposed.png │ │ └── browserconfig.xml │ └── light │ │ ├── favicon.ico │ │ ├── apple-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── ms-icon-70x70.png │ │ ├── apple-icon-57x57.png │ │ ├── apple-icon-60x60.png │ │ ├── apple-icon-72x72.png │ │ ├── apple-icon-76x76.png │ │ ├── ms-icon-144x144.png │ │ ├── ms-icon-150x150.png │ │ ├── ms-icon-310x310.png │ │ ├── android-icon-36x36.png │ │ ├── android-icon-48x48.png │ │ ├── android-icon-72x72.png │ │ ├── android-icon-96x96.png │ │ ├── apple-icon-114x114.png │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-144x144.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-180x180.png │ │ ├── android-icon-144x144.png │ │ ├── android-icon-192x192.png │ │ ├── apple-icon-precomposed.png │ │ └── browserconfig.xml └── github-social-preview-banner-for-elsa.psd ├── .github └── FUNDING.yml ├── Elsa.code-workspace ├── test ├── integration │ └── Elsa.Core.IntegrationTests │ │ ├── Elsa.Core.IntegrationTests.xunit.runner.json │ │ └── Workflows │ │ └── BasicWorkflow.cs ├── shared │ └── Elsa.Testing.Shared │ │ ├── icon.png │ │ ├── Helpers │ │ └── AssertableActivityState.cs │ │ ├── AutoFixture │ │ └── SpecimenBuilders │ │ │ └── SpecimenContextExtensions.cs │ │ └── AutoMoqDataAttribute.cs └── component │ └── Elsa.ComponentTests │ └── Helpers │ └── ComponentTestsCollection.cs ├── pack-local-feed.ps1 ├── run-dashboard-monolith.ps1 ├── .dockerignore ├── Nuget.Config ├── .gitattributes └── configureawait.props /src/designer/bindings/aspnet/Elsa.Designer.Components.Web/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /run-server.ps1: -------------------------------------------------------------------------------- 1 | cd ./src/samples/server/Elsa.Samples.Server.Host 2 | dotnet run -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.HelloWorldHttp/hello.http: -------------------------------------------------------------------------------- 1 | GET http://localhost:5000/hello -------------------------------------------------------------------------------- /doc/elsa-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/elsa-logo.png -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.FaultyWorkflows/faulty.http: -------------------------------------------------------------------------------- 1 | GET http://localhost:5000/faulty -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.Interrupts/interrupt.http: -------------------------------------------------------------------------------- 1 | GET https://localhost:6171/wakeup -------------------------------------------------------------------------------- /design/logo/Esla.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla.ai -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [sfmskywalker] 4 | -------------------------------------------------------------------------------- /design/custom/icon.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/custom/icon.ai -------------------------------------------------------------------------------- /design/custom/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/custom/icon.png -------------------------------------------------------------------------------- /design/custom/icon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/custom/icon.psd -------------------------------------------------------------------------------- /design/logo/Esla-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-12.png -------------------------------------------------------------------------------- /design/logo/Esla-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-13.png -------------------------------------------------------------------------------- /design/logo/Esla-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-14.png -------------------------------------------------------------------------------- /design/logo/Esla-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-15.png -------------------------------------------------------------------------------- /design/logo/Esla-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-16.png -------------------------------------------------------------------------------- /design/logo/Esla-17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-17.png -------------------------------------------------------------------------------- /design/logo/Esla-18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-18.png -------------------------------------------------------------------------------- /design/logo/Esla-19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-19.png -------------------------------------------------------------------------------- /design/logo/Esla-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-20.png -------------------------------------------------------------------------------- /design/logo/Esla-21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-21.png -------------------------------------------------------------------------------- /design/logo/Esla-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla-22.png -------------------------------------------------------------------------------- /Elsa.code-workspace: -------------------------------------------------------------------------------- 1 | { 2 | "folders": [ 3 | { 4 | "path": "." 5 | } 6 | ], 7 | "settings": {} 8 | } -------------------------------------------------------------------------------- /doc/workflow-sample-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/workflow-sample-1.png -------------------------------------------------------------------------------- /doc/workflow-sample-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/workflow-sample-2.png -------------------------------------------------------------------------------- /doc/workflow-sample-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/workflow-sample-3.png -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/controls/elsa-dropdown-button/elsa-dropdown-button.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/services/elsa-plugin.ts: -------------------------------------------------------------------------------- 1 | export interface ElsaPlugin { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.CustomActivities/hello.http: -------------------------------------------------------------------------------- 1 | GET http://localhost:5000/test?foo=bar&bar=baz -------------------------------------------------------------------------------- /test/integration/Elsa.Core.IntegrationTests/Elsa.Core.IntegrationTests.xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /design/icon/dark/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/favicon.ico -------------------------------------------------------------------------------- /design/logo/Esla_Source.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Esla_Source.ai -------------------------------------------------------------------------------- /doc/dashboard-sample-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/dashboard-sample-1.png -------------------------------------------------------------------------------- /doc/dashboard-sample-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/dashboard-sample-2.png -------------------------------------------------------------------------------- /pack-local-feed.ps1: -------------------------------------------------------------------------------- 1 | dotnet pack -o C:\Projects\Elsa\feed --version-suffix "rc2-5" -p:PackageVersion=2.0.0-rc2-5 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-webhooks/models/view.ts: -------------------------------------------------------------------------------- 1 | export interface WebhookModel { 2 | } -------------------------------------------------------------------------------- /design/icon/light/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/favicon.ico -------------------------------------------------------------------------------- /src/designer/bindings/aspnet/Elsa.Designer.Components.Web/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components.Web -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.InvokeWorkflowFromController/invoke-controller.http: -------------------------------------------------------------------------------- 1 | GET http://localhost:5000/launch -------------------------------------------------------------------------------- /design/icon/dark/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon.png -------------------------------------------------------------------------------- /doc/elsa-2-hello-world-http.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/elsa-2-hello-world-http.gif -------------------------------------------------------------------------------- /run-dashboard-monolith.ps1: -------------------------------------------------------------------------------- 1 | cd ./src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith 2 | dotnet run -------------------------------------------------------------------------------- /design/icon/dark/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/favicon-16x16.png -------------------------------------------------------------------------------- /design/icon/dark/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/favicon-32x32.png -------------------------------------------------------------------------------- /design/icon/dark/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/favicon-96x96.png -------------------------------------------------------------------------------- /design/icon/dark/ms-icon-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/ms-icon-70x70.png -------------------------------------------------------------------------------- /design/icon/light/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/favicon-16x16.png -------------------------------------------------------------------------------- /design/icon/light/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/favicon-32x32.png -------------------------------------------------------------------------------- /design/icon/light/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/favicon-96x96.png -------------------------------------------------------------------------------- /design/icon/light/ms-icon-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/ms-icon-70x70.png -------------------------------------------------------------------------------- /design/logo/Elsa-20-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/logo/Elsa-20-transparent.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-57x57.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-60x60.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-72x72.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-76x76.png -------------------------------------------------------------------------------- /design/icon/dark/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/ms-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/dark/ms-icon-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/ms-icon-150x150.png -------------------------------------------------------------------------------- /design/icon/dark/ms-icon-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/ms-icon-310x310.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-57x57.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-60x60.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-72x72.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-76x76.png -------------------------------------------------------------------------------- /design/icon/light/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/ms-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/light/ms-icon-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/ms-icon-150x150.png -------------------------------------------------------------------------------- /design/icon/light/ms-icon-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/ms-icon-310x310.png -------------------------------------------------------------------------------- /doc/elsa-2-dashboard-plus-designer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/elsa-2-dashboard-plus-designer.gif -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.SubPath/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorServer/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorWasm/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body -------------------------------------------------------------------------------- /design/icon/dark/android-icon-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-36x36.png -------------------------------------------------------------------------------- /design/icon/dark/android-icon-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-48x48.png -------------------------------------------------------------------------------- /design/icon/dark/android-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-72x72.png -------------------------------------------------------------------------------- /design/icon/dark/android-icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-96x96.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-114x114.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-120x120.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-152x152.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-180x180.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-36x36.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-48x48.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-72x72.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-96x96.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-114x114.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-120x120.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-152x152.png -------------------------------------------------------------------------------- /design/icon/light/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-180x180.png -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | 3 | [assembly: InternalsVisibleTo("Elsa.Core")] 4 | -------------------------------------------------------------------------------- /test/shared/Elsa.Testing.Shared/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/test/shared/Elsa.Testing.Shared/icon.png -------------------------------------------------------------------------------- /design/icon/dark/android-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/dark/android-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/android-icon-192x192.png -------------------------------------------------------------------------------- /design/icon/dark/apple-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/dark/apple-icon-precomposed.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-144x144.png -------------------------------------------------------------------------------- /design/icon/light/android-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/android-icon-192x192.png -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/editors/elsa-property-editor/elsa-property-editor.css: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | } 4 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-workflows-settings/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './domain'; 2 | export * from './events'; -------------------------------------------------------------------------------- /design/icon/light/apple-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/icon/light/apple-icon-precomposed.png -------------------------------------------------------------------------------- /doc/github-social-preview-banner-for-elsa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/doc/github-social-preview-banner-for-elsa.png -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rebus/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/activities/Elsa.Activities.Rebus/icon.png -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Bookmarks/IBookmark.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public interface IBookmark 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .dockerignore 2 | .env 3 | .git 4 | .gitignore 5 | .vs 6 | .vscode 7 | */bin 8 | */obj 9 | **/.toolstarget 10 | **/node_modules -------------------------------------------------------------------------------- /design/github-social-preview-banner-for-elsa.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/design/github-social-preview-banner-for-elsa.psd -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Startup/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/activities/Elsa.Activities.Startup/icon.png -------------------------------------------------------------------------------- /src/dashboards/ElsaDashboard/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorServer/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorWasm/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/services/event-bus.ts: -------------------------------------------------------------------------------- 1 | import EventBus from './custom-event-bus'; 2 | 3 | export const eventBus = new EventBus(); 4 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-webhooks/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './domain'; 2 | export * from './events'; 3 | export * from './view'; -------------------------------------------------------------------------------- /src/caching/Elsa.Caching.Rebus/Messages/TriggerCacheSignal.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Caching.Rebus.Messages 2 | { 3 | public record TriggerCacheSignal(string Key); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/IEntity.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public interface IEntity 4 | { 5 | string Id { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/Models/UploadResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Dropbox.Models 2 | { 3 | public class UploadResponse 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/ScheduledActivity.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public record ScheduledActivity(string ActivityId, object? Input = null); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/ActivityResults/NoopResult.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.ActivityResults 2 | { 3 | public class NoopResult : ActivityExecutionResult 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Builders/IWorkflow.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Builders 2 | { 3 | public interface IWorkflow : ICompositeActivity 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/ITenantScope.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public interface ITenantScope 4 | { 5 | string? TenantId { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/IIdGenerator.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public interface IIdGenerator 4 | { 5 | string Generate(); 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/ITargetEndpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public interface ITargetEndpoint : IEndpoint 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/WorkflowInputReference.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record WorkflowInputReference(string? ProviderName); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Activities/ControlFlow/Switch/SwitchCase.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.ControlFlow 2 | { 3 | public record SwitchCase(string Name, bool Condition); 4 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './domain'; 2 | export * from './events'; 3 | export * from './view'; 4 | export * from './services'; 5 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/images/logo.png -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/images/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/images/tile.png -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.FaultyWorkflows/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Warning" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rpa.Web/Options/RpaWebOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Rpa.Web.Options 2 | { 3 | public class RpaWebOptions 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/WorkflowInput.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public record WorkflowInput(object? Input = default, string? StorageProviderName = default); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/ActivityOutput.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record ActivityOutput(object? Value, string? StorageName = default); 4 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/images/favicon.ico -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/Entity.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public class Entity : IEntity 4 | { 5 | public string Id { get; set; } = default!; 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/ICorrelationScope.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public interface ICorrelationScope 4 | { 5 | string? CorrelationId { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Bookmarks/BookmarkResult.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public record BookmarkResult(IBookmark Bookmark, string? ActivityTypeName = default); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/CollectedWorkflow.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record CollectedWorkflow(string WorkflowInstanceId, string? ActivityId); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Features/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/Readme.md: -------------------------------------------------------------------------------- 1 | Create migrations for all supported EF Core providers: 2 | 3 | `create-migrations-initial.cmd` -------------------------------------------------------------------------------- /src/caching/Elsa.Caching.Rebus/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/OrderBy.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Client.Models 2 | { 3 | public enum OrderBy 4 | { 5 | Started, 6 | LastExecuted, 7 | Finished 8 | } 9 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/images/favicon-16x16.png -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/images/favicon-32x32.png -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.Monolith/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.Extensions.Configuration 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.DistributedLock/docker-compose.yaml: -------------------------------------------------------------------------------- 1 | version: '3.7' 2 | 3 | services: 4 | 5 | redis: 6 | image: redis 7 | ports: 8 | - "6379:6379" -------------------------------------------------------------------------------- /src/server/Elsa.Server.Hangfire/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/server/Elsa.Server.Orleans/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/TriggerIndexingFinished.cs: -------------------------------------------------------------------------------- 1 | using MediatR; 2 | 3 | namespace Elsa.Events 4 | { 5 | public record TriggerIndexingFinished : INotification 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/IBookmarkStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Persistence 4 | { 5 | public interface IBookmarkStore : IStore 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/IContainerNameAccessor.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public interface IContainerNameAccessor 4 | { 5 | string GetContainerName(); 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/IEndpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public interface IEndpoint 4 | { 5 | IActivityBlueprint Activity { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/WorkflowOutputReference.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record WorkflowOutputReference(string? ProviderName, string ActivityId); 4 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Bold.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Thin.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter.var.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter.var.woff2 -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Elasticsearch/Models/IElasticEntity.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Indexing.Models 2 | { 3 | public interface IElasticEntity 4 | { 5 | string GetId(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/modules/retention/Elsa.Retention/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/providers/Elsa.Providers.Redis/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rpa.Web/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Constants.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx 2 | { 3 | internal static class Constants 4 | { 5 | public const string Category = "Telnyx"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Api/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/FinishOutput.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Models 4 | { 5 | public record FinishOutput(object? Output, ICollection Outcomes); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Bookmarks/IBookmarkHasher.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public interface IBookmarkHasher 4 | { 5 | string Hash(IBookmark bookmark); 6 | } 7 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Black.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Black.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Bold.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Italic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Light.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Light.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Medium.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Thin.woff2 -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/Models/OrderBy.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Server.Api.Models 2 | { 3 | public enum OrderBy 4 | { 5 | Started, 6 | LastExecuted, 7 | Finished 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.BlobStorage/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Models/RunTaskModel.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Conductor.Models 2 | { 3 | public record RunTaskModel(string Task, object? Payload, string WorkflowInstanceId); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/ISourceEndpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public interface ISourceEndpoint : IEndpoint 4 | { 5 | string Outcome { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBold.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Italic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Medium.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Regular.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-Regular.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBold.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBold.woff2 -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Payloads/Call/CallRecordingUrls.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Webhooks.Payloads.Call 2 | { 3 | public record CallRecordingUrls(string? Wav, string? Mp3); 4 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BlackItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BlackItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BoldItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BoldItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBold.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLight.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLight.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLight.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-LightItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ThinItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ThinItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ThinItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ThinItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-italic.var.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-italic.var.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-roman.var.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-roman.var.woff2 -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ReadModelHttp/workflows.http: -------------------------------------------------------------------------------- 1 | POST http://localhost:5000/contacts 2 | Content-Type: application/json 3 | 4 | { 5 | "name": "John von Neumann", 6 | "email": "john@gmail.com" 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Models/SendCommandModel.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Conductor.Models 2 | { 3 | public record SendCommandModel(string Command, object? Payload, string WorkflowInstanceId); 4 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Models/RingGroupStrategy.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Models 2 | { 3 | public enum RingGroupStrategy 4 | { 5 | PrioritizedHunt, 6 | RingAll 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.YesSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/Specifications/SortDirection.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.Specifications 2 | { 3 | public enum SortDirection 4 | { 5 | Ascending, 6 | Descending 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BlackItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-BlackItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-LightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-LightItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-MediumItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-MediumItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-MediumItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBoldItalic.woff -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Client/Services/ITelnyxClient.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Client.Services 2 | { 3 | public interface ITelnyxClient 4 | { 5 | ICallsApi Calls { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.MongoDb/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/clients/Elsa.Client/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/IWorkflowInstanceStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Persistence 4 | { 5 | public interface IWorkflowInstanceStore : IStore 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Bookmarks/BookmarkIndexingMode.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public enum BookmarkIndexingMode 4 | { 5 | WorkflowBlueprint, 6 | WorkflowInstance 7 | } 8 | } -------------------------------------------------------------------------------- /src/designer/bindings/aspnet/Elsa.Designer.Components.Web/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBoldItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLightItalic.woff -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-SemiBoldItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-workflows-settings/models/domain.ts: -------------------------------------------------------------------------------- 1 | export interface WorkflowSettings { 2 | id?: string; 3 | workflowBlueprintId?: string; 4 | key?: string; 5 | value?: string; 6 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.YesSql/Documents/YesSqlDocument.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.YesSql.Documents 2 | { 3 | public abstract class YesSqlDocument 4 | { 5 | public int Id { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/Endpoints/WorkflowStorageProviders/Models.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Server.Api.Endpoints.WorkflowStorageProviders 2 | { 3 | public record WorkflowStorageDescriptor(string Name, string? DisplayName); 4 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/Models/UploadModeUnion.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Dropbox.Models 2 | { 3 | public enum UploadModeUnion 4 | { 5 | Add, 6 | Overwrite, 7 | Update, 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Temporal.Common/TimerConsts.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Temporal.Common 2 | { 3 | public static class TimerConsts 4 | { 5 | public const int MaxRetryGetWorkflow = 3; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/WorkflowFault.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public record WorkflowFault(SimpleException? Exception, string Message, string? FaultedActivityId, object? ActivityInput, bool Resuming); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Models/ActivityLifecycle.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public class ActivityLifecycle 4 | { 5 | public bool Executing { get; set; } 6 | public bool Executed { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/assets/fonts/inter/Inter-ExtraLightItalic.woff2 -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/controls/elsa-context-menu/models.tsx: -------------------------------------------------------------------------------- 1 | export interface MenuItem { 2 | text: string; 3 | anchorUrl?: string; 4 | clickHandler?: (e: Event) => void; 5 | icon?: any; 6 | } 7 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.HttpEndpointSecurity/Endpoints/Tokens/Models.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.HttpEndpointSecurity.Endpoints.Tokens 2 | { 3 | public record CreateTokenRequestModel(string UserName, bool IsAdmin); 4 | } -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/server/Elsa.Server.Hangfire/QueueNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Server.Hangfire 2 | { 3 | internal static class QueueNames 4 | { 5 | public const string CorrelatedWorkflows = "trigger-workflows-request"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Email/Options/SmtpDeliveryMethod.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Email.Options 2 | { 3 | public enum SmtpDeliveryMethod 4 | { 5 | Network, 6 | SpecifiedPickupDirectory 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.File/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.Core/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.MySql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Options/ElsaClientOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Client.Options 4 | { 5 | public class ElsaClientOptions 6 | { 7 | public Uri ServerUrl { get; set; } = default!; 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/IWorkflowDefinitionStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Persistence 4 | { 5 | public interface IWorkflowDefinitionStore : IStore 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Bookmarks/NullBookmark.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | public class NullBookmark : IBookmark 4 | { 5 | public static readonly IBookmark Instance = new NullBookmark(); 6 | } 7 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-workflows-settings/models/events.ts: -------------------------------------------------------------------------------- 1 | export const EventTypes = { 2 | ShowWorkflowSettings: 'show-workflow-settings', 3 | UpdateWorkflowSettings: 'update-workflow-settings' 4 | }; -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.YesSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.Liquid/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/servicebus/Elsa.Rebus.RabbitMq/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Console/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Email/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Entity/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.UserTask/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.PostgreSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.SqlServer/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.Sqlite/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/IWorkflowExecutionLogStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Persistence 4 | { 5 | public interface IWorkflowExecutionLogStore : IStore 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/controls/elsa-input-tags/elsa-input-tags.css: -------------------------------------------------------------------------------- 1 | :host { 2 | display: block; 3 | } 4 | 5 | .elsa-tag-input:focus { 6 | outline: none !important; 7 | box-shadow: none !important; 8 | } 9 | -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Abstractions/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Elasticsearch/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.MongoDb/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.MongoDb/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.YesSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.JavaScript/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Nuget.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/HttpResponseHeaders.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Http.Models 4 | { 5 | public class HttpResponseHeaders : Dictionary 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.MassTransit/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rpa.Web/Options/RpaWebConventions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Rpa.Web.Options 2 | { 3 | public class RpaWebConventions 4 | { 5 | public const string DriverIdKey = "_rpaWebDriverId"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/IConnection.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public interface IConnection 4 | { 5 | ISourceEndpoint Source { get; } 6 | ITargetEndpoint Target { get; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/RunWorkflowResult.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Services.Models 4 | { 5 | public record RunWorkflowResult(WorkflowInstance? WorkflowInstance, string? ActivityId, bool Executed); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Services/IdGenerator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Services 4 | { 5 | public class IdGenerator : IIdGenerator 6 | { 7 | public string Generate() => Guid.NewGuid().ToString("N"); 8 | } 9 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/modules/elsa-webhooks/models/events.ts: -------------------------------------------------------------------------------- 1 | export const EventTypes = { 2 | UpdateWebhook: 'update-webhook', 3 | WebhookModelChanged: 'webhook-model-changed', 4 | WebhookSaved: 'webhook-saved', 5 | }; -------------------------------------------------------------------------------- /src/locking/Elsa.DistributedLocking.AzureBlob/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/locking/Elsa.DistributedLocking.Redis/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/locking/Elsa.DistributedLocking.SqlServer/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.YesSql/Services/ISessionProvider.cs: -------------------------------------------------------------------------------- 1 | using YesSql; 2 | 3 | namespace Elsa.Persistence.YesSql.Services 4 | { 5 | public interface ISessionProvider 6 | { 7 | ISession CreateSession(); 8 | } 9 | } -------------------------------------------------------------------------------- /src/samples/server/Elsa.Samples.Server.Host/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/servicebus/Elsa.Rebus.AzureServiceBus/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Temporal.Common/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Temporal.Hangfire/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Temporal.Quartz/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Activities.Webhooks/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/WorkflowFault.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Client.Models 2 | { 3 | public class WorkflowFault 4 | { 5 | public string? FaultedActivityId { get; set; } 6 | public string? Message { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/NonPersistableAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Attributes 4 | { 5 | [AttributeUsage(AttributeTargets.Property)] 6 | public class NonPersistableAttribute : Attribute 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Stability/ILoopHandlerProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Services.Stability 4 | { 5 | public interface ILoopHandlerProvider 6 | { 7 | ILoopHandler GetHandler(Type type); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Options/ActivityExecutionCountLoopDetectorOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Options 2 | { 3 | public class ActivityExecutionCountLoopDetectorOptions 4 | { 5 | public int MaxExecutionCount { get; set; } = 500; 6 | } 7 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.Core/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.MySql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.MultiTenantChildWorker/Messages/OrderReceived.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.MultiTenantChildWorker.Messages 2 | { 3 | public class OrderReceived 4 | { 5 | public string CustomerId { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Email/Activities/SendEmail/EmailAttachment.cs: -------------------------------------------------------------------------------- 1 | // ReSharper disable once CheckNamespace 2 | namespace Elsa.Activities.Email 3 | { 4 | public record EmailAttachment(object Content, string? FileName, string? ContentType); 5 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Models/TelnyxRecord.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Webhooks.Models 2 | { 3 | public abstract class TelnyxRecord 4 | { 5 | public string RecordType { get; set; } = default!; 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Payloads/Abstract/Payload.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Webhooks.Payloads.Abstract 2 | { 3 | public abstract record Payload 4 | { 5 | public string? ClientState { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/ExcludeFromHashAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Attributes 4 | { 5 | [AttributeUsage(AttributeTargets.Property)] 6 | public class ExcludeFromHashAttribute : Attribute 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Providers/WorkflowStorage/WorkflowStorageContext.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Providers.WorkflowStorage 4 | { 5 | public record WorkflowStorageContext(WorkflowInstance WorkflowInstance, string ActivityId); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Stability/ILoopDetectorProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Services.Stability 4 | { 5 | public interface ILoopDetectorProvider 6 | { 7 | ILoopDetector GetDetector(Type type); 8 | } 9 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.PostgreSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.SqlServer/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.Sqlite/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.MySql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Oracle/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.SqlServer/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Sqlite/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ReadModelHttp/Models/Contact.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.ReadModelHttp.Models 2 | { 3 | public class Contact 4 | { 5 | public string Name { get; set; } 6 | public string Email { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Services/IAbsoluteUrlProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Http.Services 4 | { 5 | public interface IAbsoluteUrlProvider 6 | { 7 | Uri ToAbsoluteUrl(string relativePath); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/ActivityResults/DoneResult.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.ActivityResults 2 | { 3 | public class DoneResult : OutcomeResult 4 | { 5 | public DoneResult() : base(new[] { OutcomeNames.Done }) 6 | { 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Design/PropertyCategories.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Design 2 | { 3 | public static class PropertyCategories 4 | { 5 | public const string Advanced = "Advanced"; 6 | public const string Hosting = "Hosting"; 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/ActivityTraits.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | [Flags] 6 | public enum ActivityTraits 7 | { 8 | Action = 1, 9 | Trigger = 2, 10 | Job = 4 11 | } 12 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/dashboard/pages/elsa-studio-dashboard/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ethan0007/elsa-core/master/src/designer/elsa-workflows-studio/src/components/dashboard/pages/elsa-studio-dashboard/assets/logo.png -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.PostgreSql/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.BreakLoop/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.Faulting/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Email/Options/SmtpEncryptionMethod.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Email.Options 2 | { 3 | public enum SmtpEncryptionMethod 4 | { 5 | None = 0, 6 | SslTlS = 1, 7 | StartTls = 2 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/ActivityScope.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Client.Models 2 | { 3 | public class ActivityScope 4 | { 5 | public string ActivityId { get; set; } = default!; 6 | public Variables Variables { get; set; } = new(); 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/ICloner.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services 2 | { 3 | /// 4 | /// Cone the specified source value. 5 | /// 6 | public interface ICloner 7 | { 8 | T Clone(T source); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/StartableWorkflow.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Services.Models 4 | { 5 | public record StartableWorkflow(IWorkflowBlueprint WorkflowBlueprint, WorkflowInstance WorkflowInstance, string? ActivityId); 6 | } -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.SubPath/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using ElsaDashboard.Samples.AspNetCore.SubPath 2 | @namespace ElsaDashboard.Samples.AspNetCore.SubPath.Pages 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IActivityPropertyOptionsProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | public interface IActivityPropertyOptionsProvider 6 | { 7 | object? GetOptions(PropertyInfo property); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Activities/ControlFlow/For/Operator.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.ControlFlow 2 | { 3 | public enum Operator 4 | { 5 | LessThan, 6 | LessThanOrEqual, 7 | GreaterThan, 8 | GreaterThanOrEqual 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.CorrelationHttp/Models/Registration.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.CorrelationHttp.Models 2 | { 3 | public class Registration 4 | { 5 | public string Name { get; set; } 6 | public string Email { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.DocumentApproval/post-document.http: -------------------------------------------------------------------------------- 1 | POST http://localhost:62841/documents 2 | Content-Type: application/json 3 | 4 | { 5 | "Id": "document-1", 6 | "Author": { 7 | "Name": "Amanda" 8 | } 9 | } 10 | 11 | ### 12 | -------------------------------------------------------------------------------- /src/samples/server/SampleClientApp.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.WhileLoopWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Services/IRequestHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | 3 | namespace Elsa.Activities.Http.Services 4 | { 5 | public interface IRequestHandler 6 | { 7 | Task HandleRequestAsync(); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rpa.Web/Extensions/Direction.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Rpa.Web 2 | { 3 | public enum Direction 4 | { 5 | In, 6 | Out, 7 | Left, 8 | Right, 9 | Up, 10 | Down 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-switch-cases-property/models.ts: -------------------------------------------------------------------------------- 1 | import {Map} from "../../../../utils/utils"; 2 | 3 | export interface SwitchCase { 4 | name: string; 5 | expressions?: Map; 6 | syntax?: string; 7 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.SendHttp/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.SignalApi/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.CustomAttributesChildWorker/Messages/OrderReceived.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.CustomAttributesChildWorker.Messages 2 | { 3 | public class OrderReceived 4 | { 5 | public string CustomerId { get; set; } = default!; 6 | } 7 | } -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.MultiTenantChildWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RebusWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RunChildWorkflowWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.File/Activities/OutFile/CopyMode.cs: -------------------------------------------------------------------------------- 1 | // ReSharper disable once CheckNamespace 2 | namespace Elsa.Activities.File 3 | { 4 | public enum CopyMode 5 | { 6 | Append, 7 | Overwrite, 8 | CreateNew 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Client/Models/Header.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Client.Models 2 | { 3 | public class Header 4 | { 5 | public string Name { get; set; } = default!; 6 | public string Value { get; set; } = default!; 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Payloads/UnsupportedPayload.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Telnyx.Webhooks.Payloads.Abstract; 2 | 3 | namespace Elsa.Activities.Telnyx.Webhooks.Payloads 4 | { 5 | public sealed record UnsupportedPayload : Payload 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.MongoDb/Data/CollectionNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Webhooks.Persistence.MongoDb.Data 2 | { 3 | internal static class CollectionNames 4 | { 5 | public const string WebhookDefinitions = "WebhookDefinitions"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.YesSql/Data/CollectionNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Webhooks.Persistence.YesSql.Data 2 | { 3 | internal static class CollectionNames 4 | { 5 | public const string WebhookDefinitions = "WebhookDefinitions"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IActivityPropertyUIHintResolver.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | public interface IActivityPropertyUIHintResolver 6 | { 7 | string GetUIHint(PropertyInfo activityPropertyInfo); 8 | } 9 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/Services/IElsaContextFactory.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.EntityFramework.Core.Services 2 | { 3 | public interface IElsaContextFactory : IContextFactory 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.SubPath/Pages/Privacy.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model PrivacyModel 3 | @{ 4 | ViewData["Title"] = "Privacy Policy"; 5 | } 6 |

@ViewData["Title"]

7 | 8 |

Use this page to detail your site's privacy policy.

-------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.CustomAttributesChildWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.WhileLoopWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.MassTransit/Options/MessageScheduleOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.MassTransit.Options 4 | { 5 | public class MessageScheduleOptions 6 | { 7 | public Uri SchedulerAddress { get; set; } = default!; 8 | } 9 | } -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/WorkflowStatus.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Client.Models 2 | { 3 | public enum WorkflowStatus 4 | { 5 | Idle, 6 | Running, 7 | Finished, 8 | Suspended, 9 | Faulted, 10 | Cancelled 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IActivityPropertyDefaultValueProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | public interface IActivityPropertyDefaultValueProvider 6 | { 7 | object GetDefaultValue(PropertyInfo property); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IActivityPropertyOptionsResolver.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | public interface IActivityPropertyOptionsResolver 6 | { 7 | object? GetOptions(PropertyInfo activityPropertyInfo); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/StartableWorkflowDefinition.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record StartableWorkflowDefinition(IWorkflowBlueprint WorkflowBlueprint, string? ActivityId, string? CorrelationId = default, string? ContextId = default); 4 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.CustomTenantIdSource/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/server/SampleClientApp.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.AzureServiceBusWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.MultiTenantChildWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RunChildWorkflowWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/shared/Elsa.Testing.Shared/Helpers/AssertableActivityState.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Testing.Shared.Helpers 4 | { 5 | public class AssertableActivityState 6 | { 7 | public List Messages { get; set; } = new(); 8 | } 9 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ForkJoinTimerAndSignalHttp/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.Interrupts/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.SendHttp/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.SubPath/Pages/Shared/_ValidationScriptsPartial.cshtml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.CustomAttributesChildWorker/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/ElsaApiOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.AspNetCore.Mvc; 3 | 4 | namespace Elsa.Server.Api 5 | { 6 | public class ElsaApiOptions 7 | { 8 | public Action? SetupNewtonsoftJson { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/HttpWorkflowResource.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Services.Models; 2 | 3 | namespace Elsa.Activities.Http.Models 4 | { 5 | public record HttpWorkflowResource(IWorkflowBlueprint WorkflowBlueprint, IActivityBlueprint ActivityBlueprint, string WorkflowInstance); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/ActivityOutputAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Attributes 4 | { 5 | [AttributeUsage(AttributeTargets.Property)] 6 | public class ActivityOutputAttribute : ActivityPropertyAttributeBase 7 | { 8 | 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/StartWorkflowArgs.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Services.Models 4 | { 5 | public record StartWorkflowArgs(string? ActivityId = default, WorkflowInput? Input = default, string? CorrelationId = default, string? ContextId = default); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/TargetEndpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public class TargetEndpoint : Endpoint, ITargetEndpoint 4 | { 5 | public TargetEndpoint(IActivityBlueprint activity) : base(activity) 6 | { 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Options/LoopDetectorOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Options 4 | { 5 | public class LoopDetectorOptions 6 | { 7 | public Type? DefaultLoopDetector { get; set; } 8 | public Type? DefaultLoopHandler { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/utils/store.ts: -------------------------------------------------------------------------------- 1 | import { createStore } from "@stencil/store"; 2 | 3 | const { state, onChange } = createStore({ 4 | activityDescriptors: [], 5 | workflowStorageDescriptors: [], 6 | monacoLibPath: '' 7 | }); 8 | 9 | export default state; 10 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.YesSql/Data/CollectionNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.WorkflowSettings.Persistence.YesSql.Data 2 | { 3 | internal static class CollectionNames 4 | { 5 | public const string WorkflowSettings = "WorkflowSettings"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/Services/IEndpointContentSerializerSettingsProvider.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace Elsa.Server.Api.Services 4 | { 5 | public interface IEndpointContentSerializerSettingsProvider 6 | { 7 | JsonSerializerSettings GetSettings(); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Client/Models/Responses.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Client.Models 2 | { 3 | public record TelnyxResponse(T Data); 4 | public record DialResponse(string CallControlId, string CallLegId, string CallSessionId, bool IsAlive, string RecordType); 5 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/DescribingActivityType.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Metadata; 2 | using Elsa.Services.Models; 3 | using MediatR; 4 | 5 | namespace Elsa.Events 6 | { 7 | public record DescribingActivityType(ActivityType ActivityType, ActivityDescriptor ActivityDescriptor) : INotification; 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IActivityPropertyDefaultValueResolver.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | namespace Elsa.Metadata 4 | { 5 | public interface IActivityPropertyDefaultValueResolver 6 | { 7 | object? GetDefaultValue(PropertyInfo activityPropertyInfo); 8 | } 9 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.MongoDb/Data/CollectionNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.WorkflowSettings.Persistence.MongoDb.Data 2 | { 3 | internal static class CollectionNames 4 | { 5 | public const string WorkflowSettings = "WorkflowSettings"; 6 | } 7 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/Services/IDbContextFactory.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.EntityFramework.Core.Services 2 | { 3 | public interface IContextFactory 4 | { 5 | TContext CreateDbContext(); 6 | } 7 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.MongoDb/Options/ElsaMongoDbOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.MongoDb.Options 2 | { 3 | public class ElsaMongoDbOptions 4 | { 5 | public string? ConnectionString { get; set; } 6 | public string? DatabaseName { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.CustomTenantIdSource/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.InfiniteLoopDetection/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/HttpRequestHeaders.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Http.Models 4 | { 5 | public class HttpRequestHeaders : Dictionary 6 | { 7 | public string ContentType => this["content-type"]; 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Models/TelnyxWebhookMeta.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Webhooks.Models 2 | { 3 | public class TelnyxWebhookMeta 4 | { 5 | public int Attempt { get; set; } 6 | public string DeliveredTo { get; set; } = default!; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/StartableWorkflowsQuery.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record StartableWorkflowsQuery(string WorkflowDefinitionId, string? ActivityId = default, string? CorrelationId = default, string? ContextId = default, string? TenantId = default); 4 | } -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.JavaScript/Services/IConvertsEnumerableToObject.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | 3 | namespace Elsa.Scripting.JavaScript.Services 4 | { 5 | public interface IConvertsEnumerableToObject 6 | { 7 | object? ConvertEnumerable(IEnumerable enumerable); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Models/EventModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Conductor.Models 4 | { 5 | public record EventModel(string EventName, ICollection? Outcomes, object? Payload, string? WorkflowInstanceId, string? CorrelationId); 6 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Entity/Activities/EntityChanged/EntityChangedActions.cs: -------------------------------------------------------------------------------- 1 | // ReSharper disable once CheckNamespace 2 | namespace Elsa.Activities.Entity 3 | { 4 | public enum EntityChangedAction 5 | { 6 | Added, 7 | Updated, 8 | Deleted 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/Persistence/IWebhookDefinitionStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Persistence; 2 | using Elsa.Webhooks.Models; 3 | 4 | namespace Elsa.Webhooks.Persistence 5 | { 6 | public interface IWebhookDefinitionStore : IStore 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/WorkflowsQuery.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public record WorkflowsQuery(string ActivityType, IBookmark? Bookmark, string? CorrelationId = default, string? WorkflowInstanceId = default, string? ContextId = default, string? TenantId = default); 4 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Stability/ILoopHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using Elsa.Services.Models; 3 | 4 | namespace Elsa.Services.Stability 5 | { 6 | public interface ILoopHandler 7 | { 8 | ValueTask HandleLoop(ActivityExecutionContext context); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Startup/IStartupRunner.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Services 5 | { 6 | public interface IStartupRunner 7 | { 8 | Task StartupAsync(CancellationToken cancellationToken = default); 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorServer/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.Liquid/Helpers/LiquidActivityModel.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Services.Models; 2 | 3 | namespace Elsa.Scripting.Liquid.Helpers 4 | { 5 | public record LiquidActivityModel(ActivityExecutionContext ActivityExecutionContext, string? ActivityName, string? ActivityId) 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Models/TaskResultModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Conductor.Models 4 | { 5 | public record TaskResultModel(string TaskName, ICollection? Outcomes, object? Payload, string? WorkflowInstanceId, string? CorrelationId); 6 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/HostedServices/IScopedBackgroundService.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.HostedServices 5 | { 6 | public interface IScopedBackgroundService 7 | { 8 | Task ExecuteAsync(CancellationToken cancellationToken); 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.HttpEndpointSecurity/Services/ITokenService.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.HttpEndpointSecurity.Services 2 | { 3 | public interface ITokenService 4 | { 5 | string CreateToken(string userName, bool isAdmin); 6 | bool ValidateToken(string token); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /design/icon/dark/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | #ffffff -------------------------------------------------------------------------------- /design/icon/light/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | #ffffff -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Triggers/ITriggerIndexer.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Services 5 | { 6 | public interface ITriggerIndexer 7 | { 8 | Task IndexTriggersAsync(CancellationToken cancellationToken = default); 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/server/Elsa.Samples.Server.Host/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Warning", 5 | "Orleans": "Warning", 6 | "System": "Information", 7 | "Microsoft": "Warning" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/ITenantAccessor.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Services 5 | { 6 | public interface ITenantAccessor 7 | { 8 | Task GetTenantIdAsync(CancellationToken cancellationToken = default); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Persistence/IWorkflowSettingsStore.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Persistence; 2 | using Elsa.WorkflowSettings.Models; 3 | 4 | namespace Elsa.WorkflowSettings.Persistence 5 | { 6 | public interface IWorkflowSettingsStore : IStore 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/samples/dashboard/blazor/ElsaDashboard.Samples.BlazorServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft": "Warning", 7 | "Microsoft.Hosting.Lifetime": "Information" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Providers/WorkflowContexts/IWorkflowContextProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Elsa.Providers.WorkflowContexts 5 | { 6 | public interface IWorkflowContextProvider 7 | { 8 | IEnumerable SupportedTypes { get; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ "tslint-stencil" ], 3 | "rules": { 4 | "no-import-side-effect": false, 5 | "linebreak-style": false, 6 | "align": true, 7 | "no-inferrable-types": false, 8 | "quotemark": false, 9 | "ordered-imports": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.DocumentApproval/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Debug", 5 | "System": "Information", 6 | "Microsoft": "Information", 7 | "Microsoft.EntityFrameworkCore": "Warning" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.Timers.Quartz/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Warning", 5 | "System": "Information", 6 | "Microsoft": "Information", 7 | "Microsoft.EntityFrameworkCore": "Warning" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/Options/AzureServiceBusOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.AzureServiceBus.Options 2 | { 3 | public class AzureServiceBusOptions 4 | { 5 | public string ConnectionString { get; set; } = default!; 6 | public int MaxConcurrentCalls { get; set; } = 1; 7 | } 8 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/Options/DropboxOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Dropbox.Options 4 | { 5 | public class DropboxOptions 6 | { 7 | public string AccessToken { get; set; } = default!; 8 | public Uri? ContentServiceUrl { get; set; } = default!; 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Services/IWebhookFilterService.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Telnyx.Webhooks.Payloads.Abstract; 2 | 3 | namespace Elsa.Activities.Telnyx.Webhooks.Services 4 | { 5 | internal interface IWebhookFilterService 6 | { 7 | string? GetActivityTypeName(Payload payload); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/ActivityPropertyAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Attributes 4 | { 5 | [Obsolete("Use ActivityInputAttribute instead.")] 6 | [AttributeUsage(AttributeTargets.Property)] 7 | public class ActivityPropertyAttribute : ActivityInputAttribute 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Options/CooldownLoopHandlerOptions.cs: -------------------------------------------------------------------------------- 1 | using NodaTime; 2 | 3 | namespace Elsa.Options 4 | { 5 | public class CooldownLoopHandlerOptions 6 | { 7 | public Duration CooldownPeriod { get; set; } = Duration.FromMinutes(1); 8 | public int MaxCooldownEvents { get; set; } = 10; 9 | } 10 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.HttpEndpointSecurity/Options/JwtOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.HttpEndpointSecurity.Options 2 | { 3 | public class JwtOptions 4 | { 5 | public string SecretKey { get; set; } 6 | public string Issuer { get; set; } 7 | public string Audience { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Services/IWebhookHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using Microsoft.AspNetCore.Http; 3 | 4 | namespace Elsa.Activities.Telnyx.Webhooks.Services 5 | { 6 | internal interface IWebhookHandler 7 | { 8 | Task HandleAsync(HttpContext httpContext); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Messaging/IEventPublisher.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Services 5 | { 6 | public interface IEventPublisher 7 | { 8 | Task PublishAsync(object message, IDictionary? headers = default); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Startup/IStartupTask.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Services 5 | { 6 | public interface IStartupTask 7 | { 8 | int Order { get; } 9 | Task ExecuteAsync(CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/shared/elsa-confirm-dialog/localizations.ts: -------------------------------------------------------------------------------- 1 | export const resources = { 2 | 'en': { 3 | 'default': { 4 | 'Yes': 'Yes', 5 | 'No': 'No' 6 | } 7 | }, 8 | 'nl-NL': { 9 | 'default': { 10 | 'Yes': 'Ja', 11 | 'No': 'Nee', 12 | } 13 | } 14 | }; -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.Faulting/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.Faulting": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Persistence.EntityFramework.Core/Services/IWebhookContextFactory.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Persistence.EntityFramework.Core.Services; 2 | 3 | namespace Elsa.Webhooks.Persistence.EntityFramework.Core.Services 4 | { 5 | public interface IWebhookContextFactory : IContextFactory 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/JobAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Elsa.Metadata; 3 | 4 | namespace Elsa.Attributes 5 | { 6 | [AttributeUsage(AttributeTargets.Class)] 7 | public sealed class JobAttribute : ActivityAttribute 8 | { 9 | public JobAttribute() => Traits = ActivityTraits.Job; 10 | } 11 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/index.ts: -------------------------------------------------------------------------------- 1 | import '@stencil/router'; 2 | export { Components, JSX } from './components'; 3 | export * from './models'; 4 | export * from './services'; 5 | export * from './modules/elsa-webhooks/plugins/webhooks-plugin'; 6 | export * from './modules/elsa-workflows-settings/plugins/workflow-settings-plugin'; 7 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.BreakLoop/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.WhileLoopWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/server/Elsa.Server.Api/Models/ListModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | 4 | namespace Elsa.Server.Api.Models 5 | { 6 | public record ListModel 7 | { 8 | public ListModel(IEnumerable items) => Items = items.ToArray(); 9 | public T[] Items { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Liquid/LiquidRequestAccessor.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Http.Liquid 2 | { 3 | /// 4 | /// This is a placeholder class that allows modules to extend the `HttpRequest` property in the current Liquid scope 5 | /// 6 | public class LiquidRequestAccessor 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/SourceEndpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public class SourceEndpoint : Endpoint, ISourceEndpoint 4 | { 5 | public SourceEndpoint(IActivityBlueprint activity, string outcome) : base(activity) => Outcome = outcome; 6 | public string Outcome { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/dashboard/pages/elsa-studio-workflow-instances-list/localizations.ts: -------------------------------------------------------------------------------- 1 | export const resources = { 2 | 'en': { 3 | default: { 4 | 'Title': 'Workflow Instances' 5 | } 6 | }, 7 | 'nl-NL': { 8 | default: { 9 | 'Title': 'Workflow Instanties' 10 | } 11 | } 12 | }; -------------------------------------------------------------------------------- /src/samples/dashboard/html/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "html", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "dependencies": { 7 | "serve": "^11.3.2" 8 | }, 9 | "devDependencies": {}, 10 | "scripts": { 11 | "run": "serve" 12 | }, 13 | "author": "", 14 | "license": "ISC" 15 | } 16 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.Timers.Quartz/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.Timers.Quartz": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.WhileLoopWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.WhileLoopWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Services/IRequestHandlerResult.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using Microsoft.AspNetCore.Http; 3 | 4 | namespace Elsa.Activities.Http.Services 5 | { 6 | public interface IRequestHandlerResult 7 | { 8 | Task ExecuteResultAsync(HttpContext httpContext, RequestDelegate next); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/ActionAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Elsa.Metadata; 3 | 4 | namespace Elsa.Attributes 5 | { 6 | [AttributeUsage(AttributeTargets.Class)] 7 | public sealed class ActionAttribute : ActivityAttribute 8 | { 9 | public ActionAttribute() => Traits = ActivityTraits.Action; 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/Specifications/ISpecification.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq.Expressions; 3 | 4 | namespace Elsa.Persistence.Specifications 5 | { 6 | public interface ISpecification 7 | { 8 | bool IsSatisfiedBy(T entity); 9 | Expression> ToExpression(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.MassTransit/Consumers/MessageCorrelation/ICorrelationIdSelector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.MassTransit.Consumers.MessageCorrelation 4 | { 5 | public interface ICorrelationIdSelector where T : class 6 | { 7 | bool TryGetCorrelationId(T message, out Guid? correlationId); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.MassTransit/Options/RabbitMqOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.MassTransit.Options 2 | { 3 | public class RabbitMqOptions 4 | { 5 | public string Host { get; set; } = default!; 6 | public string Username { get; set; } = default!; 7 | public string Password { get; set; } = default!; 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Payloads/Call/CallPlayback.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Webhooks.Payloads.Call 4 | { 5 | public abstract record CallPlayback : CallPayload 6 | { 7 | public Uri MediaUrl { get; init; } = default!; 8 | public bool Overlay { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/TriggerAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Elsa.Metadata; 3 | 4 | namespace Elsa.Attributes 5 | { 6 | [AttributeUsage(AttributeTargets.Class)] 7 | public sealed class TriggerAttribute : ActivityAttribute 8 | { 9 | public TriggerAttribute() => Traits = ActivityTraits.Trigger; 10 | } 11 | } -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.MultiTenantChildWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.WhileLoopWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RebusWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.Rebus.AzureServiceBusWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RunChildWorkflowWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.WhileLoopWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/ExecutingWorkflow.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Services.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class ExecutingWorkflow : WorkflowNotification 6 | { 7 | public ExecutingWorkflow(WorkflowExecutionContext workflowExecutionContext) : base(workflowExecutionContext) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionSaved.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionSaved : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionSaved(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IOutcomesProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | 5 | namespace Elsa.Metadata 6 | { 7 | public interface IOutcomesProvider 8 | { 9 | ValueTask> GetOutcomesAsync(CancellationToken cancellationToken); 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/Endpoint.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Services.Models 2 | { 3 | public abstract class Endpoint 4 | { 5 | protected Endpoint(IActivityBlueprint activity) 6 | { 7 | Activity = activity; 8 | } 9 | 10 | public IActivityBlueprint Activity { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Models/IWorkflowBlueprintWrapper.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Services.Models 4 | { 5 | public interface IWorkflowBlueprintWrapper 6 | { 7 | IWorkflowBlueprint WorkflowBlueprint { get; } 8 | IEnumerable Activities { get; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Activities/Workflows/RunWorkflow/Models/FinishedWorkflowModel.cs: -------------------------------------------------------------------------------- 1 | // ReSharper disable once CheckNamespace 2 | namespace Elsa.Activities.Workflows 3 | { 4 | public class FinishedWorkflowModel 5 | { 6 | public string WorkflowInstanceId { get; set; } = default!; 7 | public object? WorkflowOutput { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | indent_style = space 8 | indent_size = 2 9 | end_of_line = lf 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | insert_final_newline = false 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /src/samples/console/Elsa.Samples.EntityChanged/Entity.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Entity.Attributes; 2 | 3 | namespace Elsa.Samples.EntityChanged 4 | { 5 | [EntityName("Test-Entity")] 6 | public class Entity 7 | { 8 | public string Id { get; set; } = default!; 9 | public string Title { get; set; } = default!; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.CustomAttributesChildWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.WhileLoopWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/component/Elsa.ComponentTests/Helpers/ComponentTestsCollection.cs: -------------------------------------------------------------------------------- 1 | using Xunit; 2 | 3 | namespace Elsa.ComponentTests.Helpers 4 | { 5 | [CollectionDefinition(Name)] 6 | public class ComponentTestsCollection : ICollectionFixture 7 | { 8 | public const string Name = "Component Tests"; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Exceptions/TelnyxException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Exceptions 4 | { 5 | public class TelnyxException : Exception 6 | { 7 | public TelnyxException(string message, Exception? innerException = default) : base(message, innerException) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Api/Models/WebhookDefinitionSummaryModel.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Webhooks.Api.Models 2 | { 3 | public record WebhookDefinitionSummaryModel( 4 | string Id, 5 | string? Path, 6 | string? Name, 7 | string? Description, 8 | string? PayloadTypeName, 9 | bool IsEnabled); 10 | } 11 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionDeleted.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionDeleted : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionDeleted(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionSaving.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionSaving : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionSaving(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/controls/elsa-dropdown-button/models.tsx: -------------------------------------------------------------------------------- 1 | export enum DropdownButtonOrigin 2 | { 3 | TopLeft, 4 | TopRight 5 | } 6 | 7 | export interface DropdownButtonItem { 8 | name?: string; 9 | value?: any; 10 | text: string; 11 | url?: string; 12 | isSelected?: boolean; 13 | handler?: () => {}; 14 | } 15 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.AzureServiceBusWorker/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.Rebus.AzureServiceBusWorker": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "environmentVariables": { 7 | "DOTNET_ENVIRONMENT": "Development" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/shared/Elsa.Testing.Shared/AutoFixture/SpecimenBuilders/SpecimenContextExtensions.cs: -------------------------------------------------------------------------------- 1 | using AutoFixture.Kernel; 2 | 3 | namespace Elsa.Testing.Shared.AutoFixture.SpecimenBuilders 4 | { 5 | public static class SpecimenContextExtensions 6 | { 7 | public static T Resolve(this ISpecimenContext context) => (T) context.Resolve(typeof(T)); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/Services/IServiceBusQueuesStarter.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Activities.AzureServiceBus.Services 5 | { 6 | public interface IServiceBusQueuesStarter 7 | { 8 | Task CreateWorkersAsync(CancellationToken cancellationToken = default); 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/Services/IServiceBusTopicsStarter.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | 4 | namespace Elsa.Activities.AzureServiceBus.Services 5 | { 6 | public interface IServiceBusTopicsStarter 7 | { 8 | Task CreateWorkersAsync(CancellationToken cancellationToken = default); 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/Models/UploadMode.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace Elsa.Activities.Dropbox.Models 4 | { 5 | public class UploadMode 6 | { 7 | [JsonProperty(PropertyName = ".tag")] 8 | public UploadModeUnion Tag { get; set; } 9 | 10 | public string Update { get; set; } = default!; 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Client/Services/TelnyxClient.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Telnyx.Client.Services 2 | { 3 | public class TelnyxClient : ITelnyxClient 4 | { 5 | public TelnyxClient(ICallsApi calls) 6 | { 7 | Calls = calls; 8 | } 9 | 10 | public ICallsApi Calls { get; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Models/TelnyxWebhook.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Webhooks.Models 4 | { 5 | [Serializable] 6 | public class TelnyxWebhook 7 | { 8 | public TelnyxWebhookMeta Meta { get; set; } = default!; 9 | public TelnyxWebhookData Data { get; set; } = default!; 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionDeleting.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionDeleting : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionDeleting(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Metadata/IDescribesActivityType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | 5 | namespace Elsa.Metadata 6 | { 7 | public interface IDescribesActivityType 8 | { 9 | Task DescribeAsync(Type activityType, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Oracle/Readme.md: -------------------------------------------------------------------------------- 1 | ### Entity Framework Core Commands 2 | 3 | **Generate Migrations** 4 | 5 | ``` 6 | dotnet ef migrations add Initial -- "{connection string}" 7 | 8 | ``` 9 | 10 | etc.. 11 | 12 | **Apply Migrations** 13 | 14 | `dotnet ef database update -- "{connection string}"` -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RebusWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "ConnectionStrings": { 10 | "AzureServiceBus": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Services/IHttpEndpointAuthorizationHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using Elsa.Activities.Http.Models; 3 | 4 | namespace Elsa.Activities.Http.Services 5 | { 6 | public interface IHttpEndpointAuthorizationHandler 7 | { 8 | ValueTask AuthorizeAsync(AuthorizeHttpEndpointContext context); 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowBlueprintLoaded.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Services.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowBlueprintLoaded : WorkflowBlueprintNotification 6 | { 7 | public WorkflowBlueprintLoaded(IWorkflowBlueprint workflowBlueprint) : base(workflowBlueprint) 8 | { 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionPublished.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionPublished : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionPublished(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionPublishing.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionPublishing : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionPublishing(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionRetracted.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionRetracted : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionRetracted(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionRetracting.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Events 4 | { 5 | public class WorkflowDefinitionRetracting : WorkflowDefinitionNotification 6 | { 7 | public WorkflowDefinitionRetracting(WorkflowDefinition workflowDefinition) : base(workflowDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/ICompositeActivityDefinition.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Models 4 | { 5 | public interface ICompositeActivityDefinition 6 | { 7 | public ICollection Activities { get; set; } 8 | public ICollection Connections { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "avoid", 3 | "bracketSpacing": true, 4 | "jsxBracketSameLine": false, 5 | "jsxSingleQuote": false, 6 | "quoteProps": "consistent", 7 | "printWidth": 180, 8 | "semi": true, 9 | "singleQuote": true, 10 | "tabWidth": 2, 11 | "trailingComma": "all", 12 | "useTabs": false 13 | } 14 | -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/services/property-display-driver.ts: -------------------------------------------------------------------------------- 1 | import {ActivityModel, ActivityPropertyDescriptor} from "../models"; 2 | 3 | export interface PropertyDisplayDriver { 4 | display(activity: ActivityModel, property: ActivityPropertyDescriptor) 5 | 6 | update?(activity: ActivityModel, property: ActivityPropertyDescriptor, form: FormData) 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Elasticsearch/ElsaElasticsearchConsts.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Indexing 2 | { 3 | public static class ElsaElasticsearchConsts 4 | { 5 | public const string Analyzer = "standard"; 6 | public const string SearchAnalyzer = "shingle_analyzer"; 7 | public const string Normalizer = "lowercase_normalizer"; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.Liquid/Services/ILiquidFilter.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using Fluid; 3 | using Fluid.Values; 4 | 5 | namespace Elsa.Scripting.Liquid.Services 6 | { 7 | public interface ILiquidFilter 8 | { 9 | ValueTask ProcessAsync(FluidValue input, FilterArguments arguments, TemplateContext ctx); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Events/HttpTriggeredSignal.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Elsa.Activities.Signaling.Models; 3 | using Elsa.Services.Models; 4 | using MediatR; 5 | 6 | namespace Elsa.Activities.Http.Events 7 | { 8 | public record HttpTriggeredSignal(SignalModel SignalModel, ICollection AffectedWorkflows) : INotification; 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/HttpResponseModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Net; 3 | 4 | namespace Elsa.Activities.Http.Models 5 | { 6 | public class HttpResponseModel 7 | { 8 | public HttpStatusCode StatusCode { get; set; } 9 | public Dictionary Headers { get; set; } = new(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Rpa.Web/Options/DriverType.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Activities.Rpa.Web.Options 2 | { 3 | public class DriverType 4 | { 5 | public const string Chrome = "chrome"; 6 | public const string Firefox = "firefox"; 7 | public const string InternetExplorer = "ie"; 8 | public const string Opera = "opera"; 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Builders/ICompositeActivity.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Builders 2 | { 3 | public interface ICompositeActivity where TBuilder: ICompositeActivityBuilder 4 | { 5 | void Build(TBuilder builder); 6 | } 7 | 8 | public interface ICompositeActivity : ICompositeActivity 9 | { 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Mapping/ExceptionProfile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AutoMapper; 3 | using Elsa.Models; 4 | 5 | namespace Elsa.Mapping 6 | { 7 | public class ExceptionProfile : Profile 8 | { 9 | public ExceptionProfile() 10 | { 11 | CreateMap().ConvertUsing(); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ContextualWorkflowHttp/Models/Comment.cs: -------------------------------------------------------------------------------- 1 | using NodaTime; 2 | 3 | namespace Elsa.Samples.ContextualWorkflowHttp.Models 4 | { 5 | public class Comment 6 | { 7 | public string Author { get; set; } = default!; 8 | public Instant Timestamp { get; set; } 9 | public string Text { get; set; } = default!; 10 | } 11 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.MassTransitRabbitMq/Messages/IInterfaceMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace Elsa.Samples.MassTransitRabbitMq.Messages 7 | { 8 | public interface IInterfaceMessage 9 | { 10 | Guid CorrelationId { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.AzureServiceBusWorker/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "ConnectionStrings": { 10 | "AzureServiceBus": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Models/CommandDefinition.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Activities.Conductor.Models 4 | { 5 | public class CommandDefinition : Entity 6 | { 7 | public string Name { get; set; } = default!; 8 | public string? DisplayName { get; set; } 9 | public string? Description { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Builders/IConnectionBuilder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Builders 4 | { 5 | public interface IConnectionBuilder 6 | { 7 | ICompositeActivityBuilder WorkflowBuilder { get; } 8 | Func Source { get; } 9 | Func Target{ get; } 10 | string Outcome { get; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Providers/Workflows/BlobStorageWorkflowProviderOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Storage.Net; 3 | using Storage.Net.Blobs; 4 | 5 | namespace Elsa.Providers.Workflows 6 | { 7 | public class BlobStorageWorkflowProviderOptions 8 | { 9 | public Func BlobStorageFactory { get; set; } = () => StorageFactory.Blobs.InMemory(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/i18n/intl-message.tsx: -------------------------------------------------------------------------------- 1 | import i18next, {i18n} from 'i18next'; 2 | import 'i18next-wc'; 3 | import {h} from "@stencil/core"; 4 | 5 | export const IntlMessage = (props) => (); 6 | 7 | export function GetIntlMessage(i18next: i18n){ 8 | return (props) => (); 9 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.EntityFramework.Core/Services/IWorkflowSettingsContextFactory.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Persistence.EntityFramework.Core.Services; 2 | 3 | namespace Elsa.WorkflowSettings.Persistence.EntityFramework.Core.Services 4 | { 5 | public interface IWorkflowSettingsContextFactory : IContextFactory 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.EntityFramework/Elsa.Persistence.EntityFramework.Core/Extensions/DateTimeExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Persistence.EntityFramework.Core.Extensions 4 | { 5 | public static class DateTimeExtensions 6 | { 7 | public static DateTime WithKind(this DateTime dateTime, DateTimeKind kind) => new(dateTime.Ticks, kind); 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/Events/WebhookDefinitionSaved.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Webhooks.Models; 2 | 3 | namespace Elsa.Webhooks.Events 4 | { 5 | public class WebhookDefinitionSaved : WebhookDefinitionNotification 6 | { 7 | public WebhookDefinitionSaved(WebhookDefinition webhookDefinition) : base(webhookDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Extensions/CacheEntryExtensions.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Caching.Memory; 2 | using Microsoft.Extensions.Primitives; 3 | 4 | namespace Elsa 5 | { 6 | public static class CacheEntryExtensions 7 | { 8 | public static void Monitor(this ICacheEntry entry, IChangeToken changeToken) => 9 | entry.ExpirationTokens.Add(changeToken); 10 | } 11 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.YesSql/Data/DataMigration.cs: -------------------------------------------------------------------------------- 1 | using YesSql.Sql; 2 | 3 | namespace Elsa.Persistence.YesSql.Data 4 | { 5 | /// 6 | /// Represents a database migration. 7 | /// 8 | public abstract class DataMigration : IDataMigration 9 | { 10 | public ISchemaBuilder SchemaBuilder { get; set; } = default!; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.CorrelationHttp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.LongRunningHttp": { 4 | "commandName": "Project", 5 | "launchBrowser": true, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "http://localhost:8201" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.RebusWorker/Messages/Greeting.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.RebusWorker.Messages 2 | { 3 | public class Greeting 4 | { 5 | public string From { get; set; } 6 | public string To { get; set; } 7 | public string Message { get; set; } 8 | public override string ToString() => $"{From} says \"{Message}\" to {To}."; 9 | } 10 | } -------------------------------------------------------------------------------- /configureawait.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | All 6 | runtime; build; native; contentfiles; analyzers 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Dropbox/Services/IFilesApi.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Elsa.Activities.Dropbox.Models; 4 | 5 | namespace Elsa.Activities.Dropbox.Services 6 | { 7 | public interface IFilesApi 8 | { 9 | Task UploadAsync(UploadRequest request, byte[] file, CancellationToken cancellationToken); 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/Events/WebhookDefinitionDeleted.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Webhooks.Models; 2 | 3 | namespace Elsa.Webhooks.Events 4 | { 5 | public class WebhookDefinitionDeleted : WebhookDefinitionNotification 6 | { 7 | public WebhookDefinitionDeleted(WebhookDefinition webhookDefinition) : base(webhookDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/Events/WebhookDefinitionSaving.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Webhooks.Models; 2 | 3 | namespace Elsa.Webhooks.Events 4 | { 5 | public class WebhookDefinitionSaving : WebhookDefinitionNotification 6 | { 7 | public WebhookDefinitionSaving(WebhookDefinition webhookDefinition) : base(webhookDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Events/WorkflowSettingsSaved.cs: -------------------------------------------------------------------------------- 1 | using Elsa.WorkflowSettings.Models; 2 | 3 | namespace Elsa.WorkflowSettings.Events 4 | { 5 | public class WorkflowSettingsSaved : WorkflowSettingsNotification 6 | { 7 | public WorkflowSettingsSaved(WorkflowSetting workflowSetting) : base(workflowSetting) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ContextualWorkflowHttp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.LongRunningHttp": { 4 | "commandName": "Project", 5 | "launchBrowser": true, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "http://localhost:7301" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /test/integration/Elsa.Core.IntegrationTests/Workflows/BasicWorkflow.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Console; 2 | using Elsa.Builders; 3 | 4 | namespace Elsa.Core.IntegrationTests.Workflows 5 | { 6 | public class BasicWorkflow : IWorkflow 7 | { 8 | public void Build(IWorkflowBuilder builder) 9 | { 10 | builder.WriteLine("Hello xUnit!"); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Exceptions/MissingFromNumberException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Exceptions 4 | { 5 | public class MissingFromNumberException : TelnyxException 6 | { 7 | public MissingFromNumberException(string message, Exception? innerException = default) : base(message, innerException) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Webhooks.Abstractions/Events/WebhookDefinitionDeleting.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Webhooks.Models; 2 | 3 | namespace Elsa.Webhooks.Events 4 | { 5 | public class WebhookDefinitionDeleting : WebhookDefinitionNotification 6 | { 7 | public WebhookDefinitionDeleting(WebhookDefinition webhookDefinition) : base(webhookDefinition) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/WorkflowStatus.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | 4 | namespace Elsa.Models 5 | { 6 | [JsonConverter(typeof(StringEnumConverter))] 7 | public enum WorkflowStatus 8 | { 9 | Idle, 10 | Running, 11 | Finished, 12 | Suspended, 13 | Faulted, 14 | Cancelled 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Events/WorkflowSettingsSaving.cs: -------------------------------------------------------------------------------- 1 | using Elsa.WorkflowSettings.Models; 2 | 3 | namespace Elsa.WorkflowSettings.Events 4 | { 5 | public class WorkflowSettingsSaving : WorkflowSettingsNotification 6 | { 7 | public WorkflowSettingsSaving(WorkflowSetting workflowSetting) : base(workflowSetting) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Models/WorkflowSetting.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.WorkflowSettings.Models 4 | { 5 | public class WorkflowSetting : Entity 6 | { 7 | public string WorkflowBlueprintId { get; set; } = default!; 8 | public string Key { get; set; } = default!; 9 | public string? Value { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/samples/server/Elsa.Samples.Server.Host/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Server.Host": { 4 | "commandName": "Project", 5 | "launchUrl": "https://localhost:11000/swagger", 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "https://localhost:11000" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/scripting/Elsa.Scripting.JavaScript/Extensions/EngineExtensions.cs: -------------------------------------------------------------------------------- 1 | using Jint; 2 | using Jint.Runtime.Interop; 3 | 4 | namespace Elsa.Scripting.JavaScript.Extensions 5 | { 6 | public static class EngineExtensions 7 | { 8 | public static void RegisterType(this Engine engine) => engine.SetValue(typeof(T).Name, TypeReference.CreateTypeReference(engine, typeof(T))); 9 | } 10 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/HttpRequestModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Http.Models 4 | { 5 | public record HttpRequestModel(string Path, string Method, IDictionary QueryString, IDictionary Headers, object? Body = default, string? RawBody = default) 6 | { 7 | public T GetBody() => (T) Body!; 8 | } 9 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Services/IExtensionProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Elsa.Activities.Telnyx.Models; 4 | 5 | namespace Elsa.Activities.Telnyx.Services 6 | { 7 | public interface IExtensionProvider 8 | { 9 | Task GetAsync(string extensionNumber, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Webhooks/Services/IWebhookFilter.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Telnyx.Webhooks.Payloads.Abstract; 2 | 3 | namespace Elsa.Activities.Telnyx.Webhooks.Services 4 | { 5 | internal interface IWebhookFilter 6 | { 7 | int Priority { get; } 8 | bool CanHandlePayload(Payload payload); 9 | string GetActivityTypeName(Payload payload); 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/ActivityResults/IActivityExecutionResult.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Elsa.Services.Models; 4 | 5 | namespace Elsa.ActivityResults 6 | { 7 | public interface IActivityExecutionResult 8 | { 9 | ValueTask ExecuteAsync(ActivityExecutionContext activityExecutionContext, CancellationToken cancellationToken); 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Activities/Workflows/Workflow/Workflow.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | using Elsa.Builders; 3 | using Elsa.Services; 4 | 5 | namespace Elsa.Activities.Workflows.Workflow 6 | { 7 | [Browsable(false)] 8 | public class Workflow : CompositeActivity 9 | { 10 | public override void Build(ICompositeActivityBuilder builder) 11 | { 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Services/Startup/IStartup.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Options; 2 | using Microsoft.AspNetCore.Builder; 3 | using Microsoft.Extensions.Configuration; 4 | 5 | namespace Elsa.Services.Startup 6 | { 7 | public interface IStartup 8 | { 9 | void ConfigureElsa(ElsaOptionsBuilder elsa, IConfiguration configuration); 10 | void ConfigureApp(IApplicationBuilder app); 11 | } 12 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Events/WorkflowSettingsDeleted.cs: -------------------------------------------------------------------------------- 1 | using Elsa.WorkflowSettings.Models; 2 | 3 | namespace Elsa.WorkflowSettings.Events 4 | { 5 | public class WorkflowSettingsDeleted : WorkflowSettingsNotification 6 | { 7 | public WorkflowSettingsDeleted(WorkflowSetting workflowSetting) : base(workflowSetting) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Events/WorkflowSettingsDeleting.cs: -------------------------------------------------------------------------------- 1 | using Elsa.WorkflowSettings.Models; 2 | 3 | namespace Elsa.WorkflowSettings.Events 4 | { 5 | public class WorkflowSettingsDeleting : WorkflowSettingsNotification 6 | { 7 | public WorkflowSettingsDeleting(WorkflowSetting workflowSetting) : base(workflowSetting) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.SignalApi/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "Elsa": { 10 | "Http": { 11 | "BaseUrl": "https://localhost:7309" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/shared/Elsa.Testing.Shared/AutoMoqDataAttribute.cs: -------------------------------------------------------------------------------- 1 | using AutoFixture; 2 | using AutoFixture.AutoMoq; 3 | using AutoFixture.Xunit2; 4 | 5 | namespace Elsa.Testing.Shared 6 | { 7 | public class AutoMoqDataAttribute : AutoDataAttribute 8 | { 9 | public AutoMoqDataAttribute() : base(() => new Fixture().Customize(new AutoMoqCustomization())) 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Email/Services/ISmtpService.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Elsa.Services.Models; 4 | using MimeKit; 5 | 6 | namespace Elsa.Activities.Email.Services 7 | { 8 | public interface ISmtpService 9 | { 10 | Task SendAsync(ActivityExecutionContext context, MimeMessage message, CancellationToken cancellationToken); 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Client/Models/Errors.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Elsa.Activities.Telnyx.Client.Models 4 | { 5 | public record ErrorResponse(IList Errors); 6 | public record Error(int Code, string Title, string Detail); 7 | 8 | public static class ErrorCodes 9 | { 10 | public const int CallHasAlreadyEnded = 90018; 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Exceptions/MissingCallControlIdException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Exceptions 4 | { 5 | public class MissingCallControlIdException : TelnyxException 6 | { 7 | public MissingCallControlIdException(string message, Exception? innerException = default) : base(message, innerException) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/ActivityResuming.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Services; 2 | using Elsa.Services.Models; 3 | 4 | namespace Elsa.Events 5 | { 6 | public class ActivityResuming : ActivityNotification 7 | { 8 | public ActivityResuming(ActivityExecutionContext activityExecutionContext, IActivity activity) : base(activityExecutionContext, activity) 9 | { 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Messaging/IServiceBusFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Rebus.Bus; 5 | 6 | namespace Elsa.Services 7 | { 8 | public interface IServiceBusFactory 9 | { 10 | Task GetServiceBusAsync(Type messageType, string? queueName = default, CancellationToken cancellationToken = default); 11 | } 12 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Persistence/Specifications/SpecificationExtensions.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | 3 | namespace Elsa.Persistence.Specifications 4 | { 5 | public static class SpecificationExtensions 6 | { 7 | public static ISpecification WithTenant(this ISpecification specification, string? tenantId) where T : ITenantScope => specification.And(new TenantSpecification(tenantId)); 8 | } 9 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Providers/WorkflowStorage/BlobStorageWorkflowStorageProviderOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Storage.Net; 3 | using Storage.Net.Blobs; 4 | 5 | namespace Elsa.Providers.WorkflowStorage 6 | { 7 | public class BlobStorageWorkflowStorageProviderOptions 8 | { 9 | public Func BlobStorageFactory { get; set; } = () => StorageFactory.Blobs.InMemory(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | www/ 3 | loader/ 4 | 5 | *~ 6 | *.sw[mnpcod] 7 | *.log 8 | *.lock 9 | *.tmp 10 | *.tmp.* 11 | log.txt 12 | *.sublime-project 13 | *.sublime-workspace 14 | 15 | .stencil/ 16 | .idea/ 17 | .vscode/ 18 | .sass-cache/ 19 | .versions/ 20 | node_modules/ 21 | $RECYCLE.BIN/ 22 | 23 | .DS_Store 24 | Thumbs.db 25 | UserInterfaceState.xcuserstate 26 | .env 27 | -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Abstractions/Models/ActivityDefinitionIndexModel.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Indexing.Models 2 | { 3 | public class ActivityDefinitionIndexModel 4 | { 5 | public string ActivityId { get; set; } = default!; 6 | public string? Name { get; set; } 7 | public string? DisplayName { get; set; } 8 | public string? Description { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/samples/worker/Elsa.Samples.AzureServiceBusWorker/Messages/Greeting.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Samples.AzureServiceBusWorker.Messages 2 | { 3 | public class Greeting 4 | { 5 | public string From { get; set; } 6 | public string To { get; set; } 7 | public string Message { get; set; } 8 | public override string ToString() => $"{From} says \"{Message}\" to {To}."; 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Attributes/ContextTypeNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Attributes 4 | { 5 | [AttributeUsage(AttributeTargets.Class)] 6 | public class ContextTypeNameAttribute : Attribute 7 | { 8 | public string Name { get; } 9 | 10 | public ContextTypeNameAttribute(string name) 11 | { 12 | Name = name; 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Models/SimpleExceptionProperty.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Models 2 | { 3 | public class SimpleExceptionProperty 4 | { 5 | public SimpleExceptionProperty(string name, object value) 6 | { 7 | Name = name; 8 | Value = value; 9 | } 10 | 11 | public string Name { get; set; } 12 | public object Value { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Persistence/Specifications/IdentitySpecification.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq.Expressions; 3 | 4 | namespace Elsa.Persistence.Specifications 5 | { 6 | internal struct IdentitySpecification : ISpecification 7 | { 8 | public bool IsSatisfiedBy(T entity) => true; 9 | public Expression> ToExpression() => x => true; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Exceptions/MissingCallControlAppIdException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Telnyx.Exceptions 4 | { 5 | public class MissingCallControlAppIdException : TelnyxException 6 | { 7 | public MissingCallControlAppIdException(string message, Exception? innerException = default) : base(message, innerException) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/OutcomeNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa 2 | { 3 | public class OutcomeNames 4 | { 5 | public const string Done = "Done"; 6 | public const string Next = "Next"; 7 | public const string True = "True"; 8 | public const string False = "False"; 9 | public const string Iterate = "Iterate"; 10 | public const string Default = "Default"; 11 | } 12 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/dashboard/pages/elsa-studio-workflow-registry/localizations.ts: -------------------------------------------------------------------------------- 1 | export const resources = { 2 | 'en': { 3 | default: { 4 | 'Title': 'Workflow Registry', 5 | 'CreateButton': 'Create Workflow' 6 | } 7 | }, 8 | 'nl-NL': { 9 | default: { 10 | 'Title': 'Workflow Register', 11 | 'CreateButton': 'Nieuwe Workflow' 12 | } 13 | } 14 | }; -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/services/index.ts: -------------------------------------------------------------------------------- 1 | export * from './activity-icon-provider'; 2 | export * from './confirm-dialog-service'; 3 | export * from './toast-notification-service'; 4 | export * from './elsa-plugin'; 5 | export * from './elsa-client'; 6 | export * from './event-bus'; 7 | export * from './plugin-manager'; 8 | export * from './property-display-driver'; 9 | export * from './property-display-manager'; -------------------------------------------------------------------------------- /src/indexing/Elsa.Indexing.Abstractions/ElsaIndexingOptions.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.DependencyInjection; 2 | 3 | namespace Elsa.Indexing 4 | { 5 | public class ElsaIndexingOptions 6 | { 7 | public ElsaIndexingOptions(IServiceCollection services) 8 | { 9 | Services = services; 10 | } 11 | 12 | public IServiceCollection Services { get; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ForkJoinTimerAndSignalHttp/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "Elsa": { 10 | "Http": { 11 | "BaseUrl": "http://localhost:7304" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/activities/webhooks/Elsa.Activities.Webhooks/Models/WebhookRequestModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Elsa.Activities.Webhooks.Models 5 | { 6 | public record WebhookRequestModel(Uri Path, string Method, IDictionary QueryString, IDictionary Headers, object? Body = default) 7 | { 8 | public T GetBody() => (T)Body!; 9 | } 10 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Design/IRuntimeSelectListItemsProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | 5 | namespace Elsa.Design 6 | { 7 | public interface IRuntimeSelectListItemsProvider 8 | { 9 | ValueTask> GetItemsAsync(object? context = default, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/dashboards/ElsaDashboard/ElsaDashboard.Web.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp3.1;net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Entity/Attributes/EntityNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Activities.Entity.Attributes 4 | { 5 | [AttributeUsage(AttributeTargets.Class)] 6 | public class EntityNameAttribute : Attribute 7 | { 8 | public string Name { get; } 9 | 10 | public EntityNameAttribute(string name) 11 | { 12 | Name = name; 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Providers/Bookmarks/DialBookmark.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Telnyx.Activities; 2 | using Elsa.Services; 3 | using Elsa.Services.Bookmarks; 4 | 5 | namespace Elsa.Activities.Telnyx.Providers.Bookmarks 6 | { 7 | public class DialBookmark : IBookmark 8 | { 9 | } 10 | 11 | public class DialBookmarkProvider : DefaultBookmarkProvider 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/RetryWorkflowRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Client.Models 2 | { 3 | public record RetryWorkflowRequest(bool RunImmediately) 4 | { 5 | /// 6 | /// Set to true to run the revived workflow immediately, set to false to enqueue the revived workflow for execution. 7 | /// 8 | public bool RunImmediately { get; set; } = RunImmediately; 9 | } 10 | } -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Models/WorkflowContextOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Elsa.Client.Models 5 | { 6 | [DataContract] 7 | public class WorkflowContextOptions 8 | { 9 | [DataMember(Order = 1)] public Type ContextType { get; set; } = default!; 10 | [DataMember(Order = 2)] public WorkflowContextFidelity ContextFidelity { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.SignalApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.SignalApi": { 4 | "commandName": "Project", 5 | "launchBrowser": false, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "https://localhost:7309" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Services/ITasksProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Elsa.Activities.Conductor.Models; 5 | 6 | namespace Elsa.Activities.Conductor.Services 7 | { 8 | public interface ITasksProvider 9 | { 10 | ValueTask> GetTasksAsync(CancellationToken cancellationToken); 11 | } 12 | } -------------------------------------------------------------------------------- /src/designer/elsa-workflows-studio/src/components/dashboard/pages/elsa-studio-workflow-definitions-list/localizations.ts: -------------------------------------------------------------------------------- 1 | export const resources = { 2 | 'en': { 3 | default: { 4 | 'Title': 'Workflow Definitions', 5 | 'CreateButton': 'Create Workflow' 6 | } 7 | }, 8 | 'nl-NL': { 9 | default: { 10 | 'Title': 'Workflow Definities', 11 | 'CreateButton': 'Nieuwe Workflow' 12 | } 13 | } 14 | }; -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.Interrupts/Activities/Sleep.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Temporal; 2 | using Elsa.Attributes; 3 | using Microsoft.Extensions.Logging; 4 | using NodaTime; 5 | 6 | namespace Elsa.Samples.Interrupts.Activities 7 | { 8 | [Activity] 9 | public class Sleep : Timer 10 | { 11 | public Sleep(IClock clock, ILogger logger) : base(clock, logger) 12 | { 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.MassTransitRabbitMq/Messages/FirstMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Samples.MassTransitRabbitMq.Messages 4 | { 5 | public class FirstMessage 6 | { 7 | public Guid CorrelationId { get; private set; } 8 | 9 | public FirstMessage() 10 | { 11 | CorrelationId = Guid.Parse("e9ca46dd-36b9-4fc4-b7db-3bb7190e4488"); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.MassTransitRabbitMq/Messages/SecondMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Samples.MassTransitRabbitMq.Messages 4 | { 5 | public class SecondMessage 6 | { 7 | public Guid CorrelationId { get; private set; } 8 | 9 | public SecondMessage() 10 | { 11 | CorrelationId = Guid.Parse("e9ca46dd-36b9-4fc4-b7db-3bb7190e4488"); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/Services/IQueueMessageSenderFactory.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Microsoft.Azure.ServiceBus.Core; 4 | 5 | namespace Elsa.Activities.AzureServiceBus.Services 6 | { 7 | public interface IQueueMessageSenderFactory 8 | { 9 | Task GetSenderAsync(string queueName, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Services/IEventsProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Elsa.Activities.Conductor.Models; 5 | 6 | namespace Elsa.Activities.Conductor.Services 7 | { 8 | public interface IEventsProvider 9 | { 10 | ValueTask> GetEventsAsync(CancellationToken cancellationToken); 11 | } 12 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Temporal.Common/Options/TimersOptions.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.DependencyInjection; 2 | 3 | namespace Elsa.Activities.Temporal.Common.Options 4 | { 5 | public class TimersOptions 6 | { 7 | public TimersOptions(IServiceCollection services) 8 | { 9 | Services = services; 10 | } 11 | 12 | public IServiceCollection Services { get; } 13 | 14 | } 15 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowInputUpdated.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | using MediatR; 3 | 4 | namespace Elsa.Events 5 | { 6 | public class WorkflowInputUpdated : INotification 7 | { 8 | public WorkflowInputUpdated(WorkflowInstance workflowInstance) 9 | { 10 | WorkflowInstance = workflowInstance; 11 | } 12 | 13 | public WorkflowInstance WorkflowInstance { get; } 14 | } 15 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Exceptions/WorkflowException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Elsa.Exceptions 4 | { 5 | public class WorkflowException : Exception 6 | { 7 | public WorkflowException(string message) : base(message) 8 | { 9 | } 10 | 11 | public WorkflowException(string message, Exception innerException) : base(message, innerException) 12 | { 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Providers/Activities/IActivityProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Elsa.Services.Models; 5 | 6 | namespace Elsa.Providers.Activities 7 | { 8 | public interface IActivityTypeProvider 9 | { 10 | ValueTask> GetActivityTypesAsync(CancellationToken cancellationToken = default); 11 | } 12 | } -------------------------------------------------------------------------------- /src/dashboards/ElsaDashboard/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "Hosting": { 11 | "BasePath": "" 12 | }, 13 | "Elsa": { 14 | "Server": { 15 | "BaseAddress": "https://localhost:11000" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/samples/console/Elsa.Samples.FileWatcher/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "Elsa": { 10 | "FileWatcher": { 11 | "Path": "C:\\Temp\\FileWatcher", 12 | "Pattern": "*.txt" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/samples/server/SampleClientApp.Web/SampleClientApp.Web.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.AzureServiceBus/Services/ITopicMessageSenderFactory.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Microsoft.Azure.ServiceBus.Core; 4 | 5 | namespace Elsa.Activities.AzureServiceBus.Services 6 | { 7 | public interface ITopicMessageSenderFactory 8 | { 9 | Task GetTopicSenderAsync(string topicName, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowDefinitionNotification.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | using MediatR; 3 | 4 | namespace Elsa.Events 5 | { 6 | public abstract class WorkflowDefinitionNotification : INotification 7 | { 8 | public WorkflowDefinitionNotification(WorkflowDefinition workflowDefinition) => WorkflowDefinition = workflowDefinition; 9 | public WorkflowDefinition WorkflowDefinition { get; } 10 | } 11 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowInstanceSaved.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | using MediatR; 3 | 4 | namespace Elsa.Events 5 | { 6 | public class WorkflowInstanceSaved : INotification 7 | { 8 | public WorkflowInstanceSaved(WorkflowInstance workflowInstance) 9 | { 10 | WorkflowInstance = workflowInstance; 11 | } 12 | 13 | public WorkflowInstance WorkflowInstance { get; } 14 | } 15 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.Interrupts/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.CustomActivityTypeProviders": { 4 | "commandName": "Project", 5 | "dotnetRunMessages": "true", 6 | "launchBrowser": false, 7 | "applicationUrl": "https://localhost:6171", 8 | "environmentVariables": { 9 | "ASPNETCORE_ENVIRONMENT": "Development" 10 | } 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Conductor/Services/ICommandsProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Elsa.Activities.Conductor.Models; 5 | 6 | namespace Elsa.Activities.Conductor.Services 7 | { 8 | public interface ICommandsProvider 9 | { 10 | ValueTask> GetCommandsAsync(CancellationToken cancellationToken); 11 | } 12 | } -------------------------------------------------------------------------------- /src/clients/Elsa.Client/Services/IActivitiesApi.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | using Elsa.Client.Models; 5 | using Refit; 6 | 7 | namespace Elsa.Client.Services 8 | { 9 | public interface IActivitiesApi 10 | { 11 | [Get("/v1/activities")] 12 | Task> ListAsync(CancellationToken cancellationToken = default); 13 | } 14 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Events/WorkflowInstanceDeleted.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Models; 2 | using MediatR; 3 | 4 | namespace Elsa.Events 5 | { 6 | public class WorkflowInstanceDeleted : INotification 7 | { 8 | public WorkflowInstanceDeleted(WorkflowInstance workflowInstance) 9 | { 10 | WorkflowInstance = workflowInstance; 11 | } 12 | 13 | public WorkflowInstance WorkflowInstance { get; } 14 | } 15 | } -------------------------------------------------------------------------------- /src/core/Elsa.Abstractions/Services/Triggers/ITriggerFinder.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading; 3 | using System.Threading.Tasks; 4 | 5 | namespace Elsa.Services 6 | { 7 | public interface ITriggerFinder 8 | { 9 | Task> FindTriggersAsync(string activityType, IEnumerable filters, string? tenantId, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/samples/aspnet/Elsa.Samples.ForkJoinTimerAndSignalHttp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Elsa.Samples.LongRunningHttp": { 4 | "commandName": "Project", 5 | "launchBrowser": false, 6 | "environmentVariables": { 7 | "ASPNETCORE_ENVIRONMENT": "Development" 8 | }, 9 | "applicationUrl": "http://localhost:7304" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/samples/console/Elsa.Samples.HelloWorldConsole/HelloWorld.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Console; 2 | using Elsa.Builders; 3 | 4 | namespace Elsa.Samples.HelloWorldConsole 5 | { 6 | /// 7 | /// A basic workflow with just one WriteLine activity. 8 | /// 9 | public class HelloWorld : IWorkflow 10 | { 11 | public void Build(IWorkflowBuilder builder) => builder.WriteLine("Hello World!"); 12 | } 13 | } -------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Http/Models/AuthorizeHttpEndpointContext.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using Elsa.Services.Models; 3 | using Microsoft.AspNetCore.Http; 4 | 5 | namespace Elsa.Activities.Http.Models 6 | { 7 | public record AuthorizeHttpEndpointContext(HttpContext HttpContext, IActivityBlueprintWrapper HttpEndpointActivity, IWorkflowBlueprint WorkflowBlueprint, string WorkflowInstanceId, CancellationToken CancellationToken); 8 | } -------------------------------------------------------------------------------- /src/core/Elsa.Core/Services/OptionsContainerNameAccessor.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Options; 2 | 3 | namespace Elsa.Services 4 | { 5 | public class OptionsContainerNameAccessor : IContainerNameAccessor 6 | { 7 | private readonly ElsaOptions _elsaOptions; 8 | public OptionsContainerNameAccessor(ElsaOptions elsaOptions) => _elsaOptions = elsaOptions; 9 | public string GetContainerName() => _elsaOptions.ContainerName; 10 | } 11 | } -------------------------------------------------------------------------------- /src/modules/workflowsettings/Elsa.WorkflowSettings/Services/IWorkflowSettingsManager.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using System.Threading.Tasks; 3 | using Elsa.WorkflowSettings.Models; 4 | 5 | namespace Elsa.WorkflowSettings.Services 6 | { 7 | public interface IWorkflowSettingsManager 8 | { 9 | Task LoadSettingAsync(string workflowBlueprintId, string key, CancellationToken cancellationToken = default); 10 | } 11 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.MongoDb/CollectionNames.cs: -------------------------------------------------------------------------------- 1 | namespace Elsa.Persistence.MongoDb 2 | { 3 | internal static class CollectionNames 4 | { 5 | public const string WorkflowDefinitions = "WorkflowDefinitions"; 6 | public const string WorkflowInstances = "WorkflowInstances"; 7 | public const string WorkflowExecutionLog = "WorkflowExecutionLog"; 8 | public const string Bookmarks = "Bookmarks"; 9 | } 10 | } -------------------------------------------------------------------------------- /src/persistence/Elsa.Persistence.YesSql/Services/ISpecificationMapper.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Persistence.Specifications; 2 | using YesSql; 3 | using YesSql.Indexes; 4 | 5 | namespace Elsa.Persistence.YesSql.Services 6 | { 7 | public interface ISpecificationMapper 8 | where TDocument : class 9 | where TIndex : IIndex 10 | { 11 | IQuery Map(ISpecification specification); 12 | } 13 | } -------------------------------------------------------------------------------- /src/samples/dashboard/aspnetcore/ElsaDashboard.Samples.AspNetCore.SubPath/Pages/Index.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model IndexModel 3 | @{ 4 | ViewData["Title"] = "Home page"; 5 | } 6 | 7 |
8 |

Welcome

9 |

Learn about building Web apps with ASP.NET Core and integrating Elsa Dashboard on a sub path.

10 |
-------------------------------------------------------------------------------- /src/activities/Elsa.Activities.Telnyx/Providers/Bookmarks/AnswerCallBookmark.cs: -------------------------------------------------------------------------------- 1 | using Elsa.Activities.Telnyx.Activities; 2 | using Elsa.Services; 3 | using Elsa.Services.Bookmarks; 4 | 5 | namespace Elsa.Activities.Telnyx.Providers.Bookmarks 6 | { 7 | public class AnswerCallBookmark : IBookmark 8 | { 9 | } 10 | 11 | public class AnswerCallBookmarkProvider : DefaultBookmarkProvider 12 | { 13 | } 14 | } --------------------------------------------------------------------------------