Commit Graph
3324 Commits
Author SHA1 Message Date
thePR0M3TH3AN ce396a1971 Add signing adapters and DM composer hook 2026-01-19 08:22:46 -05:00
thePR0M3TH3AN b59578e888 Merge pull request #1378 from PR0M3TH3AN/codex/add-dm-specific-nostr-service
Add DM-specific Nostr relay service
2026-01-19 08:12:23 -05:00
thePR0M3TH3AN 2e07ddb35f Add DM-specific nostr relay service 2026-01-19 08:12:03 -05:00
thePR0M3TH3AN 69b7232019 Merge pull request #1377 from PR0M3TH3AN/codex/add-indexeddb-layer-with-migration-strategy
Add IndexedDB helpers for direct message storage
2026-01-19 08:06:08 -05:00
thePR0M3TH3AN f4672a0445 Add IndexedDB storage for DM data 2026-01-19 08:05:34 -05:00
google-labs-jules[bot] 41da0a8361 test(ai): add unit tests for cache, sessionActor, and r2Service (agent)
- Added `tests/state/cache.test.mjs` to test profile persistence and URL health caching.
- Added `tests/nostr/sessionActor.test.mjs` to test session key encryption/decryption and storage.
- Added `tests/services/r2Service.test.mjs` to test R2 settings management and bucket configuration.
- Exposed `__testExports` in `js/nostr/sessionActor.js` to allow testing of private helper functions.
- Used `tests/test-helpers/setup-localstorage.mjs` to mock browser environments in all new tests.
2026-01-19 11:31:46 +00:00
google-labs-jules[bot] 11f7540c34 chore(ai): dependency scan and report
- Performed security and dependency scan.
- Created `artifacts/npm-audit.json` (0 vulnerabilities).
- Created `artifacts/npm-outdated.json`.
- Created `artifacts/proposed_issues.md` detailing required major upgrades.
- No safe minor/patch upgrades were found (dependencies are locked or up-to-date within range).
- `nostr-tools` is up-to-date (2.19.4).
2026-01-19 09:32:01 +00:00
google-labs-jules[bot] 9d97d8dcf8 feat(agent): add interop-test.mjs for Nostr protocol verification
- Implements `scripts/agent/interop-test.mjs` using Playwright to run integration tests in a browser context.
- Tests include:
  - Publishing `VIDEO_POST` (Kind 30078) events using schema builders.
  - Verifying event roundtrip (fetch by ID).
  - Publishing `VIEW_EVENT` (Watch History).
  - Sending and decrypting Encrypted DMs (NIP-04/NIP-44) using ephemeral keys.
- Uses local `simple-relay.mjs` (port 8008) and Python HTTP server (port 8001) to ensure environment isolation.
- Generates artifacts in `artifacts/` folder including logs and reports.
2026-01-19 07:30:44 +00:00
google-labs-jules[bot] 980075981a feat: add privacy-preserving telemetry and error aggregation script
- Added `scripts/agent/telemetry.mjs` to aggregate errors from log files (test_output.log, etc.).
- Implemented robust PII sanitization (IPv4, emails, hex keys, Bech32 keys, and file paths).
- Script generates a JSON artifact (`artifacts/error-aggregates.json`) and a Markdown report (`ai/reports/telemetry-YYYYMMDD.md`).
- Aggregation groups errors by sanitized message/stack trace fingerprint.
2026-01-19 06:20:13 +00:00
google-labs-jules[bot] 4d2bb8bf3d chore(ai): event schema validation tool + fixes
- Added `scripts/agent/validate-events.mjs` to validate event builders against schemas.
- Fixed `NOTE_TYPES.REPOST` schema content format (json instead of empty).
- Added `NOTE_TYPES.MUTE_LIST` and `buildMuteListEvent`.
- Added `buildProfileMetadataEvent` to standardise Kind 0 creation.
- Updated `js/ui/profileModalController.js` to use `buildProfileMetadataEvent`.
- Updated `js/userBlocks.js` to use `buildMuteListEvent` for publishing mute list snapshots.
- Updated `docs/nostr-event-schemas.md` with new schemas and builders.
2026-01-19 05:47:37 +00:00
thePR0M3TH3AN 474071e84a Merge pull request #1371 from PR0M3TH3AN/codex/add-notificationcenter-component-with-filters
Add DM NotificationCenter with filters, grouping, and NotificationItem
2026-01-18 23:53:59 -05:00
thePR0M3TH3AN f9c351e157 Add notification center filters and grouping 2026-01-18 23:51:52 -05:00
thePR0M3TH3AN 97043ce2c0 Merge pull request #1370 from PR0M3TH3AN/codex/add-ui-elements-to-profile-modal
Add DM controls to profile modal
2026-01-18 23:45:14 -05:00
thePR0M3TH3AN c70e17b9d0 Add DM controls to profile modal 2026-01-18 23:44:54 -05:00
thePR0M3TH3AN 96f727ac54 Merge pull request #1369 from PR0M3TH3AN/codex/implement-composer-with-ui-features
DM composer: add attach/privacy UI, keyboard + ARIA, message status & new-messages banner
2026-01-18 23:39:01 -05:00
thePR0M3TH3AN 9547a5b0e8 Add DM composer controls and status placeholders 2026-01-18 23:38:40 -05:00
thePR0M3TH3AN 5307e44682 Merge pull request #1368 from PR0M3TH3AN/codex/extend-token-mappings-for-ui-components
Add messaging & notification token mappings and wire DM/banner styles
2026-01-18 23:33:31 -05:00
thePR0M3TH3AN 54a862e38b Add messaging and notification token mappings 2026-01-18 23:33:17 -05:00
thePR0M3TH3AN 12bd95979d Merge pull request #1367 from PR0M3TH3AN/codex/add-dm-ui-surface-with-components
Add DM AppShell and atomic DM UI components
2026-01-18 23:28:17 -05:00
thePR0M3TH3AN 11853037ec Add DM UI shell components 2026-01-18 23:27:29 -05:00
thePR0M3TH3AN 99808e2407 Merge pull request #1365 from PR0M3TH3AN/codex/remove-syncchannelnotifybuttonstate-helper
Remove channel notify button and related handlers from channel profile controls
2026-01-18 23:03:52 -05:00
thePR0M3TH3AN cabe0dbe0c Remove channel notify control wiring 2026-01-18 23:03:36 -05:00
thePR0M3TH3AN d1497de067 Merge pull request #1363 from PR0M3TH3AN/ai/refactor-tag-preference-menu-20231027-11758630250052851478
Refactor TagPreferenceMenu logic to controller
2026-01-18 22:55:13 -05:00
google-labs-jules[bot] 4ca984f673 refactor(ai): extract TagPreferenceMenu from js/app.js (agent)
Moved tag preference menu logic into `js/ui/tagPreferenceMenuController.js`.
Kept `js/app.js` interface intact via thin wrappers.
Added unit tests covering new controller.
Followed AGENTS.md refactor checklist.
2026-01-19 03:43:25 +00:00
thePR0M3TH3AN 889df2470d Merge pull request #1362 from PR0M3TH3AN/codex/remove-channelnotifybtn-from-channel-profile
Remove channel notification button from profile actions
2026-01-18 22:33:55 -05:00
thePR0M3TH3AN 63a048f01d Remove channel notify button 2026-01-18 22:33:33 -05:00
thePR0M3TH3AN 7f7642baec Merge pull request #1361 from PR0M3TH3AN/ai/ci-health-20260119-9572894936557379291
chore(ai): CI health fixes (flaky tests)
2026-01-18 22:09:16 -05:00
google-labs-jules[bot] 903f63c88f chore(ai): CI health fixes (flaky tests)
- Fix `tests/moderation-service.test.mjs` failing with `nostr-extension-missing` by injecting dependency.
- Fix circular dependency in `js/nostr/commentEvents.js` causing `tests/nip71-base-event-tags.test.mjs` to fail.
- Update `package-lock.json` via `npm audit fix`.
2026-01-19 03:02:23 +00:00
thePR0M3TH3AN 6f6bfe6004 Merge pull request #1360 from PR0M3TH3AN/ui/mobile-search-color-match-16820475838170659193
fix(ui): align mobile search icon color with upload button
2026-01-18 21:48:48 -05:00
google-labs-jules[bot] c675aa0685 fix(ui): align mobile search icon color with upload button
Updates the mobile search FAB (#mobileSearchFab) to use `bg-accent-strong` instead of `bg-critical`.
This ensures the icon color matches the "Upload Video" button, respecting the active theme override (which sets the accent color to red).

Verified visually using a Playwright script and screenshot validation.
Verified by running `npm run build:css` and `npm run test:unit`.
2026-01-19 02:47:31 +00:00
thePR0M3TH3AN 3874955a2b Merge pull request #1359 from PR0M3TH3AN/for-you-feed-update-6639372694731601459
feat: Remove hashtag pills from For You page
2026-01-18 21:34:57 -05:00
google-labs-jules[bot] 5c65c44db3 feat: Remove hashtag pills from For You page
- Updated `For You` page to rely on feed engine filtering for tag preferences.
- Removed the `recentVideoTags` HTML element from `views/for-you.html`.
- Updated `js/app.js` and `js/ui/videoListViewController.js` to optionally skip finding the `recentVideoTags` element.
- Updated `loadForYouVideos` in `js/app.js` to explicitly skip `recentVideoTags`.
- Confirmed feed logic via `tests/feed-engine/tag-preference-filter.test.mjs`.
- Verified UI changes via Playwright.
2026-01-19 02:33:17 +00:00
thePR0M3TH3AN 6af12b3160 Merge pull request #1358 from PR0M3TH3AN/sidebar-reorder-subscriptions-history-9128078694631783696
Move Subscriptions sidebar icon above Watch History
2026-01-18 21:27:21 -05:00
google-labs-jules[bot] 405405d3c6 Move Subscriptions sidebar icon above Watch History
- Moved the Subscriptions link block above the Watch History link block in `components/sidebar.html`.
- Verified hydration logic with `tests/app/hydrate-sidebar-navigation.test.mjs`.
- Visually verified the order using a frontend verification script.
2026-01-19 02:26:50 +00:00
thePR0M3TH3AN 8560bd70cb Merge pull request #1357 from PR0M3TH3AN/remove-ipns-content-6090645501624994752
Remove IPNS support and content
2026-01-18 21:15:32 -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
thePR0M3TH3AN 5261f3125b Merge pull request #1350 from PR0M3TH3AN/ai/todo-triage-20260119-13173502595242779054
chore(ai): triage TODOs
2026-01-18 20:46:18 -05:00
thePR0M3TH3AN f443d9e37b Merge pull request #1342 from PR0M3TH3AN/ai/pr-review-script-8211622282214649456
Add automated PR review script
2026-01-18 20:45:54 -05:00
thePR0M3TH3AN 4a8f83bec7 Merge pull request #1341 from PR0M3TH3AN/ai/smoke-tests-20260118-11992754841538190707
Add automated smoke test script using Playwright
2026-01-18 20:44:44 -05:00
thePR0M3TH3AN 1a715f9a45 Merge pull request #1340 from PR0M3TH3AN/ai/lint-20250222-8542702362424668840
chore(ai): apply formatting/lint autofixes
2026-01-18 20:42:55 -05:00
thePR0M3TH3AN 51b6dbd018 Merge pull request #1356 from PR0M3TH3AN/codex/update-global-feed-headings
Change global feed heading to "Recently Added Videos"
2026-01-18 20:39:19 -05:00
thePR0M3TH3AN 51a8f6498a Update global feed heading 2026-01-18 20:39:00 -05:00
thePR0M3TH3AN 7299f60336 Merge pull request #1355 from PR0M3TH3AN/codex/locate-and-add-routing-tests
Extract hash-change handler and add tests for default view selection
2026-01-18 20:36:56 -05:00
thePR0M3TH3AN 9c9a866d29 Add hash change handler tests for default views 2026-01-18 20:36:12 -05:00
thePR0M3TH3AN bc0ca62b64 Merge pull request #1354 from PR0M3TH3AN/codex/implement-auth-event-handlers-for-navigation
Adjust auth-driven view routing
2026-01-18 20:32:04 -05:00
thePR0M3TH3AN c9dbe1e3e7 Adjust auth-driven view routing 2026-01-18 20:31:30 -05:00
thePR0M3TH3AN 41f4dd5cfe Merge pull request #1353 from PR0M3TH3AN/codex/update-default-view-logic-in-app.js-and-index.js
Adjust default view selection based on auth state
2026-01-18 20:25:47 -05:00
thePR0M3TH3AN f70217003d Adjust default view selection for auth state 2026-01-18 20:25:30 -05:00
thePR0M3TH3AN 26fd31e212 Merge pull request #1352 from PR0M3TH3AN/codex/verify-for-you-feed-pipeline-functionality
Prefer hashtag preference snapshot in For You runtime and add tag-preference tests
2026-01-18 20:22:33 -05:00
thePR0M3TH3AN 4abcba8de5 Refine for-you tag preference runtime 2026-01-18 20:22:07 -05:00