1 commit dab92ad2da878490c12ba94d1614a5059400617a
2 Author: Galen Charlton <gmc@equinoxinitiative.org>
3 Date: Tue Mar 21 09:28:35 2017 -0400
5 update version stamp for 2.5.0
7 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
10 2 2 src/perl/lib/OpenSRF.pm
11 1 1 src/python/setup.py
14 commit 7bb3df17205b88cd959d0018a919f33b5a2e7790
15 Author: Galen Charlton <gmc@equinoxinitiative.org>
16 Date: Tue Mar 21 09:18:38 2017 -0400
18 update release notes for 2.5.0
20 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
22 26 41 doc/RELEASE_NOTES.txt
24 commit 828efee972241d54b49d9a3bdf7466d3c9c1b39a
25 Author: Dan Scott <dscott@laurentian.ca>
26 Date: Thu Mar 2 10:31:02 2017 -0500
28 Remove Fedora as a well-tested target
30 The Fedora install target requires a number of updates and is now
31 far from a "well-tested target".
33 Signed-off-by: Dan Scott <dscott@laurentian.ca>
34 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
38 commit f5ba231bd2df5a9d4a827e38d4ddfbc02cb29cec
39 Author: Chris Sharp <csharp@georgialibraries.org>
40 Date: Sat Mar 4 15:22:20 2017 -0500
42 LP#1670045 - Correct Nginx README instructions
44 Previously, following the optional Nginx server setup
45 instructions resulted in failure for nginx to install
46 because Apache is already using ports 80 and 443. Switch
47 the steps so that we change Apache's listening ports before
50 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
51 Signed-off-by: Ben Shum <ben@evergreener.net>
55 commit f626531f9b4101c03365ce2f9cae219b350564c2
56 Author: Galen Charlton <gmc@equinoxinitiative.org>
57 Date: Wed Mar 1 11:00:11 2017 -0500
59 update ChangeLog for 2.5.0-rc
61 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
65 commit caf15e949d339fc2125185888431109c9a1f0ccc
66 Author: Galen Charlton <gmc@equinoxinitiative.org>
67 Date: Wed Mar 1 10:59:56 2017 -0500
69 update version stamp for 2.5.0-rc
71 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
74 2 2 src/perl/lib/OpenSRF.pm
75 1 1 src/python/setup.py
78 commit ac8125b786d779e044e145bb8b6aa4f5576fbd85
79 Author: Galen Charlton <gmc@equinoxinitiative.org>
80 Date: Wed Mar 1 10:55:40 2017 -0500
82 update release notes for 2.5.0-rc
84 10 2 doc/RELEASE_NOTES.txt
86 commit 838aed4e78a69f5fef7a55f018f2659b0236f5ac
87 Author: Bill Erickson <berickxx@gmail.com>
88 Date: Wed Feb 22 16:05:25 2017 -0500
90 LP#1667091 Remove non-SSL websockets sample configs
92 All WebSockets communication occurs via SSL in the sample configuration
93 files. Non-SSL communication is still an option if required with local
96 Signed-off-by: Bill Erickson <berickxx@gmail.com>
97 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
99 0 9 examples/apache2/websockets/apache2.conf
100 0 8 examples/apache_24/websockets/apache2.conf
101 1 1 examples/nginx/osrf-ws-http-proxy
103 commit b9b50e4802e9c6aad257d1ed6085c7ab252062f4
104 Author: Galen Charlton <gmc@equinoxinitiative.org>
105 Date: Tue Feb 21 17:27:33 2017 -0500
107 update changelog for 2.5.0-beta
109 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
113 commit cf6a373f0c3f5e60dc72f4de44b11866d5b986af
114 Author: Galen Charlton <gmc@equinoxinitiative.org>
115 Date: Tue Feb 21 17:26:20 2017 -0500
117 udpate version stamps for 2.5.0-beta
119 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
122 2 2 src/perl/lib/OpenSRF.pm
123 1 1 src/python/setup.py
126 commit 5d552226c08385bda3ece8ac308329ba423af76b
127 Author: Galen Charlton <gmc@equinoxinitiative.org>
128 Date: Tue Feb 21 17:25:00 2017 -0500
130 update release notes for 2.5-beta
132 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
134 13 2 doc/RELEASE_NOTES.txt
136 commit 3d1aae3f88a547fb76754085e062de3f139246ba
137 Author: Galen Charlton <gmc@equinoxinitiative.org>
138 Date: Tue Feb 21 16:21:23 2017 -0500
140 LP#1666706: add --with-websockets-port configure option
142 This patch adds the ability to specify the WebSockets
143 port as a configure option, avoiding the need to manually
144 edit a couple JavaScript files if one chooses to proxy
147 This patch also cleans up the set of JavaScript files that
148 are installed so that some test case files are not installed
151 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
157 0 104 src/javascript/opensrf_ws.js
158 104 0 src/javascript/opensrf_ws.js.in
159 0 248 src/javascript/opensrf_ws_shared.js
160 248 0 src/javascript/opensrf_ws_shared.js.in
161 delete mode 100644 src/javascript/opensrf_ws.js
162 create mode 100644 src/javascript/opensrf_ws.js.in
163 delete mode 100644 src/javascript/opensrf_ws_shared.js
164 create mode 100644 src/javascript/opensrf_ws_shared.js.in
166 commit 21c1412b408943cc4425dce2e9cc9222faf4fa78
167 Author: Mike Rylander <mrylander@gmail.com>
168 Date: Thu Aug 4 08:57:44 2016 -0400
170 LP#1616501: teach mod_perl handlers how to detect client disconnects
172 This patch provides an API so that mod_perl handlers
173 that act as OpenSRF clients have a way to specify that
174 if the browser disconnects, to stop trying to receive
175 results from an XMPP request.
177 To invoke it, mod_perl handlers can add the following:
184 OpenSRF->OSRF_APACHE_REQUEST_OBJ($r);
187 Signed-off-by: Mike Rylander <mrylander@gmail.com>
188 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
190 17 0 src/perl/lib/OpenSRF.pm
191 25 1 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
193 commit f12ae3fab235a35127e79d0a16dadf8967d2bed2
194 Author: Galen Charlton <gmc@equinoxinitiative.org>
195 Date: Thu Feb 16 15:16:34 2017 -0500
197 update ChangeLog for 2.5.0-alpha2
199 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
203 commit 88c8970c3dea26c72bc3173b18041e29538c4d8c
204 Author: Galen Charlton <gmc@equinoxinitiative.org>
205 Date: Thu Feb 16 15:16:21 2017 -0500
207 update version numbers for 2.5.0-alpha2
209 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
212 1 1 src/perl/lib/OpenSRF.pm
213 1 1 src/python/setup.py
216 commit 9df9c484031e313d3c6f1f85951d6b67b931f536
217 Author: Galen Charlton <gmc@equinoxinitiative.org>
218 Date: Thu Feb 16 15:13:17 2017 -0500
220 update release notes for 2.5.0-alpha2
222 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
224 16 2 doc/RELEASE_NOTES.txt
226 commit 4744d1a42b709a2c7aa778565c0c32a1962e0e2c
227 Author: Galen Charlton <gmc@equinoxinitiative.org>
228 Date: Wed Feb 15 16:58:06 2017 -0500
230 LP#1652382: more improvements to cache key munging
232 - teach osrfCacheRemove to clean keys
233 - fix implict declaration compilation warning
234 - account for fact that iscntrl('\0') returns true
236 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
237 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
239 5 2 src/libopensrf/osrf_cache.c
241 commit 7ec6c1a4b3fc99f10bd1b3c9b07a0008672cf3f6
242 Author: Galen Charlton <gmc@equinoxinitiative.org>
243 Date: Wed Feb 15 14:12:34 2017 -0500
245 LP#1652382: handle cases where supplied key is longer than 250 bytes
247 With this patch, if cache clients want to use a key longer
248 than the memcached text protocol limit of 250 bytes, the
249 key is normalized to 'shortened_' + md5_hex(normalized_key).
251 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
252 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
254 10 1 src/libopensrf/osrf_cache.c
255 4 0 src/perl/lib/OpenSRF/Utils/Cache.pm
257 commit e58f20fd69b1fb2e94765a2bf9067ba1cbb9d2d9
258 Author: Mike Rylander <mrylander@gmail.com>
259 Date: Mon Jan 30 12:54:10 2017 -0500
261 LP#1652382: Make use of the clean key just created
263 Signed-off-by: Mike Rylander <mrylander@gmail.com>
264 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
265 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
266 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
268 1 1 src/libopensrf/osrf_cache.c
270 commit 8f31413ba4334ee3f695f84a810eccbe94351f77
271 Author: Mike Rylander <mrylander@gmail.com>
272 Date: Fri Jan 27 15:25:05 2017 -0500
274 LP#1652382: normalization of memcache keys in C code
276 Memcache does not allow spaces in keys, so here we will actively strip them
277 from any key we get from a caller. Some callers are not very proactive about
278 sending clean keys, and this patch prevents issues that can poison C-based
279 OpenSRF service backends.
281 Signed-off-by: Mike Rylander <mrylander@gmail.com>
282 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
283 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
284 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
286 20 2 src/libopensrf/osrf_cache.c
288 commit 22e2c7729b6caf265b27ff14126fe5595e87cdca
289 Author: Mike Rylander <mrylander@gmail.com>
290 Date: Tue Jan 10 15:30:18 2017 -0500
292 LP#1655449: Bundling/chunking limits for SubRquests
294 We need to teach subrequests to inherit parent request bundling/chunking
295 parameters so they don't cause overruns in dispatch mode.
297 Signed-off-by: Mike Rylander <mrylander@gmail.com>
298 Signed-off-by: Jason Stephenson <jason@sigio.com>
300 5 1 src/perl/lib/OpenSRF/AppSession.pm
301 17 3 src/perl/lib/OpenSRF/Application.pm
303 commit b6fe0b1c9917d3d188ff8053f5fc3611ef878b3a
304 Author: Galen Charlton <gmc@esilibrary.com>
305 Date: Thu Dec 22 15:53:12 2016 +0500
307 LP#1652122: fix infinite recursion in opensrf.system.method.all
309 Under certain circumstances, calling opensrf.system.method.all on a
310 Perl service can result in an infinite recursion when attempting to
311 serialize an OpenSRF::Application object to JSON. In particular,
312 this was observed to happen when doing an introspection of
313 the opensrf.settings service.
315 This patch avoids the infinite recursion (and consequent memory
316 leak) by ensuring that the 'session' key is slated for exclusion
317 from serialization from OpenSRF::Application objects during
320 Note that the problem does not affect all Perl services; if a
321 Perl service declares at least one streaming method, the auto-registration
322 of the .atomic method will result in 'session'-stripping.
324 This patch fixes a regression introduced in bug 1350457.
328 [1] Run 'introspect opensrf.settings' via srfsh; observe
329 that it never returns and that the opensrf.settings drone
330 will grow in memory sized until killed.
331 [2] Apply the patch, then repeat step 1. This time, the
332 request should succeed.
334 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
335 Signed-off-by: Mike Rylander <mrylander@gmail.com>
337 1 1 src/perl/lib/OpenSRF/System.pm
339 commit 318ec1ad8f15184be46de3ef6d564e43d0139b79
340 Author: Galen Charlton <gmc@esilibrary.com>
341 Date: Wed Dec 7 17:12:49 2016 -0500
343 changelog for 2.5.0-alpha
345 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
349 commit fb50a71d11bb2865722a1625bad075ca7eaf2ef3
350 Author: Galen Charlton <gmc@esilibrary.com>
351 Date: Wed Dec 7 16:55:23 2016 -0500
353 update version numbers for 2.5.0-alpha
355 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
358 1 1 src/perl/lib/OpenSRF.pm
359 1 1 src/python/setup.py
362 commit fbfde6f6ca1fe8fed8b86c93f315a1110fb74512
363 Author: Galen Charlton <gmc@esilibrary.com>
364 Date: Wed Dec 7 16:52:08 2016 -0500
366 release notes for 2.5-alpha
368 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
370 136 0 doc/RELEASE_NOTES.txt
371 create mode 100644 doc/RELEASE_NOTES.txt
373 commit b1d19c8b9ff0bee77a3c98e793bf8efa67693a4e
374 Author: Galen Charlton <gmc@esilibrary.com>
375 Date: Wed Dec 7 13:34:15 2016 -0500
377 LP#1648188: example HAProxy configuration
379 Add an example configuration for using HAProxy.
381 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
384 25 0 examples/haproxy/osrf-ws-http-proxy
385 create mode 100644 examples/haproxy/osrf-ws-http-proxy
387 commit 93da6fb07c8b613011028f577b55fa8ba940f1ee
388 Author: Galen Charlton <gmc@esilibrary.com>
389 Date: Wed Dec 7 12:54:05 2016 -0500
391 LP#1638651: add instructions for using NGINX
393 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
397 commit ededc269eacb9e69e30074bba2cff35a3148e62e
398 Author: Bill Erickson <berickxx@gmail.com>
399 Date: Mon Oct 31 15:56:32 2016 -0400
401 LP#1638651: example Nginx websockets/http(s) proxy config
403 Example using Nginx to proxy all websocket, http, and https Apache
406 Signed-off-by: Bill Erickson <berickxx@gmail.com>
407 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
409 56 0 examples/nginx/osrf-ws-http-proxy
410 create mode 100644 examples/nginx/osrf-ws-http-proxy
412 commit a3b2a15f27709815155eb9dbb8026343000753d5
413 Author: Galen Charlton <gmc@esilibrary.com>
414 Date: Wed Dec 7 11:58:35 2016 -0500
416 LP#1382038: clarify one step of installing websockets support
418 Specify directory to be in before copying the Apache websockets
421 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
425 commit a1fe6e1c1ccb7b3efab386a7f34c0555d07bd7e7
426 Author: Galen Charlton <gmc@esilibrary.com>
427 Date: Wed Dec 7 11:53:49 2016 -0500
429 LP#1382038: adjustments to download instructions
431 - Use "OSRFVERSION" in the master branch rather than
432 a specific version number; this is meant to be changed
433 during the release process.
434 - Update references to the OpenSRF downloads index
437 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
441 commit cd06277c3972437e676f51744749009c0d7eeb60
442 Author: Remington Steed <rjs7@calvin.edu>
443 Date: Mon Nov 21 10:58:33 2016 -0500
445 LP#1382038: Add instructions for implied download/unpack step
447 Occasionally, new users have complained that the installation
448 instructions making too many assumptions about what a user knows. This
449 commit explicitly instructs users in downloading the source tarball,
450 unpacking it, and changing the working directory so they will be ready
451 for the next instructions.
453 Signed-off-by: Remington Steed <rjs7@calvin.edu>
454 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
458 commit 5aa8a398e01e2642fd4b08c93fe9c719039dbedf
459 Author: Galen Charlton <gmc@esilibrary.com>
460 Date: Thu Nov 3 18:08:54 2016 -0400
462 LP#1612771: fix chunking for atomic C methods
464 This patch also refactors the code that actually does the
465 splitting and sending of chunked responses into a new
466 public function, osrfSendChunkedResult().
468 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
469 Signed-off-by: Ben Shum <ben@evergreener.net>
470 Signed-off-by: Mike Rylander <miker@esilibrary.com>
472 4 0 include/opensrf/osrf_app_session.h
473 96 10 src/libopensrf/osrf_app_session.c
474 2 58 src/libopensrf/osrf_application.c
476 commit 168b4cafe766ec976e075ec2ea496c00a27dc7d0
477 Author: Galen Charlton <gmc@esilibrary.com>
478 Date: Tue Nov 1 17:22:48 2016 -0400
480 LP#1631522: add release notes for ->dispatch
482 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
484 12 0 doc/Dispatch-Mode-for-Subrequests.txt
485 create mode 100644 doc/Dispatch-Mode-for-Subrequests.txt
487 commit 31a0bfea9911f24f563d70bfdea6ba7759071842
488 Author: Galen Charlton <gmc@esilibrary.com>
489 Date: Tue Nov 1 17:20:49 2016 -0400
491 LP#1631522: dev doc now describes ->dispatch
493 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
495 5 1 doc/Application-HOWTO.txt
497 commit 1431100b4737a61b1a294bbf66f9a5867dec358b
498 Author: Galen Charlton <gmc@esilibrary.com>
499 Date: Tue Nov 1 17:03:03 2016 -0400
501 LP#1631522: include example of ->dispatch in example app
503 This patch also makes the Perl opensrf.math demo app work
504 correctly, as it hadn't been constructing opensrf.dbmath
505 method names correctly.
507 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
509 4 5 src/perl/lib/OpenSRF/Application/Demo/Math.pm
511 commit 9d106aef9ab0a8d5af75977ffb4cc5f8f3fe5c79
512 Author: Mike Rylander <mrylander@gmail.com>
513 Date: Thu Aug 25 17:42:31 2016 -0400
515 LP#1631522: Dispatch mode for method_lookup subrequests
517 There is a pattern in the wild of using OpenSRF's method_lookup() facility
518 to decide between one of several local methods when delegating to pre-existing
519 logic. Often times, we want to simply hand control over to another method,
520 but the output of a subrequest's run() is an array of results. The caller has
521 to know if, and how, to restructure the result for the client.
523 Instead, we can now call dispatch() instead of run() and have OpenSRF session
524 control completely passed to the delegate code. This way, the delegate code
525 need not know anything about its caller, and vice versa.
527 Signed-off-by: Mike Rylander <mrylander@gmail.com>
528 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
530 28 3 src/perl/lib/OpenSRF/AppSession.pm
531 8 1 src/perl/lib/OpenSRF/Application.pm
533 commit dbf9ec150dfa6a5b87028aa890a80b529dfe5683
534 Author: Galen Charlton <gmc@esilibrary.com>
535 Date: Tue Nov 1 16:30:26 2016 -0400
537 LP#1612771: add release notes
539 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
541 19 0 doc/Bundling-and-Chunking.txt
542 create mode 100644 doc/Bundling-and-Chunking.txt
544 commit 76a5fd0055b2af25f0783825c951021a32a5f17d
545 Author: Galen Charlton <gmc@esilibrary.com>
546 Date: Tue Nov 1 16:22:10 2016 -0400
548 LP#1612771: fix error in POD
550 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
552 1 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
554 commit 4f73f38bae3892fa4f6b3980c5724af521a31fde
555 Author: Galen Charlton <gmc@esilibrary.com>
556 Date: Tue Nov 1 16:03:50 2016 -0400
558 LP#1612771: update protocol documentation
560 Now that we have PARTIAL and NOCONTENT statuses, let's
561 mention them in the documentation for the benefit of
562 folks writing future clients.
564 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
566 9 1 doc/OpenSRF-Messaging-Protocol.html
568 commit d79c7eee6ce44bd3b38bd712d487cb31752c3a31
569 Author: Galen Charlton <gmc@esilibrary.com>
570 Date: Tue Nov 1 15:46:13 2016 -0400
572 LP#1612771: don't adjust max_stanza_size during installation
574 As the typical max_stanza_size for ejabberd installations
575 is larger than what OpenSRF now needs, this patch adjusts
576 the installation instructions to remove the step to change
579 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
583 commit fd1ce3521553d6ddbc42762090be8ecdbc0b39f2
584 Author: Mike Rylander <mrylander@gmail.com>
585 Date: Sun Feb 23 15:55:52 2014 -0500
587 LP#1612771: Add chunking support to JS implementation
589 Signed-off-by: Mike Rylander <mrylander@gmail.com>
590 Signed-off-by: Bill Erickson <berick@esilibrary.com>
591 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
593 3 0 include/opensrf/osrf_message.h
594 57 6 src/javascript/opensrf.js
596 commit 75a9906d5a5e90c60c8e0614e0c71796c511ec18
597 Author: Bill Erickson <berick@esilibrary.com>
598 Date: Fri Feb 28 12:44:11 2014 -0500
600 LP#1612771: implement C max_chunk_size server support
602 Signed-off-by: Bill Erickson <berick@esilibrary.com>
603 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
605 94 23 src/libopensrf/osrf_application.c
606 7 1 src/libopensrf/osrf_message.c
608 commit 18be4a4cf242a274cf5a3143c2063d75331ec7c0
609 Author: Bill Erickson <berick@esilibrary.com>
610 Date: Thu Feb 27 15:18:15 2014 -0500
612 LP#1612771: set Perl / C max_chunk_size default sizes
614 default max bundle size == 25K
615 default max chunk size == 50K
617 Note with Ejabberd using 65536 as the default max stanza size, these
618 new OpenSRF defaults mean that all messages will fit the default
619 message size constraints -- i.e. no more need to raise the
622 Signed-off-by: Bill Erickson <berick@esilibrary.com>
623 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
625 6 1 include/opensrf/osrf_app_session.h
626 0 5 src/libopensrf/osrf_application.c
627 2 2 src/perl/lib/OpenSRF/Application.pm
629 commit b3b6b4211472e4897581a93d9615d8544f29779f
630 Author: Mike Rylander <mrylander@gmail.com>
631 Date: Sun Feb 23 16:35:17 2014 -0500
633 LP#1612771: C support for receiving chunked responses
636 * consistent w/ Perl, we now have "bundling" and "chunking"
638 Signed-off-by: Bill Erickson <berick@esilibrary.com>
640 1 0 include/opensrf/osrf_app_session.h
641 3 2 include/opensrf/osrf_application.h
642 56 0 src/libopensrf/osrf_app_session.c
643 9 8 src/libopensrf/osrf_application.c
645 commit 56e65d1e6fb4ee72b28b4e008b9461d5bac55b8d
646 Author: Bill Erickson <berick@esilibrary.com>
647 Date: Mon Feb 24 15:14:19 2014 -0500
649 LP#1612771: Perl max_chunk_size additions
651 * Added missing max_chunk_size method to AppSession
652 * Copy API max_chunk_size value into the handler AppRequest
653 * Fix error where no-chunking resulted in empty responses
655 Signed-off-by: Bill Erickson <berick@esilibrary.com>
656 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
658 25 14 src/perl/lib/OpenSRF/AppSession.pm
659 2 1 src/perl/lib/OpenSRF/Application.pm
660 12 4 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
662 commit 01f95834835bed94df93a7fdad59e38486e6485a
663 Author: Mike Rylander <mrylander@gmail.com>
664 Date: Sun Feb 23 14:51:13 2014 -0500
666 LP#1612771: bundling and chunking
668 This patch is first in a series of patches that provides the following
671 * OpenSRF message bundling -- Pack multiple OpenSRF messages together
672 in a single XMPP envelope, as long as we believe more messages will be
673 sent in the future and we are below some threshold of combined message size.
674 The default for that threshold is 25Kb.
676 * OpenSRF message chunking -- Break up large OpenSRF messages across
677 multiple XMPP envelopes. This is implemented with a new OpenSRF message type.
678 C, Perl, and Javascript libraries are taught how to reconstruct chunked
679 messages. The default chunking threshold is 50Kb, just a bit below the default
680 ejabberd max stanza size of 64Kb.
682 This patch in particular renames "chunking" to "bundling", then
683 implements message splitting ("chunking") in Perl using two new
684 oilsResult subclasses
686 Signed-off-by: Mike Rylander <mrylander@gmail.com>
687 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
689 80 43 src/perl/lib/OpenSRF/AppSession.pm
690 13 6 src/perl/lib/OpenSRF/Application.pm
691 83 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
693 commit 784233808062dbc599b649ce9858759ab0a8dff3
694 Author: Ben Shum <ben@evergreener.net>
695 Date: Tue Jul 5 12:53:13 2016 -0400
697 LP#1603708: Remove support for Ubuntu 12.04 Precise
699 With support for Ubuntu 16.04 Xenial in place, remove the oldest LTS, which is
700 Ubuntu 12.04 Precise.
702 Signed-off-by: Ben Shum <ben@evergreener.net>
703 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
706 3 13 src/extras/Makefile.install
708 commit 15f8c538af5469545fabab9e21252f49555ae131
709 Author: Ben Shum <ben@evergreener.net>
710 Date: Tue Jul 5 12:50:34 2016 -0400
712 Docs: Change 14.04 to Trusty in README
714 For consistency, change references from numbered "Ubuntu 14.04" to "Ubuntu Trusty"
716 Signed-off-by: Ben Shum <ben@evergreener.net>
717 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
721 commit e3f9b6a3adb8391e83221909575554ab1ec8c74c
722 Author: Ben Shum <ben@evergreener.net>
723 Date: Tue Jul 5 12:44:17 2016 -0400
725 Docs: Add Xenial references in the websocket setup instructions
727 We were missing Xenial references for the websocket setup instructions.
729 They are the same as Trusty, so group together for now.
731 Also, change references to "Ubuntu 16.04" to read "Ubuntu Xenial" too.
733 Signed-off-by: Ben Shum <ben@evergreener.net>
734 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
738 commit 34038f2e3dd9a2ad6842f3593938955143213b11
739 Author: Bill Erickson <berickxx@gmail.com>
740 Date: Fri Jul 10 10:52:20 2015 -0400
742 LP#1473479 Syslog configuration adoption
744 When an OpenSRF client is run with syslog enabled and with the
745 OSRF_ADOPT_SYSLOG environment variable set to a true value, no attempt
746 is made to modify the syslog configuration, including no calls to
747 openlog()/closelog() and no modification of the syslog facility when
750 Signed-off-by: Bill Erickson <berickxx@gmail.com>
751 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
753 9 3 src/perl/lib/OpenSRF/Utils/Logger.pm
755 commit b6557d6a781fe7f7e16d0c5df5707ce5f8f49d48
756 Author: Mike Rylander <mrylander@gmail.com>
757 Date: Fri Oct 7 12:19:52 2016 -0400
759 LP#1631520: configure install location of Perl modules
761 Add --with-perlbase configure option to specify
762 an alternative location for installing the Perl modules. This
763 can be useful for setups that want to run the Perl modules
764 from a shared filesystem or environments that need to run
765 multiple versions of OpenSRF simultaneously.
767 Users of --with-perlbase are responsible for ensuring that
768 PERL5LIB is set appropriately.
772 [1] Use --with-perlbase during the configure step, e.g.,
774 ./configure --perl-base /tmp/perl
776 [2] Run make; make check; sudo make install
777 [3] Verify that the Perl modules are installed under
779 [4] Make a change to a Perl source file, then
780 go to src/perl, then run sudo ./Build install. Verify
781 that it remembers the --with-perlbase directory
782 and installs the updated module there.
784 Signed-off-by: Mike Rylander <mrylander@gmail.com>
785 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
789 1 1 src/perl/Makefile.am
791 commit 1c8a7dcb24d4ea3a8aa7dc718d2e1f0b12430cb1
792 Author: Ben Shum <ben@evergreener.net>
793 Date: Tue May 24 01:24:09 2016 -0400
795 LP#1585041: Move debian_sys_config target for Debian distributions
797 Similar to how things were reordered for Ubuntu, let's move debian_sys_config
798 for Debian distributions.
800 Signed-off-by: Ben Shum <ben@evergreener.net>
801 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
803 4 4 src/extras/Makefile.install
805 commit f3ac7f14ec675e99784b9a5037be66f8c90c22f2
806 Author: Mike Rylander <mrylander@gmail.com>
807 Date: Tue Feb 23 11:22:34 2016 -0500
809 LP#1485371: Release notes for TZ handling in OpenSRF
811 Signed-off-by: Mike Rylander <mrylander@gmail.com>
812 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
814 44 0 doc/TZ-handling.txt
815 create mode 100644 doc/TZ-handling.txt
817 commit 91a8f051220ba1b29e76068a58cbb400ae521834
818 Author: Mike Rylander <mrylander@gmail.com>
819 Date: Mon Aug 3 13:27:56 2015 -0400
821 LP#1485371: Use client-supplied TZ
823 Currently, there is no protocol-level mechanism for passing the client's
824 desired timezone to the server. In much the same way we pass the locale,
825 we can let the server know what timezone it should use when interpreting
830 * Teach perl server code to live in the client TZ, if supplied
831 * Teach perl client code to send the current $ENV{TZ}
832 * Teach javascript library to include client TZ in
833 gateway/translator/websocket communication
834 * Teach C code to pull the incoming TZ and apply it to outgoing messages
835 * Teach srfsh to pull TZ from the environment and pass it with requests
837 Signed-off-by: Mike Rylander <mrylander@gmail.com>
838 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
840 5 0 include/opensrf/osrf_app_session.h
841 7 0 include/opensrf/osrf_message.h
842 21 0 src/javascript/opensrf.js
843 32 0 src/libopensrf/osrf_app_session.c
844 33 0 src/libopensrf/osrf_message.c
845 5 0 src/libopensrf/osrf_stack.c
846 25 1 src/perl/lib/OpenSRF/DomainObject/oilsMessage.pm
847 4 0 src/srfsh/srfsh.c
849 commit e7fe347408b52295f2f820f9527ccf00952b71e8
850 Author: Jason Stephenson <jason@sigio.com>
851 Date: Wed May 4 13:05:31 2016 -0400
853 LP#1551090: Update README for Ubuntu 16.04 (Xenial Xerus).
855 Add installation steps for Ubuntu 16.04.
857 Signed-off-by: Jason Stephenson <jason@sigio.com>
858 Signed-off-by: Ben Shum <ben@evergreener.net>
862 commit 032a964795df73053d09dca37e62e3e276ce343e
863 Author: Jason Stephenson <jason@sigio.com>
864 Date: Tue Apr 19 16:56:15 2016 -0400
866 LP#1551090: Enable mod_perl2 on Ubuntu 16.04 (Xenial Xerus).
868 Ubuntu Xenial Xerus does not automatically enable mod_perl2 for
869 Apache2 when the package is installed, so we enable it via the
872 Signed-off-by: Jason Stephenson <jason@sigio.com>
873 Signed-off-by: Ben Shum <ben@evergreener.net>
875 5 1 src/extras/Makefile.install
877 commit 1fca796c47c9e9c06e65b91085c13ad2cbe52954
878 Author: Chris Sharp <csharp@georgialibraries.org>
879 Date: Thu Feb 18 20:12:40 2016 -0500
881 LP#1551090: Adding apache2-dev dependency to xenial and fixing whitespace
883 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
884 Signed-off-by: Jason Stephenson <jason@sigio.com>
885 Signed-off-by: Ben Shum <ben@evergreener.net>
888 src/extras/Makefile.install
890 5 4 src/extras/Makefile.install
892 commit e91074cf23eeca5da7e9c00977448dcc19b779cc
893 Author: Chris Sharp <csharp@georgialibraries.org>
894 Date: Thu Feb 18 18:10:34 2016 -0500
896 LP#1551090: Since we move apache to the "install_extra_debs*" targets,
898 we need to move debian_sys_config further down to compensate.
900 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
901 Signed-off-by: Jason Stephenson <jason@sigio.com>
902 Signed-off-by: Ben Shum <ben@evergreener.net>
904 4 4 src/extras/Makefile.install
906 commit 46dfeaf7245f81c1a8c9833b8cac87a997b23433
907 Author: Chris Sharp <csharp@georgialibraries.org>
908 Date: Wed Feb 17 19:35:02 2016 -0500
910 LP#1551090: Adding necessary connectivity for xenial deb installation.
912 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
913 Signed-off-by: Jason Stephenson <jason@sigio.com>
914 Signed-off-by: Ben Shum <ben@evergreener.net>
916 4 1 src/extras/Makefile.install
918 commit 334b6644ac319403f2095cff6f3cef992a9148ae
919 Author: Chris Sharp <csharp@georgialibraries.org>
920 Date: Wed Feb 17 19:26:01 2016 -0500
922 LP#1551090: Adding apache2 package to Makefile.install deb list.
924 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
925 Signed-off-by: Jason Stephenson <jason@sigio.com>
926 Signed-off-by: Ben Shum <ben@evergreener.net>
928 1 0 src/extras/Makefile.install
930 commit c59b54a7c4f1d1561d23393f6122669d50f41166
931 Author: Chris Sharp <csharp@georgialibraries.org>
932 Date: Wed Feb 17 15:28:05 2016 -0500
934 LP#1551090: Updating Makefile to accommodate ubuntu-xenial target.
936 Removing some redundancy in the extra debs lists.
938 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
939 Signed-off-by: Jason Stephenson <jason@sigio.com>
940 Signed-off-by: Ben Shum <ben@evergreener.net>
943 src/extras/Makefile.install
945 17 16 src/extras/Makefile.install
947 commit c9174e7372b0c14091035617f0689f3719f7506b
948 Author: Galen Charlton <gmc@esilibrary.com>
949 Date: Fri Mar 18 10:59:11 2016 -0400
951 LP#1559121: remove Debian Squeeze support
953 Now that Debian Squeeze's LTS (long-term support) period
954 has ended, Evergreen no longer offers community support
955 for that distribution. This patch removes references
956 to Squeeze from the installation scripts and documentation.
960 [1] Verify that Debian Squeeze is no longer referenced in
961 the installation documentation.
963 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
964 Signed-off-by: Ben Shum <ben@evergreener.net>
967 1 14 src/extras/Makefile.install
969 commit b6cf3eb912fa501a23f4a3f5664f1a12228e731b
970 Author: Galen Charlton <gmc@esilibrary.com>
971 Date: Thu Feb 4 13:09:48 2016 -0500
973 LP#1350457: add test case for perl2JSONObject change
975 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
977 4 1 src/perl/t/09-Utils-JSON.t
979 commit e1581d4248a6fd42f6ebee233387777f63e25022
980 Author: Mike Rylander <mrylander@gmail.com>
981 Date: Wed Jul 30 13:29:46 2014 -0400
983 LP#1350457: Pass caller's session to subrequests called via method_lookup
985 In the process of looking up a method for an internal subrequest, we lose
986 session info. This is a problem when the subrequest makes a remote request,
987 because then the subrequest can't look up the proper locale, among other
988 things. The forthcoming branch passes the caller's session to the subrequest.
990 This patch also teaches OpenSRF object registration how to strip certain
991 object members -- in particular, the session -- so that introspection
994 Signed-off-by: Mike Rylander <mrylander@gmail.com>
995 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
997 9 4 src/perl/lib/OpenSRF/Application.pm
998 8 1 src/perl/lib/OpenSRF/Utils/JSON.pm
1000 commit 69cbe8000a5123aab33fcb2441c1e136506964a0
1001 Author: Jason Etheridge <jason@esilibrary.com>
1002 Date: Tue Jul 14 14:54:27 2015 -0400
1004 LP#1474507: fix interval_to_seconds for weeks and seconds
1006 This patch fixes an issue where OpenSRF::Utils::interval_to_seconds()
1007 was not recognizing intervals expressed as seconds or weeks.
1009 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
1010 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1012 2 2 src/perl/lib/OpenSRF/Utils.pm
1014 commit 7a714ae480f238211b37fcdb248aecea93ece234
1015 Author: Jason Etheridge <jason@esilibrary.com>
1016 Date: Tue Jul 14 15:10:15 2015 -0400
1018 LP#1474507: tests for interval_to_seconds
1020 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1022 16 0 src/perl/t/09-Utils-interval_to_seconds.t
1023 create mode 100644 src/perl/t/09-Utils-interval_to_seconds.t
1025 commit 55807240854d0d532a5f70f1f483ed8086eb9d95
1026 Author: Mike Rylander <mrylander@gmail.com>
1027 Date: Thu Sep 10 16:56:13 2015 -0400
1029 LP#1494486: Limit damage caused by dropped drone XMPP sockets
1031 It is apparently possible for drones to get into a state where their XMPP
1032 socket is closed but they don't notice. This is bad because the drone can
1033 continue to receive requests from its listener but can no longer respond
1034 to them. To limit the pain this can cause, we should kill the drone as soon
1035 as we notice this condition.
1037 To avoid overhead, this commit notices when the socket returns an error (or
1038 raises a signal, in Perl) upon write, and exits immediately. One message
1039 will be lost, but the drone will no longer be a black hole that does nothing
1040 but absorb requests it can never fill.
1044 [1] Start an OpenSRF stack and look for a drone process.
1045 [2] Use lsof to identify which socket that drone is using
1047 [3] Use gdb to attach to the process and close the socket, e.g.,
1050 (gdb) p close(11) # or whatever the socket number was
1053 [4] Use srfsh to make requests of that service. Eventually, one
1054 of them will hit the drone.
1055 [5] Sans patch, the request will get handled by the drone, but
1056 the results will never get sent, and the drone will remain
1057 available to handle other requests.
1058 [6] With the patch, the drone will exit when it discovers that it
1059 can no longer write to the XMPP socket.
1061 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1062 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1064 4 2 src/libopensrf/osrf_app_session.c
1065 5 0 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
1067 commit 33a5e60ee8f4c539d5bf3dc1d1ff1b62d5715d65
1068 Author: Galen Charlton <gmc@esilibrary.com>
1069 Date: Wed Jun 3 18:35:35 2015 +0000
1071 LP#1152272: do not log batch invocation of srfsh in .srfsh_history
1073 When running srfsh to process a script, do not log
1074 the requests in .srfsh_history.
1078 [1] Run the following command:
1080 echo 'request opensrf.math opensrf.system.echo "foo"' | srfsh
1082 [2] Note that the last line of ~/.srfsh_history should be
1083 'request opensrf.math opensrf.system.echo "foo"'
1085 [3] Apply the patch, compile, and run
1087 echo 'request opensrf.math opensrf.system.echo "bar"' | srfsh
1089 [4] This time, no additional line should have been added to
1092 [5] Another variation to try:
1096 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1097 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1099 7 3 src/srfsh/srfsh.c
1101 commit 6f1daba1493011a8b01cd80d29a68976c24c7010
1102 Author: Galen Charlton <gmc@esilibrary.com>
1103 Date: Wed Jun 3 17:42:06 2015 +0000
1105 LP#1461625: ensure srfsh doesn't close STDOUT prematurely
1107 Ensure that when running srfsh in non-interactive mode
1108 that reads commands directly from a file, (i.e.,
1109 "srfsh script.srfsh" or as a shebang script), it does
1110 not close STDOUT after handling the first request.
1114 [1] Create a srfsh script containing:
1116 request opensrf.math opensrf.system.echo "foo"
1117 request opensrf.math opensrf.system.echo "bar"
1119 [2] Run "srfsh script.srfsh". Note that only the
1120 results of the first echo request are output.
1121 [3] Apply the patch and recompile, then run
1122 "srfsh script.srfsh" again. This time, the
1123 output of both requests is displayed.
1125 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1126 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1128 1 1 src/srfsh/srfsh.c
1130 commit cc1f6ee9349584f7ec7b6f16861805a43f7161d6
1131 Author: Dan Scott <dscott@laurentian.ca>
1132 Date: Thu Jun 18 11:52:00 2015 -0400
1134 LP#1409055 Support specific protocols for OpenSRF gateway requests
1136 If the user passes in a gateway hostname that contains a specific HTTP or HTTPS
1137 protocol, let's just use that.
1139 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1140 Signed-off-by: Bill Erickson <berickxx@gmail.com>
1142 12 0 src/python/osrf/gateway.py
1144 commit 42f14c919d82abbf5927775b933ff8c5d4070d2e
1145 Author: Galen Charlton <gmc@esilibrary.com>
1146 Date: Tue Mar 24 21:00:57 2015 +0000
1148 LP#1436047: make srfsh --safe act as if "! command" doesn't exist
1150 This patch make srfsh treat attempting to run an external
1151 command via "! command" as a parsing error if --safe is
1152 supplied. It also suppress mention of "! commands" from
1155 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1156 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1158 10 4 src/srfsh/srfsh.c
1160 commit d9cbdfd1deb13932720ddffc7f01e976e8efaeda
1161 Author: Mike Rylander <mrylander@gmail.com>
1162 Date: Tue Mar 24 16:22:16 2015 -0400
1164 LP#1436047: Allow disabling of "bang commands" in srfsh
1166 srfsh has the ability to execute commands via system() calls using
1167 the common "!command" syntax. This is very useful, but it would
1168 be nice to be able to turn that functionality off in some cases.
1170 This branch adds argument parsing to detect a new '--safe' command
1171 line parameter, which disables the "!command" syntax.
1173 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1174 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1176 24 12 src/srfsh/srfsh.c
1178 commit 966fb05ed6b47b9a8982cbef2b665f8bab4f75d1
1179 Author: Ben Shum <bshum@biblio.org>
1180 Date: Mon May 4 17:16:29 2015 -0400
1182 Docs: Fix mailing list link for help in README
1184 Signed-off-by: Ben Shum <bshum@biblio.org>
1188 commit e421bb3dd7096ac36989bf687f303c16983d7e58
1189 Author: Josh Stompro <github@stompro.org>
1190 Date: Tue Apr 21 09:50:49 2015 -0500
1192 LP#1445503 - Updated Ejabberd setup steps for Ejabberd 14.x for Debian Jessie
1194 Signed-off-by: Josh Stompro <github@stompro.org>
1195 Signed-off-by: Ben Shum <bshum@biblio.org>
1199 commit 86e6d8438bd751820aff59a6183ae3c37d7fd09c
1200 Author: Ben Shum <bshum@biblio.org>
1201 Date: Mon May 4 17:01:23 2015 -0400
1203 Docs: Emphasize variables and paths consistently in README
1205 Some variables and paths were not emphasized when the instructions for
1206 websockets was added. Maintain consistency in the document and emphasize
1209 Signed-off-by: Ben Shum <bshum@biblio.org>
1213 commit 52b6ecab0b382da55073c37d9646055c57ec8070
1214 Author: Ben Shum <bshum@biblio.org>
1215 Date: Mon May 4 16:57:38 2015 -0400
1217 Docs: Add [source, bash] to code blocks that were not defined in README
1219 For consistency, add [source, bash] to all the blocks of code or script
1220 commands in the README
1222 Signed-off-by: Ben Shum <bshum@biblio.org>
1226 commit ef80e4c260a6a994dea6e8b7856e45c92bf60fcc
1227 Author: Ben Shum <bshum@biblio.org>
1228 Date: Mon May 4 16:49:08 2015 -0400
1230 Docs: Keep all source syntax consistent in README
1232 Change occurrences of [source,bash] to [source, bash] for consistency
1235 Signed-off-by: Ben Shum <bshum@biblio.org>
1239 commit 2cf93448e2ba2540b7fc3ea2f939f62621488420
1240 Author: Bill Erickson <berickxx@gmail.com>
1241 Date: Thu Feb 5 10:34:40 2015 -0500
1243 LP#1418613 per-tab websocket send() JS thinko repair
1245 Avoid referencing variable defined somewhere outside the send_ws()
1246 function. Doing so happened to result in re-sending the same message
1247 twice in some cases.
1249 Signed-off-by: Bill Erickson <berickxx@gmail.com>
1250 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1252 1 1 src/javascript/opensrf.js