Skip to content

Commit

Permalink
Raise public version of webhooks and add patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
tusmester committed Mar 17, 2021
1 parent ff95dd2 commit 21ae02d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/WebHooks/Components/WebHookComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class WebHookComponent : SnComponent
public override void AddPatches(PatchBuilder builder)
{
builder
.Install("0.0.2", "2021-03-16", "sensenet WebHooks")
.Install("0.0.3", "2021-03-17", "sensenet WebHooks")
.DependsOn("SenseNet.Services", "7.7.19")
.Action(context =>
{
Expand All @@ -44,7 +44,7 @@ public override void AddPatches(PatchBuilder builder)
#endregion
});

builder.Patch("0.0.1", "0.0.2", "2021-03-16", "Upgrades the WebHook component")
builder.Patch("0.0.1", "0.0.3", "2021-03-17", "Upgrades the WebHook component")
.DependsOn("SenseNet.Services", "7.7.19")
.Action(context =>
{
Expand Down Expand Up @@ -85,13 +85,16 @@ public override void AddPatches(PatchBuilder builder)
.FieldIndex(90)
.Field("IsValid")
.FieldIndex(30)
.VisibleBrowse(FieldVisibility.Hide)
.Field("InvalidFields")
.RemoveConfiguration("FieldIndex")
.VisibleBrowse(FieldVisibility.Hide)
.VisibleEdit(FieldVisibility.Hide)
.VisibleNew(FieldVisibility.Hide)
.Field("SuccessfulCalls")
.FieldIndex(20);
.FieldIndex(20)
.Field("WebHookHttpMethod")
.DefaultValue("POST");

cb.Apply();

Expand Down
2 changes: 1 addition & 1 deletion src/WebHooks/SenseNet.WebHooks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.0.2</Version>
<Version>0.0.3</Version>
<Authors>kavics,aniko,tusmester</Authors>
<Company>Sense/Net Inc.</Company>
<Copyright>Copyright © Sense/Net Inc.</Copyright>
Expand Down

0 comments on commit 21ae02d

Please sign in to comment.