From 25dedab593f998f41644407a6413f0733ed936a5 Mon Sep 17 00:00:00 2001 From: Sandwich <299465+dskvr@users.noreply.github.com> Date: Tue, 17 Jan 2023 05:28:50 +0100 Subject: [PATCH 1/8] Hotfix (#220) * add wss://student.chadpolytechnic.com Adding Preston Pysh's Relay. Verification that it's his: https://twitter.com/PrestonPysh/status/1614635549662531584 * SSL Check and Kind 3 Management (#219) * Add relay.nostr.scot Add relay.nostr.scot * Add rsslay.nostr.moe (#210) A custom fork of the rss-bridge relay of fiatjaf [piraces/rsslay](https://github.com/piraces/rsslay) Co-authored-by: Sandwich <299465+dskvr@users.noreply.github.com> * remove e.e. * kind3 editing, ssl, various improvements * working relay list editor * remove debugging * move buttons * show/hide button for logged in/out * bugfix * fix column issue * remove debugging * reduce wait time * disable edit button while relays are refreshing * add some gates * resets after save Co-authored-by: Paul Rollo Co-authored-by: Raul Piraces Alastuey Co-authored-by: dskvr * see policies outside of editor * turn off yaml => json until toml is implemented * only write meta to relays with write policy * fixes Co-authored-by: Suprateek Bose <18413760+SupraBo@users.noreply.github.com> Co-authored-by: Paul Rollo Co-authored-by: Raul Piraces Alastuey Co-authored-by: dskvr --- src/components/relays/partials/NostrSync.vue | 4 +++- src/store/user.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/relays/partials/NostrSync.vue b/src/components/relays/partials/NostrSync.vue index 006eed5..e12ab58 100644 --- a/src/components/relays/partials/NostrSync.vue +++ b/src/components/relays/partials/NostrSync.vue @@ -163,7 +163,9 @@ export default defineComponent({ console.log('valid event?', ok, veryOk) - const pool = new RelayPool( Object.keys(this.store.user.kind3) ) + const relaysWrite = Object.keys(this.store.user.kind3).filter( key => this.store.user.kind3[key].write) + + const pool = new RelayPool( relaysWrite ) pool.on('open', relay=>{ relay.send(['EVENT', signedEvent]) diff --git a/src/store/user.js b/src/store/user.js index fd0d2b3..b2987f9 100644 --- a/src/store/user.js +++ b/src/store/user.js @@ -79,7 +79,7 @@ export const useUserStore = defineStore('user', { if(obj instanceof Object && Object.keys(obj).length) this.kind3 = obj else - this.kind3 = Object.assign(this.kind3, await this.retrieveKind3()) + this.kind3 = Object.assign(await this.retrieveKind3(), this.kind3) }, setPublicKey: function(pubKey){ this.pubKey = pubKey }, setProfile: function(stringifiedEvContent){ From c89a711836127a557d6840f514c9f2b76abf23e2 Mon Sep 17 00:00:00 2001 From: dskvr Date: Tue, 17 Jan 2023 07:07:57 +0100 Subject: [PATCH 3/8] hotfix/debug --- src/components/relays/tasks/RefreshTask.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/relays/tasks/RefreshTask.vue b/src/components/relays/tasks/RefreshTask.vue index d4887e4..752bcf8 100644 --- a/src/components/relays/tasks/RefreshTask.vue +++ b/src/components/relays/tasks/RefreshTask.vue @@ -174,7 +174,7 @@ const localMethods = { getInfo: true, getIdentities: true, run: true, - debug: true, + // debug: true, connectTimeout: this.getDynamicTimeout, readTimeout: this.getDynamicTimeout, writeTimeout: this.getDynamicTimeout, From d0d959c5b7a1bcd3f3ff9706a7e222f7b7443811 Mon Sep 17 00:00:00 2001 From: etemiz Date: Tue, 17 Jan 2023 09:28:18 -0600 Subject: [PATCH 4/8] East coast USA server (#222) East coast USA relayer based on C++ strfry relay implementation (fast) --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index a6c3ff7..08937c0 100644 --- a/relays.yaml +++ b/relays.yaml @@ -216,3 +216,4 @@ relays: - wss://nostr.mouton.dev - wss://nostr.handyjunky.com - wss://student.chadpolytechnic.com + - wss://e.nos.lol From cda42abc7a75eaa8c84f386f203ae005caca352a Mon Sep 17 00:00:00 2001 From: Arun Nedun Date: Wed, 18 Jan 2023 10:35:47 -0500 Subject: [PATCH 5/8] add - wss://relay.current.fyi (#225) --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 08937c0..e11ef90 100644 --- a/relays.yaml +++ b/relays.yaml @@ -217,3 +217,4 @@ relays: - wss://nostr.handyjunky.com - wss://student.chadpolytechnic.com - wss://e.nos.lol + - wss://relay.current.fyi From 1db12915a3349f548b0b6904c4131ea4258c580c Mon Sep 17 00:00:00 2001 From: Orb Date: Wed, 18 Jan 2023 23:39:32 +0800 Subject: [PATCH 6/8] Update relays.yaml (#228) --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index e11ef90..972d2a8 100644 --- a/relays.yaml +++ b/relays.yaml @@ -1,4 +1,5 @@ relays: + - wss://nostr.lnorb.com - wss://nos.lol - wss://nostr.p2sh.co - wss://nostr.lnprivate.network From ba92e2d85e8f1692cffac7313e8dfcededaca324 Mon Sep 17 00:00:00 2001 From: Raul Piraces Alastuey Date: Wed, 18 Jan 2023 16:40:06 +0100 Subject: [PATCH 7/8] Add new relay at nostr.moe (#226) Relay running nostream Co-authored-by: Sandwich <299465+dskvr@users.noreply.github.com> --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 972d2a8..616efef 100644 --- a/relays.yaml +++ b/relays.yaml @@ -218,4 +218,5 @@ relays: - wss://nostr.handyjunky.com - wss://student.chadpolytechnic.com - wss://e.nos.lol + - wss://relay.nostr.moe - wss://relay.current.fyi From 2d1db0e948883b07782bf34736a439e4c764ef02 Mon Sep 17 00:00:00 2001 From: Sandwich <299465+dskvr@users.noreply.github.com> Date: Wed, 18 Jan 2023 16:41:12 +0100 Subject: [PATCH 8/8] Update relays.yaml --- relays.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/relays.yaml b/relays.yaml index 616efef..5db1a54 100644 --- a/relays.yaml +++ b/relays.yaml @@ -220,3 +220,4 @@ relays: - wss://e.nos.lol - wss://relay.nostr.moe - wss://relay.current.fyi + - wss://nostr-bg01.ciph.rs