Skip to content

Commit

Permalink
Phing release of v161116-RC.
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Nov 16, 2016
1 parent 1c182c3 commit a874f85
Show file tree
Hide file tree
Showing 35 changed files with 867 additions and 392 deletions.
3 changes: 2 additions & 1 deletion .gitchange
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1460135613
49dd4154d8f5d3b70691c8e3f52a063a49137fb7:57be33556df067.43016776
d0e05c36184f81b133761b71ca6ee0136be67409:57dca7f6a53000.90318734
853d9120b42cf4f2eabe2f35ea18a6ace7170ea6:5824430b1d7e09.47123954
d0e05c36184f81b133761b71ca6ee0136be67409:582bad1a16b488.93697139
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
## [coming soon]

- **New Pro Feature:** In the pro version it is now possible to define a list of GET request variable names that should be ignored entirely by Comet Cache. See: **Dashboard → Comet Cache → Plugin Options → GET Requests → List of GET Variable Names to Ignore**. As an example, this new feature makes it possible for site owners to pass query string variables associated with Google Analytics (i.e., `utm_*` variable names) without incurring a cache performance hit. See also: [issue #639](https://github.com/websharks/comet-cache/issues/639) if you'd like additional details.

- **Performance Enhancement:** For sites configured to allow query string variables into the cache, those variables are now sorted by key name internally to avoid duplicate cache files; i.e., whenever the order of query string variables changes from one request to another, but with the same exact values. In short, Comet Cache now knows how to serve the same underlying cache file; i.e., from a previous request that may have had the same query string, just in a slightly different order. See also: [issue #639](https://github.com/websharks/comet-cache/issues/639) if you'd like additional details.

- **Nonce Support:** In the pro version, when logged-in user caching is enabled, Comet Cache is now capable of intelligently caching pages that contain Nonce values ([numbers used once](https://cometcache.com/r/numbers-used-once-nonce/)). This allows for pages containing the WordPress Admin Bar to be cached without issue. It also improves compatibility with plugins like bbPress and BuddyPress, resulting in better performance and faster speeds for logged-in users. See also: [issue #793](https://github.com/websharks/comet-cache/issues/793) if you'd like additional details.

- **i18n Compat.** This release makes all pro preview labels translatable by moving the labels that were previously defined in CSS only into HTML attribute values. See also: [issue #808](https://github.com/websharks/comet-cache/issues/808) if you'd like additional details.

- **Bug Fix:** Fixed a broken link to the [Static CDN Filters tutorial for MaxCDN integration](http://cometcache.com/r/static-cdn-filters-maxcdn/). Props @kristineds. See also: [issue #842](https://github.com/websharks/comet-cache/issues/842) if you'd like additional details.

- **HTML Debug Notes:** This version enhances the HTML comments left in the source code. When debug notes are enabled (i.e., HTML comments) they are now broken down into key/value pairs and tabulated for a cleaner display and easier debugging.

- **UI Enhancement:** Following improvements to the update API in a previous release of Comet Cache that made it possible to update both the lite and pro versions of the software through normal WordPress update mechanisms, this release removes some clutter from the menu pages for Comet Cache. In short, now that we have a tighter integration with WordPress core, it's no longer necessary for Comet Cache to display update notifications in a custom way. See also: [issue #829](https://github.com/websharks/comet-cache/issues/829) for further details.

- **Bug Fix:** Multisite installations inside a sub-directory were broken by Apache Optimizations via `.htaccess` in some scenarios. Fixed in this release. See also: [issue #798](https://github.com/websharks/comet-cache/issues/798) if you'd like additional details.

- **Minor UI Enhancement:** This release improves the toggle link that allows you to see additional details whenever Comet Cache automatically clears more than one facet of the cache. See also: [issue #837](https://github.com/websharks/comet-cache/issues/837) and [issue #831](https://github.com/websharks/comet-cache/issues/831) if you'd like additional details.

- **Bug Fix:** Don't enqueue Chart.js unnecessarily in lite version of the sofware. See also: [issue #830](https://github.com/websharks/comet-cache/issues/830) if you'd like additional details.

- **Bug Fix:** Enhancing WooCommerce integration by listening to the `woocommerce_product_set_stock_status` hook in addition to the `woocommerce_product_set_stock` hook. See also: [issue #674](https://github.com/websharks/comet-cache/issues/674) if you'd like additional details.

- **Bug Fix:** Avoid browser autocomplete in configuration fields by adding `autocomplete="off"` to all form tags in Comet Cache menu pages. See also: [issue #832](https://github.com/websharks/comet-cache/issues/832) if you'd like additional details.

- **Bug Fix:** Automatically dismiss any persistent update notifications whenever a new version of the software is recompiled; i.e., don't continue to show an upgrade notice whenever the software has just been updated by a site owner. See also: [issue #806](https://github.com/websharks/comet-cache/issues/806) if you'd like additional details.

- **UI Enhancement:** On pro version activation, display a notice that reminds site owners to configure their Pro Update Credentials so they'll be notified by WordPress about new versions of the pro software. See also: [issue #477](https://github.com/websharks/comet-cache/issues/477) if you'd like additional details.

- **HTML Compressor:** Updating to the latest release of the [HTML Compressor](https://github.com/websharks/html-compressor) library. Comet Cache now comes with the new improved v161108 (latest release).

- **RevSlider Compat.:** This release includes a built-in exclusion rule for the HTML Compressor to allow for improved compatibility with the popular RevSlider plugin for WordPress. The new built-in exclusion rule looks for and automatically bypasses an important style tag that must be preserved for the RevSlider plugin to work in all scenarios; i.e., `<style id='rs-plugin-settings-inline-css'`.

- **UI Enhancement:** The Comet Cache UI is now fully Responsive with an improved UI on laptop and mobile devices. Props @renzms. See also: [issue #699](https://github.com/websharks/comet-cache/issues/699) if you'd like additional details.

= v160917 =

- **New Feature** (Lite): The Clear Cache button is now available in the Admin Toolbar for the Lite version of Comet Cache.
- **New Feature** (Lite): The Clear Cache button is now available in the Admin Toolbar for the Lite version of Comet Cache.
- **New Feature** (Pro): Comet Cache Pro is now fully compatible with [WordPress Automatic Background Updates](https://codex.wordpress.org/Configuring_Automatic_Background_Updates#Plugin_.26_Theme_Updates_via_Filter). If you enable automatic background updates for plugins, and you save valid Comet Cache Pro License Credentials in the _Comet Cache Pro → Plugin Options → Update Credentials_ panel, you will automatically receive Pro plugin updates. Props @jaswsinc. See [Issue #289](https://github.com/websharks/comet-cache/issues/289).
- **Bug Fix**: In some scenarios Comet Cache might produce a false-positive "Warning: mkdir(): File exists" message when checking if the cache directory exists. Comet Cache now calls `clearstatcache()` and uses `file_exists()` instead of `is_dir()` to help make this check more robust. See [Issue #786](https://github.com/websharks/comet-cache/issues/786).
- **Bug Fix**: Fixed a bug where the Comet Cache PHP requirements check would fail and produce a fatal error when upgrading from a version of Comet Cache that did not require an extension that is now required by newer releases. This would occur when, for example, the required PHP `mbstring` extension was missing. Props @jaswsinc for finding the bug. See [Issue #817](https://github.com/websharks/comet-cache/issues/817).
Expand Down
2 changes: 1 addition & 1 deletion comet-cache.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
Version: 160917
Version: 161116-RC
Text Domain: comet-cache
Plugin Name: Comet Cache
Network: true
Expand Down
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=== Comet Cache ===

Stable tag: 160917
Stable tag: 161116-RC
Requires at least: 4.2
Tested up to: 4.7-alpha
Text Domain: comet-cache
Expand Down
2 changes: 1 addition & 1 deletion src/client-s/css/menu-pages.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/client-s/css/menu-pages.min.css.map

Large diffs are not rendered by default.

32 changes: 31 additions & 1 deletion src/client-s/css/menu-pages/_elements.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.plugin-menu-page {
min-width: 800px;
margin: 1.25em 1.25em 1.25em 0.25em;

&,
Expand Down Expand Up @@ -54,6 +53,8 @@

img {
border: 0;
max-width: 100%;
box-sizing: border-box;

&.screenshot {
float: right;
Expand All @@ -64,6 +65,20 @@
border: 1px solid $img-screenshot-border-color;
box-shadow: 0 0 5px 0 $img-screenshot-box-shadow-color inset;
}

@media (max-width: 1199px) {
float: none !important;
display: block !important;
margin: 1em auto !important;

&:first-child {
margin-top: 0 !important;
}

&:last-child {
margin-bottom: 0 !important;
}
}
}

hr {
Expand All @@ -87,6 +102,11 @@
background: $primary-switch-bg-color;
border: 1px solid $primary-switch-border-color;
box-shadow: -1px -1px 0 0 $primary-switch-box-shadow-color-a inset, 1px 1px 0 0 $primary-switch-box-shadow-color-b inset;

@media (max-width: 1199px) {
margin-bottom: 1em;
display: block;
}
}
}

Expand All @@ -106,6 +126,10 @@
background: $input-bg-color;
border: 1px solid $input-border-color;
box-shadow: 0 0 2px 0 $input-box-shadow-color inset;

@media (max-width: 1199px) {
width: 100% !important;
}
}

select,
Expand Down Expand Up @@ -177,6 +201,12 @@
&:active {
@include transform(scale(0.98, 0.98));
}

@media (max-width: 1199px) {
img {
display: none !important;
}
}
}

.info,
Expand Down
84 changes: 75 additions & 9 deletions src/client-s/css/menu-pages/_heading.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,34 @@
.plugin-menu-page-heading {
.plugin-menu-page-restore-defaults,
.plugin-menu-page-panel-togglers {
.plugin-menu-page-stats-button {
float: right;

@media (max-width: 1199px) {
float: none;
display: block;
margin: auto;
}
}

.plugin-menu-page-restore-defaults {
float: right;
margin: 0 1em 0 0;

@media (max-width: 1199px) {
float: none;
clear: left;
text-align: center;
margin: 0 auto;
}
}

.plugin-menu-page-panel-togglers {
float: right;
margin: 0 1em 0 0;

@media (max-width: 1199px) {
display: none;
}

button {
background: $heading-panel-togglers-bg-color !important;
}
Expand All @@ -18,32 +41,75 @@
max-width: 350px;
margin: 1em 0 0;

@media (max-width: 1199px) {
float: none;
clear: both;
text-align: center;
margin: 0 auto 0 auto;
padding: 1em 0 0 0;
}

a {
text-decoration: none;
line-height: 1.5em;
margin: 0 0.5em;
display: inline-block;
}
}
.plugin-menu-page-support-links,

.plugin-menu-page-support-links {
float: right;
clear: right;
text-align: right;
max-width: 400px;
margin: .5em 0 0;

@media (max-width: 1199px) {
float: none;
clear: both;
text-align: center;
margin: 1em auto 1em auto;
}

a {
text-decoration: none;
margin: 0 0.5em;
display: inline-block;
}
}

.plugin-menu-page-mailing-list-links {
float: right;
clear: right;
text-align: right;
max-width: 400px;
margin: .5em 0 0;
margin: .5em 0 0;

@media (max-width: 1199px) {
float: none;
clear: both;
text-align: center;
margin: 1em auto 1em auto;
}

a {
text-decoration: none;
margin: 0 0.5em;
display: inline-block;
}
}

.plugin-menu-page-version {
float: right;
clear: right;
min-width: 350px;
margin: 0.5em 0 0 0;
text-align: right;
float: right;
clear: right;
min-width: 350px;
margin: 0.5em 0 0 0;
text-align: right;

@media (max-width: 1199px) {
float: none;
clear: both;
text-align: center;
}
}
}
29 changes: 20 additions & 9 deletions src/client-s/css/menu-pages/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
display: block;
cursor: pointer;
background: $panel-heading-bg-color;
background: linear-gradient(to right, $panel-heading-bg-color , $panel-heading-bg-color-fade);
background: linear-gradient(to right, $panel-heading-bg-color, $panel-heading-bg-color-fade);
color: $panel-heading-color !important;
box-shadow: 0 2px 2px 0 $panel-heading-box-shadow-color;

Expand All @@ -37,15 +37,15 @@
content: map-get($sharkicons, chevron-up);
}

@at-root .pro-preview-feature {
@at-root .plugin-menu-page-panel-heading.pro-preview-feature {
background : #216095;
@at-root [data-pro-version-only*=' '] {
@at-root .plugin-menu-page-panel-heading[data-pro-version-only*=' '] {
background: #216095;
}

&::after {
font-variant: small-caps !important;
font-family: sans-serif !important;
content: 'pro version only' !important;
content: attr(data-pro-version-only) !important;
margin-left: 15px;
background: #216095;
color: #FFFFFF;
Expand All @@ -54,14 +54,15 @@
}
}

@at-root .pro-preview-additional-features {
@at-root .plugin-menu-page-panel-heading.pro-preview-additional-features {
background : #216095;
@at-root [data-additional-pro-features*=' '] {
@at-root .plugin-menu-page-panel-heading[data-additional-pro-features*=' '] {
background: #216095;
}

&::after {
font-variant: small-caps !important;
font-family: sans-serif !important;
content: 'additional pro features' !important;
content: attr(data-additional-pro-features) !important;
margin-left: 15px;
background: #216095;
color: #FFFFFF;
Expand Down Expand Up @@ -99,6 +100,16 @@
color: $panel-body-p-color;
}

p.speed {
font-size: 120%;
font-weight: bold;
float: right;

@media (max-width: 1199px) {
display: none;
}
}

p.notice,
p.info,
p.warning,
Expand Down
Loading

0 comments on commit a874f85

Please sign in to comment.