[OpenSRF-GIT] OpenSRF branch rel_2_4 updated. osrf_rel_2_4_0-35-gac989b4

Evergreen Git git at git.evergreen-ils.org
Wed Jun 24 12:46:50 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".

The branch, rel_2_4 has been updated
       via  ac989b43dd3b7e9c255e41345d225933c3de4679 (commit)
       via  32fce76e0dea124b5abe1d5e20c2d357a4737fa1 (commit)
       via  7d808d1865a441029fb3077d3013ff528e88feea (commit)
       via  3db960c0ccfa161c49a5aa7a23e52f5696cefe14 (commit)
      from  52d4cefbb97ab268918d0231cdece105b652576c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ac989b43dd3b7e9c255e41345d225933c3de4679
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Jun 24 16:59:53 2015 +0000

    update release notes for 2.4.1
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/doc/RELEASE_NOTES.txt b/doc/RELEASE_NOTES.txt
index a202406..720c8ff 100644
--- a/doc/RELEASE_NOTES.txt
+++ b/doc/RELEASE_NOTES.txt
@@ -9,6 +9,53 @@ The following Linux distributions are supported:
   * Fedora 17, 18
   * Ubuntu 12.04 LTS (Precise Pangolin) and 14.04 (Trusty Tahr)
 
+OpenSRF 2.4.1
+-------------
+
+Enhancements in 2.4.1
+~~~~~~~~~~~~~~~~~~~~~
+
+Improved documentation for configuring `ejabberd` on Debian Jessie (LP#1445503)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The documentation now reflects the fact that the version of
+`ejabberd` packaged for Jessie uses a new configuration file format.
+
+Minor `srfsh` enhancements (LP#1436047, LP#1152272)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+`srfsh` now accepts a new command-line switch, `--safe`.  When
+`--safe` is supplied, `srfsh` will not allow the user to use
+the bang (`!`) command to run an external program.
+
+Also, when `srfsh` is run non-interactively (e.g., `srfsh /path/to/script.srfsh`
+or `srfsh < /path/to/script.srfsh`), it no longer
+records the commands run in the `srfsh` history file (`~/.srfsh_history`).
+This allows `srfsh` to be invoked as a cronjob without
+cluttering up its command history.
+
+Bugfixes in 2.4.0
+~~~~~~~~~~~~~~~~~
+
+Avoid re-sending messages extraneously over WebSockets (LP#1418613)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Under certain circumstances, the JavaScript OpenSRF WebSockets client
+library could inappropriately re-send messages.  This is now fixed.
+
+Testers of the prototype Evergreen web staff client are particularly
+encouraged to upgrade OpenSRF to get this bugfix.
+
+`srfsh` no longer closes STDOUT prematurely (LP#1461625)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+When run non-interactively, `srfsh` used to close STDOUT
+after handling the first command, which meant that the
+output of subsequent commands was not displayed. This is now
+fixed.
+
+Python gateway client now supports HTTPS-only gateways (LP#1409055)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The Python gateway client used to coerce gateway requests to HTTP. As 
+of this release, if the value supplied to `setDefaultHost()` starts with
+"https://" or "http://", the specified protocol is used.
+
 OpenSRF 2.4.0
 -------------
 

commit 32fce76e0dea124b5abe1d5e20c2d357a4737fa1
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Jun 24 16:23:31 2015 +0000

    update ChangeLog for 2.4.1
    
    Note that did a bit of hackery involving a
    temporary branch rebased against osrf_rel_2_4_0
    to come up with a cleaner result.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/ChangeLog b/ChangeLog
index d215f08..56c6d89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,219 @@
 ChangeLog
 =========
 
+OpenSRF 2.4.1
+-------------
+commit d266817a76b3659fd2b2acba13e94f01389d2a14
+Author: Galen Charlton <gmc at esilibrary.com>
+Date:   Wed Jun 24 16:07:58 2015 +0000
+
+    set stage for point release notes, à la Evergreen
+    
+    Also fix a couple typos.
+    
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+
+19	16	doc/RELEASE_NOTES.txt
+
+commit b1807500aa0e3854a512f5c244fef188b370ac65
+Author: Galen Charlton <gmc at esilibrary.com>
+Date:   Wed Jun 24 16:01:26 2015 +0000
+
+    increment version number for 2.4.1 release
+    
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+
+1	1	src/perl/lib/OpenSRF.pm
+1	1	src/python/setup.py
+1	1	version.m4
+
+commit 95b24da0e8b85b20b018b35a7c7ecdec73a6968e
+Author: Galen Charlton <gmc at esilibrary.com>
+Date:   Wed Jun 3 18:35:35 2015 +0000
+
+    LP#1152272: do not log batch invocation of srfsh in .srfsh_history
+    
+    When running srfsh to process a script, do not log
+    the requests in .srfsh_history.
+    
+    To test
+    -------
+    [1] Run the following command:
+    
+        echo 'request opensrf.math opensrf.system.echo "foo"' | srfsh
+    
+    [2] Note that the last line of ~/.srfsh_history should be
+        'request opensrf.math opensrf.system.echo "foo"'
+    
+    [3] Apply the patch, compile, and run
+    
+        echo 'request opensrf.math opensrf.system.echo "bar"' | srfsh
+    
+    [4] This time, no additional line should have been added to
+        ~/.srfsh_history
+    
+    [5] Another variation to try:
+    
+        srfsh test.srfsh
+    
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+    Signed-off-by: Mike Rylander <mrylander at gmail.com>
+
+7	3	src/srfsh/srfsh.c
+
+commit f3da6d5be3e607d8f4ba4c60815cccef60cd9487
+Author: Galen Charlton <gmc at esilibrary.com>
+Date:   Wed Jun 3 17:42:06 2015 +0000
+
+    LP#1461625: ensure srfsh doesn't close STDOUT prematurely
+    
+    Ensure that when running srfsh in non-interactive mode
+    that reads commands directly from a file, (i.e.,
+    "srfsh script.srfsh" or as a shebang script), it does
+    not close STDOUT after handling the first request.
+    
+    To test
+    -------
+    [1] Create a srfsh script containing:
+    
+        request opensrf.math opensrf.system.echo "foo"
+        request opensrf.math opensrf.system.echo "bar"
+    
+    [2] Run "srfsh script.srfsh". Note that only the
+        results of the first echo request are output.
+    [3] Apply the patch and recompile, then run
+        "srfsh script.srfsh" again.  This time, the
+        output of both requests is displayed.
+    
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+    Signed-off-by: Mike Rylander <mrylander at gmail.com>
+
+1	1	src/srfsh/srfsh.c
+
+commit ab6db9fb56317a553d58d7dc8471ad9288fe0b92
+Author: Dan Scott <dscott at laurentian.ca>
+Date:   Thu Jun 18 11:52:00 2015 -0400
+
+    LP#1409055 Support specific protocols for OpenSRF gateway requests
+    
+    If the user passes in a gateway hostname that contains a specific HTTP or HTTPS
+    protocol, let's just use that.
+    
+    Signed-off-by: Dan Scott <dscott at laurentian.ca>
+    Signed-off-by: Bill Erickson <berickxx at gmail.com>
+
+12	0	src/python/osrf/gateway.py
+
+commit 78e6fcbb637edbbec4d3996e0281a5e4d7e2663e
+Author: Galen Charlton <gmc at esilibrary.com>
+Date:   Tue Mar 24 21:00:57 2015 +0000
+
+    LP#1436047: make srfsh --safe act as if "! command" doesn't exist
+    
+    This patch make srfsh treat attempting to run an external
+    command via "! command" as a parsing error if --safe is
+    supplied.  It also suppress mention of "! commands" from
+    the internal help.
+    
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+    Signed-off-by: Mike Rylander <mrylander at gmail.com>
+
+10	4	src/srfsh/srfsh.c
+
+commit c7d5810f29fd5b8f7b125af58df053abf5dbb9bf
+Author: Mike Rylander <mrylander at gmail.com>
+Date:   Tue Mar 24 16:22:16 2015 -0400
+
+    LP#1436047: Allow disabling of "bang commands" in srfsh
+    
+    srfsh has the ability to execute commands via system() calls using
+    the common "!command" syntax.  This is very useful, but it would
+    be nice to be able to turn that functionality off in some cases.
+    
+    This branch adds argument parsing to detect a new '--safe' command
+    line parameter, which disables the "!command" syntax.
+    
+    Signed-off-by: Mike Rylander <mrylander at gmail.com>
+    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
+
+24	12	src/srfsh/srfsh.c
+
+commit 24c230a7c90c6a7ff300ca86745998fd07ee2105
+Author: Ben Shum <bshum at biblio.org>
+Date:   Mon May 4 17:16:29 2015 -0400
+
+    Docs: Fix mailing list link for help in README
+    
+    Signed-off-by: Ben Shum <bshum at biblio.org>
+
+2	2	README
+
+commit 1d632a356086e5691605bd4b6a131769a05f4906
+Author: Josh Stompro <github at stompro.org>
+Date:   Tue Apr 21 09:50:49 2015 -0500
+
+    LP#1445503 - Updated Ejabberd setup steps for Ejabberd 14.x for Debian Jessie
+    
+    Signed-off-by: Josh Stompro <github at stompro.org>
+    Signed-off-by: Ben Shum <bshum at biblio.org>
+
+29	2	README
+
+commit b8bef9320b13dd5a87f34072b71af70bb1714e4a
+Author: Ben Shum <bshum at biblio.org>
+Date:   Mon May 4 17:01:23 2015 -0400
+
+    Docs: Emphasize variables and paths consistently in README
+    
+    Some variables and paths were not emphasized when the instructions for
+    websockets was added. Maintain consistency in the document and emphasize
+    them.
+    
+    Signed-off-by: Ben Shum <bshum at biblio.org>
+
+6	6	README
+
+commit 0be401fa0b5e3db89db73e5daf5652e69a8947bb
+Author: Ben Shum <bshum at biblio.org>
+Date:   Mon May 4 16:57:38 2015 -0400
+
+    Docs: Add [source, bash] to code blocks that were not defined in README
+    
+    For consistency, add [source, bash] to all the blocks of code or script
+    commands in the README
+    
+    Signed-off-by: Ben Shum <bshum at biblio.org>
+
+6	0	README
+
+commit 30a5a2d9b13c4aa0636f2885f0953a840b291033
+Author: Ben Shum <bshum at biblio.org>
+Date:   Mon May 4 16:49:08 2015 -0400
+
+    Docs: Keep all source syntax consistent in README
+    
+    Change occurrences of [source,bash] to [source, bash] for consistency
+    throughout README.
+    
+    Signed-off-by: Ben Shum <bshum at biblio.org>
+
+11	11	README
+
+commit d59acb614910808b5773c377df4e9806f76546dc
+Author: Bill Erickson <berickxx at gmail.com>
+Date:   Thu Feb 5 10:34:40 2015 -0500
+
+    LP#1418613 per-tab websocket send() JS thinko repair
+    
+    Avoid referencing variable defined somewhere outside the send_ws()
+    function.  Doing so happened to result in re-sending the same message
+    twice in some cases.
+    
+    Signed-off-by: Bill Erickson <berickxx at gmail.com>
+    Signed-off-by: Mike Rylander <mrylander at gmail.com>
+
+1	1	src/javascript/opensrf.js
+
 OpenSRF 2.4.0
 -------------
 

commit 7d808d1865a441029fb3077d3013ff528e88feea
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Jun 24 16:07:58 2015 +0000

    set stage for point release notes, à la Evergreen
    
    Also fix a couple typos.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/doc/RELEASE_NOTES.txt b/doc/RELEASE_NOTES.txt
index 546b1b6..a202406 100644
--- a/doc/RELEASE_NOTES.txt
+++ b/doc/RELEASE_NOTES.txt
@@ -1,5 +1,5 @@
-Release notes for OpenSRF 2.4.0
-===============================
+OpenSRF 2.4 Release Notes
+=========================
 
 Supported platforms
 -------------------
@@ -9,11 +9,14 @@ The following Linux distributions are supported:
   * Fedora 17, 18
   * Ubuntu 12.04 LTS (Precise Pangolin) and 14.04 (Trusty Tahr)
 
+OpenSRF 2.4.0
+-------------
+
 New features in 2.4.0
----------------------
+~~~~~~~~~~~~~~~~~~~~~
 
 WebSockets support (LP#1268619)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 WebSockets are a standards-compliant, cross-browser mechanism to support
 streaming, bi-directional communication between the browser and the
 server. For more information, see http://en.wikipedia.org/wiki/WebSocket
@@ -28,7 +31,7 @@ listens on ports 7680 and 7682 and uses a separate Apache
 instance.
 
 Cross Origin Resource Sharing for OpenSRF (LP#1002028)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Browsers' same-origin policy currently restricts requests to the current
 website's domain to prevent various nefarious scenarios. However,
 because APIs and other web resources need to remain open to cross-site
@@ -56,7 +59,7 @@ resulting in the oncomplete method never returning (as blocking requests
 are not possible with cross-domain XHR).
 
 Support for log tagging (LP#1343578)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 It is now possible to specify a log tag, i.e., a string to append
 to the application name in syslog message.  This allows easy filtering
 of log entries when running multiple OpenSRF instances on the same
@@ -65,10 +68,10 @@ server.
 Log tags can be set by adding `logtag` elements in `opensrf_core.xml`.
 
 Enhancements in 2.4.0
----------------------
+~~~~~~~~~~~~~~~~~~~~~
 
 JavaScript library now uses browser-native JSON routines (LP#1316245)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 The routines `JSON2js` and `js2JSON` now use native browser JSON
 routines.  In addition, `jsonPretty` is removed in favor of
 `JSON.stringify`.
@@ -78,7 +81,7 @@ consequence of this change, `JSON2js` will now throw an exception
 if it is given input not is not a valid JSON string.
 
 Listeners now log and drop XMPP error messages (LP#1341687)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 The most common form of XMPP error messages are "bounced" messages, i.e.
 those where the recipient is not available.  Instead of passing these
 useless and confusing messages down to a drone for processing, listeners
@@ -88,16 +91,16 @@ An example of when this can occur is when a service is starting up and
 attempts to register with a router that is not yet available.
 
 Removes osrf_ctl.sh (LP#1286248)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 The control script `osrf_ctl.sh` is removed in favor of `osrf_control`,
 which was introduced in OpenSRF 2.3.0.
 
 Improved docgen output(LP#1292214)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Docgen output now respects formatting present in method description.
 
 Other enhancements
-~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^
   * Add support for Debian Jessie (LP#1306044)
   * Add support for Ubuntu Trusty (and removes support for Lucid) (LP#1315525)
   * Remove deprecated Jabber registration script (LP#1306044)
@@ -106,16 +109,16 @@ Other enhancements
   * Reorder changes to ejabberd.cfg in the install instructions
 
 Bugfixes in 2.4.0
------------------
+~~~~~~~~~~~~~~~~~
 
 OpenSRF.pm no longer supplies AUTOLOAD (LP#1179660)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Instead of simply producing an error message in the OpenSRF logs, calls
 to nonexistent subroutines are now fatal errors which will stop code
 execution.
 
-`osrf_control` only affects processed owned by current user LP#1337401
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+`osrf_control` only affects processes owned by current user (LP#1337401)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 As of 2.3.0, OpenSRF can readily support running multiple instances on
 one server. This bugfix ensures that `osrf_control` only affects OpenSRF
 processes owened by the current user.

commit 3db960c0ccfa161c49a5aa7a23e52f5696cefe14
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed Jun 24 16:01:26 2015 +0000

    increment version number for 2.4.1 release
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/src/perl/lib/OpenSRF.pm b/src/perl/lib/OpenSRF.pm
index 2aef441..e02317f 100644
--- a/src/perl/lib/OpenSRF.pm
+++ b/src/perl/lib/OpenSRF.pm
@@ -16,7 +16,7 @@ Version 2.4.0
 
 =cut
 
-our $VERSION = "2.40";
+our $VERSION = "2.41";
 
 =head1 METHODS
 
diff --git a/src/python/setup.py b/src/python/setup.py
index 1a9c498..66ce353 100644
--- a/src/python/setup.py
+++ b/src/python/setup.py
@@ -3,7 +3,7 @@
 from setuptools import setup
 
 setup(name='OpenSRF',
-    version='2.4.0',
+    version='2.4.1',
     install_requires=[
         'dnspython', # required by pyxmpp
     	'python-memcached',
diff --git a/version.m4 b/version.m4
index 79a9e80..0a4e64a 100644
--- a/version.m4
+++ b/version.m4
@@ -1 +1 @@
-m4_define([VERSION_NUMBER],[2.4.0]) 
+m4_define([VERSION_NUMBER],[2.4.1]) 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |  213 +++++++++++++++++++++++++++++++++++++++++++++++
 doc/RELEASE_NOTES.txt   |   82 +++++++++++++++----
 src/perl/lib/OpenSRF.pm |    2 +-
 src/python/setup.py     |    2 +-
 version.m4              |    2 +-
 5 files changed, 282 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
OpenSRF


More information about the opensrf-commits mailing list