Commit Graph

72 Commits

Author SHA1 Message Date
Anso f760ea6563 docs: refresh screenshots (#260) 2026-03-29 20:26:22 -04:00
Anso d586ce393a feat(audit-log): add configurable retention, export, Auditor role, and enhanced filtering (#258)
- Configurable retention: audit_retention_days setting (1-365 days, default 90)
  replaces hardcoded 90-day retention, exposed in Settings > Data Retention
- Export: one-click CSV/JSON export of filtered audit data via new
  GET /api/audit-log/export endpoint (capped at 10,000 entries)
- Auditor role: read-only role with system:audit permission for viewing
  and exporting audit logs without admin privileges (Admiral tier)
- Enhanced filtering: full-text search across summaries/paths/usernames,
  date range picker, and expandable row details showing request path,
  IP address, node ID, and entry ID
2026-03-29 20:18:51 -04:00
Anso 7838d6c32a docs: refresh screenshots (#255) 2026-03-29 17:10:22 -04:00
Anso 8380fbad4b feat(rbac): add Deployer & Node Admin roles with scoped permissions (Team Pro) (#253)
* feat(rbac): add Deployer & Node Admin roles with scoped permissions (Team Pro)

Add intermediate RBAC roles gated to Team Pro tier:
- Deployer: can deploy/restart/stop/start stacks but cannot edit compose files, delete stacks, or access system settings
- Node Admin: full stack and node management within scope, no system settings access
- Scoped permissions: assign roles per-stack or per-node for fine-grained access control
- Permission engine with checkPermission/requirePermission guards replacing requireAdmin on stack/node routes
- Frontend can() function with /api/permissions/me endpoint for client-side permission checks
- User management UI updated with 4-role selector and scoped permission editor
- Documentation updated with permission matrix, scoped permission docs, and screenshots

* fix(rbac): remove unused RoleAssignment import to fix lint error
2026-03-29 17:02:56 -04:00
Anso 37701d5281 docs: refresh screenshots (#245) 2026-03-29 18:50:54 +00:00
Anso 244c83a0c3 feat(registries): add private registry credential management (Team Pro) (#240)
Add centralized credential storage for private Docker registries with
support for Docker Hub, GHCR, AWS ECR, and self-hosted registries.

- New `registries` table with AES-256-GCM encrypted secrets
- RegistryService with CRUD, test connectivity, Docker config generation
- 5 API endpoints gated by requireTeamPro + requireAdmin
- ComposeService injects credentials via temp DOCKER_CONFIG on deploy/pull
- ImageUpdateService passes stored credentials for private registry checks
- AWS ECR just-in-time token refresh via @aws-sdk/client-ecr
- RegistriesSection UI in Settings Hub with type-aware form
- Documentation with screenshots
2026-03-29 12:56:30 -04:00
Anso 362b4a43d0 docs: refresh screenshots (#239) 2026-03-29 07:17:18 +00:00
Anso b7e7ee8f55 feat(ui): redesign top bar with three-zone navigation layout (#237)
Replace flat row of 10 individual buttons with a structured three-zone
layout: node context pill (left), animated navigation group (center),
and utility actions (right). Uses the Highlight component from
animate-ui for a spring-animated sliding indicator between nav items.

Responsive: icon+text labels at xl, icons-only at md, sheet drawer
for mobile. Navigation is data-driven via a permission-aware array
that conditionally includes admin and Team Pro items.
2026-03-29 03:04:31 -04:00
Anso 40c09cce23 docs: refresh screenshots (#236) 2026-03-29 05:33:10 +00:00
Anso 330eec4bff fix(scheduled-ops): audit log text, run attribution, prune targets, and pagination (#234)
- Fix "Run Now" audit log showing "Created scheduled task" instead of "Triggered scheduled task" by adding wildcard-based route matching with specificity sorting
- Add triggered_by column to track whether runs were started by the scheduler or manually via Run Now
- Add configurable prune targets (containers, images, networks, volumes) with checkbox UI
- Add pagination to execution history with offset-based navigation
- Document Run Now behavior on disabled tasks and add screenshots
2026-03-29 01:01:45 -04:00
Anso e756620e29 docs: refresh screenshots (#233) 2026-03-29 04:05:40 +00:00
Anso 89c4a9cb77 docs: refresh screenshots (#230) 2026-03-29 02:19:35 +00:00
Anso 26c74f2aad docs: refresh screenshots (#227) 2026-03-28 21:29:56 +00:00
Anso 133ea0e9ab docs: refresh screenshots (#226) 2026-03-28 21:19:49 +00:00
Anso 88cd1fe571 docs: refresh screenshots (#223) 2026-03-28 19:49:42 +00:00
Anso 618647ffc2 docs: refresh screenshots (#222) 2026-03-28 19:42:51 +00:00
Anso 8d8118c963 feat(api-tokens): add scoped API tokens for CI/CD automation (Team Pro) (#220)
Add long-lived API tokens with three permission scopes (read-only,
deploy-only, full-admin) for CI/CD pipelines, scripts, and automation.

- Database: api_tokens table with SHA-256 hashed storage
- Auth: extend middleware to authenticate Bearer API tokens
- Scope enforcement: middleware restricts actions per token scope
- API: CRUD endpoints gated behind Team Pro + admin
- UI: ApiTokensSection in Settings Hub with create/revoke/copy flows
- Docs: new api-tokens.mdx with usage examples and screenshots
2026-03-28 15:37:54 -04:00
Anso e2da1bf43d docs: refresh screenshots (#219) 2026-03-28 08:42:47 +00:00
Anso 7294d9c6ba docs: refresh screenshots (#218) 2026-03-28 08:27:58 +00:00
Anso f53d00180f docs: refresh screenshots (#215) 2026-03-28 08:01:42 +00:00
Anso a9865f705b docs: refresh screenshots (#212) 2026-03-28 07:40:55 +00:00
Anso 5fecc5f2e7 docs: refresh screenshots (#211) 2026-03-28 07:34:44 +00:00
Anso bd4008f509 feat: SSO & LDAP authentication for Team Pro (#209)
* feat: SSO & LDAP authentication for Team Pro

Add SSO integration allowing Team Pro users to authenticate via LDAP/Active Directory, Google, GitHub, and Okta identity providers. SSO works alongside password authentication with auto-provisioning and role mapping.

- LDAP bind+search authentication with group-based role mapping
- OIDC/OAuth2 flows with PKCE and CSRF protection for Google, GitHub, Okta
- Auto-provisioning: first SSO login creates a Sencho account automatically
- Role mapping via LDAP group membership or OIDC JWT claims
- SSO settings UI in Settings → SSO with per-provider config and test connection
- SSO login buttons on login page with LDAP toggle
- Environment variable seeding for infrastructure-as-code workflows
- Secrets encrypted at rest via CryptoService (AES-256-GCM)
- Seat limit enforcement during auto-provisioning
- Full documentation: feature docs, quickstart guides, env var reference

* fix: resolve ESLint errors in SSO feature

- Remove unnecessary escape characters in regex character classes
- Remove unused `issuer` variable from OIDC callback handler
- Fix setState-in-effect lint error in Login.tsx by using useState initializer
- Suppress set-state-in-effect for SSOSection fetch pattern (matches existing codebase convention)
2026-03-28 03:30:01 -04:00
Anso b429097fa2 docs: refresh screenshots (#208) 2026-03-28 05:13:39 +00:00
Anso 45721f3594 docs: refresh screenshots (#207) 2026-03-28 05:06:04 +00:00
Anso 8bcd605ccb docs: refresh screenshots (#204) 2026-03-28 04:04:30 +00:00
Anso d5120729fe docs: refresh screenshots (#203) 2026-03-28 03:54:04 +00:00
Anso d3828e885d feat(settings): replace static license CTA with dynamic upgrade cards (#201)
Community users now see Personal Pro and Team Pro cards with feature
highlights and direct Lemon Squeezy checkout links. Personal Pro users
see only the Team Pro upgrade option. Trial and Team Pro users see no
upgrade cards since they already have full access.
2026-03-27 23:49:11 -04:00
Anso 0cc198f86d docs: refresh screenshots (#200) 2026-03-27 22:49:25 +00:00
Anso 07f221423b docs: refresh screenshots (#198) 2026-03-27 22:13:05 +00:00
Anso ffabfd1c39 docs: audit and refresh documentation with updated screenshots (#197)
Update 11 doc pages with accurate content and capture 14 fresh
screenshots. Remove JWT_SECRET from configuration (auto-generated),
fix editor container actions, add missing Settings sections, update
Features Overview, and add remote alerts documentation.
2026-03-27 18:08:31 -04:00
Anso 064b9be861 docs: refresh screenshots (#196) 2026-03-27 21:15:44 +00:00
Anso 7eee15d925 docs: refresh screenshots (#192) 2026-03-27 05:21:18 +00:00
Anso 2c1fa69ee8 docs: refresh screenshots (#190) 2026-03-27 02:26:26 +00:00
Anso 1243158e8a docs: refresh screenshots (#188) 2026-03-27 02:08:31 +00:00
Anso 2f2ba19a7a docs: refresh screenshots (#187) 2026-03-27 02:03:01 +00:00
Anso 269ea6fe53 docs: refresh screenshots (#184) 2026-03-26 17:19:35 +00:00
Anso 8ad9981dc2 docs: refresh screenshots (#183) 2026-03-26 16:56:06 +00:00
Anso 72670ffb42 docs: refresh screenshots (#180) 2026-03-26 13:37:16 +00:00
Anso dab7403d99 docs: refresh screenshots (#178) 2026-03-26 13:30:13 +00:00
Anso a1450eefb8 docs: refresh screenshots (#176) 2026-03-26 03:14:32 +00:00
Anso 6e2a6cf0c0 docs: refresh screenshots (#173) 2026-03-26 02:18:31 +00:00
Anso c625814e13 docs: refresh screenshots (#172) 2026-03-26 01:57:16 +00:00
Anso ee6c98bf74 docs: refresh screenshots (#171) 2026-03-25 23:52:38 +00:00
Anso f80190d926 feat(auth): redesign Login and Setup pages with split-panel branding layout (#168)
* feat(auth): redesign Login and Setup pages with split-panel branding layout

Replace plain Card-based Login and Setup forms with a professional
split-panel layout: always-dark branding panel (dot grid texture, logo,
tagline, cyan accent line) on the left, theme-aware form on the right.
Mobile collapses to single column with compact logo header.

- Add optional admin email field on Setup for license recovery
- Backend accepts and stores admin_email in setup endpoint
- Fix data-stacks-loaded attribute forwarding (wrap in div, use string values)

* docs: add license-settings and profile-dropdown screenshots

* fix(docs): correct logo paths from .svg to .png

* fix(deps): resolve picomatch high-severity vulnerability
2026-03-25 19:47:48 -04:00
Anso beabcb49b5 docs: refresh screenshots (#156) 2026-03-25 15:01:46 +00:00
Anso 44fd374dc2 docs: refresh screenshots (#155) 2026-03-25 14:32:16 +00:00
Anso a5d66f6c43 docs: refresh screenshots (#152) 2026-03-25 13:15:34 +00:00
Anso 4b1812af1d docs: refresh screenshots (#151) 2026-03-25 13:08:23 +00:00
Anso a5bc161c68 docs: refresh screenshots (#148) 2026-03-25 12:44:49 +00:00