Commit graph

6237 commits

Author SHA1 Message Date
Sipke Schoorstra 404339e097 Update TriggerIndexer to ignore deprecated IsEnabled flag 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 74a3ed5a15 WIP: Update HttpEndpoint with support for multiple HTTP methods 2021-03-04 17:45:59 +01:00
Sipke Schoorstra e15893bef2 WIP: Add JSON expression handler 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 1c948ba0e3 WIP: Improved code editor style and added check-list input editor 2021-03-04 17:45:59 +01:00
Sipke Schoorstra fe691f6d9c Refactor activity property type to UIHint 2021-03-04 17:45:59 +01:00
David Peters 51f9ed11f8 Added PostgreSql EFcore provider 2021-03-04 16:54:06 +01:00
Craig Fowler 8cbccb3dd8
Merge pull request #706 from elsa-workflows/stale-bot-labels
Update Stale-bot config (label changes)
2021-03-03 18:38:24 +00:00
Craig Fowler 4ba707878b
Update Stale-bot config (label changes)
I've renamed these three priority labels, and the config needs updating in-line with those changes.
2021-03-03 13:48:46 +00:00
Craig Fowler d3ef7ff0c3 Update stale config
I recently changed some labels around (added some & renamed some).
2021-03-03 12:42:02 +01:00
Jens Willmer b188a601b8 Update appveyor.yml 2021-03-03 12:42:02 +01:00
Jens Willmer 9bc9d22c4f Merge appveyor.yml modifications
850b01b2d2
2021-03-03 12:42:02 +01:00
Jens Willmer 5a27bca533 Prevent issues from auto closing with the following labels 2021-03-03 12:42:02 +01:00
Jens Willmer f9add46bdd Create stale.yml 2021-03-03 12:42:02 +01:00
Sipke Schoorstra 1daed3c1c3 Update Startup activities 2021-03-03 11:42:35 +01:00
Sipke Schoorstra a14f7cc267
Expressions editor (#695)
* A functioning monaco editor

* Incremental work on intellisense

* Add Workflow Context Options settings to designer

* Rudimentary work on variables
2021-03-02 09:00:51 +01:00
Sipke Schoorstra 33ea486901 Rename HttpRequestReceived to HttpEndpoint 2021-03-01 21:11:21 +01:00
Craig Fowler ec12edd129 Resolve #564 - Further renames Timer → Temporal
This is all trivial renaming of namespaces (and some cases directories)
to match the main work done in the ticket.
2021-02-28 20:49:34 +01:00
Craig Fowler ed81b5679a WIP #564 - Rename & alter temporal activity setup
Temporal activities no longer have a generalised extension method
for registering them with a service collecton.  It is still static and has
the same rough shape as an extension method.  This way it is less
visible and less likely to be called by accident.

Also in-line with changes in this branch, things have been renamed
  Timers → Temporal
2021-02-28 20:49:34 +01:00
Craig Fowler a61ecda036 WIP #564 - Add test coverage for app startup
This indicates that you can't start an app with just timer/temporal
activities, but you could start with either Hangfire or Quartz
activities.
2021-02-28 20:49:34 +01:00
Craig Fowler a0f0db4d54 WIP #564 - Removed reference/dependency from Elsa
Because the consumer must choose either Hangfire or Quartz impl
package, the main Elsa metapackage can no longer directly provide
Temporal activities.
2021-02-28 20:49:34 +01:00
Craig Fowler 16f5688d5b WIP #564 - Updates to package description 2021-02-28 20:49:34 +01:00
Craig Fowler b8f18996c6 WIP #564 - Rename Elsa.Activities.Timers impl projects
The project/NuGet package for implementation logic relating to
temporal actions has been renamed:
  Elsa.Activities.Timers.Hangfire → Elsa.Activities.Temporal.Hangfire
  Elsa.Activities.Timers.Quartz → Elsa.Activities.Temporal.Quartz

Whilst large numbers of C# files are "changed" by this commit,
it's just a straight move to a new path.
2021-02-28 20:49:34 +01:00
Craig Fowler 77a8f5be52 WIP #564 - Rename Elsa.Activities.Timers
The project/NuGet package for common logic relating to
temporal actions has been renamed:
  Elsa.Activities.Timers → Elsa.Activities.Temporal.Common

Whilst large numbers of files are "changed" by this commit,
it's just a straight move to a new path.
2021-02-28 20:49:34 +01:00
Craig Fowler ac44bf4535 WIP #564 - Bulk namepace change: Timers → Temporal
The name "Timers" is being replaced with "Temporal".  This commit
changes just the code (not project names/directories).
2021-02-28 20:49:34 +01:00
Sipke Schoorstra ed9a1b9866 Update docker-compose.yml to use latest smtp4dev 2021-02-28 11:38:16 +01:00
Craig Fowler b2b69cb85e Attempt to fix build; after_test "executed with exception"
I'm a little confused as to how this happened.  It could
relate to an exit code sent by SonarScanner.

I'm going to combine these two commands into a single step
so that if SonarScanner drops a non-zero exit code, it should
still continue on past it.
2021-02-27 19:32:46 +00:00
Craig Fowler 850b01b2d2 Fix build after #486 - Prevent SonarScanner on PR
Because AppVeyor won't decrypt secure variables on pull requests,
that causes a SonarScanner error when the secure variable value
isn't available, failing the build.

This solution is documented at:
  https://medium.com/@stef.heyenrath/how-to-fix-sonarcloud-issue-in-a-github-pr-when-using-appveyor-integration-8909b49406b4
All it really does is disable SonarScanner for PRs.
2021-02-27 20:00:54 +01:00
Craig Fowler e340a37d93 Resolve #486 - Signal input is emitted as output
It actually turns out that no change is required to the SignalReceived
activity in order to achieve this.  As these unit tests prove & document,
that is already the current behaviour.
2021-02-27 20:00:54 +01:00
Craig Fowler 2620905828 Bump version for NuGet preview7
This is not so much about formally launching a
package, it will complete the testing of #664.

Part of that ticket can only be tested by pushing
a tagged commit to the 2.0 branch.
2021-02-27 16:02:53 +00:00
Craig Fowler 1f13cf3dea Follow-up from #665, apply two fixes
This contains the same conceptual fixes (if not
the same exact changes) as:

* e9d00e6b21
* 76588089a2

Together these fix the version number provided to SonarCloud
and also ensure that packages are packed.  The `before_package` step
seems to be ignored by AppVeyor, despite its docs stating it exists.
2021-02-27 15:46:02 +00:00
Craig Fowler 76588089a2 Follow-up #665 - Fix version number
This means that SonarCloud will display the correct version
number for each analysis now.
2021-02-27 15:32:55 +00:00
Craig Fowler e9d00e6b21 Follow-up to #665 - Put 'pack' step into after_test
The before_package step doesn't seem to be run, despite being
documented at https://www.appveyor.com/docs/appveyor-yml/

I've moved this step to after_test, which will work just fine.
It's just frustrating that really it's got nothing to do with testing.
2021-02-27 15:00:40 +00:00
Craig Fowler 917444c8c9 Resolve #665 - Fix project name 2021-02-27 14:38:42 +00:00
Craig Fowler a5c84f2b91 Merge branch 'feature/665-SonarCloud' into feature/elsa-2.0 2021-02-27 14:36:28 +00:00
Craig Fowler 622ff1ad5f WIP #665 - Add changes to YML in order to trigger SonarScanner
The main things going on here in the YML are:
* Adding some env vars for SonarScanner
* Adding the SonarScanner package as a build tool
* Adding before-build/after-test steps to setup/teardown SonarScanner
* Separating the "pack" step from the "build" step
  * Pack moved to before-package which occurs after tests pass
  * See https://www.appveyor.com/docs/build-configuration/#build-pipeline
* Tests run with logging & code-coverage detection
* Test results are added as AppVeyor artifacts
2021-02-27 14:33:58 +00:00
Craig Fowler df83b9a1de WIP #665 - Beginnings of SonarCloud integration
Adds an XUnit test logger to each test csproj
file (will be used by test script).

Also add a skeleton SonarCloud analysis config file with a couple
of settings for starters: Don't analyse exception classes or samples
for coverage.
2021-02-27 14:33:45 +00:00
Craig Fowler 6ed7152740 Attempted fix to #665 - SonarCloud project key
It's odd but it seems to be creating project keys
in a different format to how I've seen before.
Perhaps I've been caught out by a recent change.
2021-02-27 14:17:49 +00:00
Craig Fowler a5144ca872 Merge branch 'feature/665-SonarCloud-master-analysis' 2021-02-27 14:04:51 +00:00
Craig Fowler 711a4263fa WIP #665 - Add changes to YML in order to trigger SonarScanner
The main things going on here in the YML are:
* Adding some env vars for SonarScanner
* Adding the SonarScanner package as a build tool
* Adding before-build/after-build steps to setup/teardown SonarScanner
* Separating the "pack" step from the "build" step
  * Pack moved to before-package
  * See https://www.appveyor.com/docs/build-configuration/#build-pipeline
* Remove the "tags only" analysis, but perhaps we can put this back later
2021-02-27 14:02:03 +00:00
Craig Fowler 8d4339f4b0 Revert "Merge branch 'feature/665-SonarCloud-integration' into feature/elsa-2.0"
This reverts commit 3dc1b79b3b, reversing
changes made to 1dbafd8ba2.

The previous merge of work on #665 broke the build so this commit
reverts it back out.
2021-02-27 13:58:06 +00:00
Craig Fowler 3dc1b79b3b Merge branch 'feature/665-SonarCloud-integration' into feature/elsa-2.0 2021-02-27 13:45:59 +00:00
Craig Fowler 34f01fbe3d WIP #665 - Beginnings of SonarCloud integration
Adds an XUnit test logger to each test csproj
file (will be used by test script).

Also add a skeleton SonarCloud analysis config file with a couple
of settings for starters: Don't analyse exception classes or samples
for coverage.
2021-02-27 12:52:58 +00:00
Craig Fowler a1a812a159 WIP #665 - Add changes to YML in order to trigger SonarScanner
The main things going on here in the YML are:
* Adding some env vars for SonarScanner
* Adding the SonarScanner package as a build tool
* Adding before-build/after-test steps to setup/teardown SonarScanner
* Separating the "pack" step from the "build" step
  * Pack moved to before-package which occurs after tests pass
  * See https://www.appveyor.com/docs/build-configuration/#build-pipeline
* Tests run with logging & code-coverage detection
* Test results are added as AppVeyor artifacts
2021-02-27 12:44:22 +00:00
Craig Fowler 8deb1a1f56 WIP #665 - Beginnings of SonarCloud integration
Adds an XUnit test logger to each test csproj
file (will be used by test script).

Also add a skeleton SonarCloud analysis config file with a couple
of settings for starters: Don't analyse exception classes or samples
for coverage.
2021-02-27 12:41:55 +00:00
steved b6585f7b0f Update Workflow.cs
merge workflow input variables with instance variables instead of overwriting
2021-02-26 19:45:40 +01:00
Sipke Schoorstra 1dbafd8ba2
Update README.md 2021-02-26 17:16:27 +01:00
Sipke Schoorstra 30c8b7d1c6 Add preview banner 2021-02-26 17:16:17 +01:00
Sipke Schoorstra d2d402f167 Update readme with new banner
# Conflicts:
#	README.md
#	design/github-social-preview-banner-for-elsa.psd
2021-02-26 17:14:16 +01:00
Sipke Schoorstra 9ea7178e12 Update readme with new banner 2021-02-26 17:10:33 +01:00
Jens Willmer 6f66c8d04c preview banner 2021-02-26 16:22:39 +01:00