Skip to content

feat(notifications): Add test notification routes for NTFY, Discord, … - #41

Merged
BreizhHardware merged 2 commits into
devfrom
fix/config-reset
Jul 7, 2026
Merged

feat(notifications): Add test notification routes for NTFY, Discord, …#41
BreizhHardware merged 2 commits into
devfrom
fix/config-reset

Conversation

@BreizhHardware

Copy link
Copy Markdown
Owner

This pull request adds new API endpoints and backend logic to support sending test notifications through four different services (NTFY, Discord, Slack, Gotify), and refactors the login page to use a dedicated authentication layout for improved consistency and maintainability. The changes are grouped into backend (Rust API and notification logic) and frontend (Vue layout and login page) updates.

Backend: Notification Testing API

  • Added new API routes to src/api.rs for sending test notifications via NTFY, Discord, Slack, and Gotify, including authentication and settings checks. [1] [2]
  • Implemented helper functions in src/notifications/ntfy.rs, src/notifications/discord.rs, src/notifications/slack.rs, and src/notifications/gotify.rs to send test notifications with basic error handling and logging. [1] [2] [3] [4]
  • Integrated the notification modules into the API and updated imports to support the new functionality.
  • Added authentication and session expiry checks to all test notification endpoints to ensure only authorized users can trigger test notifications.

Frontend: Layout and Login Page

  • Created a new auth.vue layout for authentication pages, providing a consistent centered and styled background for login and onboarding.
  • Refactored login.vue to use the new authentication layout, cleaned up markup, and improved error message display for better user experience. [1] [2] [3] [4]

BreizhHardware and others added 2 commits August 21, 2025 18:27
- Created pnpm-workspace.yaml to manage workspace packages and allow builds for specific tools.
- Added project.json for the app with targets for build, test, lint, and Docker commands.
- Introduced prepare-docker.mjs script to set up Docker build context.
- Updated API to handle optional Slack and Gotify URLs gracefully.
- Enhanced login.vue with improved form structure and error handling.
- Created project.json for frontend with targets for development, generation, and building.
@BreizhHardware
BreizhHardware merged commit c16d05e into dev Jul 7, 2026
4 checks passed
@BreizhHardware
BreizhHardware deleted the fix/config-reset branch July 7, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant