Commit Graph
260 Commits
Author SHA1 Message Date
Juan Denis abb72e53d3 Redesign ApplicationDetail page with new layout and Docker support
Refactors the ApplicationDetail page to use a modern two-column layout, adds custom icons for app types, and introduces a new live resource panel for Docker apps showing CPU and RAM usage. Adds a Routing Diagnostics panel for Docker apps, improves tab navigation, and updates styles for a more consistent UI. Also updates related LESS files for the new layout and visual enhancements.
2026-01-19 17:38:42 -05:00
github-actions[bot] ab1ce2c9b8 chore: bump version to 1.2.33 [skip ci] 2026-01-19 22:16:32 +00:00
Juan Denis 679ccf9f62 Enhance app cleanup and listing with Docker resource management
Expanded the cleanup and factory reset commands to remove orphaned Docker containers, networks, and volumes while preserving ServerKit infrastructure. Improved the list-apps command to optionally display all Docker containers with a new --all flag, and updated documentation and CLI help to reflect these changes.
2026-01-19 17:16:25 -05:00
github-actions[bot] cb0ec1bcb7 chore: bump version to 1.2.32 [skip ci] 2026-01-19 22:09:03 +00:00
Juan Denis 5280e5245e Update CLI command documentation in README
Added new commands to the ServerKit CLI documentation, including logs, update, list-users, init-db, migrate-db, list-apps, cleanup-apps, and factory-reset. Improved descriptions and reorganized sections for clarity.
2026-01-19 17:08:55 -05:00
Juan Denis 81179411d6 Add app cleanup and database migration commands
Introduces new commands to manage applications and perform database migrations: `cleanup-apps`, `factory-reset`, and `migrate-db`. Updates documentation and help output to reflect these additions, and refactors `list-apps` to use the CLI for consistency.
2026-01-19 17:07:52 -05:00
github-actions[bot] 1cc87a43e2 chore: bump version to 1.2.31 [skip ci] 2026-01-19 21:57:05 +00:00
Juan Denis f05d056678 Improve port variable handling and add app cleanup CLI
Port variables in templates are now hidden and always auto-generated, never using user-supplied values. The TemplateService's port assignment checks both database and Docker for used ports, and removes obsolete Docker Compose version fields. Adds new CLI commands for cleaning up all applications, performing a factory reset, and listing applications. Minor update to AuthContext to mark setup as complete after registration.
2026-01-19 16:56:57 -05:00
github-actions[bot] ad25cbd109 chore: bump version to 1.2.30 [skip ci] 2026-01-19 21:30:22 +00:00
Juan Denis 236d040458 Add migrate_db CLI command for database migrations
Introduces a new 'migrate_db' command to the CLI that checks for and adds missing columns to the 'applications' table. This helps keep the database schema up to date without requiring manual intervention or full migrations.
2026-01-19 16:30:14 -05:00
github-actions[bot] 7495d3fc61 chore: bump version to 1.2.29 [skip ci] 2026-01-19 21:22:45 +00:00
Juan Denis 22e3b1dca5 Refine metrics graph visuals and dashboard header
Removed glow effects and active dot highlights from the metrics graph for a cleaner look. Updated dashboard header to display the actual hostname instead of a static label and removed the host detail line. Adjusted styles to remove unused badge and apply monospace font to the server identity.
2026-01-19 16:22:36 -05:00
github-actions[bot] 4e1d0371cf chore: bump version to 1.2.28 [skip ci] 2026-01-19 21:13:42 +00:00
Juan Denis 7bf25f67c8 Redesign dashboard layout and metrics graph
Revamps the dashboard page with a new pro layout, including updated metric tiles, a new chart panel, and a spec panel for hardware info and quick actions. The MetricsGraph component now uses CPU, Memory, and Network (replacing Disk) with updated colors and filter legend. Sidebar user profile is restyled, and related LESS styles are updated for the new design.
2026-01-19 16:13:34 -05:00
github-actions[bot] 5838e1cee0 chore: bump version to 1.2.27 [skip ci] 2026-01-19 20:30:45 +00:00
Juan Denis 64141a9413 Add execution plan for Log Viewer UI phase
Updated STATE.md to mark the Log Viewer UI phase as 'Planning Complete' and added a detailed execution plan in phases/23-log-viewer-ui/PLAN.md. The plan outlines architecture, tasks, component structure, and success criteria for implementing a real-time container log viewer with ANSI color support and streaming controls.
2026-01-19 15:28:39 -05:00
Juan DenisandClaude Opus 4.5 4a5c474e4b fix(workflow): Start containers and pass DB credentials on deploy
- Add compose_up() call to start containers after creating docker files
- Update app status to 'running' on successful container start
- Pass database password (DB_PASSWORD) to app environment variables
- Store credentials in created_resources for proper propagation
- Return warning if containers fail to start (app still created)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:27:02 -05:00
Juan DenisandClaude Opus 4.5 33fd67579f docs(22): Complete Container Logs API phase
- Phase 22 completed with 3 commits
- Added REST endpoint GET /apps/{id}/container-logs
- Added WebSocket streaming via subscribe_container_logs
- SUMMARY.md documents API reference and implementation
- STATE.md updated to Phase 23
- ROADMAP.md Phase 22 marked completed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:47:12 -05:00
Juan DenisandClaude Opus 4.5 f55e399021 feat(22-3): Add WebSocket container log streaming
- Add subscribe_container_logs event for real-time log streaming
- Add unsubscribe_container_logs event to stop streaming
- Stream logs via docker logs --follow subprocess
- Parse log lines with timestamp and level detection
- Emit container_log events to room logs_{app_id}
- Handle container_log_ended when container stops
- Clean up processes on disconnect or unsubscribe
- Support service selection for compose apps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:45:50 -05:00
Juan DenisandClaude Opus 4.5 744c626edb feat(22-2): Add container-logs REST API endpoint
- Add GET /apps/{id}/container-logs with tail, since, timestamps, format params
- Add GET /apps/{id}/containers to list containers for compose apps
- Support 'raw' and 'json' output formats
- Include container state and available services in response
- Cap log lines at 10000 for performance
- Handle service selection for multi-container compose apps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:44:51 -05:00
Juan DenisandClaude Opus 4.5 f3010d9983 feat(22-1): Add streaming logs and container resolution to DockerService
- Add stream_container_logs() for real-time log streaming via subprocess
- Add get_app_container_id() to resolve container ID from app model
- Add get_all_app_containers() for compose apps with multiple containers
- Add parse_log_line() to extract timestamp and detect log level
- Add parse_logs_to_lines() for batch parsing
- Add get_container_state() to check if container is running

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:44:05 -05:00
Juan DenisandClaude Opus 4.5 c25ea38517 feat: Create Milestone 4 - Container Logs & Monitoring (v1.3)
- 7 phases: Container Logs API, Log Viewer UI, Log Search/Filtering,
  Per-App Resource Collection, App Resource Graphs, Alert Rules Engine,
  Alert Notifications
- Created phase directories (22-28)
- Updated ROADMAP.md with full milestone plan
- Reset STATE.md for new milestone

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:35:43 -05:00
github-actions[bot] 78b1134d06 chore: bump version to 1.2.26 [skip ci] 2026-01-19 19:06:52 +00:00
Juan Denis 46b6d5e7ad Add server time and timezone management features
Introduces backend API endpoints and service methods for retrieving and setting server time and timezone (admin only). Updates the dashboard to display current server time and timezone, and adds a timezone selector to the settings page for admins. Includes supporting API methods and frontend styles for the new UI components.
2026-01-19 14:06:44 -05:00
github-actions[bot] acdc1b272d chore: bump version to 1.2.25 [skip ci] 2026-01-19 18:51:56 +00:00
Juan Denis 99f1cc13eb Enhance metrics display with live badge and formatting
Added a 'Live' badge to each system metric card (CPU, Memory, Disk, Network) for clarity. Updated percentage values to display with one decimal place and corrected CPU core count to use 'count_logical'.
2026-01-19 13:51:48 -05:00
github-actions[bot] 834c4136ba chore: bump version to 1.2.24 [skip ci] 2026-01-19 18:43:53 +00:00
Juan Denis 85831b9b54 Add metric filter toggles and improve validation UX
Introduces clickable filter buttons to toggle CPU, memory, and disk metrics in MetricsGraph, replacing the static legend. Refines app name validation in both backend and frontend for template installation, allowing 2+ character names and improving error handling. WorkflowBuilder now handles missing workflow data gracefully and supports a fullscreen layout. Updates related styles for new filter legend and fullscreen workflow view.
2026-01-19 13:43:46 -05:00
github-actions[bot] 0ef2e97562 chore: bump version to 1.2.23 [skip ci] 2026-01-19 18:30:59 +00:00
Juan Denis 44f3abe8d2 Enhance metrics graph visuals and tooltip UI
Switches from LineChart to AreaChart for main metrics graph, adds animated gradients and glow effects, and updates legend styling. Tooltip UI is improved with clearer layout, colored dots, and value formatting. Chart colors now use explicit hex values for better SVG compatibility, and LESS styles are updated for improved appearance and interactivity.
2026-01-19 13:30:50 -05:00
github-actions[bot] 9bb434c6af chore: bump version to 1.2.22 [skip ci] 2026-01-19 18:22:33 +00:00
Juan Denis d5cd57921c Update asset references in index.html
Changed script and stylesheet references in index.html to point to new asset files, likely after a new build.
2026-01-19 13:22:26 -05:00
Juan Denis ed390603cc fix: Replace undefined @shadow-xl with @shadow-lg 2026-01-19 13:21:42 -05:00
github-actions[bot] 650ade1aed chore: bump version to 1.2.21 [skip ci] 2026-01-19 17:42:55 +00:00
Juan Denis 384d23a999 Merge branch 'main' of https://github.com/jhd3197/ServerKit 2026-01-19 12:42:44 -05:00
Juan Denis c156c04fcc docs(21): Complete workflow deployment phase 2026-01-19 12:42:19 -05:00
Juan Denis 643b5d1b14 feat(21-7): Add deployment styles 2026-01-19 12:40:56 -05:00
Juan Denis 6f377957e2 feat(21-5): Create DeploymentProgressModal component 2026-01-19 12:40:02 -05:00
Juan Denis c5fb178a77 feat(21-4): Add deploy button and progress UI 2026-01-19 12:39:33 -05:00
Juan Denis 19643830a9 feat(21-3): Add frontend deploy API method 2026-01-19 12:38:37 -05:00
Juan Denis 83ba62bb08 feat(21-2): Add workflow deploy API endpoint 2026-01-19 12:38:12 -05:00
Juan Denis bead238379 feat(21-1): Create workflow deployment service 2026-01-19 12:37:48 -05:00
Juan Denis 20531a35c1 plan(21): Create deployment from workflow plan 2026-01-19 12:35:44 -05:00
Juan Denis 5b50bf7822 docs: Update STATE.md - Phase 20 completed 2026-01-19 12:29:47 -05:00
Juan Denis 617ec1cb6a feat(20-7): Add import existing infrastructure feature 2026-01-19 12:29:28 -05:00
Juan Denis 1d7acf267c feat(20-6): Create WorkflowListModal component 2026-01-19 12:28:44 -05:00
Juan Denis 988aedebcf feat(20-5): Add save/load UI to WorkflowBuilder 2026-01-19 12:27:36 -05:00
Juan Denis 4e2e7ec031 feat(20-4): Add frontend workflow API methods 2026-01-19 12:26:43 -05:00
Juan Denis 9c4c5dd886 feat(20-3): Register workflow blueprint 2026-01-19 12:26:26 -05:00
Juan DenisandClaude Opus 4.5 5f48bb1a37 feat(20-2): Create workflow API endpoints
- GET /workflows - List all workflows for user
- GET /workflows/<id> - Get single workflow
- POST /workflows - Create new workflow
- PUT /workflows/<id> - Update workflow
- DELETE /workflows/<id> - Delete workflow
- JWT authentication and access control

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 12:25:21 -05:00