feat: add S3-compatible storage provider (MinIO, Ceph, R2, etc.)
Adds a new 'S3-Compatible Storage' provider that works with any
S3-API-compatible object storage service, including MinIO, Ceph,
Cloudflare R2, Backblaze B2, and others.
Changes:
- New provider class: classes/providers/storage/s3-compatible-provider.php
- Provider key: s3compatible
- Reads user-configured endpoint URL from settings
- Uses path-style URL access (required by most S3-compatible services)
- Supports credentials via AS3CF_S3COMPAT_ACCESS_KEY_ID /
AS3CF_S3COMPAT_SECRET_ACCESS_KEY wp-config.php constants
- Disables AWS-specific features (Block Public Access, Object Ownership)
- New provider SVG icons (s3compatible.svg, -link.svg, -round.svg)
- Registered provider in main plugin class with endpoint setting support
- Updated StorageProviderSubPage to show endpoint URL input for S3-compatible
- Built pro settings bundle with rollup (Svelte 4.2.19)
- Added package.json and updated rollup.config.mjs for pro-only builds
This commit is contained in:
3
assets/img/icon/provider/storage/aws-link.svg
Normal file
3
assets/img/icon/provider/storage/aws-link.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path fill="#0073AA" d="M13.95,2.68421053 L17.55,1.34210526 L13.95,0 L10.35,1.34210526 L13.95,2.68421053 Z M14.4,3.57894737 L14.4,8.05263158 L18,6.71052632 L18,2.23684211 L14.4,3.57894737 Z M13.5,3.57894737 L9.9,2.23684211 L9.9,6.71052632 L13.5,8.05263158 L13.5,3.57894737 Z M4.05,2.68421053 L7.65,1.34210526 L4.05,0 L0.45,1.34210526 L4.05,2.68421053 Z M4.5,3.57894737 L4.5,8.05263158 L8.1,6.71052632 L8.1,2.23684211 L4.5,3.57894737 Z M3.6,3.57894737 L0,2.23684211 L0,6.71052632 L3.6,8.05263158 L3.6,3.57894737 Z M9,11.6315789 L12.6,10.2894737 L9,8.94736842 L5.4,10.2894737 L9,11.6315789 Z M9.45,12.5263158 L9.45,17 L13.05,15.6578947 L13.05,11.1842105 L9.45,12.5263158 Z M8.55,12.5263158 L4.95,11.1842105 L4.95,15.6578947 L8.55,17 L8.55,12.5263158 Z" transform="translate(3 4)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 873 B |
Reference in New Issue
Block a user