Skip to content

Commit

Permalink
Revert "Nostr dm notifications (louislam#3051)" (louislam#3325)
Browse files Browse the repository at this point in the history
This reverts commit b8bcb6f.
  • Loading branch information
louislam committed Jun 28, 2023
1 parent d949e35 commit f08e1a4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 427 deletions.
290 changes: 4 additions & 286 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"node-cloudflared-tunnel": "~1.0.9",
"node-radius-client": "~1.0.0",
"nodemailer": "~6.6.5",
"nostr-tools": "^1.8.1",
"notp": "~2.0.3",
"password-hash": "~1.2.2",
"pg": "~8.8.0",
Expand All @@ -125,8 +124,7 @@
"socks-proxy-agent": "6.1.1",
"tar": "~6.1.11",
"tcp-ping": "~0.1.1",
"thirty-two": "~1.0.2",
"websocket-polyfill": "^0.0.3"
"thirty-two": "~1.0.2"
},
"devDependencies": {
"@actions/github": "~5.0.1",
Expand Down
101 changes: 0 additions & 101 deletions server/notification-providers/nostr.js

This file was deleted.

2 changes: 0 additions & 2 deletions server/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const LineNotify = require("./notification-providers/linenotify");
const LunaSea = require("./notification-providers/lunasea");
const Matrix = require("./notification-providers/matrix");
const Mattermost = require("./notification-providers/mattermost");
const Nostr = require("./notification-providers/nostr");
const Ntfy = require("./notification-providers/ntfy");
const Octopush = require("./notification-providers/octopush");
const OneBot = require("./notification-providers/onebot");
Expand Down Expand Up @@ -83,7 +82,6 @@ class Notification {
new LunaSea(),
new Matrix(),
new Mattermost(),
new Nostr(),
new Ntfy(),
new Octopush(),
new OneBot(),
Expand Down
1 change: 0 additions & 1 deletion src/components/NotificationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export default {
"lunasea": "LunaSea",
"matrix": "Matrix",
"mattermost": "Mattermost",
"nostr": "Nostr",
"ntfy": "Ntfy",
"octopush": "Octopush",
"OneBot": "OneBot",
Expand Down
26 changes: 0 additions & 26 deletions src/components/notifications/Nostr.vue

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/notifications/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ 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";
Expand Down Expand Up @@ -76,7 +75,6 @@ const NotificationFormList = {
"lunasea": LunaSea,
"matrix": Matrix,
"mattermost": Mattermost,
"nostr": Nostr,
"ntfy": Ntfy,
"octopush": Octopush,
"OneBot": OneBot,
Expand Down
7 changes: 1 addition & 6 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,5 @@
"Group": "Group",
"Monitor Group": "Monitor Group",
"noGroupMonitorMsg": "Not Available. Create a Group Monitor First.",
"Close": "Close",
"nostrRelays": "Nostr relays",
"nostrRelaysHelp": "One relay URL per line",
"nostrSender": "Sender Private Key (nsec)",
"nostrRecipients": "Recipients Public Keys (npub)",
"nostrRecipientsHelp": "npub format, one per line"
"Close": "Close"
}

0 comments on commit f08e1a4

Please sign in to comment.