Files
WPS3Media/assets/img/icon/provider/delivery/stackpath-round.svg
Malin 3248cbb029 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
2026-03-03 12:30:18 +01:00

12 lines
2.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 42 42">
<g fill="none" fill-rule="evenodd">
<circle cx="21" cy="21" r="20.5" fill="#FFF" stroke="#E4E4E4"/>
<g fill="#000" fill-rule="nonzero" transform="translate(9 16)">
<path d="M5.02924587,6.7488 C5.02924587,6.4312 4.92404587,6.1864 4.71364587,6.0124 C4.50324587,5.8392 4.12604587,5.656 3.58164587,5.462 C2.44364587,5.1032 1.60044587,4.7188 1.05204587,4.3084 C0.503245873,3.898 0.228845873,3.3056 0.228845873,2.53 C0.228845873,1.7752 0.555645873,1.1652 1.20924587,0.6992 C1.86324587,0.2332 2.69284587,0 3.69924587,0 C4.69764587,0 5.51524587,0.2564 6.15244587,0.77 C6.78924587,1.2832 7.09764587,1.9448 7.07684587,2.7524 L7.06444587,2.79 L5.03564587,2.79 C5.03564587,2.4312 4.91404587,2.1392 4.67044587,1.9144 C4.42684587,1.69 4.09084587,1.5776 3.66204587,1.5776 C3.24164587,1.5776 2.91164587,1.6704 2.67204587,1.856 C2.43324587,2.0416 2.31404587,2.2704 2.31404587,2.5424 C2.31404587,2.8064 2.43444587,3.018 2.67564587,3.1768 C2.91684587,3.3356 3.36924587,3.5344 4.03324587,3.7736 C5.05644587,4.0784 5.82644587,4.454 6.34404587,4.8996 C6.86124587,5.3448 7.12004587,5.9572 7.12004587,6.7368 C7.12004587,7.5288 6.81164587,8.1484 6.19524587,8.5956 C5.57924587,9.0428 4.76124587,9.2668 3.74284587,9.2668 C2.72044587,9.2668 1.83564587,9.0104 1.08964587,8.4968 C0.342845873,7.9832 -0.0199541268,7.244 0.000845873155,6.2792 L0.0132458732,6.242 L2.04844587,6.242 C2.04844587,6.7612 2.18884587,7.1328 2.46924587,7.3552 C2.74924587,7.578 3.17444587,7.6892 3.74324587,7.6892 C4.17644587,7.6892 4.49884587,7.6028 4.71164587,7.4296 C4.92324587,7.256 5.02924587,7.0292 5.02924587,6.7488"/>
<polygon points="22.032 0 19 9.13 19.305 9.13 20.895 9.13 24 0"/>
<polygon points="18.165 0 15 9.13 16.978 9.13 20.22 0"/>
<path d="M11.1256,4.3704 L12.4208,4.3704 C12.8804,4.3704 13.2308,4.244 13.4708,3.9908 C13.7112,3.738 13.8312,3.4132 13.8312,3.016 C13.8312,2.6104 13.7112,2.2784 13.4708,2.0188 C13.2304,1.76 12.8804,1.6304 12.4208,1.6304 L11.1256,1.6304 L11.1256,4.3704 L11.1256,4.3704 Z M11.1256,6.0008 L11.1256,9.13 L9,9.13 L9,0 L12.4208,0 C13.5036,0 14.3624,0.2772 14.9976,0.8308 C15.6328,1.3852 15.9508,2.1092 15.9508,3.0036 C15.9508,3.9024 15.6328,4.6268 14.9976,5.1764 C14.3624,5.7264 13.5032,6.0008 12.4208,6.0008 L11.1256,6.0008 Z"/>
</g>
</g>
</svg>