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
8 lines
2.6 KiB
XML
8 lines
2.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
<g fill="none" transform="translate(0 5)">
|
|
<path fill="#FFF" d="M18.9709594,4.6306875 L18.4730531,4.4315625 C16.1329594,9.6969375 6.82367812,6.49584375 6.26352187,8.06221875 C6.17014687,9.12028125 11.3473031,8.26340625 15.0484594,8.44275 C16.1771156,8.49740625 16.7430844,9.34940625 16.2638344,10.738125 L17.2078031,10.7410312 C18.2967094,7.3464375 21.7718344,9.07884375 21.9170531,7.95853125 C21.6784594,7.2219375 17.9232094,7.95853125 18.9709594,4.6306875 Z"/>
|
|
<path fill="#F4811F" d="M16.531125,10.1576531 C16.6804688,9.65974688 16.6306875,9.16184062 16.3817812,8.86305938 C16.1327813,8.56427813 15.7842188,8.36515313 15.3360938,8.31537188 L6.6721875,8.21571562 C6.62240625,8.21571562 6.572625,8.16593438 6.52284375,8.16593438 C6.4730625,8.11615313 6.4730625,8.06637188 6.52284375,8.01659063 C6.572625,7.91702812 6.62240625,7.86715313 6.72196875,7.86715313 L15.4356563,7.76759062 C16.4813438,7.71780937 17.5768125,6.87134063 17.9750625,5.87552813 L18.4730625,4.58093438 C18.4730625,4.53105937 18.5228438,4.48127813 18.4730625,4.43149688 C17.9252813,1.89209063 15.634875,-6.5625e-05 12.9460313,-6.5625e-05 C10.4564063,-6.5625e-05 8.31534375,1.59330937 7.5684375,3.83402813 C7.07053125,3.48546563 6.4730625,3.28624687 5.7759375,3.33612187 C4.58090625,3.43568438 3.634875,4.43149688 3.4854375,5.62652813 C3.43565625,5.92530937 3.4854375,6.22409062 3.5353125,6.52277813 C1.593375,6.57255937 0,8.16593438 0,10.1576531 C0,10.3567781 0,10.5062156 0.04978125,10.7053406 C0.04978125,10.8049969 0.14934375,10.8547781 0.19921875,10.8547781 L16.1825625,10.8547781 C16.282125,10.8547781 16.3817812,10.8049969 16.3817812,10.7053406 L16.531125,10.1576531 Z"/>
|
|
<path fill="#FAAD3F" d="M19.2697125,4.5808875 L19.0207125,4.5808875 C18.9709313,4.5808875 18.92115,4.63066875 18.8713688,4.68045 L18.5228063,5.87548125 C18.3734625,6.3733875 18.4232438,6.8713875 18.6722438,7.170075 C18.92115,7.46885625 19.2697125,7.66798125 19.7178375,7.71785625 L21.5602125,7.81741875 C21.6099938,7.81741875 21.659775,7.8672 21.7095563,7.8672 C21.7593375,7.91698125 21.7593375,7.9667625 21.7095563,8.01654375 C21.659775,8.1162 21.6099938,8.16598125 21.5103375,8.16598125 L19.618275,8.26554375 C18.5725875,8.315325 17.4772125,9.16179375 17.0788688,10.1576063 L16.9792125,10.605825 C16.9294313,10.6556062 16.9792125,10.7551688 17.0788688,10.7551688 L23.6514938,10.7551688 C23.7510563,10.7551688 23.8008375,10.7053875 23.8008375,10.605825 C23.9004,10.2074813 23.9999625,9.75935625 23.9999625,9.3111375 C23.9999625,6.72195 21.8589,4.5808875 19.2697125,4.5808875"/>
|
|
</g>
|
|
</svg>
|