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

9 lines
3.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<g fill="#0073AA">
<path d="M10.907,14.113 L9.523,16.99 C9.48761969,17.0644807 9.41766207,17.1166161 9.33617558,17.1292295 C9.25468909,17.1418429 9.1722429,17.1132983 9.116,17.053 L8.229,16.108 C8.005872,15.8081283 7.644762,15.6433552 7.27203425,15.6713402 C6.8993065,15.6993252 6.56684917,15.9161725 6.391,16.246 L4.4,19.488 C4.30507424,19.6422939 4.30103074,19.8358643 4.38943043,19.9939877 C4.47783011,20.1521111 4.64484398,20.2500005 4.826,20.2500005 L14.172,20.2500005 C14.3375213,20.2502293 14.492429,20.1685289 14.5857169,20.0318002 C14.6790047,19.8950715 14.698581,19.7210367 14.638,19.567 L12.52,14.16 C12.4409592,13.7848359 12.1152412,13.5126297 11.7320039,13.5014629 C11.3487666,13.490296 11.0077514,13.7430747 10.907,14.113 Z"/>
<path d="M18,12.5 C17.4477153,12.5 17,12.9477153 17,13.5 L17,21.5 C17,21.7761424 16.7761424,22 16.5,22 L2.5,22 C2.22385763,22 2,21.7761424 2,21.5 L2,7.5 C2,7.22385763 2.22385763,7 2.5,7 L6.5,7 C7.05228475,7 7.5,6.55228475 7.5,6 C7.5,5.44771525 7.05228475,5 6.5,5 L2,5 C0.8954305,5 0,5.8954305 0,7 L0,22 C0,23.1045695 0.8954305,24 2,24 L17,24 C18.1045695,24 19,23.1045695 19,22 L19,13.5 C19,12.9477153 18.5522847,12.5 18,12.5 Z"/>
<circle cx="6.75" cy="11.75" r="1.75"/>
<path d="M23.707 14.949C24.0973819 14.5585001 24.0973819 13.9254999 23.707 13.535L14.774 4.6C14.3827063 4.2095347 13.7489653 4.21020628 13.3585 4.60150002 12.9680347 4.99279376 12.9687063 5.62653468 13.36 6.017L22.293 14.949C22.6834999 15.3393819 23.3165001 15.3393819 23.707 14.949zM11.623 3.925C11.9171496 4.20937105 12.3849335 4.2055282 12.6743716 3.91636296 12.9638096 3.62719772 12.9680936 3.15941767 12.684 2.865L11.27 1.451C11.0817856 1.25594583 10.802971 1.17762391 10.5407178 1.24613713 10.2784646 1.31465034 10.0735854 1.51933652 10.0048249 1.78152495 9.93606442 2.04371338 10.0141234 2.32260179 10.209 2.511L11.623 3.925zM14.263 3.447C14.6689387 3.52493357 15.0620781 3.26194919 15.145 2.857L15.534.9C15.6168427.493794576 15.3547054.0973427427 14.9485.0145000329 14.5422946-.068342677 14.1458427.193794583 14.063.6L13.674 2.562C13.6339942 2.75753879 13.6736868 2.96095755 13.784269 3.12711246 13.8948512 3.29326738 14.067176 3.40841459 14.263 3.447L14.263 3.447zM15.944 3.514C15.5612667 3.67278187 15.3797181 4.11176667 15.5385 4.4945 15.6972819 4.87723333 16.1362667 5.05878187 16.519 4.9L18.366 4.135C18.7487333 3.97649428 18.9305057 3.53773333 18.772 3.155 18.6134943 2.77226667 18.1747333 2.59049428 17.792 2.749L15.944 3.514zM9.654 6.777L11.616 6.386C11.8814454 6.33635951 12.0997095 6.14784846 12.1874464 5.89245135 12.2751833 5.63705425 12.2188449 5.35420864 12.0399446 5.15192148 11.8610442 4.94963431 11.587207 4.85914209 11.323 4.915L9.361 5.306C9.16601849 5.34463349 8.99438995 5.45918713 8.88391472 5.62443107 8.77343949 5.78967501 8.73317885 5.99205577 8.772 6.187 8.85636644 6.5909766 9.24840881 6.85322717 9.654 6.777zM13.252 6.78C12.8689906 6.62197383 12.4303158 6.80352527 12.271 7.186L11.507 9.033C11.4044648 9.28058505 11.4418034 9.56406497 11.6049507 9.7766556 11.768098 9.98924624 12.0322682 10.09865 12.2979507 10.0636556 12.5636333 10.0286612 12.7904648 9.85458505 12.893 9.607L13.657 7.76C13.7334733 7.5763592 13.733752 7.36984018 13.6577746 7.18599364 13.5817972 7.0021471 13.4358055 6.85607658 13.252 6.78z"/>
</g>
</svg>