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
10 lines
3.5 KiB
XML
10 lines
3.5 KiB
XML
<svg width="36" height="37" viewBox="0 0 36 37" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M10.5 18.4961L14 14.9961C14.3 14.6961 14.45 14.3294 14.45 13.8961C14.45 13.4628 14.3 13.0961 14 12.7961C13.7 12.4961 13.3333 12.3461 12.9 12.3461C12.4667 12.3461 12.1 12.4961 11.8 12.7961L7.15 17.4461C6.98333 17.6128 6.86667 17.7794 6.8 17.9461C6.73333 18.1128 6.7 18.2961 6.7 18.4961C6.7 18.6961 6.73333 18.8794 6.8 19.0461C6.86667 19.2128 6.98333 19.3794 7.15 19.5461L11.85 24.2461C12.15 24.5461 12.5167 24.6961 12.95 24.6961C13.3833 24.6961 13.75 24.5461 14.05 24.2461C14.35 23.9461 14.5 23.5794 14.5 23.1461C14.5 22.7128 14.35 22.3461 14.05 22.0461L10.5 18.4961ZM25.5 18.4961L21.95 22.0461C21.65 22.3461 21.5 22.7128 21.5 23.1461C21.5 23.5794 21.65 23.9461 21.95 24.2461C22.25 24.5461 22.6167 24.6961 23.05 24.6961C23.4833 24.6961 23.85 24.5461 24.15 24.2461L28.85 19.5461C29.0167 19.3794 29.1333 19.2128 29.2 19.0461C29.2667 18.8794 29.3 18.6961 29.3 18.4961C29.3 18.2961 29.2667 18.1128 29.2 17.9461C29.1333 17.7794 29.0167 17.6128 28.85 17.4461L24.15 12.7461C24.0167 12.5794 23.85 12.4628 23.65 12.3961C23.45 12.3294 23.25 12.2961 23.05 12.2961C22.85 12.2961 22.6583 12.3294 22.475 12.3961C22.2917 12.4628 22.1167 12.5794 21.95 12.7461C21.65 13.0461 21.5 13.4128 21.5 13.8461C21.5 14.2794 21.65 14.6461 21.95 14.9461L25.5 18.4961ZM3 36.4961C2.2 36.4961 1.5 36.1961 0.9 35.5961C0.3 34.9961 0 34.2961 0 33.4961V3.49609C0 2.69609 0.3 1.99609 0.9 1.39609C1.5 0.796094 2.2 0.496094 3 0.496094H33C33.8 0.496094 34.5 0.796094 35.1 1.39609C35.7 1.99609 36 2.69609 36 3.49609V33.4961C36 34.2961 35.7 34.9961 35.1 35.5961C34.5 36.1961 33.8 36.4961 33 36.4961H3ZM3 33.4961H33V3.49609H3V33.4961Z" fill="#87A2C2"/>
|
|
<mask id="mask0_876_5189" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="36" height="37">
|
|
<path d="M10.5 18.4961L14 14.9961C14.3 14.6961 14.45 14.3294 14.45 13.8961C14.45 13.4628 14.3 13.0961 14 12.7961C13.7 12.4961 13.3333 12.3461 12.9 12.3461C12.4667 12.3461 12.1 12.4961 11.8 12.7961L7.15 17.4461C6.98333 17.6128 6.86667 17.7794 6.8 17.9461C6.73333 18.1128 6.7 18.2961 6.7 18.4961C6.7 18.6961 6.73333 18.8794 6.8 19.0461C6.86667 19.2128 6.98333 19.3794 7.15 19.5461L11.85 24.2461C12.15 24.5461 12.5167 24.6961 12.95 24.6961C13.3833 24.6961 13.75 24.5461 14.05 24.2461C14.35 23.9461 14.5 23.5794 14.5 23.1461C14.5 22.7128 14.35 22.3461 14.05 22.0461L10.5 18.4961ZM25.5 18.4961L21.95 22.0461C21.65 22.3461 21.5 22.7128 21.5 23.1461C21.5 23.5794 21.65 23.9461 21.95 24.2461C22.25 24.5461 22.6167 24.6961 23.05 24.6961C23.4833 24.6961 23.85 24.5461 24.15 24.2461L28.85 19.5461C29.0167 19.3794 29.1333 19.2128 29.2 19.0461C29.2667 18.8794 29.3 18.6961 29.3 18.4961C29.3 18.2961 29.2667 18.1128 29.2 17.9461C29.1333 17.7794 29.0167 17.6128 28.85 17.4461L24.15 12.7461C24.0167 12.5794 23.85 12.4628 23.65 12.3961C23.45 12.3294 23.25 12.2961 23.05 12.2961C22.85 12.2961 22.6583 12.3294 22.475 12.3961C22.2917 12.4628 22.1167 12.5794 21.95 12.7461C21.65 13.0461 21.5 13.4128 21.5 13.8461C21.5 14.2794 21.65 14.6461 21.95 14.9461L25.5 18.4961ZM3 36.4961C2.2 36.4961 1.5 36.1961 0.9 35.5961C0.3 34.9961 0 34.2961 0 33.4961V3.49609C0 2.69609 0.3 1.99609 0.9 1.39609C1.5 0.796094 2.2 0.496094 3 0.496094H33C33.8 0.496094 34.5 0.796094 35.1 1.39609C35.7 1.99609 36 2.69609 36 3.49609V33.4961C36 34.2961 35.7 34.9961 35.1 35.5961C34.5 36.1961 33.8 36.4961 33 36.4961H3ZM3 33.4961H33V3.49609H3V33.4961Z" fill="#87A2C2"/>
|
|
</mask>
|
|
<g mask="url(#mask0_876_5189)">
|
|
<rect x="4.91699" y="9.40381" width="26.4832" height="18.068" fill="#8AA4C4"/>
|
|
</g>
|
|
</svg>
|