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) { diff --git a/changelog.md b/changelog.md index 403b229a..e206a062 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## 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) - Add a link to instagram account - Add syndication feeds for articles/notes, supporting RSS/Atom/JSON (issue#52) 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",