Version Description
(May 12, 2018) = * Reorganized the dashboard to cleaner
Download this release
Release Info
Developer | Papin |
Plugin | Companion Auto Update |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.0 to 3.1.1
- admin/log.php +1 -0
- admin/schedule.php +1 -1
- admin/status.php +2 -0
- backend/style.css +10 -4
- cau_functions.php +18 -3
- companion-auto-update.php +23 -5
- readme.txt +5 -66
admin/log.php
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
<p><!-- SPACING --></p>
|
|
|
2 |
<?php cau_fetch_log( 'all', 'table' ); ?>
|
1 |
<p><!-- SPACING --></p>
|
2 |
+
<h2><?php _e('Update log', 'companion-auto-update'); ?></h2>
|
3 |
<?php cau_fetch_log( 'all', 'table' ); ?>
|
admin/schedule.php
CHANGED
@@ -69,7 +69,7 @@ if( isset( $_GET['showmessage'] ) ) {
|
|
69 |
|
70 |
} else {
|
71 |
|
72 |
-
echo '<div class="
|
73 |
|
74 |
}
|
75 |
|
69 |
|
70 |
} else {
|
71 |
|
72 |
+
echo '<div class="warning"><p class="warningText"><strong>'.__( 'Warning', 'companion-auto-update' ).'</strong> ‐ '.__( 'Changing these settings may affect your sites perfomance.', 'companion-auto-update' ).'</p></div>';
|
73 |
|
74 |
}
|
75 |
|
admin/status.php
CHANGED
@@ -100,6 +100,8 @@
|
|
100 |
|
101 |
?>
|
102 |
|
|
|
|
|
103 |
<table class="cau_status_list widefat striped">
|
104 |
|
105 |
<thead>
|
100 |
|
101 |
?>
|
102 |
|
103 |
+
<h2><?php _e('Status', 'companion-auto-update'); ?></h2>
|
104 |
+
|
105 |
<table class="cau_status_list widefat striped">
|
106 |
|
107 |
<thead>
|
backend/style.css
CHANGED
@@ -1,9 +1,15 @@
|
|
1 |
/* Default Stylings */
|
2 |
-
.
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
-
p.
|
6 |
-
|
|
|
7 |
}
|
8 |
.cau_support_buttons {
|
9 |
display: inline-block;
|
1 |
/* Default Stylings */
|
2 |
+
div.warning {
|
3 |
+
background: #9178B7;
|
4 |
+
color: #FFF;
|
5 |
+
padding: 10px 15px;
|
6 |
+
margin-top: 15px;
|
7 |
+
border-radius: 3px;
|
8 |
+
display: inline-block;
|
9 |
}
|
10 |
+
p.warningText {
|
11 |
+
margin: 0;
|
12 |
+
padding: 0;
|
13 |
}
|
14 |
.cau_support_buttons {
|
15 |
display: inline-block;
|
cau_functions.php
CHANGED
@@ -6,12 +6,12 @@ function cau_menloc() {
|
|
6 |
|
7 |
}
|
8 |
|
9 |
-
function active_tab( $page ) {
|
10 |
|
11 |
-
if( !isset( $_GET[
|
12 |
$cur_page = '';
|
13 |
} else {
|
14 |
-
$cur_page = $_GET[
|
15 |
}
|
16 |
|
17 |
if( $page == $cur_page ) {
|
@@ -20,6 +20,21 @@ function active_tab( $page ) {
|
|
20 |
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
function donotupdatelist() {
|
24 |
|
25 |
global $wpdb;
|
6 |
|
7 |
}
|
8 |
|
9 |
+
function active_tab( $page, $identifier = 'tab' ) {
|
10 |
|
11 |
+
if( !isset( $_GET[ $identifier ] ) ) {
|
12 |
$cur_page = '';
|
13 |
} else {
|
14 |
+
$cur_page = $_GET[ $identifier ];
|
15 |
}
|
16 |
|
17 |
if( $page == $cur_page ) {
|
20 |
|
21 |
}
|
22 |
|
23 |
+
function active_subtab( $page, $identifier = 'tab' ) {
|
24 |
+
|
25 |
+
if( !isset( $_GET[ $identifier ] ) ) {
|
26 |
+
$cur_page = '';
|
27 |
+
} else {
|
28 |
+
$cur_page = $_GET[ $identifier ];
|
29 |
+
}
|
30 |
+
|
31 |
+
if( $page == $cur_page ) {
|
32 |
+
echo 'current';
|
33 |
+
}
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
function donotupdatelist() {
|
39 |
|
40 |
global $wpdb;
|
companion-auto-update.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Companion Auto Update
|
4 |
* Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
|
5 |
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
|
6 |
-
* Version: 3.1.
|
7 |
* Author: Papin Schipper
|
8 |
* Author URI: http://codeermeneer.nl/
|
9 |
* Contributors: papin
|
@@ -146,13 +146,31 @@ function cau_frontend() { ?>
|
|
146 |
|
147 |
<h2 class="nav-tab-wrapper wp-clearfix">
|
148 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings" class="nav-tab <?php active_tab(''); ?>"><?php _e('Dashboard', 'companion-auto-update'); ?></a>
|
149 |
-
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=
|
150 |
-
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=
|
151 |
-
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=log" class="nav-tab <?php active_tab('log'); ?>"><?php _e('Update log', 'companion-auto-update'); ?></a>
|
152 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=support" class="nav-tab <?php active_tab('support'); ?>"><?php _e('Support & Feedback', 'companion-auto-update'); ?></a>
|
153 |
-
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=status" class="nav-tab <?php active_tab('status'); ?>"><?php _e('Status', 'companion-auto-update'); ?></a>
|
154 |
</h2>
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
<?php
|
157 |
|
158 |
if( !isset( $_GET['tab'] ) ) {
|
3 |
* Plugin Name: Companion Auto Update
|
4 |
* Plugin URI: http://codeermeneer.nl/portfolio/companion-auto-update/
|
5 |
* Description: This plugin auto updates all plugins, all themes and the wordpress core.
|
6 |
+
* Version: 3.1.1
|
7 |
* Author: Papin Schipper
|
8 |
* Author URI: http://codeermeneer.nl/
|
9 |
* Contributors: papin
|
146 |
|
147 |
<h2 class="nav-tab-wrapper wp-clearfix">
|
148 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings" class="nav-tab <?php active_tab(''); ?>"><?php _e('Dashboard', 'companion-auto-update'); ?></a>
|
149 |
+
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=schedule&cau_page=advanced" class="nav-tab <?php active_tab('advanced', 'cau_page'); ?>"><?php _e('Advanced settings', 'companion-auto-update'); ?></a>
|
150 |
+
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=log&cau_page=system" class="nav-tab <?php active_tab('system', 'cau_page'); ?>"><?php _e('Systeminfo', 'companion-auto-update'); ?></a>
|
|
|
151 |
<a href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=support" class="nav-tab <?php active_tab('support'); ?>"><?php _e('Support & Feedback', 'companion-auto-update'); ?></a>
|
|
|
152 |
</h2>
|
153 |
|
154 |
+
<?php if( $_GET['cau_page'] == 'system' ) { ?>
|
155 |
+
|
156 |
+
<ul class="subsubsub">
|
157 |
+
<li><a class="<?php active_subtab('log'); ?>" href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=log&cau_page=system"><?php _e('Update log', 'companion-auto-update'); ?></a> | </li>
|
158 |
+
<li><a class="<?php active_subtab('status'); ?>" href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=status&cau_page=system"><?php _e('Status', 'companion-auto-update'); ?></a></li>
|
159 |
+
</ul>
|
160 |
+
|
161 |
+
<br class="clear" />
|
162 |
+
|
163 |
+
<?php } if( $_GET['cau_page'] == 'advanced' ) { ?>
|
164 |
+
|
165 |
+
<ul class="subsubsub">
|
166 |
+
<li><a class="<?php active_subtab('pluginlist'); ?>" href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=pluginlist&cau_page=advanced"><?php _e('Filter plugins', 'companion-auto-update'); ?></a> | </li>
|
167 |
+
<li><a class="<?php active_subtab('schedule'); ?>" href="<?php echo cau_menloc(); ?>?page=cau-settings&tab=schedule&cau_page=advanced"><?php _e('Scheduling', 'companion-auto-update'); ?></a></li>
|
168 |
+
</ul>
|
169 |
+
|
170 |
+
<br class="clear" />
|
171 |
+
|
172 |
+
<?php } ?>
|
173 |
+
|
174 |
<?php
|
175 |
|
176 |
if( !isset( $_GET['tab'] ) ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/dakel/2
|
|
4 |
Tags: auto, automatic, background, update, updates, updating, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme, plugin, theme, advance, control, mail, notifations, enable
|
5 |
Requires at least: 3.5.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -77,6 +77,9 @@ If you launched your website a few years ago using cPanel it could be the case t
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 3.1.0 (May 11, 2018) =
|
81 |
* New: Status page. We've introduced a status page to be able to provide better help when an error occurs. This page will be updated with even more info in coming updates.
|
82 |
|
@@ -116,68 +119,4 @@ If you launched your website a few years ago using cPanel it could be the case t
|
|
116 |
* New: Update log
|
117 |
* Fixed issue where multiple emailaddresses wouldn't work.
|
118 |
|
119 |
-
|
120 |
-
* Added buttons to help development of this plugin.
|
121 |
-
|
122 |
-
= 2.9.5 (June 22, 2017) =
|
123 |
-
* Fixed issue where multiple emailaddresses wouldn't work.
|
124 |
-
|
125 |
-
= 2.9.4 (May 31, 2017) =
|
126 |
-
* Security improvements
|
127 |
-
|
128 |
-
= 2.9.3 (April 15, 2017) =
|
129 |
-
* Change how often notifications are sent (defaults to daily)
|
130 |
-
|
131 |
-
= 2.9.2 (March 18, 2017) =
|
132 |
-
* New: Set how often the auto updater should run (defaults to twice daily)
|
133 |
-
|
134 |
-
= 2.9.1 (February 25, 2017) =
|
135 |
-
* Added a little bit of styling to the plugin filter to make it easier to understand.
|
136 |
-
|
137 |
-
= 2.9 (February 24, 2017) =
|
138 |
-
* Advanced Controls: You can control auto-updating per plugin via the plugin filter.
|
139 |
-
|
140 |
-
= 2.8.1 =
|
141 |
-
* Fixed few typos
|
142 |
-
|
143 |
-
= 2.8 =
|
144 |
-
* Enable/disable updates for translation files (Enabled by default).
|
145 |
-
* Core Emails: By default wordpress sends an email when a core update happend, you can now disable this.
|
146 |
-
* Several under-the-hood perfomance improvements and a few minor bug fixes.
|
147 |
-
|
148 |
-
= 2.7.7 =
|
149 |
-
* New: Added site name to e-mail subject. Example: [Qreative-Web] One ore more plugins have been updated.
|
150 |
-
|
151 |
-
= 2.7.5 =
|
152 |
-
* Fixed: Notice: Undefined variable: charset_collate
|
153 |
-
|
154 |
-
= 2.7.4 =
|
155 |
-
* Fixed: Double e-mail notifications [Read support topic here](https://wordpress.org/support/topic/double-e-mail-notifications/)
|
156 |
-
|
157 |
-
= 2.7.3 =
|
158 |
-
* Fixed: Notifications sending when nothing was updated
|
159 |
-
|
160 |
-
= 2.7.2 =
|
161 |
-
* Fixed: Notifications settings not always updating
|
162 |
-
|
163 |
-
= 2.7.0 =
|
164 |
-
* Better updating: How ironic, this plugin did not handle it's own updates so well (required re-activation etc.) this has been fixed.
|
165 |
-
* Fixed bug: WordPress updates could not be disabled, this should work now.
|
166 |
-
* Update Notifications: You can now get an email notification when an plugin has been updated (right now this only works with plugins, themes coming up).
|
167 |
-
* Minor perfomance improvements.
|
168 |
-
|
169 |
-
= 2.5.0 =
|
170 |
-
* New: If you have disabled one or multiple auto-updates, we can email you when an update is available.
|
171 |
-
|
172 |
-
= 2.0.3 =
|
173 |
-
* Fully migrated translations to translate.wordpress.org
|
174 |
-
|
175 |
-
= 2.0.2 =
|
176 |
-
* Fixed issue where setting would show up multiple times when re-activating multiple times
|
177 |
-
* Added settings link to plugin list
|
178 |
-
|
179 |
-
= 2.0 =
|
180 |
-
* You can now select what to update and what not (plugins, themes, major and minor core updates)
|
181 |
-
|
182 |
-
= 1.0 =
|
183 |
-
* Initital release
|
4 |
Tags: auto, automatic, background, update, updates, updating, automatic updates, automatic background updates, easy update, wordpress update, theme update, plugin update, up-to-date, security, update latest version, update core, update wp, update wp core, major updates, minor updates, update to new version, update core, update plugin, update plugins, update plugins automatically, update theme, plugin, theme, advance, control, mail, notifations, enable
|
5 |
Requires at least: 3.5.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 3.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.1.1 (May 12, 2018) =
|
81 |
+
* Reorganized the dashboard to cleaner
|
82 |
+
|
83 |
= 3.1.0 (May 11, 2018) =
|
84 |
* New: Status page. We've introduced a status page to be able to provide better help when an error occurs. This page will be updated with even more info in coming updates.
|
85 |
|
119 |
* New: Update log
|
120 |
* Fixed issue where multiple emailaddresses wouldn't work.
|
121 |
|
122 |
+
[View full changelog](https://codeermeneer.nl/stuffs/auto-updater-changelog/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|