Releases: ChesnoTech/KeyGate
Releases · ChesnoTech/KeyGate
v2.1.0
What's Changed
- Release v2.1.0: System Upgrade wizard, GitHub update checker, network diagnostics
- Add Microsoft licensing server HTTPS test + pathping DNS fallback
- Fix integration test: accept rollback warnings in CI
- Fix upgrade_apply: use global db_config for migration PDO connection
- Fix upgrade_apply: use separate PDO connection for SQL migrations
- Fix upgrade_apply: split multi-statement SQL to avoid pending results
- Fix upgrade_apply: remove transaction wrapper for SQL migrations
- Fix upgrade_apply: close all PDO cursors to prevent pending result set errors
- Fix upgrade_apply: close cursor after SELECT FOR UPDATE
- Debug integration test: grep PHP errors from all log destinations
- Debug integration test: show PHP error log on upgrade_apply failure
- Fix integration test: chown app directory for www-data write access
- Skip CSRF validation when X-Admin-Token header is present
- Fix integration test: use curl -s instead of -sf for error visibility
- Fix integration test: relax GitHub check endpoint assertion
- Fix integration test: set custom_role_id for admin user
- Fix integration test: run ALL migration SQL files directly
- Fix integration test: use ACL user overrides for permissions
- Fix integration test: create ACL tables and grant system_settings
- Fix integration test: add missing i18n columns for admin_users
- Debug integration test: run exact JOIN query + show exception details
- Debug integration test: inline PHP validation + token comparison
- Debug integration test: error_log session state + dump Apache log
- Fix integration test: always override session token from X-Admin-Token
- Debug integration test: verify container has latest admin_v2.php
- Fix integration test: inject X-Admin-Token right after session_start()
- Debug integration test: add error_log to validateAdminSession
- Debug integration test: verify X-Admin-Token support exists in container
- Fix integration test: trim whitespace from DB token
- Fix integration test: add X-Admin-Token header support to validateAdminSession
- Fix integration test: scope auto_prepend to admin_v2.php requests only
- Fix integration test: use php.ini auto_prepend_file instead of .htaccess
- Debug: capture HTTP response body on upgrade_get_status failure
- Fix integration test: use X-Session-Token header instead of cookies
- Fix integration test: use auto_prepend_file to inject session from DB
- Debug integration test: test with explicit Cookie header
- Debug integration test: validate session directly via PHP CLI
- Fix integration test: use -b -c on ALL curl calls + disable strict mode
- Debug integration test: dump session file contents
- Fix integration test: create proper PHP session directory with permissions
- Debug integration test: show CI proxy file and test via PHP CLI
- Debug integration test: check admin_sessions DB table
- Fix integration test: write CI proxy PHP to local file then docker cp
- Fix integration test: use CI API proxy to bypass session persistence
- Fix integration test: append session.save_path as Dockerfile RUN line
- Fix integration test: set session.save_path in Docker PHP config
- Debug integration test: check session state, PHP session files
- Debug integration test: show cookie jar contents
- Fix integration test: patch Dockerfile to disable secure cookies at build
- Fix integration test: copy PHP ini before any requests
Upgrade Package
| Property | Value |
|---|---|
| Package | upgrade-v2.1.0.zip |
| Size | .92 MB |
| SHA256 | 98a6aa8fdd712699ca71cffdf1e53900b1a6332501cd13a4a03304fa206e9aaa |
| Files Changed | 122 |
| Migrations | 11 |
| Min Version | 0.0.0 |
How to Upgrade
Automatic (recommended): Open Admin Panel → System Upgrade → the update will appear automatically.
Manual: Download upgrade-v2.1.0.zip below, then upload it in Admin Panel → System Upgrade → Manual Upload.
v3.0.0 — Major Architecture Upgrade
What's New in v3.0
React Admin Panel
- Complete rewrite from vanilla JS to React 19 + TypeScript + Vite
- shadcn/ui component library with dark mode support
- TanStack Table & Query for data management
- Full i18n support (English + Russian)
- RBAC-protected routes with role-based permissions
Activation Client v3
- USB-based technician authentication (passwordless)
- Hardware QC data collection (CPU, RAM, GPU, disks, motherboard)
- HackBGRT detection with compliance gating
- Adaptive network timing — measures Microsoft activation server latency and scales all delays accordingly
- Alternative server failover support
Backend Improvements
- Consolidated authentication (session helpers, bcrypt, account lockout)
- QC compliance engine with motherboard registry
- Integration framework (osTicket, 1C ERP)
- White-label branding support
- Health check endpoint (
/api/health.php) - Redis-backed rate limiting (moved from file-based)
- Structured logging and error handling
DevOps
- GitHub Actions CI — PHP lint, frontend build/test, full Docker stack health check
- Schema versioning with ordered migration runner
.env.exampletemplate for all configuration
Breaking Changes
main_v2.PS1removed — usemain_v3.PS1OEM_Activator_v2.cmdrenamed toOEM_Activator.cmd- Admin panel now served by React frontend (port 5173 in dev)
- Database requires new migration tables (QC compliance, integrations, schema versions)