mrhid6
5a701acc82
fix: Removed tests
2026-07-22 09:31:29 +01:00
mrhid6
dff3668a25
fix(server): validate cross-org resource ownership
...
Review of the org-scoping pass found that org_id on a query filter
protects the row you look up, but does nothing when a handler accepts a
foreign resource ID as data and a downstream unscoped query consumes it.
- AssignKey: verify key and server both belong to the org
- BuildAuthorizedKeys: resolve server first, scope assignments and keys
to that server's org (was honouring foreign assignment rows)
- Workflows: validate TargetServerIDs on create/update and re-check at
trigger time
- Monitor incidents/uptime handlers: gate on org-scoped GetMonitor
- GetChannels: take orgID; validate channel_ids on monitor create/update
- Secret and default-step unique indexes: scope to org_id so a second
org no longer hits E11000
- DeleteServer/DeleteMonitor: scope cascading deletes
2026-07-22 09:28:43 +01:00
mrhid6
850aa0ed05
feat(server): org-scope service layer + handlers + org admin API
...
Threads org_id through every admin-facing service function (servers, keys,
assignments, secrets, workflows/steps/runs, monitors, channels, audit),
adds RequireRole middleware, and wires /api/org user + OIDC management
routes. Agent/scheduler paths keep unique-key signatures and resolve org
from the loaded record; internal-only helpers (getServerByID,
getRunByID, getMonitorByID) preserve those call sites.
2026-07-21 16:56:39 +01:00
mrhid6
d0ed9885e7
feat(auth): per-org OIDC resolver replaces global provider
2026-07-21 16:41:50 +01:00
mrhid6
ff22340561
feat(auth): host-based org resolution + session/host match guard
2026-07-21 16:38:24 +01:00
mrhid6
2038e86b53
feat(auth): local email/password login + first-run bootstrap
2026-07-21 16:36:13 +01:00
mrhid6
404214d82e
fix(services): keep original step Slugify; org reuses it
2026-07-21 16:33:31 +01:00
mrhid6
01fd2e201e
feat(services): org create+slug and user service with bcrypt
2026-07-21 16:30:42 +01:00
mrhid6
066095ffca
feat(auth): session carries org_id/role; add context helpers
2026-07-21 16:28:06 +01:00
mrhid6
022b1ef8ec
feat(server): auth indexes + default-org backfill migration
2026-07-21 16:25:37 +01:00
mrhid6
a8771a6e4d
style(models): gofmt org_id field alignment
2026-07-21 16:24:16 +01:00
mrhid6
502045d3af
feat(models): add org/user/org_oidc models and org_id on scoped collections
2026-07-21 16:23:14 +01:00
mrhid6
19b4aef95b
feat(server): dark-themed HTML email notification template
Server Deploy / deploy (push) Successful in 1m22s
2026-07-21 15:14:57 +01:00
mrhid6
0464c540b2
feat: edit monitors + notification channels; HTTP monitor insecure-TLS option
Server Deploy / deploy (push) Successful in 2m9s
Agent Release / build (push) Successful in 10m39s
Agent Release / msi (push) Successful in 35s
2026-07-21 14:55:41 +01:00
mrhid6
45178d455e
fix(server): SMTP dispatch dial timeout + implicit/STARTTLS handling
Server Deploy / deploy (push) Successful in 2m19s
2026-07-21 14:46:15 +01:00
mrhid6
8f3a27100f
feat(server): multi-channel monitor notifications
Server Deploy / deploy (push) Successful in 1m16s
2026-07-21 14:22:55 +01:00
mrhid6
a2bfa98a2d
feat(proto): SyncMonitors + ReportChecks RPCs
Server Deploy / deploy (push) Successful in 1m27s
2026-07-21 14:18:49 +01:00
mrhid6
e413009faa
feat(server): server-run monitor scheduler + REST API
Server Deploy / deploy (push) Successful in 58s
2026-07-21 14:13:26 +01:00
mrhid6
3ec9f1b35f
feat(server): monitor ingest pipeline, incidents, rollups
Server Deploy / deploy (push) Successful in 2m0s
2026-07-21 14:12:03 +01:00
mrhid6
e019493087
feat(server): monitor model + checker package
Server Deploy / deploy (push) Successful in 53s
2026-07-21 14:10:46 +01:00
mrhid6
a28157dcf8
feat(server): store inventory and handle ReportInventory RPC
Server Deploy / deploy (push) Successful in 1m4s
2026-07-21 14:05:19 +01:00
mrhid6
03e2c3c50d
feat(proto): add ReportInventory RPC and inventory model
Server Deploy / deploy (push) Successful in 2m38s
2026-07-21 14:04:28 +01:00
mrhid6
da6d825f45
fix(server): TestMain must not exit(0) before m.Run(); skip DB test individually
2026-07-21 11:34:56 +01:00
mrhid6
93423e32e6
feat(server): step usage counts endpoint
2026-07-21 11:31:05 +01:00
mrhid6
7c4a676742
fix: inline step secrets + inline input/output display + import body limit
2026-07-21 10:40:45 +01:00
mrhid6
15c9da1b01
feat(server): default steps seed-on-boot + admin re-sync
2026-07-21 10:25:41 +01:00
mrhid6
baa7bb239d
feat(server): step import/export/parse endpoints
2026-07-21 10:22:35 +01:00
mrhid6
7342c46d99
feat(server): auto-derive outputs on save + resolve inline steps
2026-07-21 10:20:12 +01:00
mrhid6
813f9e6fef
feat(server): derive declared_outputs from script + slugify
2026-07-21 10:17:50 +01:00
mrhid6
434f14ae3a
feat(server): inline step ref + workflow validation
2026-07-21 10:15:52 +01:00
mrhid6
aee910c1f8
fix: fixed variable inputs
Server Deploy / deploy (push) Successful in 1m22s
2026-07-20 18:00:47 +01:00
mrhid6
bea545e873
feat: More verbose logging on workflow logs
Agent Release / build (push) Successful in 45s
Agent Release / msi (push) Successful in 42s
Server Deploy / deploy (push) Successful in 1m52s
2026-07-20 17:35:58 +01:00
mrhid6
63dadf6239
feat(api): server-run log fetch and SSE stream endpoints
2026-07-20 15:18:35 +01:00
mrhid6
d905c99d32
feat(server): stream step logs to files, drop log bodies from run docs
2026-07-20 15:18:35 +01:00
mrhid6
85e1baf59a
feat(server): workflow log-writer registry, retention setting, sweeper
2026-07-20 15:18:35 +01:00
mrhid6
f141767fc2
feat(workflows): inject step inputs into env; update returns workflow
2026-07-20 14:37:36 +01:00
mrhid6
05cd8e154b
feat(workflows): step input params model + cascade step delete
2026-07-20 14:34:50 +01:00
mrhid6
47690c58d9
fix: Fixed workflow id
Server Deploy / deploy (push) Successful in 1m14s
2026-07-20 12:49:43 +01:00
mrhid6
7a60295bc1
feat(proto): add StepOutputChunk streaming message
2026-07-20 12:34:32 +01:00
mrhid6
98284f4387
fix(workflows): mask output env in persisted logs, preserve cancelled status, run agent step async
2026-07-20 12:01:35 +01:00
mrhid6
ff3a94b888
fix(api): audit workflow run cancellation
2026-07-20 11:42:31 +01:00
mrhid6
631894084a
feat(api): workflow, step, and run REST endpoints
2026-07-20 11:40:36 +01:00
mrhid6
296e0179cb
feat(server): workflow runner with parallel fan-out and env threading
2026-07-20 11:37:04 +01:00
mrhid6
600126a913
feat(server): step library and workflow CRUD services
2026-07-20 11:33:33 +01:00
mrhid6
4872a26786
feat(models): add workflow, step, and run models
2026-07-20 11:31:37 +01:00
mrhid6
1b286762f6
feat(server): add pending step-result registry and stream delivery
2026-07-20 11:26:35 +01:00
mrhid6
3c77c20de8
feat(proto): add RunStepCmd and StepResult messages
2026-07-20 11:24:08 +01:00
mrhid6
d31486ae1b
fix: Fixed agent windows version
Server Deploy / deploy (push) Successful in 1m28s
Agent Release / build (push) Successful in 10m34s
Agent Release / msi (push) Successful in 57s
2026-07-17 15:38:00 +01:00
mrhid6
2b4611f7ac
feat: added windows install script to ui
Server Deploy / deploy (push) Successful in 1m20s
2026-07-17 14:40:00 +01:00
mrhid6
1989d6cd98
fix: Fixed console width
Server Deploy / deploy (push) Successful in 1m17s
2026-07-17 13:46:12 +01:00