=== StudioForge-IDE Connector ===
Contributors: dotlabsstudios
Tags: studioforge, ide, remote, backup, update
Requires at least: 5.4
Tested up to: 7.0
Stable tag: 1.1.0
Requires PHP: 7.2
License: ISC
License URI: https://opensource.org/licenses/ISC

Connect your WordPress site to StudioForge IDE to securely manage updates, backups, and execute administrative operations remotely.

== Description ==

**StudioForge-IDE Connector** is the companion WordPress plugin for StudioForge IDE. It allows developers to securely manage their WordPress instances directly from the IDE interface.

With this plugin, you can monitor your site's health, perform safe backups, and trigger updates for the WordPress core, active plugins, and themes.

### Key Features:
* **Secure Authorization:** Communicates over a custom REST API authenticated with a unique generated key.
* **Site Overview:** Retrieve PHP versions, WordPress version, active plugins, and themes.
* **Core, Plugin, and Theme Updates:** Perform automatic, safe updates of plugins, themes, and WordPress core remotely.
* **Smart Backups:** Create ZIP backups of your files and SQL database dumps incrementally to prevent server timeouts.
* **Changelog History:** View and manage a chronological log of all updates performed.

== Installation ==

1. Upload the `studioforge-ide-connector` folder to the `/wp-content/plugins/` directory, or install the `.zip` file directly via the WordPress admin panel.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Settings > StudioForge Connector** in your WordPress admin area.
4. Set a secure, unique IDE Key.
5. Copy this key and enter it in your StudioForge IDE project settings to authorize the connection.

== Frequently Asked Questions ==

= Is this connection secure? =
Yes. All communication goes through the WordPress REST API and requires a custom authorization header containing the unique key you generated in the settings.

= Where are the backup files stored? =
Backups are saved in the `wp-content/uploads/studioforge-backups/` directory. The directory is protected with an `.htaccess` file containing `Deny from all` to prevent unauthorized web access.

= Does this plugin support large websites? =
Yes. The backup mechanism is designed to run incrementally in steps, avoiding server execution time limits and high memory usage.

== Changelog ==

= 1.1.0 =
* Initial release.
* Support for ping, details, database dumps, backup zipping, updates (core, plugins, themes), and update history logs.
