Files
WPS3Media/assets/img/icon/notification-error.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

11 lines
1.3 KiB
XML

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_405_12502)">
<path d="M14.022 3.08L9.26999 0.336C8.49398 -0.112 7.53399 -0.112 6.74998 0.336L2.006 3.08C1.23 3.528 0.75 4.36 0.75 5.264V10.736C0.75 11.632 1.23 12.464 2.006 12.92L6.75799 15.664C7.53399 16.112 8.49399 16.112 9.27799 15.664L14.03 12.92C14.806 12.472 15.286 11.64 15.286 10.736V5.264C15.278 4.36 14.798 3.536 14.022 3.08ZM7.41399 4.6C7.41399 4.272 7.68599 4 8.01399 4C8.34199 4 8.61399 4.272 8.61399 4.6V8.8C8.61399 9.128 8.34199 9.4 8.01399 9.4C7.68599 9.4 7.41399 9.128 7.41399 8.8V4.6ZM8.74999 11.704C8.70999 11.8 8.65399 11.888 8.58199 11.968C8.42999 12.12 8.22999 12.2 8.01399 12.2C7.90999 12.2 7.80598 12.176 7.70998 12.136C7.60598 12.096 7.52598 12.04 7.44598 11.968C7.37398 11.888 7.31798 11.8 7.26998 11.704C7.22998 11.608 7.21398 11.504 7.21398 11.4C7.21398 11.192 7.29398 10.984 7.44598 10.832C7.52598 10.76 7.60598 10.704 7.70998 10.664C8.00599 10.536 8.35799 10.608 8.58199 10.832C8.65399 10.912 8.70999 10.992 8.74999 11.096C8.78999 11.192 8.81399 11.296 8.81399 11.4C8.81399 11.504 8.78999 11.608 8.74999 11.704Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_405_12502">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>