Files
WPS3Media/assets/img/icon/provider/storage/gcp.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

9 lines
1.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<g fill="none" fill-rule="evenodd">
<path fill="#EA4335" fill-rule="nonzero" d="M17.4999789,5 C15.5,3.50287439 14,3 11.5,3 C10,3 6,4 5,10 C5,10 6.33333333,10 9,10 C9.5,7.00574877 12.5,5.5 15,8 L17.4999789,5 Z"/>
<path fill="#4285F4" fill-rule="nonzero" d="M20,9 C19.5417503,7.33397632 18.8073189,6.14420224 17.5,5 L15,8 C16.3333333,9 16.8333333,10.3333333 16.5,12 C17.874749,12 19,13.1424489 19,14.5 C19,15.8575511 17.874749,17 16.5,17 L11.5,17 L11,17.5604053 L11,20.50924 L11.4967812,20.9998066 L16.475602,20.9998066 C20.0507752,21.0269848 22.9724775,18.0304482 23,14.5 C23.0165135,12.35564 21.7944672,10.1985586 20,9 Z"/>
<path fill="#34A853" fill-rule="nonzero" d="M6.9578817,20.9999272 L12,20.9999272 L12,17 L8,17 C6.5,17 5.5,16 5.5,16 L5,16.5 L3.17698978,19.0999945 L3,19.5 C4.1385878,20.3080925 5.52942087,21.0064652 6.9578817,20.9999272 Z"/>
<path fill="#FBBC05" fill-rule="nonzero" d="M7.00010877,8 C3.60719065,8.01960989 0.980526716,10.61033 1.00010877,14.0000463 C1.01185801,15.8924966 1.4975121,18.3470993 3.00010877,19.5000511 L5.50010877,16.0000463 C4.50010877,15.0000463 4.50010877,14.0000463 5.00010877,13.0000463 C5.50010877,12.0000463 6.81202174,11.4639579 8,12 C8.52349372,12.2360672 8.76251312,12.4770466 9.00010877,13.0000463 L11.5,10.5 C10.3355202,8.97664925 8.91784511,7.99222088 7.00010877,8 Z"/>
</g>
</svg>