Commit Graph
3799 Commits
Author SHA1 Message Date
google-labs-jules[bot] 2943fbb9f7 Fix embed player crash and prevent duplicate initialization
- Fix `TypeError: this.videoModal.resetStats is not a function` by implementing `resetStats` (no-op) in `EmbedVideoModal` and adding a safety guard in `Application.resetTorrentStats`.
- Prevent duplicate `NostrClient` initialization within the same frame by adding idempotent guards in `js/embed.js` and `js/nostr/client.js`.
- Add documentation (`docs/embed-notes.md`) on embed architecture and recommendations for multi-frame resource sharing (SharedWorker).
- Add regression test `tests/embed_playback_check.spec.mjs`.
2026-01-24 21:42:37 +00:00
thePR0M3TH3AN 62d0a366ee Merge pull request #1644 from PR0M3TH3AN/ai/smoke-tests-20260124-5981020631477844177
chore(ai): add smoke test script (agent)
2026-01-24 16:13:43 -05:00
google-labs-jules[bot] 25b513b094 chore(ai): add smoke test script (agent)
This commit ensures the existence and correctness of `scripts/agent/smoke-test.mjs`, a Playwright-based regression test suite.

The script:
- Starts a local web server (npx serve) and a local relay (simple-relay.mjs).
- Launches a headless browser to interact with the application.
- Verifies key flows:
  - Ephemeral login.
  - Video publishing (Kind 30078).
  - Direct Message (DM) sending and decryption (Kind 4/1059).
- Generates execution logs and summaries in `artifacts/`.

Also ensures `scripts/agent/simple-relay.mjs` is present as a dependency.
2026-01-24 21:12:02 +00:00
thePR0M3TH3AN 0f502a79c2 Merge pull request #1643 from PR0M3TH3AN/fix-embed-modal-buttons-12116875342849342102
Fix unresponsive buttons in Embed Video modal
2026-01-24 15:56:17 -05:00
google-labs-jules[bot] 95cf17e018 fix(ui): unwrap embed modal content to resolve button interaction issues
Refactored `EmbedVideoModal.js` to unwrap the fetched HTML content using a `DocumentFragment` before appending it to the DOM. This removes an unnecessary wrapper `div` that was causing stacking context issues, preventing the modal's buttons (Exit, Close, Copy) from being clickable when layered over other UI elements. This change aligns the implementation with `VideoModal.js`.
2026-01-24 20:50:50 +00:00
thePR0M3TH3AN c4a602651f Merge pull request #1642 from PR0M3TH3AN/ai/dead-code-20241109-12426490253240890993
chore(ai): remove dead code (unused exports & deps)
2026-01-24 15:40:44 -05:00
google-labs-jules[bot] 4a0b81ad98 chore(ai): remove dead code (unused exports & deps) 2026-01-24 20:28:53 +00:00
thePR0M3TH3AN 0e5e6b6fd2 Merge pull request #1641 from PR0M3TH3AN/fix/modal-z-index-regression-2480475608080862168
fix(ui): ensure modals render above video player
2026-01-24 15:16:05 -05:00
google-labs-jules[bot] 6e21247505 fix(ui): ensure modals render above video player
- Adds --z-modal-always-top: 200 token in css/tokens.css
- Adds .modal-always-on-top utility class in css/tailwind.source.css
- Applies class to EventDetailsModal, EmbedVideoModal, and ShareNostrModal
2026-01-24 20:12:04 +00:00
thePR0M3TH3AN 3bfe8d664f Merge pull request #1640 from PR0M3TH3AN/ai/load-test-20260124-3194345285315307704
Add Load Testing Scripts
2026-01-24 14:37:08 -05:00
thePR0M3TH3AN 3cded1bda3 Merge pull request #1639 from PR0M3TH3AN/ai/debug-frontend-20260124-13275558127831455913
fix(ai): frontend console error — double load and lint fixes (agent)
2026-01-24 14:36:40 -05:00
thePR0M3TH3AN 37f5083947 Merge branch 'unstable' into ai/debug-frontend-20260124-13275558127831455913 2026-01-24 14:36:28 -05:00
thePR0M3TH3AN a639887a2d Merge pull request #1636 from PR0M3TH3AN/ai/fuzz-nostrEventSchemas-20241026-8251034504942230718
Fuzz Testing Infrastructure & Crash Fix
2026-01-24 14:35:59 -05:00
thePR0M3TH3AN 029ce974c8 Merge pull request #1635 from PR0M3TH3AN/ds-audit/2024-10-24-5776651930377436842
Design System Audit & Fixes
2026-01-24 14:35:33 -05:00
thePR0M3TH3AN 90c1018f91 Merge pull request #1634 from PR0M3TH3AN/ai/doc-client-20250222-14407351596390991001
chore(ai): document js/nostr/client.js
2026-01-24 14:34:51 -05:00
thePR0M3TH3AN f1e4257c56 Merge pull request #1633 from PR0M3TH3AN/ai/docs-update-20241026-7993138247133746671
Update documentation quickstarts and contributing guide
2026-01-24 14:34:24 -05:00
thePR0M3TH3AN 0fe30f19cd Merge pull request #1632 from PR0M3TH3AN/ai/lint-20260124-14561173994657498036
chore(ai): apply formatting/lint autofixes
2026-01-24 14:33:52 -05:00
google-labs-jules[bot] 02fd8a54c0 Add load testing scripts for relay stress testing 2026-01-24 19:33:48 +00:00
thePR0M3TH3AN f7685814d6 Merge pull request #1631 from PR0M3TH3AN/ai/reproducers-multi-20260124-4580250743330562394
Add minimal reproducers for Moderation UI and CSS Lint bugs
2026-01-24 14:33:32 -05:00
thePR0M3TH3AN abae8dd966 Merge pull request #1630 from PR0M3TH3AN/ai/tests-storage-appstate-20231027-17038171674738627872
Add unit tests for StorageService and AppState
2026-01-24 14:33:10 -05:00
thePR0M3TH3AN c474155daa Merge pull request #1629 from PR0M3TH3AN/ai/changelog-20260124-13014244878256886199
docs(ai): weekly changelog draft
2026-01-24 14:32:49 -05:00
thePR0M3TH3AN d12260b7ef Merge pull request #1628 from PR0M3TH3AN/ai/deps-playwright-1.58.0-913530217504265417
chore(ai): bump playwright to 1.58.0 and dependency scan
2026-01-24 14:32:22 -05:00
thePR0M3TH3AN 49355ccd35 Merge pull request #1627 from PR0M3TH3AN/ai/onboarding-20241025-6817543098205599361
docs(ai): improve onboarding steps and fix lint
2026-01-24 14:32:02 -05:00
thePR0M3TH3AN ca05082889 Merge pull request #1626 from PR0M3TH3AN/ai/interop-tests-20250222-11826880254938891668
Add Nostr Protocol Interoperability Tests
2026-01-24 14:31:34 -05:00
thePR0M3TH3AN 3e76b6f5a5 Merge pull request #1625 from PR0M3TH3AN/telemetry-aggregation-script-7372436822110581639
Add privacy-preserving telemetry aggregation script
2026-01-24 14:31:01 -05:00
thePR0M3TH3AN 934a1d7a41 Merge pull request #1624 from PR0M3TH3AN/ai/schema-validate-latest-5595774537431140337
chore(ai): event schema validation tool + fixes
2026-01-24 14:29:07 -05:00
thePR0M3TH3AN 84a6a450dc Merge pull request #1623 from PR0M3TH3AN/ai/refactor-reactions-20241026-2487608613137550346
Refactor reaction logic to ReactionController
2026-01-24 14:28:15 -05:00
google-labs-jules[bot] 61c655836e fix(app): remove stale calls to teardownModalReactionSubscription
- Fixes a regression where `hideModal` and `cleanup` methods in `js/app.js` were calling a non-existent method `teardownModalReactionSubscription`.
- Updated these methods to call `this.reactionController.unsubscribe()` instead.
- Removed a duplicate `hideModal` method definition that was shadowing the correct `async hideModal`.
2026-01-24 19:16:37 +00:00
google-labs-jules[bot] f02bfc27bf fix(app): unsubscribe ReactionController on modal close
Addresses a regression where the video modal close action (back button) could leave active subscriptions or state. This change ensures `ReactionController.unsubscribe()` is called within `hideModal()`.
2026-01-24 19:09:31 +00:00
thePR0M3TH3AN 1d5230787f Merge pull request #1622 from PR0M3TH3AN/ai/ci-health-20250523-15085122280379266876
chore(ai): CI health fixes (flaky tests)
2026-01-24 13:57:07 -05:00
thePR0M3TH3AN f0cc29c2f2 Merge pull request #1621 from PR0M3TH3AN/chore/todo-triage-5155631775112072760
chore(ai): triage TODOs and generate issue reports
2026-01-24 13:56:41 -05:00
thePR0M3TH3AN 6febe85156 Merge pull request #1616 from PR0M3TH3AN/enhance-pr-review-script-5884609440067038034
Enhance Automated PR Review Script
2026-01-24 13:56:05 -05:00
thePR0M3TH3AN 5e20fff871 Merge pull request #1613 from PR0M3TH3AN/ai/smoke-tests-20260123-5626320421204361809
chore(ai): add smoke test script (agent)
2026-01-24 13:55:35 -05:00
thePR0M3TH3AN 93b15a8e65 Merge pull request #1612 from PR0M3TH3AN/ai/dead-code-20241109-13012687537684806094
chore(ai): remove dead code (agent)
2026-01-24 13:54:02 -05:00
google-labs-jules[bot] f2ab7302ab fix(ai): frontend console error — double load and lint fixes (agent) 2026-01-24 18:29:26 +00:00
thePR0M3TH3AN 773b06441c Merge pull request #1638 from PR0M3TH3AN/codex/add-builds3publicurl-helper
Add S3 public URL helper utilities and integrate into S3 service
2026-01-24 13:16:50 -05:00
thePR0M3TH3AN 8e7dec4077 Add S3 public URL helpers 2026-01-24 13:16:26 -05:00
thePR0M3TH3AN d2e8dc3d3c Merge pull request #1637 from PR0M3TH3AN/codex/add-s3-service-validation-and-configuration
Introduce generic S3 helper and wire non‑R2 uploads to standard S3 client
2026-01-24 12:40:20 -05:00
thePR0M3TH3AN 15dea2bbf6 Add generic S3 connection support helpers 2026-01-24 12:39:56 -05:00
google-labs-jules[bot] 241ad32dc4 feat: add fuzz testing infrastructure and fix nostrEventSchemas crash
- Added `scripts/agent/fuzz-schemas.mjs`, `fuzz-dm.mjs`, `fuzz-magnet.mjs` and `fuzz-setup.mjs`.
- Fixed crash in `js/nostrEventSchemas.js` (buildAdminListEvent log and getNostrEventSchema type check).
- Added crash reproducers in `examples/reproducers/`.
- Fuzzers output reports to `artifacts/`.
- Updated fuzzers to deduplicate crashes and safely stringify inputs.
2026-01-24 16:46:46 +00:00
google-labs-jules[bot] 572fc1c9b8 Fix design system violations: raw lengths and inline styles
- Added `--size-40rem` to `css/tokens.css` and used it in `css/tailwind.source.css`.
- Refactored `js/ui/components/SearchFilterModal.js` to use Tailwind classes (`rotate-180`, `transition-transform`) instead of inline styles.
- Updated `REMEDIATION_REPORT.md` with audit results.
2026-01-24 15:58:49 +00:00
google-labs-jules[bot] 876153c7ce chore(ai): doc js/nostr/client.js (agent) 2026-01-24 15:11:26 +00:00
google-labs-jules[bot] a718b885b6 docs(ai): update quickstart and contributing (agent) 2026-01-24 14:48:35 +00:00
google-labs-jules[bot] be37ffdb40 chore(ai): apply formatting/lint autofixes 2026-01-24 13:32:46 +00:00
google-labs-jules[bot] 4e21dedcb9 Add minimal reproducers for Moderation UI and CSS Lint bugs 2026-01-24 12:39:43 +00:00
google-labs-jules[bot] fa10f943e1 test(ai): add unit tests for storageService and appState (agent) 2026-01-24 11:44:16 +00:00
google-labs-jules[bot] 936d81ca69 docs(ai): weekly changelog draft
- Created CHANGELOG.md with initial entry for S3 multipart upload helper.
- Created releases/draft-20260124.md with release highlights and upgrade notes.
2026-01-24 10:05:05 +00:00
google-labs-jules[bot] f1b124f4e2 chore(ai): bump playwright to 1.58.0 and dependency scan
- Upgraded @playwright/test and playwright to ^1.58.0
- Generated dependency scan artifacts (npm-audit, npm-outdated)
- Documented issues for nostr-tools version mismatch and webtorrent upgrade
2026-01-24 09:44:41 +00:00
google-labs-jules[bot] eb25d2df89 docs(ai): improve onboarding steps and fix lint
- Fix `npm run lint` failure by replacing inline style with CSS class in `js/ui/components/SearchFilterModal.js`.
- Fix `npm run lint:tokens` failure by defining `--size-40rem` in `css/tokens.css` and using it in `css/tailwind.source.css`.
- Update `CONTRIBUTING.md` with troubleshooting tips for unit test hangs and linting failures.
- Attempt to update `caniuse-lite` to silence build warning (may persist due to environment/cache).
2026-01-24 08:37:11 +00:00
google-labs-jules[bot] 4c235b4ace feat: add interoperability test script for Nostr protocol verification
- Adds `scripts/agent/interop-test.mjs` to verify Video Post, View Event, and DM publishing/retrieval.
- Uses public relays (damus, nos.lol, snort) and ephemeral keys.
- Polyfills WebSocket and mocks localStorage for Node.js environment.
2026-01-24 07:38:35 +00:00