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

4 lines
782 B
XML

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.6667 5.33333H11.9048V3.80952C11.9048 1.70667 10.1981 0 8.09524 0C5.99238 0 4.28571 1.70667 4.28571 3.80952V5.33333H3.52381C2.6819 5.33333 2 6.01524 2 6.85714V14.4762C2 15.3181 2.6819 16 3.52381 16H12.6667C13.5086 16 14.1905 15.3181 14.1905 14.4762V6.85714C14.1905 6.01524 13.5086 5.33333 12.6667 5.33333ZM8.09524 12.1905C7.25333 12.1905 6.57143 11.5086 6.57143 10.6667C6.57143 9.82476 7.25333 9.14286 8.09524 9.14286C8.93714 9.14286 9.61905 9.82476 9.61905 10.6667C9.61905 11.5086 8.93714 12.1905 8.09524 12.1905ZM10.4571 5.33333H5.73333V3.80952C5.73333 2.50667 6.79238 1.44762 8.09524 1.44762C9.3981 1.44762 10.4571 2.50667 10.4571 3.80952V5.33333Z" fill="white"/>
</svg>