Commit Graph
3955 Commits
Author SHA1 Message Date
thePR0M3TH3AN 8045dae9fb Merge pull request #1721 from PR0M3TH3AN/codex/remove-url-limitation-for-storage-bucket
Allow any public URL for storage prefix
2026-01-26 07:01:48 -05:00
thePR0M3TH3AN dd363f0086 Allow any public URL for storage 2026-01-26 07:01:35 -05:00
thePR0M3TH3AN 319a688147 Merge pull request #1720 from PR0M3TH3AN/codex/update-cors-policy-in-upload-content.md-w1bzgc
Update R2 CORS guidance for explicit origins, S3 headers, and S3 endpoint
2026-01-26 06:56:15 -05:00
thePR0M3TH3AN 97fe5a4dd6 Update R2 CORS guidance 2026-01-26 06:56:01 -05:00
thePR0M3TH3AN 297f77684a Merge pull request #1718 from PR0M3TH3AN/ai/tests-nostr-state-20250522-1996916389475353061
Test Suite Improvements: sessionActor and profileCache
2026-01-26 06:52:53 -05:00
thePR0M3TH3AN 88ac663f18 Merge branch 'unstable' into ai/tests-nostr-state-20250522-1996916389475353061 2026-01-26 06:52:38 -05:00
thePR0M3TH3AN e2313675bf Merge branch 'unstable' of https://github.com/PR0M3TH3AN/bitvid into unstable 2026-01-26 06:45:47 -05:00
thePR0M3TH3AN ba83b3301a update 2026-01-26 06:45:22 -05:00
thePR0M3TH3AN d115171cc7 Merge pull request #1719 from PR0M3TH3AN/codex/update-cors-policy-in-upload-content.md
Update R2 CORS policy guidance
2026-01-26 06:44:57 -05:00
thePR0M3TH3AN 53f288647e Update R2 CORS policy guidance 2026-01-26 06:44:34 -05:00
google-labs-jules[bot] 9cdc91a186 test(ai): fix sessionActor tests and enhance profileCache coverage
- Fixed `tests/nostr/sessionActor.test.js` to remove outdated plain-text storage test and use encrypted payload for cleanup test.
- Enhanced `tests/state/profile-cache.test.mjs` with tests for:
    - Event emission (`profileChanged`)
    - TTL expiration (using `watchHistory`)
    - XSS sanitization in `setProfile`
- Removed redundant/competing `tests/state/profileCache.test.mjs`.
- Verified tests pass with `scripts/run-targeted-tests.mjs`.
2026-01-26 11:35:18 +00:00
thePR0M3TH3AN 49809c2154 Merge pull request #1717 from PR0M3TH3AN/fix-privacy-warning-timeout-863377375539024117
Add timeout to sticky privacy warnings in profile modal
2026-01-26 06:34:15 -05:00
google-labs-jules[bot] 727892c61a fix: add timeout to sticky privacy warnings in profile modal
Updates the privacy warning notifications in `ProfileModalController` to auto-dismiss after 5 seconds. This resolves an issue where warnings about direct message relays and NIP-17 delivery would persist indefinitely, requiring manual dismissal or page reload.

The fix applies `{ autoHideMs: 5000 }` to `this.showStatus` calls for:
- "Privacy warning: direct messages are using your default relays because no NIP-17 relay list is available."
- "Privacy warning: this recipient has not shared NIP-17 relays, so we'll use your default relays."
- "Privacy warning: this message used default relays because no NIP-17 relay list was found."
2026-01-26 11:33:47 +00:00
thePR0M3TH3AN dc4be84c53 Merge pull request #1716 from PR0M3TH3AN/ai/deps-scan-7365112027965569539
chore(deps): dependency scan and upgrade reports
2026-01-26 06:27:03 -05:00
thePR0M3TH3AN 809f445bd1 Merge pull request #1715 from PR0M3TH3AN/ai/onboarding-20250220-11961523376351293534
docs(ai): improve onboarding steps
2026-01-26 06:26:43 -05:00
thePR0M3TH3AN 7ce6bb09d0 Merge pull request #1714 from PR0M3TH3AN/ai/interop-tests-20241027-5660466127483466949
Add Nostr Protocol Interoperability Test Script
2026-01-26 06:26:13 -05:00
thePR0M3TH3AN 283d12534c Merge pull request #1713 from PR0M3TH3AN/telemetry-aggregation-3069571134947148674
feat: add privacy-preserving telemetry and error aggregation
2026-01-26 06:23:00 -05:00
thePR0M3TH3AN 0c0addb2a1 Merge pull request #1712 from PR0M3TH3AN/ai/schema-validate-20260126-15068520206560681237
chore(ai): event schema validation tool + fixes
2026-01-26 06:22:22 -05:00
thePR0M3TH3AN d12145a6f0 Merge pull request #1711 from PR0M3TH3AN/ai/refactor-edit-modal-20241026-13779984577331639829
Refactor EditModal logic to EditModalController
2026-01-26 06:21:45 -05:00
thePR0M3TH3AN 606b83280d Merge pull request #1707 from PR0M3TH3AN/ai/ci-health-20250523-8595528230429322330
chore(ai): CI health fixes (flaky tests)
2026-01-26 06:16:06 -05:00
google-labs-jules[bot] d659c4d208 chore(deps): dependency scan and upgrade reports 2026-01-26 09:11:01 +00:00
google-labs-jules[bot] 0077f0c25d docs(ai): improve onboarding steps (agent)
- Update CONTRIBUTING.md and README.md to clarify npm run format scope and recommend test shards
- Fix broken unit tests in sessionActor and tagPreferenceMenu to unblock shards
2026-01-26 09:09:40 +00:00
google-labs-jules[bot] 1174b4b293 feat: add interoperability test script for Nostr protocol
Implements `scripts/agent/interop-test.mjs` to validate Nostr event schemas and client publishing against public relays.

- Uses ephemeral keys (generated via `nostr-tools`) for safety.
- Connects to `wss://relay.damus.io` and `wss://nos.lol` for testing.
- Verifies:
  - Video Post creation (via `buildVideoPostEvent`) and publishing.
  - View Event creation (via `buildViewEvent`) and publishing.
  - Direct Message sending and decryption (using client's encrypted DM logic).
- Includes necessary Node.js polyfills (`WebSocket`, `crypto`, `localStorage`, `window`) to run browser-targeted client code.
2026-01-26 07:24:00 +00:00
google-labs-jules[bot] edbd66df52 feat: add privacy-preserving telemetry and error aggregation
- Update smoke-test.mjs to output structured summary with logs
- Update telemetry-aggregator.mjs to collect from unit, smoke, and load tests
- Update run-unit-tests.mjs to log output to artifacts/test_unit.log
- Ensure PII sanitization in telemetry reports
2026-01-26 06:48:14 +00:00
google-labs-jules[bot] 3a1ffd3688 chore(ai): event schema validation tool + fixes
- Added `scripts/agent/validate-events.mjs` to validate event builders.
- Added `GENERIC_REPOST` (kind 16) to `js/nostrEventSchemas.js` and `docs/nostr-event-schemas.md`.
- Updated `buildRepostEvent` to validate against `GENERIC_REPOST` when producing kind 16 events.
2026-01-26 05:20:43 +00:00
google-labs-jules[bot] 62dcc57e64 refactor(ai): extract EditModalController from js/app.js (agent) 2026-01-26 03:21:44 +00:00
thePR0M3TH3AN 87c494c1f3 Merge pull request #1710 from PR0M3TH3AN/codex/expand-logging-in-catch-block
Add R2 CORS failure context logging
2026-01-25 22:00:44 -05:00
thePR0M3TH3AN 4e71b1d320 Add R2 CORS failure context logging 2026-01-25 22:00:22 -05:00
thePR0M3TH3AN a3d3ebae0d Merge pull request #1709 from PR0M3TH3AN/codex/add-logging-before-upload-validation-and-call
Log presence of upload settings in r2Service and UploadModal
2026-01-25 21:57:27 -05:00
thePR0M3TH3AN 69dc281c04 Add debug logs for upload settings presence 2026-01-25 21:57:09 -05:00
thePR0M3TH3AN e53d15d71a Merge pull request #1708 from PR0M3TH3AN/codex/update-uploadmodal.js-for-r2-identifiers
Include R2 account/provider identifiers in UploadModal uploads
2026-01-25 21:54:51 -05:00
thePR0M3TH3AN e1da71b802 Include R2 identifiers in uploads 2026-01-25 21:54:17 -05:00
google-labs-jules[bot] ef5cb8ad78 chore(ai): CI health fixes (flaky tests)
- Fix broken `SearchFiltersPopover.js` import in `views/dev/popover-demo.html` by replacing it with a local `wirePopover` implementation, resolving `tests/e2e/popover.spec.ts` failures.
- Update `.gitignore` to exclude `*.log` files to prevent accidental commits of local log files.
- Remove accidental `server.log` from the repository.
- Attempted to fix `tests/visual/moderation.spec.ts` but confirmed "element not found" issues in fixture environment; reverted to preserve passing state.
- Formatted code.
2026-01-26 02:41:31 +00:00
thePR0M3TH3AN fc62e06f72 Merge pull request #1706 from PR0M3TH3AN/codex/remove-or-gate-quickr2section-feature
Remove deprecated quick R2 upload path
2026-01-25 21:36:07 -05:00
thePR0M3TH3AN 4373bda877 Remove deprecated quick R2 upload 2026-01-25 21:35:50 -05:00
thePR0M3TH3AN 752599f4b5 Merge pull request #1705 from PR0M3TH3AN/codex/audit-and-refactor-legacy-r2-settings
Migrate legacy R2 settings into StorageService and retire legacy r2 paths
2026-01-25 21:33:19 -05:00
thePR0M3TH3AN 1e2f6b989a Migrate legacy R2 settings to storage service 2026-01-25 21:33:00 -05:00
thePR0M3TH3AN 758841180d Merge pull request #1704 from PR0M3TH3AN/codex/ensure-cloudflaresettings-initialization
Guard R2 settings bucket lookup when config is missing
2026-01-25 21:08:06 -05:00
thePR0M3TH3AN 4248999294 Guard r2 settings bucket lookup 2026-01-25 21:07:54 -05:00
thePR0M3TH3AN e353f46ddc Merge pull request #1703 from PR0M3TH3AN/codex/update-error-message-for-cors-setup
Improve R2 verification error to include actionable CORS guidance
2026-01-25 21:05:39 -05:00
thePR0M3TH3AN 46161ccea2 Improve R2 CORS error guidance 2026-01-25 21:05:24 -05:00
thePR0M3TH3AN 9b38b55542 Merge pull request #1702 from PR0M3TH3AN/codex/inspect-connection-handling-for-uploads
Normalize storage connection public URLs for uploads
2026-01-25 20:54:30 -05:00
thePR0M3TH3AN eac1e9a75d Normalize storage connection public URLs 2026-01-25 20:54:15 -05:00
thePR0M3TH3AN ac3734d899 Merge pull request #1700 from PR0M3TH3AN/ai/triage-todos-4282679972946865720
Triage TODOs in tests
2026-01-25 20:45:36 -05:00
thePR0M3TH3AN 8c36bb956f Merge pull request #1701 from PR0M3TH3AN/codex/update-storageservice.testaccess-configuration
Add R2 public URL to storage test and validate R2 public URL input
2026-01-25 20:44:36 -05:00
thePR0M3TH3AN e096a8b136 Add R2 public URL to storage tests 2026-01-25 20:44:21 -05:00
google-labs-jules[bot] f2d2ab4884 chore(ai): Triage TODOs in tests
- Generate artifacts/todos.txt containing identified TODOs in visual tests.
- Create an issue artifact documenting investigation needs for headless test failures.
- Filter out false positives from scan results.
2026-01-26 01:32:05 +00:00
thePR0M3TH3AN a923ce57c8 Merge pull request #1699 from PR0M3TH3AN/fix-storage-settings-ui-confusion-1939030476423683554
Clarify Public URL vs S3 Endpoint in Storage Settings
2026-01-25 20:24:39 -05:00
google-labs-jules[bot] ad1d7de092 Clarify Public URL field in storage settings and add validation
- Renamed "Public URL / Prefix" to "Public Access URL" in Profile Modal to differentiate from S3 API Endpoint.
- Added helper text clarifying that Account ID is used for connection and Public URL is for CDN.
- Implemented validation in `ProfileModalController` to detect and warn if an S3/R2 API endpoint is entered into the Public URL field.
- Added blocking validation on save to prevent misconfiguration.
- Verified changes with unit tests and Playwright frontend verification.
2026-01-26 01:24:04 +00:00
thePR0M3TH3AN 6ec83e4237 update 2026-01-25 19:59:24 -05:00