Commit Graph
4150 Commits
Author SHA1 Message Date
thePR0M3TH3AN faef22b94b Merge pull request #1822 from PR0M3TH3AN/ai/fuzz-robustness-20260127-16938882270581666950
Fuzz tests and robustness fixes for nostrEventSchemas, dmDecryptor, and magnetUtils
2026-01-27 12:05:56 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0bf3275b37 Fuzz tests and robustness fixes for nostrEventSchemas, dmDecryptor, and magnetUtils
Implemented fuzz testing harnesses and fixed a circular reference crash in nostrEventSchemas.js. Improved robustness of magnetUtils and dmDecryptor.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 17:02:49 +00:00
thePR0M3TH3AN 9bc50f5a6f Merge pull request #1821 from PR0M3TH3AN/refactor/docs-navigation-6204054043399589490
Refactor docs navigation and clean up legacy views
2026-01-27 11:50:23 -05:00
google-labs-jules[bot]andPR0M3TH3AN cfd7c49a9d Refactor docs navigation and clean up legacy views
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 16:32:01 +00:00
thePR0M3TH3AN 7e09a7e353 Merge pull request #1819 from PR0M3TH3AN/fix/docs-content-loading-13553608950643641077
Fix docs content loading by vendoring marked and highlight.js
2026-01-27 11:14:04 -05:00
thePR0M3TH3AN 1ceab7f110 Merge pull request #1820 from PR0M3TH3AN/ds-audit-automation-2379839380119676717
feat: Automate Daily Design System Audit
2026-01-27 11:13:49 -05:00
google-labs-jules[bot]andPR0M3TH3AN 1726d27c77 feat: Automate Daily Design System Audit
- Added .github/workflows/daily-design-system-audit.yml
- Updated scripts/daily-design-system-audit.mjs with auto-fix support
- Implemented hex color and simple palette token replacements

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 16:05:53 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3fe7633898 Fix docs content loading by vendoring marked and highlight.js
The documentation system relied on external CDNs for `marked` and `highlight.js`. This caused content loading failures ("Error loading content") when CDNs were blocked or unreachable.

This change:
- Adds `marked` and `highlight.js` to `package.json` dependencies.
- Vendors `marked.min.js` (from UMD build) and `highlight.min.js` (downloaded) into `vendor/`.
- Updates `index.html` to load these libraries from local `vendor/` path instead of CDN.

Verified with Playwright script ensuring docs content loads successfully.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 15:43:24 +00:00
thePR0M3TH3AN 3b213a7643 Merge pull request #1818 from PR0M3TH3AN/ai/doc-nostr-client-20250222-11885754484681649551
chore(ai): document js/nostr/client.js
2026-01-27 10:29:16 -05:00
thePR0M3TH3AN 43a3fb6ad0 Merge pull request #1816 from PR0M3TH3AN/fix-docs-paths-7294697130089922582
Fix docs content loading paths and add debug logging
2026-01-27 10:28:58 -05:00
google-labs-jules[bot]andPR0M3TH3AN 6165473219 chore(ai): doc js/nostr/client.js (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 15:23:09 +00:00
google-labs-jules[bot]andPR0M3TH3AN d490fa1295 Fix incorrect markdown file paths in documentation views
- Updated `fetch` paths in legacy views (getting-started, upload-content, about, roadmap, community-guidelines, links) to point to the correct locations in `content/docs/`.
- Added debug logging to `js/docsView.js` to assist in diagnosing "Loading content..." hangs in the new documentation system.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 15:07:16 +00:00
thePR0M3TH3AN 36ba0db0b5 Merge pull request #1815 from PR0M3TH3AN/fix-moderation-test-mock-9853303796175767521
Fix userBlocks mock wiring in moderation test harness
2026-01-27 09:59:07 -05:00
google-labs-jules[bot]andPR0M3TH3AN 1c21dd443f test(moderation): wire up userBlocks mock in app harness
Override app.isAuthorBlocked in createModerationAppHarness when a
userBlocks mock is provided. This ensures that application logic
checking block status respects the mock state instead of querying
the uninitialized global singleton, fixing the failure in
handleModerationBlock tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 14:56:58 +00:00
thePR0M3TH3AN 05d0b5c6b3 Merge pull request #1814 from PR0M3TH3AN/fix-docs-content-and-ui-9368723759970105633
Fix Docs Content Loading and UI Highlighting
2026-01-27 09:51:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN a2efdc6d75 fix(docs): restructure content directory and fix TOC highlighting
Moves markdown files to `content/docs/` to match the TOC structure and ensures the correct `aria-current` attribute is used for the active TOC link.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 14:51:23 +00:00
thePR0M3TH3AN b75e1cdc42 Merge pull request #1813 from PR0M3TH3AN/fix-moderation-test-race-condition-5590692852708543873
fix(tests): resolve race condition in moderation overrides test
2026-01-27 09:46:51 -05:00
google-labs-jules[bot]andPR0M3TH3AN c725b48080 fix(tests): resolve race condition in moderation overrides test
Refactor `ModerationActionController` initialization in test harness to support dependency injection for `userBlocks`. This allows tests to use isolated mock instances instead of monkey-patching the global singleton, preventing race conditions when tests run in parallel or overlap.

Fixes intermittent failures in `tests/app/moderation-overrides.test.mjs` where `userBlocks` state leaked between tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 14:45:40 +00:00
thePR0M3TH3AN 97f2218355 Merge pull request #1812 from PR0M3TH3AN/fix-ci-build-missing-deps-8869438230574676606
Fix CI build failure by adding missing http-server and serve dependencies
2026-01-27 09:38:03 -05:00
google-labs-jules[bot]andPR0M3TH3AN 37abdd737f Fix CI build failure by adding missing devDependencies
- Added `http-server` and `serve` to `devDependencies`.
- This resolves CI failures where `npx` commands for `http-server` (used in Playwright) and `serve` (used in start scripts) would fail or block due to implicit installation restrictions.
- `package-lock.json` updated to reflect new dependencies.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 14:37:40 +00:00
thePR0M3TH3AN b50180221b Merge pull request #1811 from PR0M3TH3AN/ai/docs-update-20250220-4304523426347248604
Update Developer Documentation and Quickstarts
2026-01-27 09:28:42 -05:00
google-labs-jules[bot]andPR0M3TH3AN 0e08b9232d docs(ai): update quickstart and contributing (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 14:27:52 +00:00
thePR0M3TH3AN f6bc6dd96a Merge pull request #1810 from PR0M3TH3AN/codex/add-documentation-for-toc.json-usage
Add README guidance for docs TOC and deep links
2026-01-27 09:18:54 -05:00
thePR0M3TH3AN 9321e7189a Add docs TOC guidance 2026-01-27 09:18:38 -05:00
thePR0M3TH3AN 9592f88429 Merge pull request #1809 from PR0M3TH3AN/codex/add-lightweight-scrollspy-to-js/docsview.js
Add non-blocking scrollspy to docs TOC
2026-01-27 09:16:18 -05:00
thePR0M3TH3AN 8c8f721387 Add scrollspy highlighting for docs TOC 2026-01-27 09:16:07 -05:00
thePR0M3TH3AN 8a2d9fe966 Merge pull request #1808 from PR0M3TH3AN/codex/enhance-js/docsview.js-for-toc-navigation
docsView: enable hash navigation, TOC click handling, and aria-current
2026-01-27 09:08:42 -05:00
thePR0M3TH3AN 1737e6927f Update docs hash handling 2026-01-27 09:08:32 -05:00
thePR0M3TH3AN becbf7f97b Merge pull request #1807 from PR0M3TH3AN/codex/add-styles-for-docs-layout-and-toc
Add docs layout & TOC stylesheet and include it in app shell
2026-01-27 09:01:39 -05:00
thePR0M3TH3AN 2225a56bf1 Add docs layout and TOC styling 2026-01-27 08:56:53 -05:00
thePR0M3TH3AN df406ecda1 Merge pull request #1806 from PR0M3TH3AN/codex/add-toc-drawer-overlay-support
docs: add mobile TOC drawer overlay with focus trap and backdrop
2026-01-27 08:47:38 -05:00
thePR0M3TH3AN 3a4e0aa3e8 Add docs TOC drawer overlay 2026-01-27 08:47:27 -05:00
thePR0M3TH3AN 5b240f380b Merge pull request #1805 from PR0M3TH3AN/codex/add-docs-view-initializer-to-registry
Register docs view in view manager
2026-01-27 08:36:25 -05:00
thePR0M3TH3AN 2a5fbb3904 Register docs view initializer 2026-01-27 08:36:12 -05:00
thePR0M3TH3AN 756c59a54c Merge pull request #1804 from PR0M3TH3AN/ai/lint-20250523-14917736406254802113
chore(ai): apply formatting/lint autofixes
2026-01-27 08:34:12 -05:00
google-labs-jules[bot]andPR0M3TH3AN 7ad9ee0138 chore(ai): apply formatting/lint autofixes
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 13:21:05 +00:00
thePR0M3TH3AN e98001f8f0 Merge pull request #1803 from PR0M3TH3AN/codex/create-initdocsview-function-in-js/docsview.js
Add docs view loader and TOC rendering
2026-01-27 08:12:11 -05:00
thePR0M3TH3AN 41f252379b Add docs view loader and TOC 2026-01-27 08:11:55 -05:00
thePR0M3TH3AN 04e7d4601b Merge pull request #1802 from PR0M3TH3AN/ai/reproducers-moderation-ui-20260127-5223580999158910470
Add minimal reproducer for moderation UI visibility bug
2026-01-27 08:11:19 -05:00
thePR0M3TH3AN 5bea3590bd Merge pull request #1801 from PR0M3TH3AN/ai/tests-nip46-moderation-13594149868051412958
Add unit tests for Nip46RequestQueue and ModerationActionController
2026-01-27 08:10:59 -05:00
thePR0M3TH3AN 6e91e0dcaf Merge pull request #1800 from PR0M3TH3AN/ai/deps-scan-13114463718919134912
chore(ai): dependency scan and issue updates
2026-01-27 08:10:36 -05:00
thePR0M3TH3AN d0b5c5f95f Merge pull request #1799 from PR0M3TH3AN/ai/onboarding-20260127-4053112521983626878
docs(ai): improve onboarding steps and devcontainer
2026-01-27 08:10:17 -05:00
thePR0M3TH3AN 38984034a6 Merge pull request #1798 from PR0M3TH3AN/ai/interop-tests-20250226-10619676065325825636
Add Nostr protocol interop test script
2026-01-27 08:09:49 -05:00
thePR0M3TH3AN 759c9bc2cd Merge pull request #1797 from PR0M3TH3AN/telemetry-aggregation-privacy-2456468691969692999
Refactor telemetry aggregator for dynamic log collection and privacy
2026-01-27 08:09:29 -05:00
thePR0M3TH3AN 1068174f32 Merge pull request #1796 from PR0M3TH3AN/ai/schema-validate-20250221-17497090860442552154
chore(ai): event schema validation tool + fixes
2026-01-27 08:09:07 -05:00
google-labs-jules[bot]andPR0M3TH3AN ebc27423cc Add minimal reproducer for moderation UI visibility bug
- Creates `examples/reproducers/issue-moderation-ui/` with a standalone Playwright script.
- Includes `repro.spec.ts` which reproduces the "Show anyway" button visibility failure.
- Adds `playwright.config.ts` for standalone execution of the reproducer.
- Documents running instructions in `README.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 12:14:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN 1f49c5554f test(ai): add unit tests for nip46Queue and moderationActionController (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 11:54:02 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8902f31240 chore(ai): dependency scan and issue updates
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 09:52:27 +00:00
google-labs-jules[bot]andPR0M3TH3AN b9d2ed3a11 docs(ai): improve onboarding steps and devcontainer
- Create `docs/onboarding-audit-2025-01-27.md` with audit findings.
- Update `CONTRIBUTING.md` to recommend `npm ci`, mention test sharding, and update devcontainer details.
- Update `README.md` to prioritize `npm ci`.
- Update `.devcontainer/devcontainer.json` to install Playwright browsers and GitHub CLI.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 08:38:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN a307c87c64 Add interop test script for Nostr protocols
- Implements `scripts/agent/interop-test.mjs` to validate VIDEO_POST, VIEW_EVENT, and DM flows.
- Uses ephemeral keys generated via `nostr-tools`.
- Targets public relays `wss://relay.damus.io` and `wss://nos.lol` for verification.
- Includes retry logic for event propagation verification.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 07:34:23 +00:00