Commit Graph
66 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 106f7640c4 fix(exploreData): trigger refresh immediately on visibility change
- `handleVisibility` only scheduled intervals but didn't trigger an immediate refresh when returning to the tab.
- This caused `tests/unit/services/exploreDataService.test.mjs` to fail (assertion `0 !== 1`).
- Added explicit calls to `refreshWatchHistoryTagCounts` and `refreshTagIdf` when `document.hidden` becomes false.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 15:10:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3e2002b72c Content Audit: Fix docs and moderation config
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-17 22:05:31 +00:00
google-labs-jules[bot]andPR0M3TH3AN e42dbf5b3e docs(audit): content-audit-agent run for 2026-02-16
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 11:44:28 +00:00
thePR0M3TH3AN 7441d04818 Merge pull request #2550 from PR0M3TH3AN/agents/daily/content-audit-2026-02-16-18271074402227356106
[docs] Audit and verify upload content documentation
2026-02-16 06:19:10 -05:00
google-labs-jules[bot]andPR0M3TH3AN ae3dde5437 docs: audit and verify upload content documentation
- Verify claims in content/docs/guides/upload-content.md against codebase
- Clarify 2GB file size limit rationale (client-side hashing)
- Create inventory and verification artifacts
- Log completion of content-audit-agent task

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 09:02:58 +00:00
google-labs-jules[bot]andPR0M3TH3AN dd223cfbda daily: content-audit-agent
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 06:18:33 +00:00
google-labs-jules[bot]andPR0M3TH3AN e5949af2e8 docs: Audit and update upload documentation
Executed content-audit-agent. Audited content/docs/guides/upload-content.md against code. Added technical details about multipart uploads and troubleshooting steps.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:41:00 +00:00
google-labs-jules[bot]andPR0M3TH3AN 393c06c749 [decompose] extract ProfileHashtagController from js/ui/profileModalController.js
Extracts all hashtag preference related logic into a new controller
`js/ui/profileModal/ProfileHashtagController.js` to reduce the size of `js/ui/profileModalController.js` and improve maintainability.

- Moves `normalizeHashtagTag`, `formatHashtagTag`, `getResolvedHashtagPreferences`, `setHashtagStatus`, `refreshHashtagBackgroundStatus`, `populateHashtagPreferences`, `renderHashtagList`, `sanitizeHashtagList`, `createHashtagListItem`, `persistHashtagPreferences`, `handleAddHashtagPreference`, `handleRemoveHashtagPreference`, `handleHashtagPreferencesChange`, `describeHashtagPreferencesError`.
- Updates `ProfileModalController` to delegate to `ProfileHashtagController`.
- Adds delegate getters/methods in `ProfileModalController` to maintain backward compatibility for tests.
- Reduces `js/ui/profileModalController.js` by ~600 lines.
- Updates file size baseline in `scripts/check-file-size.mjs`.

Passes `npm run lint` and `npm run test:unit`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-13 02:06:08 +00:00
google-labs-jules[bot]andPR0M3TH3AN eeaf89330e chore(agents): run content-audit-agent daily task — audit upload docs
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 23:50:45 +00:00
thePR0M3TH3AN 45ab69ef78 Merge branch 'unstable' into perf/bound-comment-concurrency-6703856395977422565 2026-02-12 09:13:51 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4d73092613 perf: bound comment relay concurrency and fix docs port
- Replace `Promise.all` with `pMap` in `js/nostr/commentEvents.js` to limit concurrent relay requests to `RELAY_BACKGROUND_CONCURRENCY` (3).
- Update `content/docs/guides/upload-content.md` to use port 3000 for CORS, matching `npm start` default.
- Update agent artifacts (`CONTEXT.md`, `TODO.md`, `DECISIONS.md`, `TEST_LOG.md`, `INITIAL_BASELINE.md`).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 13:39:52 +00:00
google-labs-jules[bot]andPR0M3TH3AN afb3ed3a4b docs: align upload guide with verified codebase behavior
Updates `content/docs/guides/upload-content.md` to reflect the actual
implementation of the upload and playback workflows:
- Clarifies the 2GB file size limit as a client-side memory constraint.
- Explicitly instructs self-hosters to configure CORS with their instance domain.
- Adds the "External Link" flow to the upload lifecycle.
- Notes that playback priority (URL vs Torrent) depends on instance settings.
- Updates Advanced Options to mention IMETA variants.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-12 02:45:37 +00:00
google-labs-jules[bot]andPR0M3TH3AN 311abee846 docs: align /content user docs with actual upload & contribution behavior
- Update `content/docs/guides/upload-content.md` to reflect current codebase and runtime behavior.
- Clarify automatic CORS configuration logic (via S3 `PutBucketCors`) and fallback manual steps.
- Add "Advanced Options (NIP-71)" section detailing `Content Warning`, `Duration`, `Summary`, `IMETA` (variants), `Web Seed`, `Torrent File`.
- Refine "Troubleshooting" section with exact error messages verified against `js/services/videoNotePayload.js`.
- Reiterate 2GB file size recommendation due to client-side hashing memory limits.
- Ensure accepted file types list matches HTML `accept` attribute in `components/upload-modal.html`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-11 02:39:28 +00:00
google-labs-jules[bot]andPR0M3TH3AN 34f2f63783 docs: align upload guide with code behavior
- Update CORS configuration to exactly match the S3 client implementation (`AllowedMethods` order).
- Clarify accepted file types by adding specific MIME types for each extension.
- Expand the IMETA section to list specific metadata fields (`m`, `dim`, `url`, `x`).
- Add specific validation errors to the troubleshooting section (`Missing Title`, `Missing Source`, `Protocol Errors`).
- Confirm file size limits and moderation policies are accurate.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-10 02:39:09 +00:00
google-labs-jules[bot]andPR0M3TH3AN 56ed0977cc docs: align /content upload guides with code behavior and fix CI failures
- Update `content/docs/guides/upload-content.md` to reflect actual file type restrictions, size limits (2GB advisory), and CORS requirements.
- Fix broken link in `content/docs/getting-started.md`.
- Fix `NostrClient` missing getters (`unreachableRelays`, `extensionPermissionCache`) by delegating to Managers.
- Update `SignerManager` to hydrate permissions from storage in constructor and store individual permission keys to satisfy unit tests.
- Update `SignerManager.loginWithExtension` to use `client.ensureExtensionPermissions` to respect test mocks.
- Verified with `tests/services/s3Service.test.mjs`, `tests/ui/uploadModal-integration.test.mjs`, `tests/video-note-payload.test.mjs`, `tests/nostr-login-permissions.test.mjs`, and `tests/unit/client-count-resilience.test.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-09 14:16:42 +00:00
google-labs-jules[bot]andPR0M3TH3AN 56a65b4555 docs: align upload guide with code behavior and fix ci dependencies
- Update `content/docs/guides/upload-content.md` to enforce HTTPS for external URLs and clarify file validation.
- Fix `SignerManager.js` permission request logic (pass extension instance).
- Fix `NostrClient` signer registration and hydration.
- Install `jsdom` to resolve `ERR_MODULE_NOT_FOUND` in unit tests.
- Patch `tests/nostr-private-key-signer.test.mjs` to handle mocked `nostr-tools` environment.
- Verify changes with `tests/services/s3Service.test.mjs`, `tests/ui/uploadModal-integration.test.mjs`, and `tests/video-note-payload.test.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-09 13:55:12 +00:00
google-labs-jules[bot]andPR0M3TH3AN 89b7fca560 Align /content user docs with actual upload & contribution behavior
- Updated `content/docs/guides/upload-content.md` with accurate file types, size limit explanations, and troubleshooting steps.
- Updated `content/docs/getting-started.md` to link to the detailed upload guide and clarify "Invite-only" (Whitelist) mode.
- Verified changes against `js/ui/components/UploadModal.js`, `js/storage/s3-multipart.js`, and `js/accessControl.js`.
- Included `VALIDATION_REPORT.md` documenting the verification process.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-09 02:59:27 +00:00
google-labs-jules[bot]andPR0M3TH3AN 75598e3eff docs: update upload guides to match code behavior
- Add "External Link" and "Magnet Link" upload methods.
- Document advanced NIP-71 metadata fields (Content Warning, Duration, IMETA).
- Clarify file type support and browser-based size limits.
- Add troubleshooting for CORS and memory issues.
- Provide examples for S3-compatible providers (MinIO, DigitalOcean).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-08 02:54:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN 48af19a4a2 docs: align upload guides with current code behavior
Updates `/content/docs/guides/upload-content.md` and `/content/docs/getting-started.md` to accurately reflect the storage configuration workflow (Profile -> Storage tab), supported providers (S3/R2), and CORS requirements.

- Clarified instructions for configuring R2 vs Generic S3.
- Updated CORS configuration example with placeholder origins.
- Aligned "Configure Storage" steps with the actual UI location.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-07 02:41:35 +00:00
google-labs-jules[bot]andPR0M3TH3AN 4dc3691974 Align /content user docs with actual upload & contribution behavior
Updated `content/docs/guides/upload-content.md` and `content/docs/getting-started.md` to accurately reflect the application's runtime behavior, specifically regarding upload workflows, CORS configuration, and routing links.

- Clarified CORS instructions to distinguish between R2 (manual) and S3 (auto) configuration.
- Updated example origins to be more generic (localhost).
- Explicitly mentioned the "Hashtags" section in the upload form.
- Clarified navigation to the Storage tab.
- Fixed the broken link to the Watch History view (using hash routing).
- Removed unsupported "captions" from the metadata list.
- Validated changes using `tests/docs/verify-upload-claims.test.mjs`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-06 03:05:56 +00:00
google-labs-jules[bot]andPR0M3TH3AN f6e48b3bd6 docs: align upload guides with code and add consistency test
- Updates `content/docs/guides/upload-content.md` and `getting-started.md` to accurately reflect supported file types, S3-compatible storage options, and metadata requirements.
- Clarifies CORS configuration steps for R2 vs. generic S3.
- Adds `tests/docs/verify-upload-claims.test.mjs` to programmatically ensure documentation claims match frontend code attributes.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-05 03:00:29 +00:00
google-labs-jules[bot]andPR0M3TH3AN 5515f51aac Align /content user docs with actual upload & contribution behavior
- Update `content/docs/getting-started.md`:
  - Add recommended 2GB file size limit for browser uploads.
  - Update required credentials list for storage configuration.
- Update `content/docs/guides/upload-content.md`:
  - Add "Bucket Name" to the required credentials list.
  - Rename "Public Bucket URL" to "Public Access URL" to match the UI.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-04 02:58:17 +00:00
google-labs-jules[bot]andPR0M3TH3AN 8cf89faa7c docs: update upload guides with exact file types, limits, and CORS requirements
- Updates `content/docs/guides/upload-content.md` to list supported video formats (`.mp4`, `.webm`, `.mov`, `.mkv`, `.ts`, `.m3u8`, `.mpg`, `.mpeg`) and thumbnail formats.
- Adds a recommended file size limit of 2GB with an explanation (browser memory constraints).
- Clarifies CORS configuration for Cloudflare R2 to explicitly require AWS SDK v3 headers.
- Updates `content/docs/getting-started.md` to distinguish between direct upload formats and external hosting formats.
- Adds metadata validation details (Title required).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-03 02:37:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN e1be63efc8 docs: update getting started with installation instructions
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-02 19:50:04 +00:00
google-labs-jules[bot]andPR0M3TH3AN 55b588ded9 docs: update /content user guides to match upload workflow and moderation config
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-02 03:02:16 +00: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 3813725438 Add docs table of contents 2026-01-26 23:29:52 -05:00
thePR0M3TH3AN 232bfdbfde Update R2 CORS guidance for browser uploads 2026-01-26 07:20:08 -05:00
thePR0M3TH3AN 97fe5a4dd6 Update R2 CORS guidance 2026-01-26 06:56:01 -05:00
thePR0M3TH3AN 53f288647e Update R2 CORS policy guidance 2026-01-26 06:44:34 -05:00
google-labs-jules[bot] 68bdd590a6 Remove IPNS support and related content
Deleted IPNS view, content, and asset files. Removed references to IPNS from the README, sidebar, and documentation pages. This feature is no longer supported for hosting.
2026-01-19 02:13:59 +00:00
google-labs-jules[bot] c3179672b1 docs: update R2 CORS policy to include POST and HEAD
Updated the Cloudflare R2 setup instructions in `content/upload-content.md` to include `POST` and `HEAD` in the `AllowedMethods` CORS configuration. This is necessary for multipart uploads (which use POST) and verification checks (which use HEAD) to function correctly.
2026-01-14 16:42:36 +00:00
google-labs-jules[bot] c21bffb0c1 Update R2 documentation for manual public access setup
Updates `content/upload-content.md` and `docs/storage-r2.md` to reflect the current manual configuration workflow for Cloudflare R2 storage.

Key changes:
- Removes deprecated instructions for generating "Admin Read & Write" or "Workers R2 Storage" automation tokens.
- Documents the new requirement to manually create a bucket and enable "Public Access" (r2.dev subdomain) in the Cloudflare Dashboard.
- Adds explicit instructions for manually configuring CORS policy via the Cloudflare Dashboard, providing the required JSON configuration.
- Aligns the "Configure bitvid" steps with the application's current UI, which requires the "Public Bucket URL" as an explicit input.
- Clarifies that "Object Read & Write" permissions are sufficient and recommended for security.
2026-01-13 03:04:29 +00:00
google-labs-jules[bot] 85883aa5c6 feat: increase default trusted mute hide threshold to 20
- Updated `DEFAULT_TRUSTED_MUTE_HIDE_THRESHOLD` in `config/instance-config.js` from 1 to 20.
- Updated `tests/moderation/trusted-mute-lists.test.mjs` to explicitly override the threshold to 1 for tests verifying the hide mechanism.
- Updated documentation (`docs/moderation/*.md`, `docs/instance-config.md`, `content/community-guidelines.md`) to reflect the new default and upstream examples.
- Verified that existing blurring logic in `js/feedEngine/stages.js` and `js/ui/components/VideoCard.js` handles the intermediate state (1-19 mutes) correctly.
2026-01-11 21:30:23 +00:00
google-labs-jules[bot] cd38fd0c2a Add "Upload Content" guide and link in Upload Modal
- Create `assets/svg/upload-content-icon.svg`
- Create `content/upload-content.md` with Cloudflare R2 setup instructions
- Create `views/upload-content.html` to render the guide
- Add "Learn How" link to `components/upload-modal.html` in the R2 credentials section
2026-01-09 03:31:00 +00:00
thePR0M3TH3AN 3996986e63 Remove nostr shim and retarget imports 2026-01-06 15:32:21 -05:00
thePR0M3TH3AN e496376236 Align subscription lists with NIP-51 follow set kind 2025-10-31 08:33:39 -04:00
thePR0M3TH3AN eeee978134 Add NIP-22 metadata to video comment events 2025-10-29 14:38:59 -04:00
thePR0M3TH3AN 6193357099 Add search enhancements to roadmap and design docs 2025-10-27 09:37:14 -04:00
thePR0M3TH3AN 3ffe879528 Update roadmap with new watch history and live stream goals 2025-10-27 09:26:33 -04:00
thePR0M3TH3AN 058a4801d8 Update roadmap and README for shipped channel features 2025-10-27 09:16:03 -04:00
thePR0M3TH3AN 38701c9cb9 Merge branch 'unstable' into codex/update-roadmap.md-and-remove-comment-bullet 2025-10-26 16:19:16 -04:00
thePR0M3TH3AN 228d075bee Update roadmap to reflect video modal comments shipment 2025-10-26 16:18:47 -04:00
thePR0M3TH3AN 2141ff4f52 Update roadmap to note resolved video modal refresh bug 2025-10-26 16:18:08 -04:00
thePR0M3TH3AN 7149494b4e Normalize video mode defaults for dev builds 2025-10-26 15:44:11 -04:00
thePR0M3TH3AN 4d2ca63383 Update docs to reference configurable moderation defaults 2025-10-24 21:59:14 -04:00
thePR0M3TH3AN 678d665d16 docs: document configurable moderation defaults 2025-10-24 21:48:16 -04:00
thePR0M3TH3AN 5c20921c06 Document comment tagging requirements 2025-10-23 16:56:32 -04:00
thePR0M3TH3AN 6d72e6f576 Merge pull request #730 from PR0M3TH3AN/codex/update-roadmap.md-for-source-visibility-feature
Update roadmap to reflect shipped source visibility filtering
2025-10-20 14:19:07 -04:00
thePR0M3TH3AN 64882383e1 Update docs to reflect edit-modal visibility controls 2025-10-20 14:17:08 -04:00