BREAKING CHANGE: Remove public/spooler_db/ legacy system Changes: - Migrate validation preview from http://glenlis/spooler_db/main_dev.php to CI4 /report/{accessnumber} - Add ReportController::preview() for HTML preview in validation dialog - Add ReportController::generatePdf() to queue PDF generation via node_spooler at http://glenlis:3030 - Add ReportController::checkPdfStatus() to poll spooler job status - Add ReportController::postToSpooler() helper for curl requests to spooler API - Add routes: GET /report/(:num)/preview, GET /report/(:num)/pdf, GET /report/status/(:any) - Delete public/spooler_db/ directory (40+ legacy files) - Compact node_spooler/README.md from 577 to 342 lines Technical Details: - New architecture: CI4 Controller -> node_spooler (port 3030) -> Chrome CDP (port 42020) - API endpoints: POST /api/pdf/generate, GET /api/pdf/status/:jobId, GET /api/queue/stats - Features: Max 5 concurrent jobs, max 100 in queue, auto-cleanup after 60 min - Error handling: Chrome crash detection, manual error review in data/error/ - PDF infrastructure ready, frontend PDF buttons to be updated later in production Migration verified: - No external code references spooler_db - All assets duplicated in public/assets/report/ - Syntax checks passed for ReportController.php and Routes.php Refs: node_spooler/README.md
136 lines
2.0 KiB
Plaintext
136 lines
2.0 KiB
Plaintext
#-------------------------
|
|
# Operating Specific Junk Files
|
|
#-------------------------
|
|
|
|
# OS X
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# OS X Thumbnails
|
|
._*
|
|
|
|
# Windows image file caches
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# Recycle Bin used on file shares
|
|
$RECYCLE.BIN/
|
|
|
|
# Windows Installer files
|
|
*.cab
|
|
*.msi
|
|
*.msm
|
|
*.msp
|
|
|
|
# Windows shortcuts
|
|
*.lnk
|
|
|
|
# Linux
|
|
*~
|
|
|
|
# KDE directory preferences
|
|
.directory
|
|
|
|
# Linux trash folder which might appear on any partition or disk
|
|
.Trash-*
|
|
|
|
#-------------------------
|
|
# Environment Files
|
|
#-------------------------
|
|
# These should never be under version control,
|
|
# as it poses a security risk.
|
|
.env
|
|
.vagrant
|
|
Vagrantfile
|
|
|
|
#-------------------------
|
|
# Temporary Files
|
|
#-------------------------
|
|
writable/cache/*
|
|
!writable/cache/index.html
|
|
|
|
writable/logs/*
|
|
!writable/logs/index.html
|
|
|
|
writable/session/*
|
|
!writable/session/index.html
|
|
|
|
writable/uploads/*
|
|
!writable/uploads/index.html
|
|
|
|
writable/debugbar/*
|
|
!writable/debugbar/index.html
|
|
|
|
php_errors.log
|
|
|
|
#-------------------------
|
|
# User Guide Temp Files
|
|
#-------------------------
|
|
user_guide_src/build/*
|
|
user_guide_src/cilexer/build/*
|
|
user_guide_src/cilexer/dist/*
|
|
user_guide_src/cilexer/pycilexer.egg-info/*
|
|
|
|
#-------------------------
|
|
# Test Files
|
|
#-------------------------
|
|
tests/coverage*
|
|
|
|
# Don't save phpunit under version control.
|
|
phpunit
|
|
|
|
#-------------------------
|
|
# Composer
|
|
#-------------------------
|
|
vendor/
|
|
public/.htaccess
|
|
#-------------------------
|
|
# IDE / Development Files
|
|
#-------------------------
|
|
|
|
# Modules Testing
|
|
_modules/*
|
|
|
|
# phpenv local config
|
|
.php-version
|
|
|
|
# Jetbrains editors (PHPStorm, etc)
|
|
.idea/
|
|
*.iml
|
|
|
|
# NetBeans
|
|
/nbproject/
|
|
/build/
|
|
/nbbuild/
|
|
/dist/
|
|
/nbdist/
|
|
/nbactions.xml
|
|
/nb-configuration.xml
|
|
/.nb-gradle/
|
|
|
|
# Sublime Text
|
|
*.tmlanguage.cache
|
|
*.tmPreferences.cache
|
|
*.stTheme.cache
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
.phpintel
|
|
/api/
|
|
|
|
# Visual Studio Code
|
|
.vscode/
|
|
|
|
/results/
|
|
/phpunit*.xml
|
|
|
|
.claude/
|
|
.serena/
|
|
|
|
#-------------------------
|
|
# PDF Spooler Data
|
|
#-------------------------
|
|
node_spooler/data/
|
|
node_spooler/node_modules/
|
|
node_spooler/logs/ |