This AddOn is NOT intended for regular development work!
- Emergency bug fixes on live servers
- Quick hotfixes when other tools are unavailable
- Temporary file edits in critical situations
- Regular development work
- Project development
- Long-term code editing
- Team collaboration
- Local development environments (XAMPP, Docker, etc.)
- Professional IDEs (VS Code, PhpStorm, Sublime Text)
- Version control systems (Git, SVN)
- Deployment tools (deployer, rsync, CI/CD pipelines)
This AddOn provides an integrated file browser with code editor for REDAXO CMS. It enables direct file editing through the backend interface for emergency situations only.
FUNCTIONALITY SCOPE:
- ✅ Edit existing files for quick fixes
- ✅ Virtual trash system with restore functionality
- ✅ Protected system files (automatic prevention)
- ✅ Automatic self-deactivation after 2 days of inactivity
- 🛠️ Exclusively for emergency repairs
CRITICAL: This AddOn should ONLY be used in emergencies!
- ✅ Admin access only - restricted to administrators
- ✅ Protected system files - prevents deletion of critical files
- ✅ Auto-deactivation - deactivates after 2 days of inactivity
- ✅ Data cleanup - removes backups and trash on deactivation
- ✅ Virtual trash system - deleted files can be restored
- 🚫 Production environment: Never leave activated on live servers
- � Emergency only: Use only for critical bug fixes
- 💾 Backup first: Always backup your site before using
- ⏱️ Time limit: Addon automatically deactivates after 2 days inactivity
- �️ Clean exit: All data is automatically cleaned up on deactivation
- Use proper development setup locally
- Deploy changes through established workflows
- Keep this addon for true emergencies only
- Test changes in staging environment first
- Document any emergency changes made
- File Browser with NextCloud-style interface
- Monaco Editor (VS Code) - local installation (no CDN!)
- Fullscreen mode for focused editing (F11 or button)
- Live full-text search in project files
- Line navigation from search results
- Offline capable - works without internet connection
- Automatic backups on every file modification
- Virtual trash system - restore accidentally deleted files
- Protected system files - prevents deletion of critical files
- Backup management with restore and cleanup functions
- Auto-deactivation after 2 days of inactivity
- Data cleanup on deactivation
- ✅ Edit existing files (with syntax highlighting)
- ✅ Delete files (to virtual trash - can be restored)
- ✅ Restore files from trash
- ❌ No file creation - use proper IDE for development
- 🔒 System file protection (index.php, .htaccess, config files, etc.)
- Upload AddOn to REDAXO
- Monaco Editor Setup:
cd src/addons/code/assets npm install npm run build
- Install and activate the AddOn
- Use ONLY for emergency repairs
- Addon will auto-deactivate after 2 days of inactivity
- Backup your site first (always!)
- Activate the AddOn (if not already active)
- Make minimal necessary changes only
- Test the fix immediately
- Document what you changed
- Let the AddOn auto-deactivate (or deactivate manually)
- Implement proper fix in your development environment
- Deploy through your normal workflow
- Use local development environment (Docker, XAMPP, etc.)
- Use professional IDE (VS Code, PhpStorm, etc.)
- Use version control (Git with proper branching)
- Use deployment tools (rsync, CI/CD, etc.)
- Test in staging environment
- REDAXO 5.18+
- PHP 8.1+
- Node.js & NPM (for Monaco Editor setup)
- Administrator permissions
- Local development environment (for regular work)
The AddOn can be configured via package.yml
:
config:
auto_deactivate_after_days: 2 # Auto-deactivation after inactivity
cleanup_data_on_deactivate: true # Clean backups/trash on deactivation
- Automatic deactivation after 2 days of inactivity (configurable)
- Silent operation - no warnings or notifications
- Data cleanup - backups and trash are automatically removed
- Secure cleanup - all addon data is removed on deactivation
This AddOn is designed as a "fire extinguisher" - always available when needed, but not for daily use.
- Local environment gives you full control and safety
- Version control prevents data loss and enables collaboration
- Professional IDEs provide better debugging, autocomplete, and tools
- Staging environments let you test safely before going live
- Deployment automation reduces human error
- High risk: Direct server file editing
- High benefit: Quick emergency fixes when other tools unavailable
- Mitigation: Auto-deactivation, backups, protected files, trash system
Remember: Great power comes with great responsibility. Use this tool wisely! 🦸♂️
This tool is exclusively for:
- ✅ Emergency repairs (editing only!)
- ✅ Quick bug fixes of existing files
- ✅ Development/debugging (local only)
NOT for:
- ❌ Regular development
- ❌ Production editing
- ❌ Permanent installation
- ❌ Creating or deleting files
Use at your own risk. Always create complete backups before using this tool.
This AddOn is licensed under the MIT License. See LICENSE.md for details.
KLXM Crossmedia GmbH
Developed for REDAXO CMS - Emergency tool for administrators