Skip to content

ShieldPress Local v2.2.1

Choose a tag to compare

@vithanhlam vithanhlam released this 18 Jul 02:51
· 18 commits to main since this release
2cd7fd2

v2.2.1

GitHub Integration — First-Time Setup (New)

  • GitHub credentials configuration in Settings: username, email, Personal Access Token
  • One-click link to create a GitHub PAT with correct scopes
  • Token encrypted with AES-256-GCM, stored securely
  • Auto-configures git config --global and git credential.helper store
  • Token verification via GitHub API on save
  • First-time prompt: clicking Git Push without credentials redirects to Settings

Git Push — Full Sync Commands (New)

  • Pull from remote (git pull)
  • Quick command buttons: status, log, diff, branches, remotes, stash, fetch
  • Custom git command execution
  • Clone repository into project

Config Editor — Search & Line Numbers (New)

  • Search bar with Next/Previous match navigation
  • Line numbers shown alongside the editor
  • Cursor position display (Line X, Col Y)

PHP Path — System PATH Integration

  • PHP path setting now adds PHP to Windows PATH environment variable
  • Run php commands from any terminal without path issues

System Monitor (New)

  • Real-time CPU, RAM, Disk usage displayed in titlebar
  • Color-coded health indicators
  • Disk stats cached every 30s to minimize overhead

Cache Management (New Page)

  • PHP OPcache: view status (memory, hit rate, cached scripts), reset, enable/disable
  • WordPress Cache: flush WP cache, delete transients, flush rewrite rules per project
  • Project Cache Cleanup: clean cache dirs, delete node_modules, delete vendor
  • Nginx & PHP: restart services, clear nginx logs

Backup Full — Smart Excludes

  • Auto-excludes heavy directories per project type:
    • WordPress: node_modules, .git, wp-content/cache, wp-content/upgrade
    • Laravel: node_modules, vendor, .git, storage cache dirs
    • Node.js/Next.js: node_modules, .git, .next, dist, build

Performance Optimizations

  • Log buffer capped at 500 lines
  • Disk stats cached with 30s TTL
  • System monitor polls every 10s