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
7 lines
2.6 KiB
XML
7 lines
2.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
<g fill="none" fill-rule="evenodd">
|
|
<circle cx="8" cy="8" r="7.5" stroke="#ACBDCB"/>
|
|
<path fill="#87A2C2" fill-rule="nonzero" d="M8,0 C3.58882083,0 0,3.58882092 0,8 C0,12.4111791 3.58978041,16 8,16 C12.4111788,16 16,12.4111791 16,8 C16.0009592,3.58882092 12.4121384,0 8,0 Z M10.3815588,14.5798509 C10.3946263,14.4503593 10.3022201,14.3143466 10.3022201,14.3143466 L10.9313288,13.4190844 C10.9313288,13.4190844 11.4428295,12.7800106 11.5063004,12.5247538 C11.5707047,12.2694969 12.2100807,11.9499601 12.5946396,11.2624434 C12.9782652,10.5749268 10.9938663,11.0034602 11.2402827,10.8562683 C11.4866991,10.7081448 10.8025202,10.5441842 10.0343356,10.3084908 C9.26708447,10.073729 8.95253017,9.07505989 8.95253017,9.07505989 C6.97466498,8.30928933 8.56237082,11.6565079 8.56237082,11.6565079 C8.56237082,11.6565079 9.08787252,11.8381688 9.16067738,12.4138941 C9.22788186,12.956082 9.04026935,14.5668086 9.71604774,14.7838701 C9.16907794,14.9198829 8.60157344,15 8.01353424,15 C4.14647643,15 1,11.8595954 1,7.99906841 C1,7.39073729 1.08680579,6.80290125 1.23334889,6.24021826 C1.45736382,6.60819803 1.85685712,7.21373436 2.5765051,8.20215598 C4.11287419,10.3094224 5.00893393,9.54272026 6.67224482,10.7714932 C8.3364891,12.0002662 7.37602507,9.86225712 6.67224482,9.87064147 C5.96846456,9.87995741 5.4560304,8.3297844 5.4560304,8.3297844 C5.4560304,8.3297844 5.13587573,7.24354538 5.71178079,6.68738355 C6.28768585,6.13122172 6.47996533,6.79638009 6.9279952,6.68738355 C7.37602507,6.57838701 7.63177545,5.96632952 7.43949597,5.39060421 C7.24721648,4.81581049 6.73571571,5.8377695 6.41556104,5.71014107 C6.09540636,5.58251264 6.28768585,5.13534735 7.95193013,4.75153048 C9.61524102,4.3677136 8.4634309,3.77615118 8.4634309,3.77615118 C8.4634309,3.77615118 7.75965064,4.11245675 7.11934129,3.66529146 C6.47996533,3.21812616 6.60690713,4.43199361 5.96753117,3.21812616 C5.46816454,2.26976311 4.38729249,2.50731967 3.60884059,2.55762577 C4.81478765,1.58597285 6.34648977,1 8.01353424,1 C10.2163478,1 12.1830122,2.02102742 13.4701647,3.61219058 C12.8541236,3.66901783 11.8376558,3.89446367 11.6071071,4.7478041 L10.6951797,5.79212137 C9.59097273,7.09542188 11.1273418,8.08943306 11.4148277,8 C11.7032469,7.90963535 12.2306154,7.47830716 12.6142409,8.38940644 C12.9978665,9.29957413 12.9941329,11.1236359 13.2340156,11.4105669 C13.4738983,11.697498 14.1627442,10.9922811 14.0992733,9.84176204 C14.2038136,9.49986692 14.7890526,9.06201757 15,8.53007719 C14.789986,11.327655 12.9259951,13.6659569 10.3815588,14.5798509 Z"/>
|
|
</g>
|
|
</svg>
|