Files
WPS3Media/assets/img/icon/notification-info.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.2 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_12493)">
<path d="M7.99992 0C3.57996 0 0 3.57996 0 7.99992C0 12.4132 3.57996 15.9998 7.99992 15.9998C12.4132 15.9998 15.9998 12.4132 15.9998 7.99992C15.9932 3.57996 12.4132 0 7.99992 0ZM8.16659 3.3333C8.71325 3.3333 9.16658 3.77996 9.16658 4.33329C9.16658 4.87995 8.71325 5.33328 8.16659 5.33328C7.61326 5.33328 7.1666 4.87995 7.1666 4.33329C7.1666 3.77996 7.61326 3.3333 8.16659 3.3333ZM9.66657 12.3332H6.99993C6.6266 12.3332 6.33327 12.0332 6.33327 11.6666C6.33327 11.2932 6.6266 10.9999 6.99993 10.9999H7.49993C7.58659 10.9999 7.66659 10.9199 7.66659 10.8332V7.83326C7.66659 7.73992 7.58659 7.66659 7.49993 7.66659H6.99993C6.6266 7.66659 6.33327 7.36659 6.33327 6.99993C6.33327 6.6266 6.6266 6.33327 6.99993 6.33327H7.66659C8.39992 6.33327 8.99991 6.9266 8.99991 7.66659V10.8332C8.99991 10.9199 9.07324 10.9999 9.16658 10.9999H9.66657C10.0332 10.9999 10.3332 11.2932 10.3332 11.6666C10.3332 12.0332 10.0332 12.3332 9.66657 12.3332Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_405_12493">
<rect width="16" height="16" fill="white"/>
</clipPath>
</defs>
</svg>