Commit Graph
55 Commits
Author SHA1 Message Date
Juan DenisandClaude Opus 4.5 99bc8596a1 Add environment settings to Settings tab
Add environment configuration section in SettingsTab component with:
- Current environment type display and dropdown for standalone apps
- Disabled state with badge for linked apps (environment locked)
- Warning section for linked apps with unlink button
- Settings row styling for consistent layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:50:44 -05:00
Juan Denis 9dbcfeab5d feat(13): Integrate LinkedAppsSection and LinkAppModal into ApplicationDetail 2026-01-19 10:48:06 -05:00
Juan Denis d61628e85e feat(13): Create LinkAppModal component for linking apps 2026-01-19 10:46:41 -05:00
Juan Denis 92df579228 feat(13): Create LinkedAppsSection component for showing linked apps 2026-01-19 10:45:28 -05:00
Juan Denis 60ba8967b8 feat(13): Add environment filter dropdown to apps toolbar 2026-01-19 10:43:57 -05:00
Juan Denis f2fc1c4ab6 feat(13): Add environment badges to app list (PROD/DEV/STAGING) 2026-01-19 10:42:53 -05:00
Juan Denis 46f6f3a869 feat(12): Add frontend API methods for app linking 2026-01-19 10:31:51 -05:00
Juan Denis 8d19e3f241 feat(11): Add testDatabaseConnection API method for external DB validation 2026-01-19 10:23:18 -05:00
Juan Denis bb7b8d6e03 Add FileManager disk usage UI planning document
Introduces a detailed plan for Phase 9 improvements to the FileManager disk usage UI, including backend directory analysis, multi-mount support, directory and file type breakdowns, largest files listing, sidebar layout, icon updates, and responsive adjustments. Also updates frontend build output files.
2026-01-19 10:15:02 -05:00
Juan DenisandClaude Opus 4.5 a20d4ab362 feat(14): Add Star on GitHub prompt for new users
- Add dismissible "Star on GitHub" card in About section
- Shows for new users, remembers dismissal in localStorage
- Accent-colored design with star icon
- Links to github.com/jhd3197/ServerKit
- Mobile responsive layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:12:28 -05:00
Juan DenisandClaude Opus 4.5 2d32aad916 feat(14): Add GitHub link to sidebar
- Add GitHub icon link between nav and user profile
- Lucide Github icon with hover effect
- Links to github.com/jhd3197/ServerKit
- Matches sidebar aesthetic with accent color on hover

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:11:05 -05:00
Juan DenisandClaude Opus 4.5 4f5da492cc feat(14): Add version update check via GitHub releases API
Backend:
- Add /system/check-update endpoint
- Fetch latest release from GitHub API
- Compare versions and return update_available flag
- Cache results for 1 hour to respect rate limits

Frontend:
- Add checkUpdate() API method
- Add "Check for Updates" button in About section
- Show update available notification with release link
- Show "You're up to date" when current

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:09:59 -05:00
Juan DenisandClaude Opus 4.5 78bfb6a2fc feat(14): Update About section with correct GitHub links
- Fix GitHub URL to github.com/jhd3197/ServerKit
- Add Documentation link to README
- Add Support & Issues link
- Add Discussions link
- Add Report a Bug link
- Replace inline SVGs with Lucide icons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:07:56 -05:00
Juan DenisandClaude Opus 4.5 135f0536be feat(9): Add FileManager disk usage visualization and analysis
Frontend:
- Multi-mount disk usage widget in collapsible sidebar
- Directory analysis panel with horizontal bar charts
- File type breakdown with Recharts PieChart
- Largest files list with click-to-select
- Lucide icons replacing all emoji file icons
- Responsive layout with mobile sidebar slide-in
- localStorage persistence for sidebar/disk states
- API methods: getAllDiskMounts, analyzeDirectory, getFileTypeBreakdown

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:46:53 -05:00
Juan DenisandClaude Opus 4.5 9cdaf73295 feat(8): Polish applications UI with icons, sorting, grid view, and bulk actions
- Replace inline SVGs with Lucide React icons throughout
- Add sorting options: name (A-Z/Z-A), status, type, created date
- Add grid/list view toggle with localStorage persistence
- Add bulk selection with checkboxes and bulk action bar
- Add ConfirmModal component for destructive actions
- Improve status badges with animated pulse for running apps
- Add search filter for applications by name/type
- Enhance app cards with port, domain count, container info
- Add URL param persistence for search and sort filters
- Mobile responsive styles with collapsible toolbar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 03:18:55 -05:00
Juan Denis c89cee04a8 Update asset references in index.html
Updated script and stylesheet references in index.html to point to the latest built asset files.
2026-01-19 03:08:16 -05:00
Juan DenisandClaude Opus 4.5 3537aca2d5 fix: Add missing @bg-secondary and @bg-tertiary variables
Variables were used in private-url styles but not defined.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 03:07:44 -05:00
Juan DenisandClaude Opus 4.5 97b6d4b49d fix: Add missing @bg-elevated variable
The variable was used in metrics-graph and templates styles
but not defined in the variables file, causing build failure.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 03:05:54 -05:00
Juan DenisandClaude Opus 4.5 342b660f32 feat(7): Polish templates page with icons, filters, and sorting
- Add Lucide icon mappings for all 60+ templates as fallbacks
- Track failed icon loads and gracefully switch to fallbacks
- Persist filters (category, search, sort) in URL params
- Add active filter chips with remove buttons and "Clear All"
- Add featured badge for curated templates (10 featured)
- Enhanced template cards with version styling, link indicators
- Improved modal with requirements section, section icons
- Add search icon to search input with clear button
- Add results count and sort dropdown (A-Z, Z-A, Featured)
- Responsive styles for mobile

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 03:03:07 -05:00
Juan DenisandClaude Opus 4.5 acbf79abf6 Add styles for MetricsGraph component
- Create _metrics-graph.less with chart card styling
- Support for loading, error, and empty states
- Tooltip styling matching design system
- Summary row for averages display
- Legend and responsive breakpoints

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 02:54:57 -05:00
Juan DenisandClaude Opus 4.5 900ac73b7a Integrate MetricsGraph into Dashboard
Add historical metrics graph component below the real-time metrics
cards on the dashboard for trend visualization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 02:54:00 -05:00
Juan DenisandClaude Opus 4.5 131757fe07 Add MetricsGraph component for historical metrics
- Create MetricsGraph component with LineChart visualization
- Support multiple time periods (1h, 6h, 24h, 7d, 30d)
- Show CPU, Memory, and Disk trends with averages
- Compact and full display modes
- Add API methods for metrics history endpoints

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 02:53:33 -05:00
Juan Denis 2bb90cbcc5 feat(phase5): add private URL indicator to applications list
Shows a link icon and 'Private URL' badge when an app has a
private URL enabled.
2026-01-19 02:40:44 -05:00
Juan Denis 17babbc1d8 feat(phase5): integrate PrivateURLSection into app detail
Add PrivateURLSection component to OverviewTab for Docker apps
with port configuration.
2026-01-19 02:40:17 -05:00
Juan Denis f090f2bfe0 feat(phase5): add PrivateURLSection frontend component
React component for managing private URLs with enable/disable,
custom slug input, regenerate, and copy to clipboard. Includes
API methods and LESS styles.
2026-01-19 02:39:01 -05:00
Juan DenisandClaude Opus 4.5 9a072fb4b9 feat(1-1): add routing diagnostics UI to application detail
- Show port accessibility status in overview
- Add RoutingDiagnosticsCard component for Docker apps
- Run full diagnostics with health checks
- Display Nginx config status, Docker status, issues and recommendations
- Show Nginx config content for debugging
- Add corresponding LESS styles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 01:08:12 -05:00
Juan Denis 122f099167 Fix log display for array and string formats
Updated log fetching logic in LogsTab to handle both array and string formats for Docker and regular app logs, ensuring logs are displayed correctly regardless of backend response structure.
2026-01-19 00:34:39 -05:00
Juan Denis 696856e42c Fix Docker apps loading in DockerDatabasesTab
Replaces a generic API call with api.getApps() and corrects the property access for apps data, ensuring only Docker apps are filtered and set. This resolves issues with loading and displaying Docker apps in the DockerDatabasesTab component.
2026-01-19 00:31:19 -05:00
Juan Denis 52a6b2aa6b Refactor version fetch to use getVersion API method
Replaces direct API call in AboutSection with the new getVersion method from ApiService for improved code organization and reusability.
2026-01-19 00:26:17 -05:00
Juan Denis 987fb8e807 Add Docker database and logs support to frontend
Introduces UI and API integration for managing and querying databases running inside Docker containers, including a new 'Docker Apps' tab in the Databases page. Enhances the QueryRunner to support Docker databases and updates the ApplicationDetail logs tab to handle Docker app logs with auto-refresh. Adds corresponding API methods for Docker database and log operations.
2026-01-19 00:17:15 -05:00
Juan Denis b619779059 Add dynamic ServerKit version endpoint and UI
Introduces a new /system/version API endpoint in the backend to provide the current ServerKit version, reading from possible VERSION files. Updates the frontend About section to fetch and display the version dynamically instead of hardcoding it.
2026-01-19 00:11:49 -05:00
Juan DenisandClaude Opus 4.5 d5409d74a9 Remove PHP management page from UI
PHP apps should now be deployed via Docker using the php-app template.
This removes the host PHP management UI in favor of containerized deployments.

Removed:
- PHP.jsx page component
- PHP navigation link from sidebar
- PHP route from App.jsx
- PHP styles (_php.less)

The php-app template remains available for deploying PHP apps in Docker.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 23:14:08 -05:00
Juan Denis c95d01b2fb Refactor to run backend on host, frontend in Docker
Removed docker-compose.prod.yml and updated docker-compose.yml to only run the frontend in Docker, with the backend now running as a systemd service on the host. Updated nginx and frontend nginx.conf to proxy API requests to the backend on the host. Added serverkit-backend.service for systemd management of the backend. Refactored install.sh and serverkit CLI to support the new architecture, including improved installation, update, and management commands.
2026-01-18 21:15:31 -05:00
Juan Denis bd788cbbf6 Redesign dashboard layout and improve database tab UX
Refactored the dashboard page to a two-column layout with a new server status bar, compact metrics grid, and improved cards for services, databases, and applications. Updated styles for a cleaner, more modern look. Enhanced the Databases page to show an empty state when MySQL or PostgreSQL is not installed, instead of disabling tabs.
2026-01-18 12:41:26 -05:00
Juan Denis 893df4753b Add admin panel with user, settings, and audit log management
Introduces backend endpoints and models for admin features including user management, system settings, and audit logging. Adds RBAC middleware, audit log and system settings models, and services for audit and settings. Updates authentication to support setup flow and registration control. On the frontend, adds settings tabs for users and audit logs, a setup page, and updates routing and context to support setup and registration state. Styles and API service are updated to support new features.
2026-01-18 05:01:49 -05:00
Juan Denis 499b7d919a Comment out HTTPS server block in nginx.conf
The HTTPS server configuration is now disabled by default for development. Instructions are added to enable it by mounting SSL certificates and uncommenting the block.
2026-01-18 04:23:28 -05:00
Juan Denis 2fa790ac85 Refactor to consistently use app.root_path and update deployment model
Replaced all uses of app.path with app.root_path in backend API and service layers for consistency and correctness. Renamed the 'metadata' field to 'extra_data' in the Deployment model to avoid SQLAlchemy reserved word conflicts and updated related methods. Also updated frontend to import Toast context from the correct location and added new border and font size variables in styles.
2026-01-18 04:20:30 -05:00
Juan Denis 6d0b84bc91 Add template management API and frontend integration
Introduces backend API endpoints and service logic for managing application templates, including listing, installing, updating, and repository management. Adds several example template YAML files and an index for templates. Updates frontend to support template browsing and installation, including new page, sidebar link, API integration, and styles. Removes the obsolete ROADMAP.md.
2026-01-18 03:42:41 -05:00
Juan Denis f696faedcc Add build and deployment API with models and services
Introduces REST API endpoints for build and deployment management, including build configuration, triggering, logs, deployment history, rollback, and diff functionality. Adds new models for Deployment and DeploymentDiff, and implements BuildService and DeploymentService for orchestrating build and deploy workflows. Updates application initialization to register the new API blueprint and adjusts model exports accordingly. Frontend and style changes are not included in this summary.
2026-01-18 03:31:05 -05:00
Juan Denis c358a85217 Add branch selection and webhook logs to deploy tab
Implements backend and frontend support for listing remote Git branches (by app or repo URL) and selecting them during deployment configuration. Adds webhook log viewing for debugging, with backend endpoints and UI in the deploy tab. Updates webhook verification to support GitHub, GitLab, and Bitbucket, and introduces new styles for the deploy tab.
2026-01-18 03:19:03 -05:00
Juan Denis f7f8e18852 Add database query runner and notification preferences
Implements backend API endpoints and service logic for executing SQL queries (MySQL, PostgreSQL, SQLite) with readonly enforcement and table structure retrieval. Adds user notification preferences model and API for per-user alert settings. Extends notification service to support email notifications with HTML templates. Introduces a frontend QueryRunner component for interactive SQL execution, table browsing, and result export. Updates related frontend and backend files to support new features.
2026-01-18 03:10:55 -05:00
Juan Denis 83d7997b1a Add Dockerfile, contributing guide, and docs updates
Introduces a production-ready Dockerfile, a comprehensive CONTRIBUTING.md, and new documentation files (API, installation, roadmap). Updates .env.example with improved comments and structure, enhances .gitignore, and refines the README with expanded features, requirements, and setup instructions. Roadmap and planning files are reorganized, and obsolete HTML is removed.
2026-01-18 02:03:51 -05:00
Juan Denis 278f683d9f Add security module with ClamAV and integrity monitoring
Introduces backend security API and service for malware scanning (ClamAV), file integrity monitoring, suspicious activity detection, and security event logging. Adds frontend Security page, navigation, and styles for managing scans, quarantine, integrity checks, and viewing security events. Integrates security routes and UI into the application.
2026-01-18 01:24:27 -05:00
Juan Denis 7833d78fc5 Add notification webhooks support (Discord, Slack, etc.)
Introduces backend and frontend support for notification webhooks, including Discord, Slack, Telegram, and generic webhooks. Adds new API endpoints for managing and testing notification channels, updates monitoring service to send alerts to these channels, and provides a new UI for configuring and testing notification integrations in settings. Also adds required styles and updates dependencies to include the requests library.
2026-01-18 01:13:30 -05:00
Juan Denis 3f5746cfe4 Add two-factor authentication (2FA) support
Implements TOTP-based two-factor authentication for user accounts. Adds backend endpoints and services for 2FA setup, confirmation, disabling, backup code management, and login verification. Updates the User model with 2FA fields and logic. Extends frontend login and settings pages to support 2FA flows, including modals for setup, disabling, and backup code management. Adds new styles for 2FA UI components. Updates requirements to include pyotp and qrcode.
2026-01-18 01:03:56 -05:00
Juan Denis e9455a7167 Add environment variable management feature
Introduces backend and frontend support for encrypted environment variable management, including CRUD API endpoints, history tracking, bulk import/export, and UI components. Updates requirements to include cryptography, and adds related documentation for competitive analysis, feature gaps, and market positioning.
2026-01-18 00:40:41 -05:00
Juan Denis 30fde845b0 Refactor stat card and page styles for consistency
Unified stat card and stat icon styles across components and pages for a more consistent UI. Updated grid layouts, color variables, and spacing in _cards.less, _backups.less, and _monitoring.less. Improved use of LESS variables and responsive design, and removed redundant or hardcoded color values.
2026-01-17 13:55:32 -05:00
Juan Denis fc55530d8f Add server uptime tracking and visualization
Introduces backend API endpoints and service for tracking server uptime, including statistics and history. Adds a new UptimeGraph React component to the frontend dashboard, updates API service methods, and includes new styles for uptime visualization. Removes the old uptime display from the dashboard and integrates the new graph-based component.
2026-01-17 13:37:40 -05:00
Juan Denis 4cbde38363 Add cron job management (backend & frontend UI)
Introduces backend API endpoints and service for managing cron jobs, including listing, creating, deleting, toggling, and running jobs. Adds a new Cron Jobs page to the frontend with UI for managing scheduled tasks, updates the sidebar navigation, and includes related styles. Also updates the API service to support cron job operations.
2026-01-17 13:23:36 -05:00
Juan Denis 9def699bee Add firewall management API and service
Introduces backend API endpoints and service logic for managing firewalld and ufw, including status, rules, IP blocking, and installation. Updates CORS settings, improves Windows compatibility in file and FTP services, and adds required dependencies. Frontend changes include new Firewall and PHP pages, updated sidebar, and related styles.
2026-01-17 13:05:39 -05:00