Releases: devlifeX/dback
Releases · devlifeX/dback
v1.6
v1.5
feat(backend): enhance WordPress plugin and database commands - Bump plugin version to 1.5 and add a ping endpoint for connectivity testing. - Improve error handling in the WordPress client for export and import operations, including detailed responses for API errors. - Update export and import commands to validate file sizes and handle potential errors more gracefully. - Refactor CouchDB and MySQL/MariaDB command logic for better clarity and reliability. - Enhance UI to include connection testing for WordPress and local databases, providing user feedback on potential issues. - Streamline export and import workflows with improved progress tracking and error messages.
v1.4.1
refactor(test): enhance safe command replacements for export syntax v…
v1.4.0
fix(db): sanitize inputs and improve compression for export cmds Introduces shell escaping for database credentials (password, user, dbname) to prevent command injection and handle special characters correctly. Also updates the export logic to prioritize `zstd` for compression if available, falling back to `gzip`, and adds `pipefail` to ensure pipeline errors are propagated. Additionally, support for CouchDB has been added to the command builder. - Implement `shellEscape` function to safely quote strings. - Apply escaping to PostgreSQL and MySQL/MariaDB authentication arguments. - Add CouchDB export logic (Docker and native). - Update compression pipeline to auto-detect `zstd` vs `gzip`. - Improve error handling and logging in connection testing logic.
v1.3.1
feat: embed WordPress plugin template and improve file handling - Embed WordPress plugin template directly in code instead of external file - Add more file extensions to .gitignore (.zip, .tar.gz, .sql, .sql.gz) - Add plugin path field to profile configuration - Set default export/plugin paths to executable directory - Implement WordPress plugin with export/import functionality
v1.3.0
feat(ui): add connectivity testing for import tab Add server and database connection testing functionality to the import tab. Implement SSH connection testing and database connectivity verification for both MySQL and PostgreSQL, with support for Docker containers. Also add a utility function for consistent error handling and logging.
v1.2.0
ci: update GitHub Actions dependencies to latest versions chore: bump actions/setup-go from v4 to v5 and actions/upload-artifact and actions/download-artifact from v3 to v4
v1.0.0
docs(README): update with WordPress integration and Docker support
1.0.0
🚀 New Features
🔌 WordPress Integration (Epic Feature)
- Direct WordPress Sync: Connect directly to WordPress sites via HTTP/HTTPS, bypassing the need for SSH.
- Plugin Generator: The app can now generate a custom, secure WordPress plugin (
dback-sync.zip) tailored for your site. - Zero-Config Security: Automatically generates unique API keys embedded in the plugin for secure authentication.
- Streaming Support: Handles large database exports and imports directly through the WordPress PHP API without timeouts.
💾 Profile Management
- CRUD Operations: Create, Save, Load, and Delete connection profiles easily from the sidebar.
- Smart Memory: Profiles now remember your last used "Destination Folder," saving you clicks on repeated backups.
- Persistent Storage: All profiles are saved locally to
profiles.json.
📊 History & Activity Logs
- New History Tab: A dedicated "History" tab featuring a data grid view of all past operations.
- Detailed Metrics: Tracks Timestamp, Action Type, Status, File Size, and detailed messages.
- Persistence: History is automatically saved to
logs.jsonand restored when you reopen the app.
🛠️ Connectivity & Diagnostics
-
Test Connectivity: dedicated buttons to verify connections before starting long operations:
- Test Server: Verifies SSH connection.
- Test Database: Verifies MySQL/MariaDB reachability (checks both Native and Docker modes).
-
Visual Feedback: Added loading animations during connection tests.
🐳 Docker & Environment
- Docker-First Run Mode: Introduced
docker-run.shto run the GUI application inside a Docker container. This solves dependency issues (like missing X11/OpenGL headers) on host Linux machines while preserving native UI performance. - Cross-Platform Build Script: Added
build.shto easily compile binaries for Linux and Windows. - CI/CD: Fixed GitHub Actions workflow to automatically install Fyne dependencies (
libgl1-mesa-dev,xorg-dev) for successful automated builds.
🖥️ UI/UX Improvements
- Windowed Mode: Reverted from forced Full Screen to a maximized Windowed mode to ensure system controls (Minimize/Close) remain accessible.
- Database Selector: Added a dropdown to explicitly choose between MySQL and MariaDB.
- Responsive Layout: optimized form layouts that toggle fields based on the selected connection type (SSH vs. WordPress).
🐛 Bug Fixes
- File Dialog Crash: Fixed a crash in the "Choose Destination" dialog when running in containerized environments by adding
zenitysupport. - Compilation Fixes: Resolved unused import errors and undefined variable references in the codebase.