Version Description
11/Aug/2015
TWEAK: Handle the results when someone with no UpdraftPlus Vault quota attempts to connect more gracefully
Download this release
Release Info
Developer | DavidAnderson |
Plugin | UpdraftPlus WordPress Backup Plugin |
Version | 1.11.2 |
Comparing to | |
See all releases |
Code changes from version 1.11.1 to 1.11.2
- includes/updraft-admin-ui.js +4 -0
- methods/updraftvault.php +2 -0
- readme.txt +6 -2
- updraftplus.php +1 -1
includes/updraft-admin-ui.js
CHANGED
@@ -892,6 +892,10 @@ jQuery(document).ready(function($){
|
|
892 |
}
|
893 |
if (resp.hasOwnProperty('e')) {
|
894 |
updraft_html_modal('<h4 style="margin-top:0px; padding-top:0px;">'+updraftlion.errornocolon+'</h4><p>'+resp.e+'</p>', updraftlion.disconnect, 400, 250);
|
|
|
|
|
|
|
|
|
895 |
} else if (resp.hasOwnProperty('connected') && resp.connected && resp.hasOwnProperty('html')) {
|
896 |
jQuery('#updraftvault_settings_connect').slideUp();
|
897 |
jQuery('#updraftvault_settings_connected').html(resp.html).slideDown();
|
892 |
}
|
893 |
if (resp.hasOwnProperty('e')) {
|
894 |
updraft_html_modal('<h4 style="margin-top:0px; padding-top:0px;">'+updraftlion.errornocolon+'</h4><p>'+resp.e+'</p>', updraftlion.disconnect, 400, 250);
|
895 |
+
if (resp.hasOwnProperty('code') && resp.code == 'no_quota') {
|
896 |
+
jQuery('#updraftvault_settings_connect').slideUp();
|
897 |
+
jQuery('#updraftvault_settings_default').slideDown();
|
898 |
+
}
|
899 |
} else if (resp.hasOwnProperty('connected') && resp.connected && resp.hasOwnProperty('html')) {
|
900 |
jQuery('#updraftvault_settings_connect').slideUp();
|
901 |
jQuery('#updraftvault_settings_connected').html(resp.html).slideDown();
|
methods/updraftvault.php
CHANGED
@@ -520,6 +520,8 @@ class UpdraftPlus_BackupModule_updraftvault extends UpdraftPlus_BackupModule_s3
|
|
520 |
if (!empty($response['config']) && is_array($response['config']) && !empty($response['config']['accesskey'])) {
|
521 |
$this->vault_set_config($response['config']);
|
522 |
}
|
|
|
|
|
523 |
} else {
|
524 |
return new WP_Error('unknown_response', __('UpdraftPlus.Com returned a response, but we could not understand it', 'updraftplus'));
|
525 |
}
|
520 |
if (!empty($response['config']) && is_array($response['config']) && !empty($response['config']['accesskey'])) {
|
521 |
$this->vault_set_config($response['config']);
|
522 |
}
|
523 |
+
} elseif (isset($response['quota']) && !$response['quota']) {
|
524 |
+
return new WP_Error('no_quota', __('You do not currently have any UpdraftPlus Vault quota', 'updraftplus'));
|
525 |
} else {
|
526 |
return new WP_Error('unknown_response', __('UpdraftPlus.Com returned a response, but we could not understand it', 'updraftplus'));
|
527 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Backup with UpdraftPlus, DavidAnderson
|
|
3 |
Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, onedrive, microsoft one drive, back up, multisite, restoration, sftp backup, ftps, scp backup, migrate, duplicate, copy, mysql backup, database backup, db backups, website backup, wordpress backup, full backup, openstack backup, sicherung
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.3
|
6 |
-
Stable tag: 1.11.
|
7 |
Author URI: https://updraftplus.com
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
@@ -120,6 +120,10 @@ The <a href="https://updraftplus.com/news/">UpdraftPlus backup blog</a> is the b
|
|
120 |
|
121 |
N.B. Paid versions of UpdraftPlus Backup / Restore have a version number which is 1 higher in the first digit, and has an extra component on the end, but the changelog below still applies. i.e. changes listed for 1.10.3 of the free version correspond to changes made in 2.10.3.x of the paid version.
|
122 |
|
|
|
|
|
|
|
|
|
123 |
= 1.11.1 - 10/Aug/2015
|
124 |
|
125 |
* FEATURE: UpdraftPlus Vault storage - simple to set up storage from your trusted provider: https://updraftplus.com/landing/vault - with 1Gb of free storage for UpdraftPlus Premium customers ( https://updraftplus.com/shop/updraftplus-premium/ ) - and more storage available for anyone to purchase. All other storage options (Dropbox, Google Drive, etc.) remain available, of course!
|
@@ -1598,4 +1602,4 @@ We recognise and thank the following for code and/or libraries used and/or modif
|
|
1598 |
|
1599 |
|
1600 |
== Upgrade Notice ==
|
1601 |
-
* 1.11.
|
3 |
Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, onedrive, microsoft one drive, back up, multisite, restoration, sftp backup, ftps, scp backup, migrate, duplicate, copy, mysql backup, database backup, db backups, website backup, wordpress backup, full backup, openstack backup, sicherung
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.3
|
6 |
+
Stable tag: 1.11.2
|
7 |
Author URI: https://updraftplus.com
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
120 |
|
121 |
N.B. Paid versions of UpdraftPlus Backup / Restore have a version number which is 1 higher in the first digit, and has an extra component on the end, but the changelog below still applies. i.e. changes listed for 1.10.3 of the free version correspond to changes made in 2.10.3.x of the paid version.
|
122 |
|
123 |
+
= 1.11.2 - 11/Aug/2015
|
124 |
+
|
125 |
+
* TWEAK: Handle the results when someone with no UpdraftPlus Vault quota attempts to connect more gracefully
|
126 |
+
|
127 |
= 1.11.1 - 10/Aug/2015
|
128 |
|
129 |
* FEATURE: UpdraftPlus Vault storage - simple to set up storage from your trusted provider: https://updraftplus.com/landing/vault - with 1Gb of free storage for UpdraftPlus Premium customers ( https://updraftplus.com/shop/updraftplus-premium/ ) - and more storage available for anyone to purchase. All other storage options (Dropbox, Google Drive, etc.) remain available, of course!
|
1602 |
|
1603 |
|
1604 |
== Upgrade Notice ==
|
1605 |
+
* 1.11.2 : UpdraftPlus Vault. Speed improvements. S3 improvements. Many tweaks and small fixes.
|
updraftplus.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
|
|
4 |
Plugin URI: https://updraftplus.com
|
5 |
Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
|
6 |
Author: UpdraftPlus.Com, DavidAnderson
|
7 |
-
Version: 1.11.
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: updraftplus
|
4 |
Plugin URI: https://updraftplus.com
|
5 |
Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
|
6 |
Author: UpdraftPlus.Com, DavidAnderson
|
7 |
+
Version: 1.11.2
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: updraftplus
|