mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-13 08:45:53 -04:00
Nostr dm notifications (#3473)
* Add nostr DM notification provider * require crypto for node 18 compatibility * remove whitespace Co-authored-by: Frank Elsinga <frank@elsinga.de> * move closer to where it is used * simplify success or failure logic * don't clobber the non-alert msg * Update server/notification-providers/nostr.js Co-authored-by: Frank Elsinga <frank@elsinga.de> * polyfills required for node <= 18 * resolve linter warnings * missing comma * better websocket polyfill, update deprecated function * add conditional polyfills for node versions * lint * use correct npm for package-lock --------- Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
This commit is contained in:
parent
db66195f7d
commit
eb6167aaf1
8 changed files with 1378 additions and 2330 deletions
|
@ -19,6 +19,7 @@ import LineNotify from "./LineNotify.vue";
|
|||
import LunaSea from "./LunaSea.vue";
|
||||
import Matrix from "./Matrix.vue";
|
||||
import Mattermost from "./Mattermost.vue";
|
||||
import Nostr from "./Nostr.vue";
|
||||
import Ntfy from "./Ntfy.vue";
|
||||
import Octopush from "./Octopush.vue";
|
||||
import OneBot from "./OneBot.vue";
|
||||
|
@ -77,6 +78,7 @@ const NotificationFormList = {
|
|||
"lunasea": LunaSea,
|
||||
"matrix": Matrix,
|
||||
"mattermost": Mattermost,
|
||||
"nostr": Nostr,
|
||||
"ntfy": Ntfy,
|
||||
"octopush": Octopush,
|
||||
"OneBot": OneBot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue