MDeLuise / plant-it

πŸͺ΄ Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
691 stars 26 forks source link

Add Gotify Notification Support #260

Closed MDeLuise closed 3 months ago

MDeLuise commented 3 months ago

Hey Plant-it community!
This PR fixes #258, i.e. introduce a new feature that adds support for Gotify notifications. This addition will allow users who use Gotify for their notification needs to integrate seamlessly with the application.

What's new?

I have implemented Gotify notification support in the application. Users can now configure the application to send notifications via Gotify by setting up the appropriate server properties.

Why is it important?

Many users and organizations utilize Gotify for their notification systems. By adding support for Gotify, we provide more flexibility and options for our users to integrate their preferred notification services.

How to Use?

To enable Gotify notifications, you need to configure the new GOTIFY_ENABLED=true server property.



Cheers and happy planting! 🌿🌼

github-actions[bot] commented 3 months ago

πŸ“ Coverage Report For Server Service

Overall Project 50.4% -1.86% 🟒
Files changed 10.69% πŸ”΄


File Coverage
NotificationDispatcherName.java 100% 🟒
GotifyNotificationDispatcherDTOConverter.java 22.22% -77.78% πŸ”΄
NotificationDispatcherController.java 13.19% -34.07% πŸ”΄
GotifyNotificationDispatcherConfig.java 8.11% -91.89% πŸ”΄
GotifyNotificationDispatcher.java 7.09% -92.91% πŸ”΄
NtfyNotificationDispatcher.java 4.63% 🟒
GotifyNotificationDispatcherConfigDTO.java 0% πŸ”΄