Commit graph

57 commits

Author SHA1 Message Date
Andras Bacsai
8c77c63043 feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings
- Add automated Traefik version checking job running weekly on Sundays
- Implement version detection from running containers and comparison with versions.json
- Add notifications across all channels (Email, Discord, Slack, Telegram, Pushover, Webhook) for outdated versions
- Create dismissible callout component with localStorage persistence
- Display cross-branch upgrade warnings (e.g., v3.5 -> v3.6) with changelog links
- Show patch update notifications within same branch
- Add warning icon that appears when callouts are dismissed
- Prevent duplicate notifications during proxy restart by adding restarting parameter
- Fix notification spam with transition-based logic for status changes
- Enable system email settings by default in development mode
- Track last saved/applied proxy settings to detect configuration drift
2025-11-14 11:35:22 +01:00
Andras Bacsai
dc15bee980 feat: implement actual webhook delivery with Ray debugging
Added actual HTTP POST delivery for webhook notifications and comprehensive Ray debugging for development.

Changes:
- Updated Team model to implement SendsWebhook interface
- Added routeNotificationForWebhook() method to Team
- Enhanced SendWebhookJob with Ray logging for request/response
- Added Ray debugging to WebhookChannel for dispatch tracking
- Added Ray debugging to Webhook Livewire component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 18:07:04 +02:00
Andras Bacsai
27879377a0 feat: add custom webhook notification support
Add basic infrastructure for custom webhook notifications:
- Create webhook_notification_settings table with event toggles
- Add WebhookNotificationSettings model with encrypted URL
- Integrate webhook settings into Team model and HasNotificationSettings trait
- Create Livewire component and Blade view for webhook configuration
- Add webhook navigation route and UI

This provides the foundation for sending webhook notifications to custom HTTP/HTTPS endpoints when events occur in Coolify.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 15:37:00 +02:00
Andras Bacsai
63fcc0ebc3 feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
Andras Bacsai
bcddba3569 refactor(email): streamline SMTP and resend settings logic for improved clarity 2025-06-24 18:27:09 +02:00
Andras Bacsai
8f4b6f4403 fix(email-notifications): change notify method to notifyNow for immediate test email delivery 2025-06-04 17:10:06 +02:00
Andras Bacsai
6ea6d2742b 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 14:03:59 +02:00
Andras Bacsai
6eea3c50d8 refactor(Email): enhance error handling in SMTP and resend methods by passing context to handleError function 2025-04-12 14:04:34 +02:00
Andras Bacsai
de839e3fcb refactor(Email): streamline SMTP and resend settings handling in copyFromInstanceSettings method 2025-04-12 13:59:54 +02:00
Andras Bacsai
26f4d37346 feat(notifications): add discord ping functionality and settings 2025-03-21 12:16:33 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
peaklabs-dev
f2cb040ba9
feat: new encryption options 2024-12-23 15:26:26 +01:00
peaklabs-dev
f88438edd3
chore: rename topicID to threadId like in the telegram API response 2024-12-11 23:13:13 +01:00
peaklabs-dev
48ddc65435
fix: use Livewire refresh method and lock properties 2024-12-11 19:34:44 +01:00
peaklabs-dev
92fec9582c
fix: make pushover settings more clear
- Rename User to User Key
- Rename Token to API Token
- fix: helper and docs links
2024-12-11 19:18:39 +01:00
Zao Soula
ef35429533 feat(notification): add Pushover 2024-12-11 18:13:16 +01:00
Andras Bacsai
b442965976 fix: test notifications to only send it to the right channel 2024-12-11 11:57:56 +01:00
Andras Bacsai
1257ab6ff4 fix: ui + migrations 2024-12-11 10:14:12 +01:00
peaklabs-dev
3030df9554
fix: new docker cleanup settings are now saved to the DB correctly 2024-12-10 16:13:54 +01:00
peaklabs-dev
bc726ddd6e
feat: new telegram UI 2024-12-09 16:49:09 +01:00
peaklabs-dev
b4b48692af
feat: New Slack notification UI 2024-12-09 16:39:19 +01:00
peaklabs-dev
5210218a45
feat: New Discord notification UI 2024-12-09 16:38:25 +01:00
peaklabs-dev
119c18468a
chore: public settings for email notification 2024-12-09 16:03:43 +01:00
peaklabs-dev
ee7a901a77
fix: Email Notification saving
- fix: SMTP and resend should only save their respective settings
- chore: improve component validation and code to make it much smaller (less code - same functionality)
2024-12-09 15:23:32 +01:00
peaklabs-dev
a6086ee38b
feat: New email notification settings 2024-12-09 13:56:52 +01:00
Marvin von Rappard
f7eccefda3
Merge branch 'next' into main 2024-12-06 06:29:35 +01:00
Andras Bacsai
dbde03a4d6 Merge branch 'next' into add-no-encryption-option 2024-12-05 12:30:45 +01:00
peaklabs-dev
7f449c3b72
fix: test email should not be required 2024-12-02 22:37:11 +01:00
Marvin von Rappard
1aea60f1f0
Merge branch 'next' into main 2024-11-25 09:06:24 +01:00
Vishwanath Martur
1f499c1488 Add no encryption option for SMTP settings
Related to #4311

Add option to configure SMTP settings without encryption.

* Update `app/Livewire/Notifications/Email.php` and `app/Livewire/SettingsEmail.php` to include "No Encryption" option in the `smtpEncryption` field and update validation rules.
* Modify `app/Notifications/Channels/EmailChannel.php` to handle the "No Encryption" option in the `bootConfigs` method.
* Add `set_transanctional_email_settings` function in `app/Livewire/Help.php` to support the "No Encryption" option.
* Update `config/mail.php` to handle the "No Encryption" option in the mail configuration.
2024-11-23 13:04:54 +05:30
peaklabs-dev
81f837138d
fix validation 2024-11-21 15:59:00 +01:00
peaklabs-dev
19ce01f7d8
fix send test email 2024-11-21 15:48:47 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
Andras Bacsai
b926129e5b fix: saving resend api key 2024-11-08 13:22:21 +01:00
Andras Bacsai
f081ba7621 fix: notifications ui 2024-11-08 11:45:56 +01:00
Andras Bacsai
9995663f01 fix notifications 2024-11-05 11:33:33 +01:00
Andras Bacsai
5ce6c3ded1 refactor server limit check job + email notifications view 2024-11-05 11:22:23 +01:00
Andras Bacsai
9b578b2003 do not use Rule (deprecated), changed to Validate 2024-11-05 09:36:40 +01:00
Andras Bacsai
d24d1394f7 refactor telegram notifications view 2024-11-04 17:48:39 +01:00
Andras Bacsai
1bdc2c6d7c refactor discord notification view 2024-11-03 23:19:44 +01:00
Lucas Michot
b1d04912a0 Remove all useless catch block useless variables. 2024-10-31 15:19:37 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
Andras Bacsai
2e9ce3ed2a feat: add notification settings to server_disk_usage 2024-10-22 14:47:01 +02:00
Andras Bacsai
ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
83549965ca Refactor instanceSettings() function for improved code readability 2024-10-01 10:37:40 +02:00
andrasbacsai
613830e6a6 Fix styling 2024-07-24 19:11:12 +00:00
Andras Bacsai
0f55e83591 revert: instancesettings 2024-07-12 15:45:36 +02:00
andrasbacsai
fa895db76e Fix styling 2024-07-12 10:53:07 +00:00
Andras Bacsai
88f33be5b6 refactor: only get instanceSettings once from db 2024-07-12 12:51:55 +02:00