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
111 lines
3.6 KiB
PHP
111 lines
3.6 KiB
PHP
<?php
|
||
|
||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
# source: google/api/client.proto
|
||
namespace DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api;
|
||
|
||
class Client
|
||
{
|
||
public static $is_initialized = \false;
|
||
public static function initOnce()
|
||
{
|
||
$pool = \DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||
if (static::$is_initialized == \true) {
|
||
return;
|
||
}
|
||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Api\LaunchStage::initOnce();
|
||
\DeliciousBrains\WP_Offload_Media\Gcp\GPBMetadata\Google\Protobuf\Duration::initOnce();
|
||
$pool->internalAddGeneratedFile('
|
||
Ù
|
||
google/api/client.proto
|
||
google.api google/protobuf/descriptor.protogoogle/protobuf/duration.proto"t
|
||
CommonLanguageSettings
|
||
reference_docs_uri ( B:
|
||
destinations (2$.google.api.ClientLibraryDestination"û
|
||
ClientLibrarySettings
|
||
version ( -
|
||
launch_stage (2.google.api.LaunchStage
|
||
rest_numeric_enums (/
|
||
|
||
java_settings (2.google.api.JavaSettings-
|
||
cpp_settings (2.google.api.CppSettings-
|
||
php_settings (2.google.api.PhpSettings3
|
||
python_settings (2.google.api.PythonSettings/
|
||
|
||
node_settings (2.google.api.NodeSettings3
|
||
dotnet_settings (2.google.api.DotnetSettings/
|
||
|
||
ruby_settings (2.google.api.RubySettings+
|
||
go_settings (2.google.api.GoSettings"þ
|
||
|
||
Publishing3
|
||
method_settings (2.google.api.MethodSettings
|
||
|
||
new_issue_urie (
|
||
documentation_urif (
|
||
api_short_nameg (
|
||
github_labelh (
|
||
codeowner_github_teamsi (
|
||
doc_tag_prefixj ( ;
|
||
organizationk (2%.google.api.ClientLibraryOrganization;
|
||
library_settingsm (2!.google.api.ClientLibrarySettings)
|
||
!proto_reference_documentation_urin ( "ã
|
||
JavaSettings
|
||
library_package ( L
|
||
service_class_names (2/.google.api.JavaSettings.ServiceClassNamesEntry2
|
||
common (2".google.api.CommonLanguageSettings8
|
||
ServiceClassNamesEntry
|
||
key (
|
||
value ( :8"A
|
||
CppSettings2
|
||
common (2".google.api.CommonLanguageSettings"A
|
||
PhpSettings2
|
||
common (2".google.api.CommonLanguageSettings"D
|
||
PythonSettings2
|
||
common (2".google.api.CommonLanguageSettings"B
|
||
NodeSettings2
|
||
common (2".google.api.CommonLanguageSettings"ª
|
||
DotnetSettings2
|
||
common (2".google.api.CommonLanguageSettingsI
|
||
renamed_services (2/.google.api.DotnetSettings.RenamedServicesEntryK
|
||
renamed_resources (20.google.api.DotnetSettings.RenamedResourcesEntry
|
||
ignored_resources (
|
||
forced_namespace_aliases (
|
||
handwritten_signatures ( 6
|
||
RenamedServicesEntry
|
||
key (
|
||
value ( :87
|
||
RenamedResourcesEntry
|
||
key (
|
||
value ( :8"B
|
||
RubySettings2
|
||
common (2".google.api.CommonLanguageSettings"@
|
||
|
||
GoSettings2
|
||
common (2".google.api.CommonLanguageSettings"Ï
|
||
MethodSettings
|
||
selector ( <
|
||
long_running (2&.google.api.MethodSettings.LongRunning
|
||
auto_populated_fields ( Í
|
||
LongRunning5
|
||
initial_poll_delay (2.google.protobuf.Duration
|
||
poll_delay_multiplier (1
|
||
max_poll_delay (2.google.protobuf.Duration5
|
||
total_poll_timeout (2.google.protobuf.Duration*£
|
||
ClientLibraryOrganization+
|
||
\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED |