Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ notifications:

matrix:
include:
-
php: 5.6
dist: xenial
before_script:
- nvm install 10
- nvm use 10
- yarn install
- composer self-update --1
# Lock file has phpunit 7. Remove it and install phpunit 5 for php 5.6.
- composer remove --dev phpunit/phpunit && composer require --dev phpunit/phpunit ^5
- composer install -o
- bash bin/install-wp-tests.sh wordpress_test root '' localhost 6.2
# We are only running phpcs on php 5.6. @todo fix with php 7 and 8.
- yarn run php-codesniffer
-
php: 7.4
dist: bionic
Expand Down Expand Up @@ -60,11 +46,11 @@ deploy:
skip_cleanup: true
on:
tags: true
php: 5.6
php: 7.4
- provider: releases
api_key: "${GITHUB_TOKEN}"
file: "boldgrid-backup.zip"
skip_cleanup: true
on:
tags: true
php: 5.6
php: 7.4
50 changes: 49 additions & 1 deletion admin/class-boldgrid-backup-admin-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,54 @@ class Boldgrid_Backup_Admin_Core {
*/
public $auto_updates;

/**
* An Instance of the Upload class.
*
* @since 1.2.2
* @var Boldgrid_Backup_Admin_Upload
*/
public $upload;

/**
* An instance of the Restore Git class.
*
* @since 1.5.1
* @var Boldgrid_Backup_Admin_Restore_Git
*/
public $restore_git;

/**
* An instance of the Compressors class.
*
* @since 1.5.1
* @var Boldgrid_Backup_Admin_Compressors
*/
public $compressors;

/**
* An instance of the Remote class
*
* @since 1.5.2
* @var Boldgrid_Backup_Admin_Remote
*/
public $remote;

/**
* An instance of the Jobs class
*
* @since 1.5.2
* @var Boldgrid_Backup_Admin_Jobs
*/
public $jobs;

/**
* An instance of the Premium class
*
* @since 1.0.0
* @var Boldgrid_Backup_Premium
*/
public $premium;

/**
* Constructor.
*
Expand Down Expand Up @@ -1063,7 +1111,7 @@ public function add_menu_items() {

// Add "Backup Archive Details" page.
add_submenu_page(
null,
'boldgrid-backup',
'BoldGrid ' . $lang['backup_archive'],
$lang['backup_archive'],
$capability,
Expand Down
2 changes: 1 addition & 1 deletion admin/remote/class-boldgrid-backup-admin-ftp-hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function add_menu_items() {
$capability = 'administrator';

add_submenu_page(
null,
'boldgrid-backup-settings',
__( 'FTP Settings', 'boldgrid-backup' ),
__( 'FTP Settings', 'boldgrid-backup' ),
$capability,
Expand Down
16 changes: 16 additions & 0 deletions admin/remote/class-boldgrid-backup-admin-ftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ class Boldgrid_Backup_Admin_Ftp {
'sftp' => 22,
];

/**
* Port
*
* @since 1.6.0
* @var string
*/
public $port;

/**
* Default type.
*
Expand Down Expand Up @@ -237,6 +245,14 @@ class Boldgrid_Backup_Admin_Ftp {
*/
private $reconnected = false;

/**
* Page class.
*
* @since 1.6.0
* @var Boldgrid_Backup_Admin_Ftp_Page
*/
public $page;

/**
* Constructor.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function post_archive_files( $info ) {
*/
public function add_submenus() {
add_submenu_page(
null,
'boldgrid-backup-settings',
__( 'Web Server', 'boldgrid-backup' ),
__( 'Web Server', 'boldgrid-backup' ),
'administrator',
Expand Down
2 changes: 1 addition & 1 deletion boldgrid-backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: Total Upkeep
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
* Version: 1.16.1
* Version: 1.16.2
* Author: BoldGrid
* Author URI: https://www.boldgrid.com/
* License: GPL-2.0+
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
}
],
"require" : {
"boldgrid/library" : "^2.13.12",
"boldgrid/library" : "^2.13.14",
"boldgrid/tdcron" : "dev-master",
"phpseclib/phpseclib" : "~2.0",
"ifsnop/mysqldump-php": "^2.9"
"phpseclib/phpseclib" : "~3.0",
"ifsnop/mysqldump-php": "^2.11"
},
"require-dev" : {
"lox/xhprof" : "dev-master",
Expand Down
Loading