Commit Graph
3929 Commits
Author SHA1 Message Date
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
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
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
google-labs-jules[bot] 070c054043 Refactor upload flow for immediate uploads and fix logging crash
- Refactored `UploadModal.js` to trigger uploads immediately on file selection.
- Added progress bars and result fields (Video URL, Magnet, Torrent) to the UI.
- Fixed a crash in `r2Service.js` caused by `userLogger.debug` usage.
- Exposed `prepareUpload` and `uploadFile` methods in `r2Service` and `s3UploadService` for granular control.
- Updated `upload-modal.html` with new UI elements.
2026-01-25 20:53:16 +00:00
thePR0M3TH3AN 962512c1d5 Merge pull request #1690 from PR0M3TH3AN/fix-r2-upload-domain-mapping-2369582922706610822
Fix R2 upload missing base domain error
2026-01-25 14:47:04 -05:00
google-labs-jules[bot] 55d00900a0 Fix R2 upload failures by ensuring baseDomain is saved and used correctly. 2026-01-25 19:41:26 +00:00
thePR0M3TH3AN 52add5031c Merge pull request #1689 from PR0M3TH3AN/refactor-upload-modal-storage-18342582653709375350
Refactor Upload Modal Storage Logic
2026-01-25 14:20:42 -05:00
google-labs-jules[bot] 2062ba0889 Refactor Upload Modal to use read-only storage status
Simplified the Upload Modal by removing inline storage configuration forms.
The modal now displays the active storage provider (read-only) or prompts the user
to configure storage via the Profile Modal if missing.

Changes:
- Refactored `js/ui/components/UploadModal.js` to consume stored credentials directly.
- Updated `components/upload-modal.html` to remove complex forms.
- Updated `tests/ui/uploadModal-integration.test.mjs` to match new UI structure.
- Removed race-prone logic for saving credentials within the upload flow.
2026-01-25 19:20:08 +00:00
thePR0M3TH3AN daf131287b Merge pull request #1688 from PR0M3TH3AN/ai/load-test-20260125-11280132937317141270
Add load testing script and initial report
2026-01-25 14:16:47 -05:00
google-labs-jules[bot] f7aef64103 Add load testing script and initial report 2026-01-25 19:15:37 +00:00
thePR0M3TH3AN b6260c1352 Merge pull request #1686 from PR0M3TH3AN/fix-storage-isolation-7292502268303926887
Fix storage credentials persistence on profile switch
2026-01-25 13:35:24 -05:00
thePR0M3TH3AN 28998361d5 Merge pull request #1687 from PR0M3TH3AN/ai/debug-frontend-20260125-16755006227265524315
fix(ai): frontend console error — missing css & concurrent reqs (agent)
2026-01-25 13:35:04 -05:00
google-labs-jules[bot] a718c65173 fix(ai): frontend console error — missing css & concurrent reqs (agent) 2026-01-25 18:33:19 +00:00
google-labs-jules[bot] 94cafc26ab Fix storage credentials persistence on profile switch
This change ensures that cloud storage credentials are not leaked between Nostr profiles when switching accounts in the UI.

Changes:
- Imported `storageService` in `js/app.js` to enable the `bitvid:auth-changed` event listener to correctly lock the previous profile's storage session.
- Updated `ProfileModalController.populateStoragePane` to explicitly clear the storage form before loading new data.
- Enhanced `ProfileModalController.handleClearStorage` to fully reset the form state, including the provider selection and visibility toggles.

Verified with a reproduction script (`reproduce_storage_isolation.mjs`) that `StorageService` correctly isolates data by pubkey at the backend level. The UI fixes address the frontend persistence issue.
2026-01-25 18:32:46 +00:00