From c70f99d2c506505a2f4bbca24f5c79febfae6d05 Mon Sep 17 00:00:00 2001 From: Stef Dawson Date: Wed, 26 Jun 2019 21:15:59 +0100 Subject: [PATCH] Update for Txp 4.7.0+ --- CHANGELOG.textile | 15 ++++++++++++++- README.textile | 2 +- composer.json | 2 +- manifest.json | 2 +- smd_thumbnail.php | 11 ++++++----- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.textile b/CHANGELOG.textile index 4e2f60e..8dbe06f 100644 --- a/CHANGELOG.textile +++ b/CHANGELOG.textile @@ -1,8 +1,21 @@ h1. Changelog -h2. 0.4.0 - UPCOMING +h2. 0.5.0 - 2019-06-26 +* For Textpattern 4.7.0+. * Added @description@ field. +* Fall back on fullsize image if thumb doesn't exist. +* Try to create profile directories with the same permissions as the +images directory. +* Fix greedy thumb profile panel gobbling list options (thanks, phiw13). +* Fix toggle state recall (thanks, phiw13). +* Fix undefined variable warnings (thanks, philwareham). +* Fix search_method array-to-string conversion warning. +* Fix errors if tables not created when no images are in the database. +* Update documentation and code consistency (thanks, philwareham) + +h2. 0.4.0 - 2017-07-18 + * Added Composer/Packagist support. * Removed SWF support. * Tidied layout for 4.6/4.7 (thanks, philwareham) diff --git a/README.textile b/README.textile index b37f349..36e2b62 100644 --- a/README.textile +++ b/README.textile @@ -17,7 +17,7 @@ h2. Features h2. Installing -*Requires Textpattern 4.6.0+* +*Requires Textpattern 4.7.0+* Download the plugin from either "GitHub":https://github.com/Bloke/smd_thumbnail/releases, or the "software page":https://stefdawson.com/sw/plugins/smd_thumbnail, paste the code into the Plugins administration panel, install and enable the plugin. Visit the "forum thread":https://forum.textpattern.io/viewtopic.php?id=34367 for more info or to report on the success or otherwise of the plugin. diff --git a/composer.json b/composer.json index 71ef1ff..6e8df58 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "source": "https://github.com/bloke/smd_thumbnail" }, "require": { - "textpattern/lock": ">=4.6.0", + "textpattern/lock": ">=4.7.0", "textpattern/installer": "*" } } diff --git a/manifest.json b/manifest.json index a6b9151..00eab47 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "smd_thumbnail", "description": "Multiple image thumbnails of arbitrary dimensions", - "version": "0.4.0", + "version": "0.5.0", "type": 5, "author": "Stef Dawson", "author_uri": "https://stefdawson.com/", diff --git a/smd_thumbnail.php b/smd_thumbnail.php index 140c6a6..2cc9b9d 100644 --- a/smd_thumbnail.php +++ b/smd_thumbnail.php @@ -17,7 +17,7 @@ // 1 = Plugin help is in raw HTML. Not recommended. # $plugin['allow_html_help'] = 1; -$plugin['version'] = '0.4.0'; +$plugin['version'] = '0.5.0'; $plugin['author'] = 'Stef Dawson'; $plugin['author_uri'] = 'https://stefdawson.com/'; $plugin['description'] = 'Multiple image thumbnails of arbitrary dimensions'; @@ -56,6 +56,7 @@ $plugin['textpack'] = << Actions smd_thumb_all_sizes => All sizes smd_thumb_all_thumbs => Create @@ -69,9 +70,9 @@ smd_thumb_create_group_confirm => Really create thumbnails for ALL active profiles? Any existing thumbs will be overwritten. smd_thumb_delete => Deletion smd_thumb_delete_confirm => Really delete profile {name}? It will delete ALL thumbnails of this type. -smd_thumb_image => Image = +smd_thumb_image => Image = smd_thumb_new => New profile -smd_thumb_profile => Profile = +smd_thumb_profile => Profile = smd_thumb_profile_deleted => Profile {name} deleted smd_thumb_profile_exists => Profile {name} already exists smd_thumb_profile_heading => Thumbnail profiles @@ -87,7 +88,7 @@ smd_thumb_txp_default_sync => Keep thumbnails in sync with default profile on: smd_thumb_upload => Replace selected thumbnail #@smd_thumb -#@language fr-fr +#@language fr smd_thumb_actions => Actions smd_thumb_all_sizes => Toutes les tailles smd_thumb_all_thumbs => Créer @@ -1939,7 +1940,7 @@ function smd_thumbnail_info($atts, $thing = NULL) h2(#install). Installing -*Requires Textpattern 4.6.0+* +*Requires Textpattern 4.7.0+* Download the plugin from either "GitHub":https://github.com/Bloke/smd_thumbnail/releases, or the "software page":https://stefdawson.com/sw/plugins/smd_thumbnail, paste the code into the Plugins administration panel, install and enable the plugin. Visit the "forum thread":https://forum.textpattern.io/viewtopic.php?id=34367 for more info or to report on the success or otherwise of the plugin.