From e1e0b7f2f364f1daa997baa635bd70e555e2340f Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 16:47:37 +0100 Subject: [PATCH 1/4] composer update --- composer.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 0704befa..5a02219e 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "aws/aws-sdk-php", - "version": "3.29.0", + "version": "3.29.2", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "ad2206be87d722de5a52b3d1b0d6549fe2980fc7" + "reference": "1f19f74913a31fac8e98c24cef26040a16c88a33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ad2206be87d722de5a52b3d1b0d6549fe2980fc7", - "reference": "ad2206be87d722de5a52b3d1b0d6549fe2980fc7", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/1f19f74913a31fac8e98c24cef26040a16c88a33", + "reference": "1f19f74913a31fac8e98c24cef26040a16c88a33", "shasum": "" }, "require": { @@ -84,7 +84,7 @@ "s3", "sdk" ], - "time": "2017-06-07T22:44:10+00:00" + "time": "2017-06-09T18:57:25+00:00" }, { "name": "barnabywalters/mf-cleaner", @@ -3334,16 +3334,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + "reference": "f29dca382a6485c3cbe6379f0c61230167681937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", + "reference": "f29dca382a6485c3cbe6379f0c61230167681937", "shasum": "" }, "require": { @@ -3355,7 +3355,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -3389,7 +3389,7 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-09T14:24:12+00:00" }, { "name": "symfony/process", From 879d82c56912619c771b3de91c15400a03912b9d Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 16:48:18 +0100 Subject: [PATCH 2/4] for now, log requests made to the micropub endpoint --- app/Http/Controllers/MicropubController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php index b4b32459..7a9a271a 100644 --- a/app/Http/Controllers/MicropubController.php +++ b/app/Http/Controllers/MicropubController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers; +use Log; use Ramsey\Uuid\Uuid; use App\{Media, Note, Place}; use Illuminate\Http\{Request, Response}; @@ -58,6 +59,8 @@ class MicropubController extends Controller 'error_description' => 'The provided token did not pass validation', ], 400); } + // Log the request + Log::debug($request); if ($tokenData->hasClaim('scope')) { if (($request->input('h') == 'entry') || ($request->input('type')[0] == 'h-entry')) { if (stristr($tokenData->getClaim('scope'), 'create') === false) { From 144329def6fa937fa5a3036c2398077aa83528b8 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 16:52:55 +0100 Subject: [PATCH 3/4] update changelog --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index 403b229a..67215b48 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version {next} + - to help with micropub clients, log requests made to micropub endpoint + ## Version 0.5.10 (2017-06-09) - Add a link to instagram account - Add syndication feeds for articles/notes, supporting RSS/Atom/JSON (issue#52) From 755fce6d2bec8716ed7293e38ee8a914dfc1d442 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 16:53:20 +0100 Subject: [PATCH 4/4] Bump version number to 0.5.11 --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 67215b48..e206a062 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Changelog -## Version {next} +## Version 0.5.11 (2017-06-11) - to help with micropub clients, log requests made to micropub endpoint ## Version 0.5.10 (2017-06-09)