-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Release 1.8.4 into main (#16668)
- Loading branch information
1 parent
3e56e0e
commit 4f5cd18
Showing
30 changed files
with
518 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ctTemplates/content/OrchardCore.Templates.Cms.Module/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"Framework": { | ||
"longName": "framework", | ||
"shortName": "fm" | ||
}, | ||
"OrchardVersion": { | ||
"longName": "orchard-version", | ||
"shortName": "ov" | ||
} | ||
}, | ||
"usageExamples": [ | ||
"--framework net8.0", | ||
"--orchard-version 1.8.4" | ||
] | ||
} |
Binary file added
BIN
+16.3 KB
...ectTemplates/content/OrchardCore.Templates.Cms.Module/.template.config/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions
31
....ProjectTemplates/content/OrchardCore.Templates.Cms.Module/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host", | ||
"icon": "icon.png", | ||
"symbolInfo": [ | ||
{ | ||
"id": "Framework", | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "AddPart", | ||
"name": { | ||
"text": "Add all files required for a part" | ||
}, | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "PartName", | ||
"name": { | ||
"text": "Part name (without Part suffix)" | ||
}, | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "OrchardVersion", | ||
"name": { | ||
"text": "Orchard Core Version" | ||
}, | ||
"isVisible": "true" | ||
} | ||
] | ||
} |
79 changes: 79 additions & 0 deletions
79
....ProjectTemplates/content/OrchardCore.Templates.Cms.Module/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "Orchard Core Community and Contributors", | ||
"classifications": [ | ||
"Web", | ||
"Orchard Core", | ||
"CMS" | ||
], | ||
"name": "Orchard Core Cms Module", | ||
"identity": "OrchardCore.Templates.Cms.Module", | ||
"shortName": "ocmodulecms", | ||
"sourceName": "OrchardCore.Templates.Cms.Module", | ||
"defaultName": "OrchardCore.Cms.Module", | ||
"preferNameDirectory": true, | ||
"symbols": { | ||
"Framework": { | ||
"type": "parameter", | ||
"description": "The target framework for the project.", | ||
"datatype": "choice", | ||
"choices": [ | ||
{ | ||
"choice": "net8.0", | ||
"description": "Target net8.0" | ||
} | ||
], | ||
"replaces": "$(TemplateTargetPackageFramework)", | ||
"defaultValue": "net8.0" | ||
}, | ||
"AddPart": { | ||
"type": "parameter", | ||
"dataType": "bool", | ||
"description": "Add dependency injection for part in Startup.cs. If PartName is not provided, default name will be used", | ||
"defaultValue": "false" | ||
}, | ||
"PartName": { | ||
"type": "parameter", | ||
"datatype": "string", | ||
"description": "Add all files required for a part", | ||
"replaces": "MyTest", | ||
"fileRename": "MyTest", | ||
"defaultValue": "MyTest" | ||
}, | ||
"OrchardVersion": { | ||
"type": "parameter", | ||
"datatype": "string", | ||
"description": "Specifies which version of Orchard Core packages to use.", | ||
"replaces": "$(TemplateOrchardPackageVersion)", | ||
"defaultValue": "1.8.4" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"modifiers": [ | ||
{ | ||
"condition": "(PartName=='' || AddPart == false)", | ||
"exclude": [ | ||
"Migrations.cs", | ||
"Drivers/MyTestPartDisplayDriver.cs", | ||
"Handlers/MyTestPartHandler.cs", | ||
"Models/MyTestPart.cs", | ||
"Settings/MyTestPartSettings.cs", | ||
"Settings/MyTestPartSettingsDisplayDriver.cs", | ||
"Settings/MyTestPartSettingsViewModel.cs", | ||
"ViewModels/MyTestPartViewModel.cs", | ||
"Views/_ViewImports.cshtml", | ||
"Views/MyTestPart.Edit.cshtml", | ||
"Views/MyTestPart.liquid", | ||
"Views/MyTestPart_Summary.liquid", | ||
"Views/MyTestPartSettings.Edit.cshtml" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ojectTemplates/content/OrchardCore.Templates.Cms.Web/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"Framework": { | ||
"longName": "framework", | ||
"shortName": "fm" | ||
}, | ||
"Logger": { | ||
"longName": "logger", | ||
"shortName": "lo" | ||
}, | ||
"OrchardVersion": { | ||
"longName": "orchard-version", | ||
"shortName": "ov" | ||
} | ||
}, | ||
"usageExamples": [ | ||
"--framework net8.0", | ||
"--logger none", | ||
"--orchard-version 1.8.4" | ||
] | ||
} |
Binary file added
BIN
+16.3 KB
...rojectTemplates/content/OrchardCore.Templates.Cms.Web/.template.config/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
...ore.ProjectTemplates/content/OrchardCore.Templates.Cms.Web/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host", | ||
"icon": "icon.png", | ||
"symbolInfo": [ | ||
{ | ||
"id": "Framework", | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "Logger", | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "OrchardVersion", | ||
"name": { | ||
"text": "Orchard Core Version" | ||
}, | ||
"isVisible": "true" | ||
} | ||
] | ||
} |
81 changes: 81 additions & 0 deletions
81
...ore.ProjectTemplates/content/OrchardCore.Templates.Cms.Web/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "Orchard Core Community and Contributors", | ||
"classifications": [ | ||
"Web", | ||
"Orchard Core", | ||
"CMS" | ||
], | ||
"name": "Orchard Core Cms Web App", | ||
"identity": "OrchardCore.Templates.Cms.Web", | ||
"shortName": "occms", | ||
"sourceName": "OrchardCore.Templates.Cms.Web", | ||
"defaultName": "OrchardCore.Cms.Web", | ||
"preferNameDirectory": true, | ||
"symbols": { | ||
"Framework": { | ||
"type": "parameter", | ||
"description": "The target framework for the project.", | ||
"datatype": "choice", | ||
"choices": [ | ||
{ | ||
"choice": "net8.0", | ||
"description": "Target net8.0" | ||
} | ||
], | ||
"replaces": "$(TemplateTargetPackageFramework)", | ||
"defaultValue": "net8.0" | ||
}, | ||
"Logger": { | ||
"type": "parameter", | ||
"dataType": "choice", | ||
"choices": [ | ||
{ | ||
"choice": "NLog", | ||
"description": "Configures NLog as the logger component." | ||
}, | ||
{ | ||
"choice": "Serilog", | ||
"description": "Configures Serilog as the logger component." | ||
}, | ||
{ | ||
"choice": "None", | ||
"description": "Do not configure logger." | ||
} | ||
], | ||
"description": "Configures the logger component.", | ||
"defaultValue": "NLog" | ||
}, | ||
"OrchardVersion": { | ||
"type": "parameter", | ||
"datatype": "string", | ||
"description": "Specifies which version of Orchard Core packages to use.", | ||
"replaces": "$(TemplateOrchardPackageVersion)", | ||
"defaultValue": "1.8.4" | ||
}, | ||
"UseNLog": { | ||
"type": "computed", | ||
"value": "(Logger == \"NLog\")" | ||
}, | ||
"UseSerilog": { | ||
"type": "computed", | ||
"value": "(Logger == \"Serilog\")" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"modifiers": [ | ||
{ | ||
"condition": "(!UseNLog)", | ||
"exclude": [ | ||
"NLog.config" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ctTemplates/content/OrchardCore.Templates.Mvc.Module/.template.config/dotnetcli.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/dotnetcli.host", | ||
"symbolInfo": { | ||
"Framework": { | ||
"longName": "framework", | ||
"shortName": "fm" | ||
}, | ||
"OrchardVersion": { | ||
"longName": "orchard-version", | ||
"shortName": "ov" | ||
} | ||
}, | ||
"usageExamples": [ | ||
"--framework net8.0", | ||
"--orchard-version 1.8.4" | ||
] | ||
} |
Binary file added
BIN
+16.3 KB
...ectTemplates/content/OrchardCore.Templates.Mvc.Module/.template.config/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
....ProjectTemplates/content/OrchardCore.Templates.Mvc.Module/.template.config/ide.host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vs-2017.3.host", | ||
"icon": "icon.png", | ||
"symbolInfo": [ | ||
{ | ||
"id": "Framework", | ||
"isVisible": "true" | ||
}, | ||
{ | ||
"id": "OrchardVersion", | ||
"name": { | ||
"text": "Orchard Core Version" | ||
}, | ||
"isVisible": "true" | ||
} | ||
] | ||
} |
46 changes: 46 additions & 0 deletions
46
....ProjectTemplates/content/OrchardCore.Templates.Mvc.Module/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "Orchard Core Community and Contributors", | ||
"classifications": [ | ||
"Web", | ||
"Orchard Core", | ||
"Mvc" | ||
], | ||
"name": "Orchard Core Mvc Module", | ||
"identity": "OrchardCore.Templates.Mvc.Module", | ||
"shortName": "ocmodulemvc", | ||
"sourceName": "OrchardCore.Templates.Mvc.Module", | ||
"defaultName": "OrchardCore.Mvc.Module", | ||
"preferNameDirectory": true, | ||
"symbols": { | ||
"Framework": { | ||
"type": "parameter", | ||
"description": "The target framework for the project.", | ||
"datatype": "choice", | ||
"choices": [ | ||
{ | ||
"choice": "net8.0", | ||
"description": "Target net8.0" | ||
} | ||
], | ||
"replaces": "$(TemplateTargetPackageFramework)", | ||
"defaultValue": "net8.0" | ||
}, | ||
"OrchardVersion": { | ||
"type": "parameter", | ||
"datatype": "string", | ||
"description": "Specifies which version of Orchard Core packages to use.", | ||
"replaces": "$(TemplateOrchardPackageVersion)", | ||
"defaultValue": "1.8.4" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"modifiers": [] | ||
} | ||
], | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
} | ||
} |
Oops, something went wrong.