Skip to content

Commit

Permalink
Merge pull request #3 from 10up/release/3.0.1
Browse files Browse the repository at this point in the history
Release/3.0.1
  • Loading branch information
morganestes committed Mar 1, 2016
2 parents 23b904f + dfd8904 commit a6972e8
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 9 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@

3.0.0-beta / 2016-01-28
3.0.1 / 2016-03-01
==================

* Fix upload nonce checks
* Media: fix the AYS checks on browse

3.0.0 / 2016-01-28
==================

* filter 'srcset' in WordPress 4.4
Expand Down
24 changes: 22 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Windows Azure Storage for WordPress ===
Contributors: msopentech, 10up, morganestes, stevegrunwell
Tags: Microsoft, Microsoft Open Technologies, Windows Azure, Windows Azure Storage, Media Files, Upload, CDN
Tags: Microsoft, Microsoft Open Technologies, Windows Azure, Windows Azure Storage, Media Files, Upload, CDN, blob storage
Requires at least: 2.8.0
Tested up to: 4.4
Stable tag: 3.0.0
Stable tag: 3.0.1
License: BSD 2-Clause
License URI: http://www.opensource.org/licenses/bsd-license.php

Expand All @@ -25,6 +25,10 @@ For more details on Windows Azure Storage, please visit the <a href="https://azu

== Changelog ==

= 3.0.1 =
* Fix browsing and uploading caused by broken nonce checks.
* Normalize the SDK path for activation checks.

= 3.0.0 =
* Security: fixes a bug that could allow unauthorized deletion of remotely-stored media.
* Security: validate, sanitize, and escape (allthethings).
Expand Down Expand Up @@ -79,3 +83,19 @@ For more details on Windows Azure Storage, please visit the <a href="https://azu
= 3.0.0 =
This release features several security fixes and enhancements.
It is highly recommended that all users upgrade immediately.

== Known Issues ==

= Storage Account Versions =
Storage accounts can be created via CLI, classic Azure portal, or the new Azure portal,
with varying results.

If a Storage account is created with the new Azure portal, authentication will fail,
resulting in the inability to view/add containers or files. Creating a Storage account
with the Azure CLI should allow the plugin to work with new Storage accounts.

= Responsive Images in WordPress 4.4 =
Images uploaded to the Azure Storage service will not automatically receive responsive versions.
Images added through the WordPress Media Loader *should* get automatically converted to responsive
images when inserted into a post or page.
We are investigating options for full support of responsive images in the plugin.
5 changes: 4 additions & 1 deletion windows-azure-storage-dialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Shows popup dialog when clicked on the Windows Azure Toolbar
*
* Version: 3.0.0
* Version: 3.0.1
*
* Author: Microsoft Open Technologies, Inc.
*
Expand Down Expand Up @@ -89,6 +89,9 @@ function windows_azure_storage_dialog_add_tab( $tabs ) {
/**
* Render Browse Tab in the Windows Azure Storage popup dialog
*
* @since 3.0.0 Add nonce checks and reformat HTML.
* @since 3.0.1 Fix nonce checks on initial browse.
*
* @return void
*/
function windows_azure_storage_dialog_browse_tab() {
Expand Down
2 changes: 1 addition & 1 deletion windows-azure-storage-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Shows various settings for Windows Azure Storage Plugin
*
* Version: 3.0.0
* Version: 3.0.1
*
* Author: Microsoft Open Technologies, Inc.
*
Expand Down
2 changes: 1 addition & 1 deletion windows-azure-storage-util.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Various utility functions for accessing Windows Azure Storage
*
* Version: 3.0.0
* Version: 3.0.1
*
* Author: Microsoft Open Technologies, Inc.
*
Expand Down
6 changes: 3 additions & 3 deletions windows-azure-storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Windows Azure Storage for WordPress
* Plugin URI: https://wordpress.org/plugins/windows-azure-storage/
* Description: Use the Windows Azure Storage service to host your website's media files.
* Version: 3.0.0
* Version: 3.0.1
* Author: 10up, Microsoft Open Technologies
* Author URI: http://10up.com/
* License: BSD 2-Clause
Expand Down Expand Up @@ -58,7 +58,7 @@
define( 'MSFT_AZURE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'MSFT_AZURE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'MSFT_AZURE_PLUGIN_LEGACY_MEDIA_URL', get_admin_url( get_current_blog_id(), 'media-upload.php' ) );
define( 'MSFT_AZURE_PLUGIN_VERSION', '3.0.1-dev' );
define( 'MSFT_AZURE_PLUGIN_VERSION', '3.0.1' );

/* Azure SDK relies on some PEAR dependencies, but doesn't load them itself.
* We have to add the PEAR files to the path for the Azure SDK to see them.
Expand Down Expand Up @@ -157,7 +157,7 @@ function azure_storage_media_menu( $tabs ) {
*/
function check_prerequisite() {
//TODO more robust activation checks. http://pento.net/2014/02/18/dont-let-your-plugin-be-activated-on-incompatible-sites/
$windowsAzureFilePath = WP_PLUGIN_DIR . "/windows-azure-storage/library/WindowsAzure/WindowsAzure.php";
$windowsAzureFilePath = wp_normalize_path( WP_PLUGIN_DIR . '/windows-azure-storage/library/WindowsAzure/WindowsAzure.php' );
if ( ( true === file_exists( $windowsAzureFilePath ) ) && ( true === is_readable( $windowsAzureFilePath ) ) ) {
return;
}
Expand Down

0 comments on commit a6972e8

Please sign in to comment.