From b318cc6808aca82dc4cc3ee051b8251ddc16e279 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Fri, 19 Jul 2024 09:08:11 -0700 Subject: [PATCH] Use welshman dvms --- README.md | 12 ++- package-lock.json | Bin 510048 -> 511448 bytes package.json | 5 +- src/app/shared/OnboardingTask.svelte | 10 +-- src/app/shared/PersonLink.svelte | 3 +- src/app/views/Feeds.svelte | 4 +- src/app/views/GroupList.svelte | 4 +- src/app/views/InviteCreate.svelte | 12 ++- src/engine/requests/index.ts | 33 ++++---- src/engine/requests/pubkeys.ts | 2 +- src/engine/state.ts | 120 ++++++++------------------- 11 files changed, 81 insertions(+), 124 deletions(-) diff --git a/README.md b/README.md index a57f6d30..fada37a3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ If you like Coracle and want to support its development, you can donate sats via - [x] NIP 87 closed groups - [x] NIP 72 communities - [x] NIP 89 client tag support +- [x] NIP 89 handler integration - [x] NIP 32 labeling and collections +- [x] NIP 17 DMs - [x] Private group calendars and listings - [x] Cross-posting between communities and main feed - [x] Bech32 entity search and scan @@ -46,6 +48,12 @@ If you like Coracle and want to support its development, you can donate sats via - [x] Onboarding workflow - [x] Multi-account support - [x] Notifications view +- [x] Web of trust scores for less spam and better group/feed suggestions +- [x] Customizable and shareable feeds and lists +- [x] Customizable invite links +- [x] Reporting via tagr-bot +- [x] Nostr Wallet Connect support +- [x] Date/time localization You can find a more complete changelog [here](./CHANGELOG.md). @@ -53,9 +61,9 @@ You can find a more complete changelog [here](./CHANGELOG.md). - Clone the project repository: `git clone https://github.com/coracle-social/coracle.git` - Navigate to the project directory: `cd coracle` -- Install dependencies: `yarn` +- Install dependencies: `npm i` - Customize configuration in `.env` (optional, see below) -- Start the development server: `yarn dev` +- Start the development server: `npm run dev` # Customization diff --git a/package-lock.json b/package-lock.json index b4cca1b381ba2ff7e6f2d67df84184a8ab230a15..e4ac5b803c57c783ccafd930e0b59ae30d73a144 100644 GIT binary patch delta 529 zcmaDbLH@>U`3=*UcvH%9m8=w$;tcc*^b99AFim2#XclH}7iMPMF3imIcNSAh+4REI zOj6U2XE2*g_g}@t#SPS=ud5Fvbq%H`mawRWnz{tLrx<$&dV3m2>U)-!<|S)eMrH>V zM-_SaX{Q_I6oe&tghps5xmf0hmU+4w`j(oxC6&8Jm>L;)xcOwcr-V8sC5L zHhCe7-1G-?nG9G!j+>saj7fa@-<3=X(~n+bH3GR>dV1p-Cgo74z)B}KQ{PnYRQ)7h zAFpEb{0K|^ih#h7K>4htqdJq<~mX>7ZK;7_q5tICMm8ooCH*jr#yNs!Y zal61gCSD#!i^&T!jiv{z0tRiP2+(O}DQT98d6hvC#U>>_{&`tJ5#Ej-sRe~mE{48l zAyr1co~DjDX}*D_9@^QinU2|o`H4A!Ci=-`xo&<=PNw?qp^pB!k--K*c`1oec}~fm e71PIl!`|ALHCPbW7sM<-`riwsl4B%dt(FmreBQ18sbTn`KHRFATVaI-4M+*Ivs z#}IE5ccUV=>|~!n_f&1mMB^&A^s+z?XQ!}yljI;%??`{App?S$;^~3BOd8WxFo{g} cpU=eCzGMRv5HkZY3lOscG28Yf8`w=`0m{-oivR!s diff --git a/package.json b/package.json index 41885bf5..e57a543c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "check:es": "eslint 'src/**/*.{js,ts,svelte}' --quiet", "check:ts": "svelte-check --tsconfig ./tsconfig.json --threshold error", "check:fmt": "prettier --check $(git diff head --name-only --diff-filter d | grep -E '(js|ts|svelte)$' | xargs)", - "check:errors": "run-p check:es check:ts check:cycles", + "check:errors": "run-p check:es check:ts", "check": "run-p check:errors check:fmt", "format": "prettier --write $(git diff head --name-only --diff-filter d | grep -E '(js|ts|svelte)$' | xargs)", "watch": "find src -type f | entr -r" @@ -57,7 +57,8 @@ "@welshman/feeds": "^0.0.12", "@welshman/lib": "^0.0.11", "@welshman/net": "^0.0.14", - "@welshman/util": "^0.0.17", + "@welshman/util": "^0.0.18", + "@welshman/dvm": "^0.0.2", "bowser": "^2.11.0", "classnames": "^2.5.1", "compressorjs": "^1.2.1", diff --git a/src/app/shared/OnboardingTask.svelte b/src/app/shared/OnboardingTask.svelte index ea45736c..51599162 100644 --- a/src/app/shared/OnboardingTask.svelte +++ b/src/app/shared/OnboardingTask.svelte @@ -1,5 +1,5 @@ {#if !$session.onboarding_tasks_completed.includes(task)} @@ -19,9 +21,7 @@ - + diff --git a/src/app/shared/PersonLink.svelte b/src/app/shared/PersonLink.svelte index 0747e24f..edb6e586 100644 --- a/src/app/shared/PersonLink.svelte +++ b/src/app/shared/PersonLink.svelte @@ -1,4 +1,5 @@ - + @{$display} diff --git a/src/app/views/Feeds.svelte b/src/app/views/Feeds.svelte index d48873f2..a9adf978 100644 --- a/src/app/views/Feeds.svelte +++ b/src/app/views/Feeds.svelte @@ -1,5 +1,5 @@