Release 0.7.1 master github/master v0.7.1
authorChristian Weiske <cweiske@cweiske.de>
Wed, 5 Sep 2018 20:20:00 +0000 (22:20 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 5 Sep 2018 20:20:00 +0000 (22:20 +0200)
ChangeLog
README.rst
build.xml
src/shpub/Cli.php
src/shpub/Command/Connect.php
src/shpub/Command/Server.php

index 1b486da94b34902997f95e88a3f931da0d7138fc..ed16f59f6edf4683d537256e48a1ca565b6e22f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2018-09-05  Christian Weiske  <cweiske@cweiske.de>
+
+       * Fix connection callback "me" parameter requirement
+       * Version 0.7.1
+
+2018-02-05  Christian Weiske  <cweiske@cweiske.de>
+
+       * Add "--dry-run" option
+       * Fix space-after-"-x"-option error
+       * Version 0.7.0
+
 2017-11-13  Christian Weiske  <cweiske@cweiske.de>
 
        * Add "x" command to post custom types
index 5a615fa9a2073027e0dd983c363c550c24600ffa..813586a235340ae961c1e54540da9487d78b7657 100644 (file)
@@ -249,6 +249,22 @@ anything to the server::
     http://example.org/fake-response
 
 
+Server information
+==================
+To see which server, user and endpoint URLs ``shpub`` uses, pass the
+server name to the ``server`` command::
+
+    $ shpub server commentpara.de
+    commentpara.de
+     URL:   http://commentpara.de
+     User:  https://commentpara.de/user/3.htm
+     Endpoints:
+      micropub:      https://commentpara.de/micropub.php
+      media:
+      token:         https://commentpara.de/token.php
+      authorization: https://commentpara.de/auth.php
+
+
 ===========
 Development
 ===========
index d48ad3dc4f7bbc0a49148345614840ddfe153d9d..0f1c6a75a97c83150d66c00f387ea9a8e6fb1207 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <project name="shpub" default="phar" basedir=".">
 
- <property name="version"  value="0.6.0" />
+ <property name="version"  value="0.7.1" />
  <property name="pharfile" value="${phing.dir}/dist/${phing.project.name}-${version}.phar" />
  <property name="libdir" value="${phing.dir}/lib"/>
 
index 080bfe8c6a10cd2f1481bfce11ad411b37878bbe..354af72aeb6ffa07aa175cb00fbc36162c93c99c 100644 (file)
@@ -96,7 +96,7 @@ class Cli
         $optParser = new \Console_CommandLine();
         $optParser->name        = 'shpub';
         $optParser->description = 'Command line micropub client';
-        $optParser->version     = '0.6.0';
+        $optParser->version     = '0.7.1';
         $optParser->subcommand_required = true;
 
         $optParser->addOption(
index 6ac5ed45d2b54302d8b493c0f0a94094611e1f9d..b39665b1c729394335abeb749444d081fd578456 100644 (file)
@@ -279,7 +279,6 @@ class Command_Connect
                     parse_str($parts['query'], $query);
                     if (isset($query['code'])
                         && isset($query['state'])
-                        && isset($query['me'])
                     ) {
                         fwrite($sock, $responseOk);
                         fclose($sock);
index b0200f22ce36611371abdaa0587914eb8d1d1540..3ce0c736456f796cf4bee7dff09001eccedef456 100644 (file)
@@ -18,7 +18,9 @@ class Command_Server
     public static function opts(\Console_CommandLine $optParser)
     {
         $cmd = $optParser->addCommand('server');
-        $cmd->description = 'List all connections';
+        $cmd->description = 'List all connections'
+            . "\nPass the connection name to see all details:"
+            . " URL, user, endpoint URLs";
         $cmd->addOption(
             'verbose',
             array(