Files
WPS3Media/assets/img/icon/region-round.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

7 lines
2.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 42 42">
<g fill="none" fill-rule="evenodd">
<circle cx="21" cy="21" r="21" fill="#E4EAF1"/>
<path fill="#87A2C2" fill-rule="nonzero" d="M21,13 C16.5888208,13 13,16.5888209 13,21 C13,25.4111791 16.5897804,29 21,29 C25.4111788,29 29,25.4111791 29,21 C29.0009592,16.5888209 25.4121384,13 21,13 Z M23.3815588,27.5798509 C23.3946263,27.4503593 23.3022201,27.3143466 23.3022201,27.3143466 L23.9313288,26.4190844 C23.9313288,26.4190844 24.4428295,25.7800106 24.5063004,25.5247538 C24.5707047,25.2694969 25.2100807,24.9499601 25.5946396,24.2624434 C25.9782652,23.5749268 23.9938663,24.0034602 24.2402827,23.8562683 C24.4866991,23.7081448 23.8025202,23.5441842 23.0343356,23.3084908 C22.2670845,23.073729 21.9525302,22.0750599 21.9525302,22.0750599 C19.974665,21.3092893 21.5623708,24.6565079 21.5623708,24.6565079 C21.5623708,24.6565079 22.0878725,24.8381688 22.1606774,25.4138941 C22.2278819,25.956082 22.0402694,27.5668086 22.7160477,27.7838701 C22.1690779,27.9198829 21.6015734,28 21.0135342,28 C17.1464764,28 14,24.8595954 14,20.9990684 C14,20.3907373 14.0868058,19.8029013 14.2333489,19.2402183 C14.4573638,19.608198 14.8568571,20.2137344 15.5765051,21.202156 C17.1128742,23.3094224 18.0089339,22.5427203 19.6722448,23.7714932 C21.3364891,25.0002662 20.3760251,22.8622571 19.6722448,22.8706415 C18.9684646,22.8799574 18.4560304,21.3297844 18.4560304,21.3297844 C18.4560304,21.3297844 18.1358757,20.2435454 18.7117808,19.6873836 C19.2876858,19.1312217 19.4799653,19.7963801 19.9279952,19.6873836 C20.3760251,19.578387 20.6317755,18.9663295 20.439496,18.3906042 C20.2472165,17.8158105 19.7357157,18.8377695 19.415561,18.7101411 C19.0954064,18.5825126 19.2876858,18.1353474 20.9519301,17.7515305 C22.615241,17.3677136 21.4634309,16.7761512 21.4634309,16.7761512 C21.4634309,16.7761512 20.7596506,17.1124567 20.1193413,16.6652915 C19.4799653,16.2181262 19.6069071,17.4319936 18.9675312,16.2181262 C18.4681645,15.2697631 17.3872925,15.5073197 16.6088406,15.5576258 C17.8147877,14.5859729 19.3464898,14 21.0135342,14 C23.2163478,14 25.1830122,15.0210274 26.4701647,16.6121906 C25.8541236,16.6690178 24.8376558,16.8944637 24.6071071,17.7478041 L23.6951797,18.7921214 C22.5909727,20.0954219 24.1273418,21.0894331 24.4148277,21 C24.7032469,20.9096353 25.2306154,20.4783072 25.6142409,21.3894064 C25.9978665,22.2995741 25.9941329,24.1236359 26.2340156,24.4105669 C26.4738983,24.697498 27.1627442,23.9922811 27.0992733,22.841762 C27.2038136,22.4998669 27.7890526,22.0620176 28,21.5300772 C27.789986,24.327655 25.9259951,26.6659569 23.3815588,27.5798509 Z"/>
</g>
</svg>