Files
WPS3Media/assets/img/icon/stars.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
2.2 KiB
XML

<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1093_8942)">
<path d="M9.10625 7.02C9.23 6.64875 9.7475 6.64875 9.87125 7.02L10.5912 9.19125C10.9062 10.1587 11.6712 10.9237 12.6387 11.2387L14.8167 11.9587C15.188 12.0825 15.188 12.6 14.8167 12.7237L12.6342 13.4437C11.6555 13.7587 10.8905 14.5237 10.5755 15.4912L9.8375 17.6625C9.75875 17.865 9.53375 17.9887 9.32 17.9212C9.19625 17.8762 9.095 17.775 9.05 17.6512L8.31875 15.4687C7.9925 14.49 7.2275 13.725 6.26 13.41L4.0775 12.6787C3.86375 12.6 3.74 12.375 3.8075 12.1612C3.84125 12.0375 3.9425 11.9362 4.06625 11.8912L6.2375 11.16C7.205 10.8337 7.97 10.0687 8.285 9.10125L9.005 6.91875L9.10625 7.02ZM4.7525 1.28362H4.74125C4.775 1.14862 4.92125 1.08112 5.045 1.12612C5.1125 1.14862 5.16875 1.20487 5.19125 1.27237L5.61875 2.57737C5.81 3.15112 6.26 3.61237 6.845 3.8115L8.15225 4.24687V4.24125C8.276 4.275 8.3435 4.42125 8.2985 4.545C8.26475 4.6125 8.2085 4.66875 8.141 4.69125L6.83375 5.11875C6.24875 5.31 5.7875 5.76 5.59625 6.345L5.16762 7.65C5.12263 7.77375 4.97637 7.84125 4.85262 7.79625C4.77387 7.7625 4.71762 7.70625 4.69512 7.63875L4.24625 6.33375C4.04375 5.74875 3.59375 5.2875 3.00875 5.09625L1.6925 4.6575C1.5575 4.6125 1.49 4.46625 1.535 4.3425C1.5575 4.26375 1.61375 4.2075 1.68125 4.185L2.98625 3.74962L2.98512 3.7485C3.55887 3.546 4.02012 3.096 4.21137 2.511L4.64675 1.19475L4.7525 1.28362ZM12.695 0.101248C12.7175 0.011248 12.8075 -0.033752 12.8975 -2.04984e-06C12.9425 0.0112479 12.9762 0.0449979 12.9875 0.0899979L13.2687 0.960748C13.3925 1.34325 13.6962 1.65487 14.09 1.78425L14.9562 2.0745C15.035 2.097 15.08 2.187 15.0462 2.277C15.0237 2.322 14.99 2.35575 14.945 2.367L14.0675 2.65725C13.6737 2.781 13.37 3.08475 13.235 3.4785L12.9425 4.34925C12.9087 4.428 12.8187 4.473 12.7287 4.43925C12.6725 4.41675 12.6387 4.383 12.6275 4.338L12.335 3.46725C12.2 3.0735 11.8962 2.76975 11.5025 2.63475L10.625 2.34C10.535 2.30625 10.49 2.21625 10.5237 2.12625C10.535 2.07 10.5687 2.03625 10.6137 2.025L11.48 1.73475C11.8625 1.59975 12.1662 1.296 12.3012 0.911248L12.5825 0.041623L12.695 0.101248Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1093_8942">
<rect width="18" height="18" fill="white" transform="translate(0.5)"/>
</clipPath>
</defs>
</svg>