2024-12-11 14:54:11 +00:00
< div >
< x - slot : title >
2026-02-16 01:54:19 +00:00
Notifications | MapleDeploy
2024-12-12 07:40:34 +00:00
</ x - slot >
< x - notification . navbar />
< form wire : submit = 'submit' class = " flex flex-col gap-4 pb-4 " >
< div class = " flex items-center gap-2 " >
< h2 > Pushover </ h2 >
2025-08-26 08:27:31 +00:00
< x - forms . button canGate = " update " : canResource = " $settings " type = " submit " >
2024-12-12 07:40:34 +00:00
Save
</ x - forms . button >
@ if ( $pushoverEnabled )
2025-08-26 08:27:31 +00:00
< x - forms . button canGate = " sendTest " : canResource = " $settings " class = " normal-case dark:text-white btn btn-xs no-animation btn-primary "
2024-12-11 14:54:11 +00:00
wire : click = " sendTestNotification " >
Send Test Notification
</ x - forms . button >
2024-12-12 07:40:34 +00:00
@ else
2025-08-26 08:27:31 +00:00
< x - forms . button canGate = " sendTest " : canResource = " $settings " disabled class = " normal-case dark:text-white btn btn-xs no-animation btn-primary " >
2024-12-11 14:54:11 +00:00
Send Test Notification
</ x - forms . button >
2024-12-12 07:40:34 +00:00
@ endif
</ div >
< div class = " w-32 " >
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " instantSavePushoverEnabled " id = " pushoverEnabled " label = " Enabled " />
2024-12-12 07:40:34 +00:00
</ div >
< div class = " flex gap-2 " >
2025-08-26 08:27:31 +00:00
< x - forms . input canGate = " update " : canResource = " $settings " type = " password "
2024-12-12 07:40:34 +00:00
helper = " Get your User Key in Pushover. You need to be logged in to Pushover to see your user key in the top right corner. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/' target='_blank'>Pushover Dashboard</a> "
required id = " pushoverUserKey " label = " User Key " />
2025-08-26 08:27:31 +00:00
< x - forms . input canGate = " update " : canResource = " $settings " type = " password "
2024-12-12 07:40:34 +00:00
helper = " Generate an API Token/Key in Pushover by creating a new application. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/apps/build' target='_blank'>Create Pushover Application</a> "
required id = " pushoverApiToken " label = " API Token " />
</ div >
</ form >
< h2 class = " mt-4 " > Notification Settings </ h2 >
< p class = " mb-4 " >
Select events for which you would like to receive Pushover notifications .
</ p >
< div class = " flex flex-col gap-4 max-w-2xl " >
2025-06-25 08:56:35 +00:00
< div class = " border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg " >
2024-12-12 07:40:34 +00:00
< h3 class = " font-medium mb-3 " > Deployments </ h3 >
< div class = " flex flex-col gap-1.5 pl-1 " >
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " deploymentSuccessPushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Deployment Success " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " deploymentFailurePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Deployment Failure " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel "
2024-12-12 07:40:34 +00:00
helper = " Send a notification when a container status changes. It will notify for Stopped and Restarted events of a container. "
id = " statusChangePushoverNotifications " label = " Container Status Changes " />
2024-12-11 14:54:11 +00:00
</ div >
2024-12-12 07:40:34 +00:00
</ div >
2025-06-25 08:56:35 +00:00
< div class = " border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg " >
2024-12-12 07:40:34 +00:00
< h3 class = " font-medium mb-3 " > Backups </ h3 >
< div class = " flex flex-col gap-1.5 pl-1 " >
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " backupSuccessPushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Backup Success " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " backupFailurePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Backup Failure " />
2024-12-11 14:54:11 +00:00
</ div >
2024-12-12 07:40:34 +00:00
</ div >
2025-06-25 08:56:35 +00:00
< div class = " border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg " >
2024-12-12 07:40:34 +00:00
< h3 class = " font-medium mb-3 " > Scheduled Tasks </ h3 >
< div class = " flex flex-col gap-1.5 pl-1 " >
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " scheduledTaskSuccessPushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Scheduled Task Success " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " scheduledTaskFailurePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Scheduled Task Failure " />
2024-12-11 14:54:11 +00:00
</ div >
2024-12-12 07:40:34 +00:00
</ div >
2025-06-25 08:56:35 +00:00
< div class = " border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg " >
2024-12-12 07:40:34 +00:00
< h3 class = " font-medium mb-3 " > Server </ h3 >
< div class = " flex flex-col gap-1.5 pl-1 " >
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " dockerCleanupSuccessPushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Docker Cleanup Success " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " dockerCleanupFailurePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Docker Cleanup Failure " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " serverDiskUsagePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Server Disk Usage " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " serverReachablePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Server Reachable " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " serverUnreachablePushoverNotifications "
2024-12-12 07:40:34 +00:00
label = " Server Unreachable " />
2025-08-26 08:27:31 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " serverPatchPushoverNotifications "
feat(server): implement server patch check notifications
- Added a new job, ServerPatchCheckJob, to handle server patch checks and notifications.
- Introduced a new notification class, ServerPatchCheck, for sending updates via email, Discord, Slack, Pushover, and Telegram.
- Updated notification settings models to include server patch notification options for email, Discord, Slack, Pushover, and Telegram.
- Created a migration to add server patch notification fields to the respective settings tables.
- Enhanced the UI to allow users to enable/disable server patch notifications across different channels.
2025-05-26 12:03:59 +00:00
label = " Server Patching " />
2025-11-13 12:38:57 +00:00
< x - forms . checkbox canGate = " update " : canResource = " $settings " instantSave = " saveModel " id = " traefikOutdatedPushoverNotifications "
label = " Traefik Proxy Outdated " />
2024-12-11 14:54:11 +00:00
</ div >
</ div >
2024-12-12 07:40:34 +00:00
</ div >
2024-12-11 14:54:11 +00:00
</ div >