feat(notifications): Add test notification routes for NTFY, Discord, … - #41
Merged
Conversation
…Slack, and Gotify
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
src/api.rsfor sending test notifications via NTFY, Discord, Slack, and Gotify, including authentication and settings checks. [1] [2]src/notifications/ntfy.rs,src/notifications/discord.rs,src/notifications/slack.rs, andsrc/notifications/gotify.rsto send test notifications with basic error handling and logging. [1] [2] [3] [4]Frontend: Layout and Login Page
auth.vuelayout for authentication pages, providing a consistent centered and styled background for login and onboarding.login.vueto use the new authentication layout, cleaned up markup, and improved error message display for better user experience. [1] [2] [3] [4]