Commit Graph
4223 Commits
Author SHA1 Message Date
thePR0M3TH3AN e504776f4e Fetch session actor subscriptions 2026-01-27 17:22:38 -05:00
thePR0M3TH3AN a60e16d1f2 Merge pull request #1856 from PR0M3TH3AN/codex/increase-decrypt-timeout-and-add-retry-logic
Increase decrypt timeouts and add background retry for user state decryption
2026-01-27 17:05:33 -05:00
thePR0M3TH3AN 73f8be6c15 Adjust decrypt timeout retries 2026-01-27 17:05:18 -05:00
thePR0M3TH3AN a90f0b6955 Merge pull request #1855 from PR0M3TH3AN/codex/update-relay-selection-logic-in-loadblocks
Align userBlocks relay selection with global fallback and sanitize relay URLs
2026-01-27 16:54:49 -05:00
thePR0M3TH3AN e0bb0edf7a Update user block relay selection 2026-01-27 16:54:37 -05:00
thePR0M3TH3AN 5cac280c3d Merge pull request #1854 from PR0M3TH3AN/codex/update-fetchlistincrementally-timeout-parameter
Add configurable timeout for incremental Nostr list fetches
2026-01-27 16:51:28 -05:00
thePR0M3TH3AN 19115c558c Adjust list fetch timeouts 2026-01-27 16:51:08 -05:00
thePR0M3TH3AN b3ef9d57bf Merge pull request #1853 from PR0M3TH3AN/codex/update-relay-selection-in-hashtagpreferencesservice
Expand relay fallback for hashtag preferences to include readRelays and DEFAULT_RELAY_URLS
2026-01-27 16:34:14 -05:00
thePR0M3TH3AN 405aca03cb Adjust relay fallback for hashtag preferences 2026-01-27 16:34:04 -05:00
thePR0M3TH3AN 6f6914764c Merge pull request #1852 from PR0M3TH3AN/codex/update-resolvedecryptors-for-active-signer
Ensure signer decryptor availability for user block lists
2026-01-27 16:32:07 -05:00
thePR0M3TH3AN 4b407f7ce3 Update user block decryptor signer handling 2026-01-27 16:31:56 -05:00
thePR0M3TH3AN 01544e5e43 Merge pull request #1851 from PR0M3TH3AN/codex/update-profilecache-usage-in-userblocks.js
Scope user block cache storage by pubkey
2026-01-27 16:29:35 -05:00
thePR0M3TH3AN df4a70bfa6 Scope user block cache by profile 2026-01-27 16:29:23 -05:00
thePR0M3TH3AN 0d3dbafa73 Merge pull request #1848 from PR0M3TH3AN/ai/smoke-tests-20260127-8639087444619345059
chore(ai): add smoke test script (agent)
2026-01-27 16:29:10 -05:00
thePR0M3TH3AN 046c09c923 Merge pull request #1846 from PR0M3TH3AN/fix-upload-modal-test-failures-9576410255273740995
Fix UploadModal unit test failures by improving test isolation
2026-01-27 16:28:53 -05:00
thePR0M3TH3AN f9dd9d7920 Merge pull request #1847 from PR0M3TH3AN/fix-upload-modal-test-15043512839358145269
Fix UploadModal DOM initialization for robust testing
2026-01-27 16:28:40 -05:00
thePR0M3TH3AN 078d53e6bb Merge pull request #1849 from PR0M3TH3AN/fix-ci-failures-1694094349815692323
Fix CI lint (check-hex) and uploadModal integration test failures
2026-01-27 16:28:23 -05:00
thePR0M3TH3AN 512689d5db Merge pull request #1850 from PR0M3TH3AN/codex/update-subscription-caching-logic
Persist subscription cache metadata and force full fetch on cold start
2026-01-27 16:27:36 -05:00
thePR0M3TH3AN 2ab8bf8637 Update subscription cache metadata handling 2026-01-27 16:27:23 -05:00
google-labs-jules[bot]andPR0M3TH3AN f58c0a173b I'm fixing the CI lint and test failures.
- Refactoring `scripts/check-hex.js` to use git's native search instead of `ripgrep` for better portability and dependency reduction.
- Updating `tests/ui/uploadModal-integration.test.mjs` to ensure DOM isolation between tests using `beforeEach` cleanup, resolving state pollution issues.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 21:22:27 +00:00
google-labs-jules[bot]andPR0M3TH3AN 89bba44fee chore(ai): add smoke test script (agent)
Added scripts/agent/smoke-test.mjs to verify login, relay connection, video publishing, and DM decryption flows using a headless Node.js client.
The script polyfills the necessary browser environment for NostrClient and uses local relay/server resources.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 21:11:41 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5420163135 Fix UploadModal DOM initialization for robust testing
Explicitly find the #uploadModal element within the parsed template wrapper using querySelector instead of relying on firstElementChild. This prevents null pointer exceptions in JSDOM environments where leading whitespace in the template string creates a text node as the first child.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 20:55:22 +00:00
google-labs-jules[bot]andPR0M3TH3AN d59eec4653 Refactor tests/ui/uploadModal-reset.test.mjs to use beforeEach/afterEach
Refactored the test suite to use `beforeEach` for mocking `global.fetch` and `afterEach` for cleaning up `document.body`. This ensures that `fetch` is available for all tests and that DOM state (specifically elements with duplicate IDs) does not leak between tests, resolving `TypeError: Cannot read properties of null` failures in `UploadModal.bindEvents`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 20:53:29 +00:00
thePR0M3TH3AN c3c8bd587d Merge pull request #1845 from PR0M3TH3AN/ai/dead-code-20241109-1421360165385975921
Dead Code Sweep: Remove unused files and dependencies
2026-01-27 15:44:29 -05:00
thePR0M3TH3AN 1b0ad8dfce Merge pull request #1844 from PR0M3TH3AN/fix-npm-ci-lockfile-13099291000237224520
Fix npm ci failure and UploadModal integration tests
2026-01-27 15:42:43 -05:00
thePR0M3TH3AN 4f2f26dd39 Merge branch 'unstable' into fix-npm-ci-lockfile-13099291000237224520 2026-01-27 15:42:32 -05:00
thePR0M3TH3AN b91b0ccbfa updated social link 2026-01-27 15:42:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN f80bbc7dae chore(ai): remove dead code (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 20:33:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6e1a0d637d Fix npm ci failure by resolving dependency conflicts and updating lockfile
- Explicitly add `@noble/hashes@^2.0.1` to `devDependencies` to satisfy `jsdom`'s peer dependency requirement, resolving the version conflict with `nostr-tools`.
- Update `package-lock.json` to reflect the new dependency resolution.
- Fix `UploadModal` integration tests (`tests/ui/uploadModal-integration.test.mjs`) to robustly handle JSDOM container reuse and `fetch` mocking, preventing false positives in CI.
- Improve `UploadModal.load` robustness by falling back to `lastElementChild` if `querySelector` fails (defensive coding against DOM quirks).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 20:04:06 +00:00
thePR0M3TH3AN 38006c52b6 Merge pull request #1843 from PR0M3TH3AN/fix-ci-npm-lock-sync-3809500453695394059
Fix CI build failure by syncing package-lock.json
2026-01-27 14:55:55 -05:00
thePR0M3TH3AN ce44411c2c Merge branch 'unstable' into fix-ci-npm-lock-sync-3809500453695394059 2026-01-27 14:55:47 -05:00
thePR0M3TH3AN 27fc57a6a3 Merge pull request #1841 from PR0M3TH3AN/fix-npm-ci-lockfile-15004940133317762509
Fix npm ci failure by explicitly adding @noble/hashes dependency
2026-01-27 14:55:24 -05:00
thePR0M3TH3AN 4656221a1c Merge pull request #1842 from PR0M3TH3AN/fix-npm-ci-noble-hashes-8917889096497640869
Fix npm ci failure by resolving @noble/hashes dependency conflict
2026-01-27 14:55:07 -05:00
thePR0M3TH3AN 5f6f8dc5c5 Merge pull request #1839 from PR0M3TH3AN/fix-npm-ci-noble-hashes-12361867573265667733
fix(deps): resolve @noble/hashes dependency conflict to fix npm ci
2026-01-27 14:54:51 -05:00
google-labs-jules[bot]andPR0M3TH3AN 8471e589e8 fix(deps): update package-lock.json to sync with package.json
Run `npm install` to regenerate `package-lock.json`, ensuring that all dependencies (including `@noble/hashes`) are correctly resolved and synchronized with `package.json`. This resolves the `npm ci` failure in the CI environment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:54:43 +00:00
thePR0M3TH3AN 36254d0a0c Merge branch 'unstable' into fix-npm-ci-noble-hashes-12361867573265667733 2026-01-27 14:54:41 -05:00
thePR0M3TH3AN b0bfc2f378 Merge pull request #1838 from PR0M3TH3AN/fix-npm-ci-noble-hashes-868237959462246360
Fix npm ci failure by resolving @noble/hashes dependency conflict
2026-01-27 14:54:15 -05:00
google-labs-jules[bot]andPR0M3TH3AN 9131186f9a fix(deps): explicitly install @noble/[email protected] to resolve npm ci failure
- Adds @noble/[email protected] to dependencies to satisfy jsdom's peer dependency requirement.
- Updates package-lock.json to include the new version at the root and nest the older version (1.3.1) required by nostr-tools.
- Fixes `npm ci` failure "Missing: @noble/[email protected] from lock file".

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:54:08 +00:00
thePR0M3TH3AN 5db84aaf96 Merge pull request #1837 from PR0M3TH3AN/fix-video-list-view-test-16308731450112989440
Fix VideoListView popular tags unit test failures
2026-01-27 14:53:54 -05:00
google-labs-jules[bot]andPR0M3TH3AN adbebe8ce8 fix(deps): explicitly add @noble/[email protected] to devDependencies
This resolves a CI failure where `npm ci` reports "Missing: @noble/[email protected] from lock file" due to an optional peer dependency chain in `jsdom` -> `html-encoding-sniffer` -> `@exodus/bytes` requiring `@noble/hashes@^2.0.0`, which was not being persisted in `package-lock.json` in some environments.

Explicitly adding the package ensures it is present in the lock file, satisfying the strict requirements of `npm ci`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:53:40 +00:00
thePR0M3TH3AN 43cece58cf Merge pull request #1836 from PR0M3TH3AN/modernize-docs-nav-18254889593642733862
Modernize docs navigation buttons with icons
2026-01-27 14:53:39 -05:00
thePR0M3TH3AN 57895bceac Merge pull request #1840 from PR0M3TH3AN/fix-npm-ci-noble-hashes-3580265644963202060
Fix npm ci failure by resolving @noble/hashes dependency conflict
2026-01-27 14:53:18 -05:00
google-labs-jules[bot]andPR0M3TH3AN 19bc401296 Fix npm ci failure by resolving @noble/hashes dependency conflict
Explicitly adds @noble/[email protected] to devDependencies to satisfy the peer dependency of @exodus/bytes (used by jsdom), resolving the conflict with nostr-tools which requires version 1.3.1. Regenerates package-lock.json to include the correct versions.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:50:30 +00:00
google-labs-jules[bot]andPR0M3TH3AN aa7f4c6902 fix(deps): explicitly add @noble/[email protected] to resolve conflicts
Explicitly adds `@noble/[email protected]` to `package.json` dependencies.
This resolves a `peerDependencies` conflict where `@exodus/bytes` (a dependency
of `jsdom`) requires `@noble/hashes` ^1.8.0 || ^2.0.0, but `nostr-tools`
requires version 1.3.1.

By adding it to the root project, `npm` can correctly hoist version 2.0.1 for
`@exodus/bytes` while keeping version 1.3.1 nested for `nostr-tools`.
This fixes `npm ci` failures in CI environments that strictly validate the lockfile.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:47:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN f9500f842a fix(deps): resolve peer dependency conflict for @noble/hashes
Explicitly add `@noble/[email protected]` to `devDependencies` to satisfy `jsdom`'s peer dependency requirement (via `@exodus/bytes`) while allowing `nostr-tools` to use its pinned version `1.3.1`. This resolves the `npm ci` failure in CI.

- Update `package.json` to include `@noble/hashes`.
- Update `package-lock.json` with resolved dependencies.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:46:59 +00:00
google-labs-jules[bot]andPR0M3TH3AN a49d59990d test: update VideoListView test for tag prefixing
Update `tests/ui/video-list-view-popular-tags.test.mjs` to account for
the `#` prefix that `TagPillList` (and by extension `VideoListView`)
adds to tags. This fixes the assertion failures where "Nostr" was
expected but "#Nostr" was found, and updates the tag preference resolver
in the test to handle the prefixed format.

Fixes unit test failures in CI.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:46:16 +00:00
google-labs-jules[bot]andPR0M3TH3AN e6e3b47fce Modernize docs navigation buttons with icons
- Replaced text-based "Show/Hide" sidebar toggles with SVG chevron icons.
- Added a hamburger menu icon to the "Contents" button on mobile view.
- Updated `js/docsView.js` to handle icon toggling and properly hide flex container elements using the `.hidden` class.
- Improved accessibility by maintaining `aria-expanded` attributes.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:43:24 +00:00
thePR0M3TH3AN 607fbb814e Merge pull request #1835 from PR0M3TH3AN/ai/load-test-20260127-3908127226106035369
Load / Rate & Stress Tests
2026-01-27 14:35:41 -05:00
google-labs-jules[bot]andPR0M3TH3AN d3a3097d1c feat: implement load and stress test script with relay monitoring
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-27 19:10:29 +00:00
thePR0M3TH3AN 831c0d6753 Merge pull request #1834 from PR0M3TH3AN/fix-profile-modal-performance-12132454920019010696
Fix profile modal performance
2026-01-27 14:03:24 -05:00