=== Smooth CDN Connector ===
Contributors: smoothcdn
Tags: cdn, media, assets, performance
Requires at least: 6.0
Tested up to: 7.0.3
Requires PHP: 7.4
Stable tag: 1.4.2
License: GPLv2 or later

Sync, offload, protect, and deliver WordPress media and site assets through Smooth Bundle.

== Description ==
Smooth CDN Connector connects WordPress media and selected site assets with Smooth Bundle, so you can deliver files through a managed CDN workflow while editors keep using WordPress as usual.

Use it when your WordPress site has a growing media library, repeated file traffic, client assets, downloadable files, or media that should be easier to manage, deliver, protect, and clean up.

From wp-admin, you can choose which files should sync to Smooth Bundle, serve synced files through CDN URLs, offload media from local storage, restore files when needed, and manage protected access for selected assets.

The plugin is focused on real WordPress files and assets: uploads, generated image sizes, selected Media Library files, and supported JS/CSS assets from active themes and plugins.

For REST API acceleration, use Smooth API Accelerator instead.

== Useful for ==
* WordPress sites with growing media libraries
* Agencies and developers managing client websites
* Content-heavy sites that want a cleaner asset delivery workflow
* Projects that need CDN delivery without rebuilding the site
* Sites that want to offload selected media from local WordPress storage
* Teams that need protected delivery for selected files
* WordPress installations that want better control over synced and unused assets

== Features ==
* CDN delivery for selected WordPress media and site assets
* Media Library based asset management directly in wp-admin
* Support for uploaded media files and generated image sizes
* Support for selected JS/CSS assets from active themes and plugins
* Manual and scheduled sync
* Automatic re-sync when attachments change
* URL rewriting for synced media and supported site assets
* Media offload with restore support
* Protected asset delivery with access management
* Unused assets view based on synced assets cross-checked against Smooth Bundle usage logs
* Controlled rollout, so assets can stay disabled, sync only, use rewritten URLs, or be offloaded

== External services ==
This plugin connects to Smooth Bundle to authenticate the site, upload and delete synced media assets, manage protected asset access, fetch account and usage information, and optionally restore offloaded files from Smooth Bundle URLs.

When you connect the plugin, it sends your site domain to Smooth Bundle so the service can authenticate and prepare the connection.

When you sync media, it sends selected files and related asset metadata such as filenames, paths, hashes, protection settings, and project identifiers to Smooth Bundle so the assets can be uploaded, updated, delivered, and managed.

When you revoke, grant, or inspect protected asset access, it sends the relevant project identifiers, access identifiers, recipient email address, selected asset paths, and optional expiration date to Smooth Bundle to manage protected delivery.

When local offload restore is used, the plugin downloads the previously synced asset file from its Smooth Bundle delivery URL back to your WordPress uploads directory.

This service is provided by Smooth Bundle:
Terms of Service: https://smoothbundle.com/terms
Privacy Policy: https://smoothbundle.com/privacy

== Changelog ==

= 1.4.2 =
* Improved admin card layout consistency.
* Improved media upload chunking and sync retry handling.

= 1.4.1 =
* Improved account storage limit messaging and guest upgrade flow.
* Improved background sync status visibility.
* Improved upload-triggered image sync timing.

= 1.4.0 =
* Replaced asset amount quota display with account storage support.

= 1.3.2 =
* Fixed collaborator permission keys sent to Smooth Bundle.

= 1.3.1 =
* Restored the Smooth Bundle account connection button on the settings screen.

= 1.3.0 =
* Rebranded from Smooth CDN to Smooth Bundle.

= 1.2.3 =
* Updated plugin catalogue description.

= 1.2.2 =
* Improved sync lock expiration handling.

= 1.2.1 =
* Hardened synchronization and unsync process handling.

= 1.2.0 =
* Added a guided setup wizard for first-time plugin configuration.
* Adjusted synchronization process.

= 1.1.2 =
* Small bug fixed.

= 1.1.1 =
* Improved restore asset filtering for media variants that still belong to existing WordPress attachments.

= 1.1.0 =
* Added configurable CDN deletion sync for Media Library deletions.
* Added a Restore assets view for CDN assets missing from the WordPress Media Library.
* Improved restore handling for original asset downloads and image metadata.
* Improved media offload handling for WordPress original and scaled image files.

= 1.0.6 =
* Adjusted restore for offloaded protected assets.

= 1.0.5 =
* Removed project level tokens.

= 1.0.4 =
* Fixed SVG bug.

= 1.0.3 =
* Added support for uploading additional video file formats.

= 1.0.2 =
* Fixed the Unused assets list so unsynced assets are no longer shown there.

= 1.0.1 =
* Refreshed the plugin readme to reflect the current feature set and positioning.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.4.2 =
Improves admin layout consistency and upload stability.

= 1.4.1 =
Improves account storage messaging, guest upgrade flow, and background sync feedback.

= 1.4.0 =
Adds account storage display in the connection summary.

= 1.3.2 =
Fixes collaborator permission assignment.

= 1.3.1 =
Restores the account connection button on the settings screen.

= 1.3.0 =
Rebranded from Smooth CDN to Smooth Bundle.

= 1.2.3 =
Maintenance update.

= 1.2.2 =
Improves sync lock expiration handling.

= 1.2.1 =
Hardens synchronization and unsync process handling.

= 1.2.0 =
Adds a guided setup wizard for first-time plugin configuration and adjusted synchronization process.

= 1.1.2 =
Improves restore asset filtering for existing media variants.

== License ==
GPLv2 or later
