Skip to content

Commit

Permalink
* Added new Wasabi regions
Browse files Browse the repository at this point in the history
  • Loading branch information
jawngee committed Oct 27, 2022
1 parent 2b9ba6b commit b8ccc05
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
9 changes: 9 additions & 0 deletions classes/Tasks/TaskSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,15 @@ public static function nextScheduledTaskOfType($type, $safetyMargin = 1) {
return null;
}

public function rescheduleTask(int $minutes) {
global $wpdb;

$table = "{$wpdb->base_prefix}mcloud_task_schedule";
$nextRun = time() + ($minutes * 60);
$wpdb->update($table, ['nextRun' => $nextRun], ['id' => $this->id()]);
}


/**
* @param $type
*
Expand Down
6 changes: 5 additions & 1 deletion config/storage/wasabi.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@
'us-east-1' => 'US East 1',
'us-east-2' => 'US East 2',
'us-west-1' => 'US West',
'us-central' => 'US Central',
'us-central-1' => 'US Central (Texas)',
'ca-central-1' => 'Canada Central',
'eu-central-1' => 'EU (Amsterdam)',
'eu-central-2' => 'EU (Frankfurt)',
'eu-west-1' => 'EU (London)',
'eu-west-2' => 'EU (Paris)',
'ap-northeast-1' => 'Asia Pacific (Tokyo)',
'ap-northeast-2' => 'Asia Pacific (Osaka)',
'ap-southeast-1' => 'Singapore',
'ap-southeast-2' => 'Australia',
],
],
]
Expand Down
4 changes: 2 additions & 2 deletions ilab-media-tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Plugin URI: https://github.com/interfacelab/ilab-media-tools
Description: Automatically upload media to Amazon S3 and integrate with Imgix, a real-time image processing CDN. Boosts site performance and simplifies workflows.
Author: interfacelab
Version: 4.5.2
Version: 4.5.3
Requires PHP: 7.4
Author URI: http://interfacelab.io
*/
Expand Down Expand Up @@ -95,7 +95,7 @@
}

// Version Defines
define( 'MEDIA_CLOUD_VERSION', '4.5.2' );
define( 'MEDIA_CLOUD_VERSION', '4.5.3' );
define( 'MEDIA_CLOUD_INFO_VERSION', '4.0.2' );
define( 'MCLOUD_IS_BETA', false );
// Debugging
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: mediacloud, interfacelab, freemius
Tags: offload, amazon, s3, cloudflare, imgix, uploads, video, video encoding, google cloud storage, digital ocean spaces, wasabi, media, cdn, rekognition, cloudfront, images, crop, image editing, image editor, optimize, image optimization, media library, offload, offload s3, smush, imagify, shortpixel
Requires at least: 4.9
Tested up to: 6.0.2
Tested up to: 6.1
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Stable tag: 4.5.2
Stable tag: 4.5.3
Requires PHP: 7.4

Automatically store media on Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean Spaces + others. Serve CSS/JS assets through CDNs. Integrate with Imgix.
Expand Down Expand Up @@ -105,6 +105,11 @@ Imgix is a content delivery network with a twist. In addition to distributing y

== Changelog ==

= 4.5.3 - 10/15/2022 =

* Fix for compatability issue with WP All Import Pro
* Added new Wasabi regions

= 4.5.2 - 10/15/2022 =

* Fix for compatability issue with Presto Player
Expand Down

0 comments on commit b8ccc05

Please sign in to comment.