13 Commits
Author SHA1 Message Date
Gabriel20xx 61d8da5fb3 feat: add safe CarrierNode media deletion
- Validate media paths before sending delete requests
- Treat 404 as an already-missing file
- Test removal, errors, and path validation
2026-11-13 16:56:44 +01:00
Gabriel20xx f7819904b9 docs: record auth hash alignment and validation results 2026-10-20 15:26:58 +00:00
Gabriel20xx 22887fef03 ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI
- Run Go tests against PostgreSQL
- Record performance fixes in the report
2026-10-19 21:14:31 +00:00
Gabriel20xx c9fc3abcad feat(media): support project-mounted thumbnail storage
- Store thumbnails in project mounts
- Fall back to legacy paths when reading or deleting
- Use original images when stored thumbnails are missing
2026-10-14 09:25:40 +00:00
Gabriel20xx a14187a621 fix: report mount not found only when all instances return 404 2026-10-08 11:28:14 +00:00
Gabriel20xx 6ef2335731 feat: add generic CarrierNode mount client 2026-09-29 22:23:11 +02:00
Gabriel20xx a348409993 Restore shared media metadata contract 2026-09-23 15:48:17 +02:00
Gabriel20xx 2d8f138215 Add CarrierNode project attribution 2026-09-18 11:21:06 +02:00
Gabriel20xx e4c1826d6a Support pushed CarrierNode credentials 2026-09-16 19:52:57 +02:00
Gabriel20xxandClaude Sonnet 5 a675899c7d Rename MediaKiosk references to KioskDisplay
The service was renamed but comments and a couple of legacy project-name
lists in the shared library still referred to it as MediaKiosk.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 15:48:17 +02:00
Gabriel20xxandClaude Sonnet 5 097442f4b0 Make carriernodeclient.Client.Proxy fail over across CarrierNode instances
Proxy (streaming playback/thumbnails straight through) was left primary-only
when NewMulti was added, but it's a per-file read like Probe/FetchToScratch/
ProbeMedia, not a write - a file living only on a non-primary CarrierNode
instance couldn't actually be played back. Try each configured instance in
order and stream from the first one that doesn't answer with an error,
forwarding the last instance's response (success or error) if none do.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 11:56:55 +02:00
Gabriel20xxandClaude Sonnet 5 9f78995d03 Support multiple CarrierNode instances in carriernodeclient/coreconfig/mediacore
ProjectConfigurator's Projects workspace already lets an operator register more
than one CarrierNode instance (separate storage backends, HA/failover replicas,
or a mix), but every consumer only ever read a single carriernode_url. Add
carriernodeclient.NewMulti (ListFiles merges across instances, Probe/
FetchToScratch/ProbeMedia try each in order, writes stay primary-only),
coreconfig.Info.CarrierNodeURLs for pushed consumers, and
mediacore.CarrierNodeURLs for the 7 services that read settings directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 11:37:56 +02:00
Gabriel20xxandClaude Sonnet 5 d1a02a8c4d Extract shared media backend library; remove dead multi-flavor app/binary
Adds mediaauth/mediacore/carriernodeclient/syncsocket packages under
backend/, extracting everything genuinely cross-service (auth, shared
media/tags/playlists/sync/profile routes, the CarrierNode HTTP client,
the playback-sync websocket hub) out of the old media-backend monolith.

The 7 media-family services (CarrierNode, ContentScanner, CraftStudio,
MediaViewer, MediaKiosk, ModerationHub, ProjectConfigurator) each now
have their own independent frontend and backend built on this library,
instead of sharing one generic multi-flavor webui/media-backend
selected by a MEDIA_SERVICE/VITE_MEDIA_APP flag. That generic app and
binary (webui/, media-backend/) are now dead and removed here, along
with their dedicated CI workflows. sync-consumers.ps1 and README.md
updated to describe the new architecture.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 15:06:06 +02:00