Commit Graph
3940 Commits
Author SHA1 Message Date
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] 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
thePR0M3TH3AN c6c1278342 Merge pull request #1698 from PR0M3TH3AN/enhanced-storage-test-9016932313433573746
Enhance storage connection test with rigorous verification
2026-01-25 19:33:12 -05:00
google-labs-jules[bot] 1398d16e57 feat: enhance storage connection test with upload/retrieve/delete verification
- Expose PutObjectCommand and GetObjectCommand in s3-client.js
- Update testS3Connection in r2-s3.js to perform a full Read/Write/Delete cycle when a bucket is provided
- Add clear user-facing logs for each step of the storage test
2026-01-26 00:04:43 +00:00
thePR0M3TH3AN 237c8c46a2 Merge pull request #1697 from PR0M3TH3AN/fix-upload-modal-error-state-9415680611644735362
Improve UploadModal error state feedback
2026-01-25 18:59:15 -05:00
google-labs-jules[bot] cd94900f02 fix(upload): improve error feedback in UploadModal
- Keep progress bar visible on upload failure
- Style error status text with `text-critical`
- Set generated link inputs to "Upload Failed" to clearly indicate failure
- Reset error state on retry
2026-01-25 23:53:08 +00:00
thePR0M3TH3AN e25b759d3b Merge pull request #1696 from PR0M3TH3AN/agent-pr-review-automation-9475663160253293690
feat(agent): implement automated PR review scripts
2026-01-25 18:29:48 -05:00
google-labs-jules[bot] 1a66ad56ed feat(agent): implement automated PR review scripts
- Updated `scripts/automated-pr-review.mjs` to align with specific prompt requirements for formatting fixes and guardrails.
- Added `js/utils/storage.js` to sensitive paths for security review flagging.
- Created `scripts/agent/review-open-prs.mjs` to iterate over open PRs and run the review script using `gh` CLI.
2026-01-25 23:27:58 +00:00
thePR0M3TH3AN c2f73612f3 Merge pull request #1695 from PR0M3TH3AN/ai/smoke-tests-20260125-2287963904665500380
chore(ai): add smoke test script (agent)
2026-01-25 17:21:45 -05:00
google-labs-jules[bot] bd6b110c45 chore(ai): add smoke test script (agent)
Added `scripts/agent/smoke-test.mjs` to verify key application flows:
- Local Relay & Web Server availability.
- Protocol flows via `NostrClient` in Node.js (Video Publish, View Publish, DM Send & Decrypt).
- UI availability via Playwright (Headless Browser).

This script generates `artifacts/smoke-report.json` and logs for verification.
2026-01-25 21:31:08 +00:00
thePR0M3TH3AN 9c34a730f4 Merge pull request #1694 from PR0M3TH3AN/fix-upload-modal-exit-reset-2907666759560590370
Reset upload state on modal exit
2026-01-25 16:27:35 -05:00
google-labs-jules[bot] d4433fb886 fix(UploadModal): cancel and reset uploads on exit, preserve metadata 2026-01-25 21:24:01 +00:00
thePR0M3TH3AN 0d87efa6ac Merge pull request #1693 from PR0M3TH3AN/feature/truncate-storage-status-4436489322731743170
Truncate Storage Status fields in Upload Modal
2026-01-25 16:22:01 -05:00
google-labs-jules[bot] e1324c1bfc Truncate Storage Status fields in Upload Modal
Truncate Provider, Bucket, and URL Style fields to prevent layout overflow.
Add `title` attribute for native tooltips on hover.
Add `tabindex="0"` for keyboard accessibility.
2026-01-25 21:19:42 +00:00
thePR0M3TH3AN 30d2929583 Merge pull request #1692 from PR0M3TH3AN/fix-r2-public-url-saving-1588983637873017456
Fix R2 Public URL saving in Profile Modal
2026-01-25 16:14:27 -05:00
google-labs-jules[bot] de03cd4c58 fix(storage): ensure R2 public URL is saved to connection metadata
When saving an R2 storage connection, the "Prefix" input (which holds the Public Bucket URL) was not being mapped to `meta.baseDomain` or `meta.publicBaseUrl`. This caused `R2Service.ensureBucketConfigForNpub` to throw "Public Bucket URL is missing" during upload preparation, as it relies on these properties.

This commit updates `ProfileModalController.handleSaveStorage` to correctly assign the prefix value to `baseDomain` and `publicBaseUrl` for the `cloudflare_r2` provider, aligning it with the behavior for generic S3 providers and resolving the upload error.
2026-01-25 21:14:05 +00:00
thePR0M3TH3AN 7f436c7b2d Merge pull request #1691 from PR0M3TH3AN/video-upload-refactor-10784132771070758268
Refactor Video Upload to Immediate Flow & Fix Logger Crash
2026-01-25 15:55:17 -05:00