-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Add GOV Notify integration for notifications #5660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Introduced GOV Notify as a new notification provider, enabling support for email and SMS notifications via the GOV.UK Notify API. Updated relevant components, configuration, and dependencies to support this integration. This includes a dedicated form for GOV Notify in the notification dialog and backend logic for message handling. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
Introduced a toggle in the UI to securely display or edit the GOV Notify API key. Updated the backend to include dynamic subject lines and timestamps in notifications to improve clarity and contextual information for recipients. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
Reformatted code across multiple modules, standardizing string quotes, indentation, and spacing. Improved readability by restructuring blocks and aligning object properties consistently. These changes ensure better code maintainability and follow standard conventions. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
| var md4sum = crypto.createHash('md4'); | ||
| md4sum.update(new Buffer.from(password, 'ucs2')); | ||
| var md4sum = crypto.createHash("md4"); | ||
| md4sum.update(new Buffer.from(password, "ucs2")); |
Check failure
Code scanning / CodeQL
Use of password hash with insufficient computational effort High
an access to password
Password from
an access to password
Password from
an access to password
Password from
an access to password
| var hmac = crypto.createHmac('md5', ntlmhash); | ||
| hmac.update(new Buffer.from(username.toUpperCase() + authTargetName, 'ucs2')); | ||
| var hmac = crypto.createHmac("md5", ntlmhash); | ||
| hmac.update(new Buffer.from(username.toUpperCase() + authTargetName, "ucs2")); |
Check failure
Code scanning / CodeQL
Use of a broken or weak cryptographic algorithm High
A broken or weak cryptographic algorithm
sensitive data from an access to username
A broken or weak cryptographic algorithm
sensitive data from an access to username
A broken or weak cryptographic algorithm
sensitive data from an access to username
A broken or weak cryptographic algorithm
sensitive data from an access to username
A broken or weak cryptographic algorithm
sensitive data from an access to username
A broken or weak cryptographic algorithm
sensitive data from an access to username
Standardize spacing for array brackets across the codebase to improve readability and consistency. Additionally, relocate the eslint-disable comment for clarity and ensure proper association with the unused variable declaration. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
Corrected spacing in function parameters and object definitions across multiple files to improve code readability and maintain consistency. No functionality was altered as part of these changes. Signed-off-by: Toby Liddicoat <toby@codesure.co.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is not currently in a reviewable state:
- Please look over all changes if you intended to make them or not. You are currently changing 800 lines (most of them unintentionally) which is not reviewable
- you are currently failing CI
- Please make sure to include the screenshots, that we ask for in https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
I am going to close this due to the above reasons. |
Introduced GOV Notify as a new notification provider, enabling support for email and SMS notifications via the GOV.UK Notify API. Updated relevant components, configuration, and dependencies to support this integration. This includes a dedicated form for GOV Notify in the notification dialog and backend logic for message handling.
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Fixes #(issue)
Type of change
Please delete any options that are not relevant.
Checklist
Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.