Commit Graph
46 Commits
Author SHA1 Message Date
Chad Curtis 90d02c42d6 Upgrade @nostrify/react to 0.6.6 to enforce the nostrconnect handshake secret
0.6.6 enforces the nostrconnect handshake secret. Previously a signer
could answer the connect request with result: "ack" and skip proving it
could decrypt the secret, so any relay-connected party who saw the
nostrconnect URI could claim the session and become the user's signer.

The 0.6.6 NostrLoginProvider now resolves stored logins on a microtask
(rendering a null fallback until storage resolves) rather than
synchronously. Component/hook tests render and query immediately, so
they observed an empty tree. Mock @nostrify/react/login in the test
setup with a synchronous provider and matching useNostrLogin hook,
passing every other export (NLogin, NUser, the connect helpers) through
from the real module untouched.
2026-08-19 12:34:08 -05:00
Alex Gleason 18815f0649 fix: resolve all npm audit security vulnerabilities
Ran npm audit fix to resolve 19 vulnerabilities and upgraded vitest from
v3 to v4.1.8 (breaking change) to fix the critical UI server advisory
(GHSA-5xrq-8626-4rwp).

Vitest v4 no longer allows vi.fn() mocks to be used as constructors, so
converted constructor mocks (IntersectionObserver, ResizeObserver,
AbortController, NPool/NRelay1) to real classes in the test setup and
affected test files.

npm audit now reports 0 vulnerabilities.
2026-06-05 09:23:29 -05:00
Alex Gleason 5484a57f08 Change default preview domain to iframe.diy 2026-04-29 15:19:27 -05:00
Alex Gleason 0511976688 Switch back to local-shakespeare.dev, which is now an iframe.diy instance 2026-04-05 23:47:55 -05:00
Alex Gleason 819813a000 Replace local-shakespeare.dev with iframe.diy for preview pane 2026-04-05 23:34:15 -05:00
Alex Gleason a644994e93 refactor: replace showcase moderator with curator using NIP-19 event p-tags
Replace the hardcoded 'moderator' npub pattern with a 'curator' field that
accepts any note1/nevent1/naddr1 identifier. The p-tag pubkeys from the
resolved event are used as authors in a kind 31990 (#t:shakespeare) query.
Client-side filter ensures only apps with a 30617 git repo reference are
shown, guaranteeing the 'Edit with Shakespeare' button can be rendered.

All moderation controls (approve/feature/hide/etc.) are removed from
AppShowcaseCard. AppShowcase is simplified to a flat grid.
2026-04-03 01:08:46 -05:00
Alex Gleason 5a431ae5f2 Add Plausible Analytics integration with AppConfig support 2026-03-11 18:34:48 -05:00
Alex Gleason 43a3d46023 Update relays 2026-03-06 11:45:21 -06:00
Alex Gleason f289735da9 Fix tests by mocking the localStorage API 2026-01-21 14:08:23 -06:00
Alex Gleason b60d11186b Git proxy origins are configured separately from git credentials 2025-12-28 16:19:52 -06:00
Alex Gleason 54c89f03c7 Add mock git http server 2025-12-25 22:45:17 -06:00
Alex Gleason 4e68ee57d6 Move MockFS to a separate file (with its own tests) 2025-12-25 22:06:19 -06:00
Alex Gleason b82b4539d9 Let ngitWebUrl be configurable 2025-12-23 01:21:56 -06:00
Alex Gleason 8b9d87b5d5 Sync user grasp servers 2025-12-21 00:55:51 -06:00
Alex Gleason 4bc223e5af Revert "Merge branch 'text-chats' into 'main'"
This reverts commit 7badd0113f, reversing
changes made to 02dcd5cbe8.
2025-12-03 12:01:53 -06:00
Alex Gleason ab039d2fb7 Text chats 2025-12-03 01:05:00 -06:00
Alex Gleason 009142b854 Allow multiple project templates to be configured 2025-12-01 13:20:25 -06:00
Alex Gleason 4f73d99f64 Cache project template to VFS for faster clones 2025-11-23 10:42:07 -06:00
Alex Gleason c24f72b34c Implement plugins system / skills 2025-11-05 23:44:14 -06:00
Alex Gleason d79ed7df68 Connect to multiple Nostr relays. Sync NIP-65 relay list 2025-11-04 22:27:15 -06:00
Alex Gleason 0affd69adf Sentry 2025-11-03 18:22:05 -06:00
Alex Gleason d75bd386aa Make FS paths configurable 2025-10-23 14:50:05 -05:00
Alex Gleason 71f82ed717 Add external provider icons with favicons 2025-10-21 13:53:00 -05:00
Alex Gleason f3ac3f1815 Remove now unnecessary deployServer configuration 2025-10-18 23:08:04 -05:00
Alex Gleason ab91a56da6 Make Nostr git servers configurable 2025-10-14 20:53:32 -05:00
Alex Gleason 027059fcb8 Make showcase configurable in System Settings 2025-10-12 23:41:21 -05:00
Alex Gleason b5039c76f8 Make project template (mkstack itself) configurable in System Settings 2025-10-08 15:13:15 -05:00
Alex Gleason 45b0ae836a Make iframe previewDomain configurable 2025-10-08 15:01:40 -05:00
Chad Curtis 9a6058fedb Dynamic URL in more places. 2025-10-08 03:55:10 +00:00
Chad Curtis aa82aaf02c init 2025-10-07 23:41:23 +00:00
Alex Gleason d9a4efe2b2 eslint --fix 2025-10-04 15:18:03 -05:00
Alex Gleason 60f70db7b4 Hide "Recently Used" section of model selector if there are less than 5 models 2025-09-20 12:56:29 -05:00
Alex Gleason ced204bfde Add translations support 2025-09-19 13:40:11 -05:00
Alex Gleason ba62a139e2 Rework useLocalStorage to use React Query, fix starring projects updates sidebar immediately 2025-09-13 17:55:56 -05:00
Alex Gleason 81b0571b3e Add GitSettingsDialog 2025-09-13 12:01:46 -05:00
Alex Gleason 5debca98d6 Fix tests 2025-09-11 22:28:18 -05:00
Alex Gleason 26635a4b6a Deploy with picohost 2025-09-07 17:58:19 -05:00
Chad Curtis 0e1ccfe469 Fix messages appearing immediately, again. 2025-09-06 00:23:12 +00:00
Alex Gleason 4555565753 Add padding around user messages, fix "Stop" button position 2025-08-24 22:06:17 -05:00
Alex Gleason d90f2cc83d Fix empty assistant message being added to history 2025-08-23 13:01:28 -05:00
Alex Gleason 7ceb99ec79 Start implementing streaming API 2025-08-21 13:45:56 -05:00
Alex Gleason 87f5d6a117 Adapt FS before passing it to FSProvider 2025-07-20 17:27:04 -05:00
Alex Gleason ba4b8d040f Fix linter errors 2025-07-20 15:31:29 -05:00
Alex Gleason 9c3812c405 Add useFS hook 2025-07-20 15:17:46 -05:00
Alex Gleason df45d927db Start making preview pane work 2025-07-18 15:59:20 -05:00
Alex Gleason ec5d8de6c2 Stack: nostr:naddr1qvzqqqrhl5pzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqrk66mnw3skx6c4g6ltw 2025-07-16 14:07:08 -05:00