Skip to content

Commit

Permalink
3.3.0
Browse files Browse the repository at this point in the history
* Wizards? Wizards! WIZARDS!
* New setup wizards to quickly setup the basic settings you need to get started with Media Cloud
* All core Gutenberg blocks now have image or file URLs rewritten dynamically so that they are always correct.
* Ability to control WordPress's 5.3 new "big image" support, including disabling, setting the threshold and uploading the original unscaled image to cloud storage.
* Fix for importing items from Offload Media when migrating to Media Cloud
* Fix for srcset generation in WordPress 5.3
* Fix for Migrate tool not including non-media files in migration (zip, text, etc).
* New configuration toggle for replacing the WordPress generated srcset with a bettter optimized version (WordPress 5.3+ only)
* Update regions for Amazon Rekognition
  • Loading branch information
jawngee committed Nov 18, 2019
1 parent fde1ab1 commit 4568da0
Show file tree
Hide file tree
Showing 171 changed files with 5,437 additions and 731 deletions.
42 changes: 42 additions & 0 deletions classes/Storage/Driver/Backblaze/BackblazeSettings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
// Copyright (c) 2016 Interfacelab LLC. All rights reserved.
//
// Released under the GPLv3 license
// http://www.gnu.org/licenses/gpl-3.0.html
//
// Uses code from:
// Persist Admin Notices Dismissal
// by Agbonghama Collins and Andy Fragen
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************

namespace ILAB\MediaCloud\Storage\Driver\Backblaze;

use ILAB\MediaCloud\Tools\ToolSettings;

/**
* Class BackblazeSettings
* @package ILAB\MediaCloud\Storage\Driver\S3
*
* @property string accountId
* @property string key
* @property string bucket
* @property bool settingsError
*
*/
class BackblazeSettings extends ToolSettings {
/**
* Map of property names to setting names
* @var string[]
*/
protected $settingsMap = [
'accountId' => ['mcloud-storage-backblaze-account-id', 'ILAB_BACKBLAZE_ACCOUNT_ID', null],
'key' => ['mcloud-storage-backblaze-key', 'ILAB_BACKBLAZE_KEY', null],
'bucket' => ['mcloud-storage-s3-bucket', ['ILAB_AWS_S3_BUCKET','ILAB_CLOUD_BUCKET'], null],
'settingsError' => ['ilab-backblaze-settings-error', null, false],
];
}
Loading

0 comments on commit 4568da0

Please sign in to comment.