17646c1155
fix(jobs): read from BullMQ queues instead of empty DB table
...
GET /api/v1/jobs now queries the proxy, thumbnail, and conform BullMQ
queues directly and returns normalized job objects with id, type,
status, progress, asset_id, timestamps, and error fields.
Also adds DELETE /:id to remove completed/failed jobs from the queue,
supporting the clearCompleted action in jobs.html.
The PostgreSQL jobs table is still used only for conform job creation
(POST /conform) to preserve that workflow.
2026-05-16 17:38:53 -04:00
af9c9dbae4
fix(db): parse DATABASE_URL in pool.js instead of individual DB_* vars
...
pool.js was using DB_HOST/DB_USER/etc which were never set.
The docker-compose.yml passes DATABASE_URL. Parse that if present,
fall back to individual vars for local dev.
2026-05-16 08:39:47 -04:00
78b1f3482f
feat(recorders): add PortBindings for SRT/RTMP listener mode containers
...
When source_config.mode === 'listener':
- SRT: bind UDP listen_port (default 9000) on container host
- RTMP: bind TCP listen_port (default 1935) on container host
Add ExposedPorts to container config alongside HostConfig.PortBindings.
Also pass LISTEN, LISTEN_PORT, STREAM_KEY env vars to container.
2026-05-16 08:21:03 -04:00
44759391e5
Fix jobs.js: send camelCase fields to conform worker (projectId/outputFormat)
2026-05-16 00:46:45 -04:00
a9cc8caf42
fix(recorders): add S3_REGION to container env, accept 304/404 on stop/remove
2026-05-16 00:31:10 -04:00
e796a0d15f
fix(routes+ui): capture route bin optional, jobs Redis URL, recorders S3_REGION+stop codes, api.js full rewrite, upload.html multipart fix, capture.html bin guard: jobs.js
2026-05-16 00:30:26 -04:00
f745122ef0
fix(auth+bugs): optional auth bypass, login routes, conform column name, panel metadata fields, login page: index.js
2026-05-15 23:40:12 -04:00
ada5597f79
fix(auth+bugs): optional auth bypass, login routes, conform column name, panel metadata fields, login page: auth.js
2026-05-15 23:40:11 -04:00
069c20ad43
fix(auth+bugs): optional auth bypass, login routes, conform column name, panel metadata fields, login page: auth.js
2026-05-15 23:40:10 -04:00
583b3f0ad6
fix(auth+bugs): optional auth bypass, login routes, conform column name, panel metadata fields, login page: package.json
2026-05-15 23:40:09 -04:00
4ba898f6a3
fix: remove premature thumbnail dispatch from upload route (proxy worker now handles it)
2026-05-15 21:26:57 -04:00
7ef8476bd3
fix: add ampp_folder_id/ampp_synced_at to assets; fix recorders.current_session_id type to TEXT
2026-05-15 21:24:16 -04:00
db73235149
fix: add POST /assets handler for capture registration + thumbnail job dispatch
2026-05-15 21:24:02 -04:00
4630a18dde
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: index.js
2026-04-18 13:42:09 -04:00
0e36ca9972
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: upload.js
2026-04-18 13:42:09 -04:00
e25e63b3f0
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: ampp.js
2026-04-18 13:42:08 -04:00
56e2a97506
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: settings.js
2026-04-18 13:42:08 -04:00
36a462dac4
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: client.js
2026-04-18 13:42:07 -04:00
2b9499a606
feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: schema_patch_ampp.sql
2026-04-18 13:42:07 -04:00
8ab7ea4d8d
Phase 2: services/mam-api/src/routes/recorders.js
2026-04-07 22:05:41 -04:00
6994e2d697
Phase 2: services/mam-api/src/routes/upload.js
2026-04-07 22:05:40 -04:00
a2c233aed3
Phase 2: services/mam-api/src/s3/client.js
2026-04-07 22:05:40 -04:00
cc06166e00
Phase 2: services/mam-api/src/db/schema.sql
2026-04-07 22:05:39 -04:00
53d4124514
Phase 2: services/mam-api/src/index.js
2026-04-07 22:05:39 -04:00
a463b67bce
add services/mam-api/src/routes/bins.js
2026-04-07 21:58:28 -04:00
b1e9b4a9ca
add services/mam-api/src/routes/projects.js
2026-04-07 21:58:28 -04:00
31927f9742
add services/mam-api/src/routes/capture.js
2026-04-07 21:58:27 -04:00
55b765698c
add services/mam-api/src/routes/jobs.js
2026-04-07 21:58:27 -04:00
5cb9ccaefc
add services/mam-api/src/routes/assets.js
2026-04-07 21:58:27 -04:00
8e247fe2ce
add services/mam-api/src/s3/client.js
2026-04-07 21:58:26 -04:00
e0f7f7c264
add services/mam-api/src/middleware/errors.js
2026-04-07 21:58:26 -04:00
e863cf3d6e
add services/mam-api/src/middleware/auth.js
2026-04-07 21:58:26 -04:00
d7573707ed
add services/mam-api/src/db/pool.js
2026-04-07 21:58:26 -04:00
44a5781f99
add services/mam-api/src/db/schema.sql
2026-04-07 21:58:25 -04:00
9a9259628a
add services/mam-api/src/index.js
2026-04-07 21:58:25 -04:00
2f81029112
add services/mam-api/Dockerfile
2026-04-07 21:58:25 -04:00
3694e65ab0
add services/mam-api/.env.example
2026-04-07 21:58:24 -04:00
43fe16831f
add services/mam-api/.gitignore
2026-04-07 21:58:24 -04:00
2938183b12
add services/mam-api/package.json
2026-04-07 21:58:24 -04:00