Skip to content

Commit

Permalink
Deploying version 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmjones committed Nov 11, 2020
1 parent ec4361c commit ae61dbf
Show file tree
Hide file tree
Showing 16 changed files with 686 additions and 135 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Requires at least:** 4.9
**Tested up to:** 5.5
**Requires PHP:** 5.5
**Stable tag:** 2.4.4
**Stable tag:** 2.5
**License:** GPLv3

Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery.
Expand Down Expand Up @@ -89,6 +89,13 @@ This version requires PHP 5.3.3+ and the Amazon Web Services plugin

## Changelog ##

### WP Offload Media Lite 2.5 - 2020-11-11 ###
* [Release Summary Blog Post](https://deliciousbrains.com/wp-offload-media-2-5-released/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting)
* Improvement: [Error notice shown](https://deliciousbrains.com/wp-offload-media/doc/missing-table-error-notice/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting) when plugin's required custom table(s) missing
* Improvement: [Diagnostic Info](https://deliciousbrains.com/wp-offload-media/doc/missing-table-error-notice/?utm_campaign=changelogs&utm_source=wordpress.org&utm_medium=free%2Bplugin%2Blisting#diagnostic-info) shows status of plugin's required custom tables
* Bug fix: wp_get_original_image_path function does not return provider URL when local files removed
* Bug fix: File missing notices recorded in debug.log when regenerating thumbnails and Remove Files From Server turned on

### WP Offload Media Lite 2.4.4 - 2020-09-08 ###
* Improvement: Updated AWS PHP SDK to v3.151.6
* Bug fix: Files for duplicate thumbnail sizes not removed from server after initial offload
Expand Down
2 changes: 1 addition & 1 deletion assets/css/attachment.css

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

12 changes: 11 additions & 1 deletion assets/js/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var test = {};
return;
}
var $detailsHtml = this.$el.find( '.attachment-info .details' );
var html = this.generateDetails( response, [ 'provider_name', 'region', 'bucket', 'key', 'acl' ] );
var html = this.generateDetails( response, [ 'provider_name', 'region', 'bucket', 'key', 'acl', 'is_verified' ] );
$detailsHtml.append( html );
},

Expand All @@ -89,6 +89,16 @@ var test = {};
}
}

if ( 'is_verified' === key ) {
value = Boolean( parseInt( value ) );

if ( value ) {
return;
}

value = as3cf_media.strings[ 'not_verified' ];
}

html += template( {
key: key,
label: as3cf_media.strings[ key ],
Expand Down
2 changes: 1 addition & 1 deletion assets/js/media.min.js

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

11 changes: 11 additions & 0 deletions assets/sass/attachment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
margin: 0;
padding: 0;
}

a, a:hover {
text-decoration: none;
}

.s3-details {
padding: 6px 0;

Expand All @@ -22,19 +24,27 @@
width: 20%;
white-space: nowrap;
}

.s3-value {
font-weight: bold;
float: left;
width: 80%;

.more-info {
font-weight: lighter;
}
}

input.error {
color: #a00;
}
}

.not-copied {
color: #666;
}
}

.s3-actions {
padding: 10px;
clear: both;
Expand All @@ -56,6 +66,7 @@

a.local-warning {
color: #a00;

&:hover {
color: #f00;
}
Expand Down
Loading

0 comments on commit ae61dbf

Please sign in to comment.