Manage the Slack digest in the admin
New settings area: the webhook lives in the database and is only shown shortened afterwards, the environment variable stays as a fallback. A switch decides whether internal entries travel, a button sends the digest right away, and every run is recorded with period, count, projects, result and who triggered it.
This commit is contained in:
+53
-3
@@ -273,7 +273,8 @@
|
||||
"clients": "Access",
|
||||
"manage": "Manage",
|
||||
"postTypes": "Post types",
|
||||
"api": "API"
|
||||
"api": "API",
|
||||
"settings": "Settings"
|
||||
},
|
||||
"messages": {
|
||||
"created": "Created.",
|
||||
@@ -283,7 +284,12 @@
|
||||
"invalid": "Please check the marked fields.",
|
||||
"slugTaken": "That slug already exists. Pick another one.",
|
||||
"selfAdmin": "You cannot change the administration right on your own account. Another administration account has to do it.",
|
||||
"typeInUse": "This type is still in use. Clear the active checkbox instead."
|
||||
"typeInUse": "This type is still in use. Clear the active checkbox instead.",
|
||||
"slackSaved": "The Slack settings are saved.",
|
||||
"reportSent": "The digest is out.",
|
||||
"reportEmpty": "Nothing was published in the last seven days, so no message went out.",
|
||||
"reportNoWebhook": "No webhook is stored.",
|
||||
"reportRejected": "Slack rejected the message."
|
||||
},
|
||||
"errors": {
|
||||
"nameRequired": "Enter a name.",
|
||||
@@ -696,7 +702,51 @@
|
||||
"publishHint": "No access may publish. That stays bound to accounts."
|
||||
},
|
||||
"recentEntries": "Recently edited",
|
||||
"allEntries": "All entries"
|
||||
"allEntries": "All entries",
|
||||
"settings": {
|
||||
"eyebrow": "Administration",
|
||||
"title": "Settings",
|
||||
"intro": "The Slack digest and what it contains. The schedule lives in Coolify, not here.",
|
||||
"slack": "Slack",
|
||||
"save": "Save",
|
||||
"saving": "Saving",
|
||||
"sendNow": "Send the digest now",
|
||||
"sending": "Sending",
|
||||
"webhookStored": "Stored, no longer shown.",
|
||||
"webhookFromEnv": "Comes from the SLACK_WEBHOOK_URL variable.",
|
||||
"replaceWebhook": "Enter a different webhook",
|
||||
"schedule": "Schedule",
|
||||
"scheduleText": "The run starts Mondays at 08:00 as a Coolify task. It publishes due entries first, then sends the digest. Nothing published means no message.",
|
||||
"history": "History",
|
||||
"historyMeta": "{count, plural, =0 {no run} one {# run} other {# runs}}",
|
||||
"historyEmpty": "No run recorded yet.",
|
||||
"columns": {
|
||||
"when": "When",
|
||||
"period": "Period",
|
||||
"total": "Entries",
|
||||
"projects": "Projects",
|
||||
"result": "Result",
|
||||
"trigger": "Triggered by"
|
||||
},
|
||||
"results": {
|
||||
"sent": "Sent",
|
||||
"nothing_published": "Nothing published",
|
||||
"not_configured": "No webhook",
|
||||
"rejected": "Rejected by Slack"
|
||||
},
|
||||
"fields": {
|
||||
"webhook": "Incoming webhook",
|
||||
"includeInternal": "Include internal entries"
|
||||
},
|
||||
"hints": {
|
||||
"webhook": "From Slack under Incoming Webhooks. The address is bound to one channel.",
|
||||
"includeInternal": "Slack is internal, so this is on by default. Off means customer and public entries only.",
|
||||
"sendNow": "Sends the last seven days into the channel right away."
|
||||
},
|
||||
"errors": {
|
||||
"webhookInvalid": "That does not look like a Slack webhook address."
|
||||
}
|
||||
}
|
||||
},
|
||||
"filter": {
|
||||
"type": "Type",
|
||||
|
||||
Reference in New Issue
Block a user