Commit Graph

60 Commits

Author SHA1 Message Date
Daniel Harvey fc9bc3d607 chore(secrets): load API key, connection strings, and AuthBlocks via CredentialTools across all three hosts; strip secret placeholders from appsettings.json 2026-05-18 17:35:29 -04:00
Daniel Harvey 1b971e9a9d Merge cms-w3-t4-edit: PUT api/cms/track/{id} + /cms/tracks/{id} edit page 2026-05-18 16:15:35 -04:00
Daniel Harvey 45e16fece7 Merge cms-w3-t2-upload: WAV upload flow — POST api/track/upload, POST api/cms/track, /cms/tracks/new
# Conflicts:
#	DeepDrftContent/CLAUDE.md
2026-05-18 16:15:13 -04:00
Daniel Harvey 7b20694a31 Fix W3-T4 review: log+sanitize catch messages, add validation attrs to CmsTrackUpdateRequest, document T3 delete dependency 2026-05-18 15:43:00 -04:00
Daniel Harvey 1738d262de Fix W3-T3 review: attach JWT in DeleteTrackDialog, int→long TrackId, log RemoveResourceAsync failure, drop redundant {Reason} log param 2026-05-18 15:42:58 -04:00
Daniel Harvey 7fd8376f96 Fix review findings: scrub ex.Message from UI, gate 5xx body relay, harmonise ContentApi config key, add CancellationToken to UploadTrack 2026-05-18 15:38:56 -04:00
Daniel Harvey 4a59df6baa Add CMS track delete: DeepDrftContent DELETE endpoint, DeepDrftWeb SQL-first orchestration, DeepDrftCms confirmation dialog (W3-T3) 2026-05-18 15:20:08 -04:00
Daniel Harvey 266086906e Wave 3 T2: WAV upload flow — POST api/track/upload, POST api/cms/track, /cms/tracks/new 2026-05-18 15:18:28 -04:00
Daniel Harvey 531115b655 W3 T4: PUT api/cms/track/{id} + /cms/tracks/{id} edit page (metadata-only, Admin-gated) 2026-05-18 15:13:48 -04:00
Daniel Harvey d1f3cbd89b Fix Wave 2 review: PG18 volume path, null guards, NotAuthorized redirect, drop docker-compose, port 5433 connection strings 2026-05-18 09:38:25 -04:00
Daniel Harvey ee7dc8409e Wire AuthBlocks 10.3.30 JWT auth; gate /cms (InteractiveAuto) behind Admin role; add CreatedByUserId migration 2026-05-18 08:37:18 -04:00
Daniel Harvey 41f14201f0 Merge cms-w1-t2-rcl: DeepDrftCms RCL skeleton mounted at /cms 2026-05-17 23:34:45 -04:00
Daniel Harvey 0d14f46909 Fix review findings: scrub committed password, restore migration namespace, document Npgsql version constraint 2026-05-17 23:30:05 -04:00
Daniel Harvey a65339395b Migrate DeepDrftContext from SQLite to PostgreSQL; add docker-compose for local Postgres 17 2026-05-17 23:11:44 -04:00
Daniel Harvey a64e49326d Add DeepDrftCms RCL skeleton, mount at /cms, switch NetBlocks to NuGet 2026-05-17 23:04:54 -04:00
Daniel Harvey 45ae63bc2e Fix dark mode: wire html/body background and text to MudBlazor palette variables; add min-height: 100vh to theme wrappers 2026-05-17 22:34:38 -04:00
Daniel Harvey ed27e0e997 P0 W2 TC: rewrite dark palette as navy/green/off-white wireframe variant; fix TextSecondary WCAG comment ~6.1:1 2026-05-17 21:51:43 -04:00
Daniel Harvey 144f7c7527 Wireframe palette + font foundation: navy/green/off-white PaletteLight, Cormorant Garamond + Geist Mono + DM Sans, retire Bodoni Moda 2026-05-17 21:20:06 -04:00
Daniel Harvey 4420975cd2 Fix streaming minors: isActive_ sentinel, WAV error message, TextDecoder hoist, MIME 400, fmt first-match, processedBytes comment 2026-05-17 18:55:05 -04:00
Daniel Harvey 9f32c70e0f Merge p1-w2-tc-streaming-majors: streaming majors findings 5-14 2026-05-17 18:23:15 -04:00
Daniel Harvey 02d146ce02 Fix streaming majors: PCM-only validation, stream-from-disk, ConcatStream offset, AsyncDisposable, HTTP cancellation, await ensureReady, seekBeyondBuffer offset-0 guard, negative WAV chunk guard 2026-05-17 16:57:20 -04:00
Daniel Harvey 4c9bf0ca8d Fix 9 design majors: ITrackService interface, IsDescending, ArrayPool base, CliUtils, sort sentinel cleanup, content controller via TrackService, Skip property 2026-05-17 16:10:56 -04:00
Daniel Harvey dd96caa709 Fix Critical: streaming race, dirty buffer, dropped tail, fragmented header
- SeekBeyondBuffer and LoadTrackStreaming assign _activeStreamingTask before
  awaiting; DrainActiveStreamingTaskAsync awaits previous task before new
  stream starts, closing the concurrent-seek race on the JS StreamDecoder
- Always slice ArrayPool buffer to currentBytes before sending to JS interop;
  eliminates stale bytes from prior rentals reaching the audio decoder
- getSampleAlignedChunkSize accepts streamComplete flag; bypasses minimum
  chunk guard on final tail so trailing bytes are decoded, not dropped
- StreamDecoder accumulates headerSearchChunks until parseHeader succeeds,
  with 256 KB MAX_HEADER_SEARCH_BYTES bound; handles fragmented first chunks
  and extended WAV headers with LIST/INFO/JUNK chunks
- markStreamComplete early-returns when streamComplete already set to prevent
  double-drain and incorrect streamingCompleted flag after partial failure
- processedBytes advances only after successful decode; failed segments leave
  cursor in place rather than permanently skipping audio
- AudioInteropService.MarkStreamCompleteAsync wires C# loop exit to JS decoder
  ensuring tail drain fires even when Content-Length header is absent
2026-05-17 11:28:53 -04:00
Daniel Harvey 7cf3d965b6 Rewrite all folder-level CLAUDE.md files; update root
net10.0 throughout; corrected EntryKey field name; documented *.Services split.
Two new files (DeepDrftWeb.Services, DeepDrftContent.Services). FileDatabase
README inaccuracies fixed (ImageVault, project target).
2026-05-16 21:45:56 -04:00
daniel-c-harvey 51cef436d7 style simplification and publish upgrades for dotnet 10 2026-01-22 08:59:48 -05:00
daniel-c-harvey bc521d5b29 Styles & Home Page Content Cleanup
Mobile Menu System & Dark Mode Cookie
Theme Draft
2025-12-09 16:46:07 -05:00
daniel-c-harvey bb3551a248 Theming Draft 2 2025-12-08 20:30:41 -05:00
daniel-c-harvey a68dc37012 2026 Deep DRFT Theme Draft 1 WIP 2025-12-07 18:41:09 -05:00
daniel-c-harvey 75456a59ce Spectrum Visualizer for player & Layout 2025-12-07 11:18:32 -05:00
daniel-c-harvey 20db222a0f Streaming Seek Support 2025-12-07 04:44:54 -05:00
daniel-c-harvey 8c58edd5f9 File Database Index watching 2025-12-07 04:40:52 -05:00
daniel-c-harvey 2baf0575bc Streaming Bug Fixes 2025-12-06 06:41:32 -05:00
daniel-c-harvey 605fc94fbb True Streaming Support Draft 2025-09-15 17:03:36 -04:00
daniel-c-harvey 0fa8ac7379 Front End Streaming Playback Improvements 2025-09-13 15:22:26 -04:00
daniel-c-harvey 9ac2c9182a Player Client and Visual Enhancements
- Redesigned audio player bar to be mobile-friendly
 - Added unloading for track switching (needs to be fixed)
 - Added IsLoading status so loading spinner isn't hanging around when it shouldn't be
 - Normalized styles with scoped files (will further reduce)
 - Layout Cleanup
 - EF fixes (migrations now function for deployment)
 - deploy script updates (new dedicated host)
2025-09-12 20:37:17 -04:00
daniel-c-harvey 73d4b0a9c5 Front End Audio Player Always Available 2025-09-08 18:42:07 -04:00
daniel-c-harvey a25d067dff AUdio Player Service refactor 2025-09-08 14:20:38 -04:00
daniel-c-harvey bf054f3d1b API Connection Cleanup & Bugfixes 2025-09-08 11:10:23 -04:00
daniel-c-harvey c6f4ffc1fe Cleanup & Bug Fixes
- WebAssembly fix (missing app.Run)
 - API comms cleanup
2025-09-08 09:53:13 -04:00
daniel-c-harvey b16bcfc6cd Backend Services Split into separate projects for reference from other front ends 2025-09-07 12:56:52 -04:00
daniel-c-harvey a5b7ab041e Deployment Configuration and Script
- Front End Cleanup
2025-09-06 18:40:32 -04:00
daniel-c-harvey 0951514778 Front End Work
- Colors & Styles
 - Fonts
 - Small Layout Adjustments
2025-09-06 15:21:03 -04:00
daniel-c-harvey 5a8a2da842 Front End Work
- Home Page
 - Custom Site Styles & Mud Theme Adjustments
2025-09-06 14:19:09 -04:00
daniel-c-harvey 66d800bd26 Front End Work
- Redesign component wiring for audio playback
 - Removed playback logic from the player control and moved it to injectable audio player engine service
 - Chunked/buffered stream loading from Content API passed to Web Audio API playback in 8K blocks
2025-09-06 13:39:26 -04:00
daniel-c-harvey 3766d4e010 Front End
- MudBlazor Theme Manager tryout
 - Navigation bar rework
 - Icons and styles rework
 - Track Gallery & Card layout redesign for SPA
 - Track Player bottom bar
2025-09-05 22:27:12 -04:00
daniel-c-harvey 7f78545a02 *Audio Playback*
Content API:
 - Enabling CORS for access from Blazor app
Web Server:
 - Content API URL environment config
 - Web Audio API JS Interop layer in TypeScript
 - HttpClient configs
Web Client:
 - Audio Tack player controls
 - Audio Player example page
 - Audio Interop Service Layer
 - Named HttpClients
2025-09-05 10:48:07 -04:00
daniel-c-harvey 624974a93c Migrations 2025-09-04 19:58:46 -04:00
daniel-c-harvey 9de2063ea3 Infrastructure upgrades 2025-09-04 19:58:00 -04:00
daniel-c-harvey 5e02d004e3 CLAUDE.md files 2025-09-04 19:57:05 -04:00
daniel-c-harvey 27522c1e1c Front End Track Gallery Controls
- Theming adjustments (still needs a lot of work)
2025-09-04 14:18:35 -04:00