+
+ {{range $templateName := .MailTemplateNames}}
+
{{$templateName}}
+ {{else}}
+
Mailer service is not enabled or no template is found
+ {{end}}
+
+
+ {{if .RenderMailTemplateName}}
+
+
Preview of: {{.RenderMailTemplateName}}
+
Subject: {{.RenderMailSubject}}
+
+
+
+ {{end}}
+
+{{template "devtest/devtest-footer"}}
diff --git a/templates/mail/auth/activate.mock.yml b/templates/mail/auth/activate.mock.yml
new file mode 100644
index 0000000000..f5519a6f6c
--- /dev/null
+++ b/templates/mail/auth/activate.mock.yml
@@ -0,0 +1,3 @@
+DisplayName: User Display Name
+Code: The-Activation-Code
+ActiveCodeLives: 24h
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 1cc3735b2b..6cf2810baf 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -21248,6 +21248,25 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
+ "ActionWorkflowResponse": {
+ "description": "ActionWorkflowResponse returns a ActionWorkflow",
+ "type": "object",
+ "properties": {
+ "total_count": {
+ "type": "integer",
+ "format": "int64",
+ "x-go-name": "TotalCount"
+ },
+ "workflows": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionWorkflow"
+ },
+ "x-go-name": "Workflows"
+ }
+ },
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
+ },
"ActionWorkflowRun": {
"description": "ActionWorkflowRun represents a WorkflowRun",
"type": "object",
@@ -28592,10 +28611,7 @@
"ActionWorkflowList": {
"description": "ActionWorkflowList",
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionWorkflow"
- }
+ "$ref": "#/definitions/ActionWorkflowResponse"
}
},
"ActivityFeedsList": {