1 commit 8843aecde3f6312b7b6ef3e03efe4d9202972821
2 Author: Ben Shum <ben@evergreener.net>
3 Date: Tue Mar 14 23:00:56 2017 -0400
5 LP#1672926: Disable/remove default nginx config in REAMDE steps
7 Since we will be adding our own custom nginx config, disable/remove the
8 default one that is installed so there's no confusion later on.
10 Signed-off-by: Ben Shum <ben@evergreener.net>
11 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
15 commit f9818694ccc95d7b305e6173d01cf7ba73f99968
16 Author: Galen Charlton <gmc@equinoxinitiative.org>
17 Date: Tue Mar 21 09:28:54 2017 -0400
19 update ChangeLog for 2.5.0
21 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
25 commit dab92ad2da878490c12ba94d1614a5059400617a
26 Author: Galen Charlton <gmc@equinoxinitiative.org>
27 Date: Tue Mar 21 09:28:35 2017 -0400
29 update version stamp for 2.5.0
31 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
34 2 2 src/perl/lib/OpenSRF.pm
35 1 1 src/python/setup.py
38 commit 7bb3df17205b88cd959d0018a919f33b5a2e7790
39 Author: Galen Charlton <gmc@equinoxinitiative.org>
40 Date: Tue Mar 21 09:18:38 2017 -0400
42 update release notes for 2.5.0
44 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
46 26 41 doc/RELEASE_NOTES.txt
48 commit 828efee972241d54b49d9a3bdf7466d3c9c1b39a
49 Author: Dan Scott <dscott@laurentian.ca>
50 Date: Thu Mar 2 10:31:02 2017 -0500
52 Remove Fedora as a well-tested target
54 The Fedora install target requires a number of updates and is now
55 far from a "well-tested target".
57 Signed-off-by: Dan Scott <dscott@laurentian.ca>
58 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
62 commit f5ba231bd2df5a9d4a827e38d4ddfbc02cb29cec
63 Author: Chris Sharp <csharp@georgialibraries.org>
64 Date: Sat Mar 4 15:22:20 2017 -0500
66 LP#1670045 - Correct Nginx README instructions
68 Previously, following the optional Nginx server setup
69 instructions resulted in failure for nginx to install
70 because Apache is already using ports 80 and 443. Switch
71 the steps so that we change Apache's listening ports before
74 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
75 Signed-off-by: Ben Shum <ben@evergreener.net>
79 commit f626531f9b4101c03365ce2f9cae219b350564c2
80 Author: Galen Charlton <gmc@equinoxinitiative.org>
81 Date: Wed Mar 1 11:00:11 2017 -0500
83 update ChangeLog for 2.5.0-rc
85 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
89 commit caf15e949d339fc2125185888431109c9a1f0ccc
90 Author: Galen Charlton <gmc@equinoxinitiative.org>
91 Date: Wed Mar 1 10:59:56 2017 -0500
93 update version stamp for 2.5.0-rc
95 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
98 2 2 src/perl/lib/OpenSRF.pm
99 1 1 src/python/setup.py
102 commit ac8125b786d779e044e145bb8b6aa4f5576fbd85
103 Author: Galen Charlton <gmc@equinoxinitiative.org>
104 Date: Wed Mar 1 10:55:40 2017 -0500
106 update release notes for 2.5.0-rc
108 10 2 doc/RELEASE_NOTES.txt
110 commit 838aed4e78a69f5fef7a55f018f2659b0236f5ac
111 Author: Bill Erickson <berickxx@gmail.com>
112 Date: Wed Feb 22 16:05:25 2017 -0500
114 LP#1667091 Remove non-SSL websockets sample configs
116 All WebSockets communication occurs via SSL in the sample configuration
117 files. Non-SSL communication is still an option if required with local
120 Signed-off-by: Bill Erickson <berickxx@gmail.com>
121 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
123 0 9 examples/apache2/websockets/apache2.conf
124 0 8 examples/apache_24/websockets/apache2.conf
125 1 1 examples/nginx/osrf-ws-http-proxy
127 commit b9b50e4802e9c6aad257d1ed6085c7ab252062f4
128 Author: Galen Charlton <gmc@equinoxinitiative.org>
129 Date: Tue Feb 21 17:27:33 2017 -0500
131 update changelog for 2.5.0-beta
133 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
137 commit cf6a373f0c3f5e60dc72f4de44b11866d5b986af
138 Author: Galen Charlton <gmc@equinoxinitiative.org>
139 Date: Tue Feb 21 17:26:20 2017 -0500
141 udpate version stamps for 2.5.0-beta
143 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
146 2 2 src/perl/lib/OpenSRF.pm
147 1 1 src/python/setup.py
150 commit 5d552226c08385bda3ece8ac308329ba423af76b
151 Author: Galen Charlton <gmc@equinoxinitiative.org>
152 Date: Tue Feb 21 17:25:00 2017 -0500
154 update release notes for 2.5-beta
156 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
158 13 2 doc/RELEASE_NOTES.txt
160 commit 3d1aae3f88a547fb76754085e062de3f139246ba
161 Author: Galen Charlton <gmc@equinoxinitiative.org>
162 Date: Tue Feb 21 16:21:23 2017 -0500
164 LP#1666706: add --with-websockets-port configure option
166 This patch adds the ability to specify the WebSockets
167 port as a configure option, avoiding the need to manually
168 edit a couple JavaScript files if one chooses to proxy
171 This patch also cleans up the set of JavaScript files that
172 are installed so that some test case files are not installed
175 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
181 0 104 src/javascript/opensrf_ws.js
182 104 0 src/javascript/opensrf_ws.js.in
183 0 248 src/javascript/opensrf_ws_shared.js
184 248 0 src/javascript/opensrf_ws_shared.js.in
185 delete mode 100644 src/javascript/opensrf_ws.js
186 create mode 100644 src/javascript/opensrf_ws.js.in
187 delete mode 100644 src/javascript/opensrf_ws_shared.js
188 create mode 100644 src/javascript/opensrf_ws_shared.js.in
190 commit 21c1412b408943cc4425dce2e9cc9222faf4fa78
191 Author: Mike Rylander <mrylander@gmail.com>
192 Date: Thu Aug 4 08:57:44 2016 -0400
194 LP#1616501: teach mod_perl handlers how to detect client disconnects
196 This patch provides an API so that mod_perl handlers
197 that act as OpenSRF clients have a way to specify that
198 if the browser disconnects, to stop trying to receive
199 results from an XMPP request.
201 To invoke it, mod_perl handlers can add the following:
208 OpenSRF->OSRF_APACHE_REQUEST_OBJ($r);
211 Signed-off-by: Mike Rylander <mrylander@gmail.com>
212 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
214 17 0 src/perl/lib/OpenSRF.pm
215 25 1 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
217 commit f12ae3fab235a35127e79d0a16dadf8967d2bed2
218 Author: Galen Charlton <gmc@equinoxinitiative.org>
219 Date: Thu Feb 16 15:16:34 2017 -0500
221 update ChangeLog for 2.5.0-alpha2
223 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
227 commit 88c8970c3dea26c72bc3173b18041e29538c4d8c
228 Author: Galen Charlton <gmc@equinoxinitiative.org>
229 Date: Thu Feb 16 15:16:21 2017 -0500
231 update version numbers for 2.5.0-alpha2
233 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
236 1 1 src/perl/lib/OpenSRF.pm
237 1 1 src/python/setup.py
240 commit 9df9c484031e313d3c6f1f85951d6b67b931f536
241 Author: Galen Charlton <gmc@equinoxinitiative.org>
242 Date: Thu Feb 16 15:13:17 2017 -0500
244 update release notes for 2.5.0-alpha2
246 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
248 16 2 doc/RELEASE_NOTES.txt
250 commit 4744d1a42b709a2c7aa778565c0c32a1962e0e2c
251 Author: Galen Charlton <gmc@equinoxinitiative.org>
252 Date: Wed Feb 15 16:58:06 2017 -0500
254 LP#1652382: more improvements to cache key munging
256 - teach osrfCacheRemove to clean keys
257 - fix implict declaration compilation warning
258 - account for fact that iscntrl('\0') returns true
260 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
261 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
263 5 2 src/libopensrf/osrf_cache.c
265 commit 7ec6c1a4b3fc99f10bd1b3c9b07a0008672cf3f6
266 Author: Galen Charlton <gmc@equinoxinitiative.org>
267 Date: Wed Feb 15 14:12:34 2017 -0500
269 LP#1652382: handle cases where supplied key is longer than 250 bytes
271 With this patch, if cache clients want to use a key longer
272 than the memcached text protocol limit of 250 bytes, the
273 key is normalized to 'shortened_' + md5_hex(normalized_key).
275 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
276 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
278 10 1 src/libopensrf/osrf_cache.c
279 4 0 src/perl/lib/OpenSRF/Utils/Cache.pm
281 commit e58f20fd69b1fb2e94765a2bf9067ba1cbb9d2d9
282 Author: Mike Rylander <mrylander@gmail.com>
283 Date: Mon Jan 30 12:54:10 2017 -0500
285 LP#1652382: Make use of the clean key just created
287 Signed-off-by: Mike Rylander <mrylander@gmail.com>
288 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
289 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
290 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
292 1 1 src/libopensrf/osrf_cache.c
294 commit 8f31413ba4334ee3f695f84a810eccbe94351f77
295 Author: Mike Rylander <mrylander@gmail.com>
296 Date: Fri Jan 27 15:25:05 2017 -0500
298 LP#1652382: normalization of memcache keys in C code
300 Memcache does not allow spaces in keys, so here we will actively strip them
301 from any key we get from a caller. Some callers are not very proactive about
302 sending clean keys, and this patch prevents issues that can poison C-based
303 OpenSRF service backends.
305 Signed-off-by: Mike Rylander <mrylander@gmail.com>
306 Signed-off-by: Kathy Lussier <klussier@masslnc.org>
307 Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
308 Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
310 20 2 src/libopensrf/osrf_cache.c
312 commit 22e2c7729b6caf265b27ff14126fe5595e87cdca
313 Author: Mike Rylander <mrylander@gmail.com>
314 Date: Tue Jan 10 15:30:18 2017 -0500
316 LP#1655449: Bundling/chunking limits for SubRquests
318 We need to teach subrequests to inherit parent request bundling/chunking
319 parameters so they don't cause overruns in dispatch mode.
321 Signed-off-by: Mike Rylander <mrylander@gmail.com>
322 Signed-off-by: Jason Stephenson <jason@sigio.com>
324 5 1 src/perl/lib/OpenSRF/AppSession.pm
325 17 3 src/perl/lib/OpenSRF/Application.pm
327 commit b6fe0b1c9917d3d188ff8053f5fc3611ef878b3a
328 Author: Galen Charlton <gmc@esilibrary.com>
329 Date: Thu Dec 22 15:53:12 2016 +0500
331 LP#1652122: fix infinite recursion in opensrf.system.method.all
333 Under certain circumstances, calling opensrf.system.method.all on a
334 Perl service can result in an infinite recursion when attempting to
335 serialize an OpenSRF::Application object to JSON. In particular,
336 this was observed to happen when doing an introspection of
337 the opensrf.settings service.
339 This patch avoids the infinite recursion (and consequent memory
340 leak) by ensuring that the 'session' key is slated for exclusion
341 from serialization from OpenSRF::Application objects during
344 Note that the problem does not affect all Perl services; if a
345 Perl service declares at least one streaming method, the auto-registration
346 of the .atomic method will result in 'session'-stripping.
348 This patch fixes a regression introduced in bug 1350457.
352 [1] Run 'introspect opensrf.settings' via srfsh; observe
353 that it never returns and that the opensrf.settings drone
354 will grow in memory sized until killed.
355 [2] Apply the patch, then repeat step 1. This time, the
356 request should succeed.
358 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
359 Signed-off-by: Mike Rylander <mrylander@gmail.com>
361 1 1 src/perl/lib/OpenSRF/System.pm
363 commit 318ec1ad8f15184be46de3ef6d564e43d0139b79
364 Author: Galen Charlton <gmc@esilibrary.com>
365 Date: Wed Dec 7 17:12:49 2016 -0500
367 changelog for 2.5.0-alpha
369 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
373 commit fb50a71d11bb2865722a1625bad075ca7eaf2ef3
374 Author: Galen Charlton <gmc@esilibrary.com>
375 Date: Wed Dec 7 16:55:23 2016 -0500
377 update version numbers for 2.5.0-alpha
379 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
382 1 1 src/perl/lib/OpenSRF.pm
383 1 1 src/python/setup.py
386 commit fbfde6f6ca1fe8fed8b86c93f315a1110fb74512
387 Author: Galen Charlton <gmc@esilibrary.com>
388 Date: Wed Dec 7 16:52:08 2016 -0500
390 release notes for 2.5-alpha
392 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
394 136 0 doc/RELEASE_NOTES.txt
395 create mode 100644 doc/RELEASE_NOTES.txt
397 commit b1d19c8b9ff0bee77a3c98e793bf8efa67693a4e
398 Author: Galen Charlton <gmc@esilibrary.com>
399 Date: Wed Dec 7 13:34:15 2016 -0500
401 LP#1648188: example HAProxy configuration
403 Add an example configuration for using HAProxy.
405 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
408 25 0 examples/haproxy/osrf-ws-http-proxy
409 create mode 100644 examples/haproxy/osrf-ws-http-proxy
411 commit 93da6fb07c8b613011028f577b55fa8ba940f1ee
412 Author: Galen Charlton <gmc@esilibrary.com>
413 Date: Wed Dec 7 12:54:05 2016 -0500
415 LP#1638651: add instructions for using NGINX
417 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
421 commit ededc269eacb9e69e30074bba2cff35a3148e62e
422 Author: Bill Erickson <berickxx@gmail.com>
423 Date: Mon Oct 31 15:56:32 2016 -0400
425 LP#1638651: example Nginx websockets/http(s) proxy config
427 Example using Nginx to proxy all websocket, http, and https Apache
430 Signed-off-by: Bill Erickson <berickxx@gmail.com>
431 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
433 56 0 examples/nginx/osrf-ws-http-proxy
434 create mode 100644 examples/nginx/osrf-ws-http-proxy
436 commit a3b2a15f27709815155eb9dbb8026343000753d5
437 Author: Galen Charlton <gmc@esilibrary.com>
438 Date: Wed Dec 7 11:58:35 2016 -0500
440 LP#1382038: clarify one step of installing websockets support
442 Specify directory to be in before copying the Apache websockets
445 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
449 commit a1fe6e1c1ccb7b3efab386a7f34c0555d07bd7e7
450 Author: Galen Charlton <gmc@esilibrary.com>
451 Date: Wed Dec 7 11:53:49 2016 -0500
453 LP#1382038: adjustments to download instructions
455 - Use "OSRFVERSION" in the master branch rather than
456 a specific version number; this is meant to be changed
457 during the release process.
458 - Update references to the OpenSRF downloads index
461 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
465 commit cd06277c3972437e676f51744749009c0d7eeb60
466 Author: Remington Steed <rjs7@calvin.edu>
467 Date: Mon Nov 21 10:58:33 2016 -0500
469 LP#1382038: Add instructions for implied download/unpack step
471 Occasionally, new users have complained that the installation
472 instructions making too many assumptions about what a user knows. This
473 commit explicitly instructs users in downloading the source tarball,
474 unpacking it, and changing the working directory so they will be ready
475 for the next instructions.
477 Signed-off-by: Remington Steed <rjs7@calvin.edu>
478 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
482 commit 5aa8a398e01e2642fd4b08c93fe9c719039dbedf
483 Author: Galen Charlton <gmc@esilibrary.com>
484 Date: Thu Nov 3 18:08:54 2016 -0400
486 LP#1612771: fix chunking for atomic C methods
488 This patch also refactors the code that actually does the
489 splitting and sending of chunked responses into a new
490 public function, osrfSendChunkedResult().
492 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
493 Signed-off-by: Ben Shum <ben@evergreener.net>
494 Signed-off-by: Mike Rylander <miker@esilibrary.com>
496 4 0 include/opensrf/osrf_app_session.h
497 96 10 src/libopensrf/osrf_app_session.c
498 2 58 src/libopensrf/osrf_application.c
500 commit 168b4cafe766ec976e075ec2ea496c00a27dc7d0
501 Author: Galen Charlton <gmc@esilibrary.com>
502 Date: Tue Nov 1 17:22:48 2016 -0400
504 LP#1631522: add release notes for ->dispatch
506 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
508 12 0 doc/Dispatch-Mode-for-Subrequests.txt
509 create mode 100644 doc/Dispatch-Mode-for-Subrequests.txt
511 commit 31a0bfea9911f24f563d70bfdea6ba7759071842
512 Author: Galen Charlton <gmc@esilibrary.com>
513 Date: Tue Nov 1 17:20:49 2016 -0400
515 LP#1631522: dev doc now describes ->dispatch
517 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
519 5 1 doc/Application-HOWTO.txt
521 commit 1431100b4737a61b1a294bbf66f9a5867dec358b
522 Author: Galen Charlton <gmc@esilibrary.com>
523 Date: Tue Nov 1 17:03:03 2016 -0400
525 LP#1631522: include example of ->dispatch in example app
527 This patch also makes the Perl opensrf.math demo app work
528 correctly, as it hadn't been constructing opensrf.dbmath
529 method names correctly.
531 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
533 4 5 src/perl/lib/OpenSRF/Application/Demo/Math.pm
535 commit 9d106aef9ab0a8d5af75977ffb4cc5f8f3fe5c79
536 Author: Mike Rylander <mrylander@gmail.com>
537 Date: Thu Aug 25 17:42:31 2016 -0400
539 LP#1631522: Dispatch mode for method_lookup subrequests
541 There is a pattern in the wild of using OpenSRF's method_lookup() facility
542 to decide between one of several local methods when delegating to pre-existing
543 logic. Often times, we want to simply hand control over to another method,
544 but the output of a subrequest's run() is an array of results. The caller has
545 to know if, and how, to restructure the result for the client.
547 Instead, we can now call dispatch() instead of run() and have OpenSRF session
548 control completely passed to the delegate code. This way, the delegate code
549 need not know anything about its caller, and vice versa.
551 Signed-off-by: Mike Rylander <mrylander@gmail.com>
552 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
554 28 3 src/perl/lib/OpenSRF/AppSession.pm
555 8 1 src/perl/lib/OpenSRF/Application.pm
557 commit dbf9ec150dfa6a5b87028aa890a80b529dfe5683
558 Author: Galen Charlton <gmc@esilibrary.com>
559 Date: Tue Nov 1 16:30:26 2016 -0400
561 LP#1612771: add release notes
563 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
565 19 0 doc/Bundling-and-Chunking.txt
566 create mode 100644 doc/Bundling-and-Chunking.txt
568 commit 76a5fd0055b2af25f0783825c951021a32a5f17d
569 Author: Galen Charlton <gmc@esilibrary.com>
570 Date: Tue Nov 1 16:22:10 2016 -0400
572 LP#1612771: fix error in POD
574 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
576 1 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
578 commit 4f73f38bae3892fa4f6b3980c5724af521a31fde
579 Author: Galen Charlton <gmc@esilibrary.com>
580 Date: Tue Nov 1 16:03:50 2016 -0400
582 LP#1612771: update protocol documentation
584 Now that we have PARTIAL and NOCONTENT statuses, let's
585 mention them in the documentation for the benefit of
586 folks writing future clients.
588 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
590 9 1 doc/OpenSRF-Messaging-Protocol.html
592 commit d79c7eee6ce44bd3b38bd712d487cb31752c3a31
593 Author: Galen Charlton <gmc@esilibrary.com>
594 Date: Tue Nov 1 15:46:13 2016 -0400
596 LP#1612771: don't adjust max_stanza_size during installation
598 As the typical max_stanza_size for ejabberd installations
599 is larger than what OpenSRF now needs, this patch adjusts
600 the installation instructions to remove the step to change
603 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
607 commit fd1ce3521553d6ddbc42762090be8ecdbc0b39f2
608 Author: Mike Rylander <mrylander@gmail.com>
609 Date: Sun Feb 23 15:55:52 2014 -0500
611 LP#1612771: Add chunking support to JS implementation
613 Signed-off-by: Mike Rylander <mrylander@gmail.com>
614 Signed-off-by: Bill Erickson <berick@esilibrary.com>
615 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
617 3 0 include/opensrf/osrf_message.h
618 57 6 src/javascript/opensrf.js
620 commit 75a9906d5a5e90c60c8e0614e0c71796c511ec18
621 Author: Bill Erickson <berick@esilibrary.com>
622 Date: Fri Feb 28 12:44:11 2014 -0500
624 LP#1612771: implement C max_chunk_size server support
626 Signed-off-by: Bill Erickson <berick@esilibrary.com>
627 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
629 94 23 src/libopensrf/osrf_application.c
630 7 1 src/libopensrf/osrf_message.c
632 commit 18be4a4cf242a274cf5a3143c2063d75331ec7c0
633 Author: Bill Erickson <berick@esilibrary.com>
634 Date: Thu Feb 27 15:18:15 2014 -0500
636 LP#1612771: set Perl / C max_chunk_size default sizes
638 default max bundle size == 25K
639 default max chunk size == 50K
641 Note with Ejabberd using 65536 as the default max stanza size, these
642 new OpenSRF defaults mean that all messages will fit the default
643 message size constraints -- i.e. no more need to raise the
646 Signed-off-by: Bill Erickson <berick@esilibrary.com>
647 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
649 6 1 include/opensrf/osrf_app_session.h
650 0 5 src/libopensrf/osrf_application.c
651 2 2 src/perl/lib/OpenSRF/Application.pm
653 commit b3b6b4211472e4897581a93d9615d8544f29779f
654 Author: Mike Rylander <mrylander@gmail.com>
655 Date: Sun Feb 23 16:35:17 2014 -0500
657 LP#1612771: C support for receiving chunked responses
660 * consistent w/ Perl, we now have "bundling" and "chunking"
662 Signed-off-by: Bill Erickson <berick@esilibrary.com>
664 1 0 include/opensrf/osrf_app_session.h
665 3 2 include/opensrf/osrf_application.h
666 56 0 src/libopensrf/osrf_app_session.c
667 9 8 src/libopensrf/osrf_application.c
669 commit 56e65d1e6fb4ee72b28b4e008b9461d5bac55b8d
670 Author: Bill Erickson <berick@esilibrary.com>
671 Date: Mon Feb 24 15:14:19 2014 -0500
673 LP#1612771: Perl max_chunk_size additions
675 * Added missing max_chunk_size method to AppSession
676 * Copy API max_chunk_size value into the handler AppRequest
677 * Fix error where no-chunking resulted in empty responses
679 Signed-off-by: Bill Erickson <berick@esilibrary.com>
680 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
682 25 14 src/perl/lib/OpenSRF/AppSession.pm
683 2 1 src/perl/lib/OpenSRF/Application.pm
684 12 4 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
686 commit 01f95834835bed94df93a7fdad59e38486e6485a
687 Author: Mike Rylander <mrylander@gmail.com>
688 Date: Sun Feb 23 14:51:13 2014 -0500
690 LP#1612771: bundling and chunking
692 This patch is first in a series of patches that provides the following
695 * OpenSRF message bundling -- Pack multiple OpenSRF messages together
696 in a single XMPP envelope, as long as we believe more messages will be
697 sent in the future and we are below some threshold of combined message size.
698 The default for that threshold is 25Kb.
700 * OpenSRF message chunking -- Break up large OpenSRF messages across
701 multiple XMPP envelopes. This is implemented with a new OpenSRF message type.
702 C, Perl, and Javascript libraries are taught how to reconstruct chunked
703 messages. The default chunking threshold is 50Kb, just a bit below the default
704 ejabberd max stanza size of 64Kb.
706 This patch in particular renames "chunking" to "bundling", then
707 implements message splitting ("chunking") in Perl using two new
708 oilsResult subclasses
710 Signed-off-by: Mike Rylander <mrylander@gmail.com>
711 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
713 80 43 src/perl/lib/OpenSRF/AppSession.pm
714 13 6 src/perl/lib/OpenSRF/Application.pm
715 83 1 src/perl/lib/OpenSRF/DomainObject/oilsResponse.pm
717 commit 784233808062dbc599b649ce9858759ab0a8dff3
718 Author: Ben Shum <ben@evergreener.net>
719 Date: Tue Jul 5 12:53:13 2016 -0400
721 LP#1603708: Remove support for Ubuntu 12.04 Precise
723 With support for Ubuntu 16.04 Xenial in place, remove the oldest LTS, which is
724 Ubuntu 12.04 Precise.
726 Signed-off-by: Ben Shum <ben@evergreener.net>
727 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
730 3 13 src/extras/Makefile.install
732 commit 15f8c538af5469545fabab9e21252f49555ae131
733 Author: Ben Shum <ben@evergreener.net>
734 Date: Tue Jul 5 12:50:34 2016 -0400
736 Docs: Change 14.04 to Trusty in README
738 For consistency, change references from numbered "Ubuntu 14.04" to "Ubuntu Trusty"
740 Signed-off-by: Ben Shum <ben@evergreener.net>
741 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
745 commit e3f9b6a3adb8391e83221909575554ab1ec8c74c
746 Author: Ben Shum <ben@evergreener.net>
747 Date: Tue Jul 5 12:44:17 2016 -0400
749 Docs: Add Xenial references in the websocket setup instructions
751 We were missing Xenial references for the websocket setup instructions.
753 They are the same as Trusty, so group together for now.
755 Also, change references to "Ubuntu 16.04" to read "Ubuntu Xenial" too.
757 Signed-off-by: Ben Shum <ben@evergreener.net>
758 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
762 commit 34038f2e3dd9a2ad6842f3593938955143213b11
763 Author: Bill Erickson <berickxx@gmail.com>
764 Date: Fri Jul 10 10:52:20 2015 -0400
766 LP#1473479 Syslog configuration adoption
768 When an OpenSRF client is run with syslog enabled and with the
769 OSRF_ADOPT_SYSLOG environment variable set to a true value, no attempt
770 is made to modify the syslog configuration, including no calls to
771 openlog()/closelog() and no modification of the syslog facility when
774 Signed-off-by: Bill Erickson <berickxx@gmail.com>
775 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
777 9 3 src/perl/lib/OpenSRF/Utils/Logger.pm
779 commit b6557d6a781fe7f7e16d0c5df5707ce5f8f49d48
780 Author: Mike Rylander <mrylander@gmail.com>
781 Date: Fri Oct 7 12:19:52 2016 -0400
783 LP#1631520: configure install location of Perl modules
785 Add --with-perlbase configure option to specify
786 an alternative location for installing the Perl modules. This
787 can be useful for setups that want to run the Perl modules
788 from a shared filesystem or environments that need to run
789 multiple versions of OpenSRF simultaneously.
791 Users of --with-perlbase are responsible for ensuring that
792 PERL5LIB is set appropriately.
796 [1] Use --with-perlbase during the configure step, e.g.,
798 ./configure --perl-base /tmp/perl
800 [2] Run make; make check; sudo make install
801 [3] Verify that the Perl modules are installed under
803 [4] Make a change to a Perl source file, then
804 go to src/perl, then run sudo ./Build install. Verify
805 that it remembers the --with-perlbase directory
806 and installs the updated module there.
808 Signed-off-by: Mike Rylander <mrylander@gmail.com>
809 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
813 1 1 src/perl/Makefile.am
815 commit 1c8a7dcb24d4ea3a8aa7dc718d2e1f0b12430cb1
816 Author: Ben Shum <ben@evergreener.net>
817 Date: Tue May 24 01:24:09 2016 -0400
819 LP#1585041: Move debian_sys_config target for Debian distributions
821 Similar to how things were reordered for Ubuntu, let's move debian_sys_config
822 for Debian distributions.
824 Signed-off-by: Ben Shum <ben@evergreener.net>
825 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
827 4 4 src/extras/Makefile.install
829 commit f3ac7f14ec675e99784b9a5037be66f8c90c22f2
830 Author: Mike Rylander <mrylander@gmail.com>
831 Date: Tue Feb 23 11:22:34 2016 -0500
833 LP#1485371: Release notes for TZ handling in OpenSRF
835 Signed-off-by: Mike Rylander <mrylander@gmail.com>
836 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
838 44 0 doc/TZ-handling.txt
839 create mode 100644 doc/TZ-handling.txt
841 commit 91a8f051220ba1b29e76068a58cbb400ae521834
842 Author: Mike Rylander <mrylander@gmail.com>
843 Date: Mon Aug 3 13:27:56 2015 -0400
845 LP#1485371: Use client-supplied TZ
847 Currently, there is no protocol-level mechanism for passing the client's
848 desired timezone to the server. In much the same way we pass the locale,
849 we can let the server know what timezone it should use when interpreting
854 * Teach perl server code to live in the client TZ, if supplied
855 * Teach perl client code to send the current $ENV{TZ}
856 * Teach javascript library to include client TZ in
857 gateway/translator/websocket communication
858 * Teach C code to pull the incoming TZ and apply it to outgoing messages
859 * Teach srfsh to pull TZ from the environment and pass it with requests
861 Signed-off-by: Mike Rylander <mrylander@gmail.com>
862 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
864 5 0 include/opensrf/osrf_app_session.h
865 7 0 include/opensrf/osrf_message.h
866 21 0 src/javascript/opensrf.js
867 32 0 src/libopensrf/osrf_app_session.c
868 33 0 src/libopensrf/osrf_message.c
869 5 0 src/libopensrf/osrf_stack.c
870 25 1 src/perl/lib/OpenSRF/DomainObject/oilsMessage.pm
871 4 0 src/srfsh/srfsh.c
873 commit e7fe347408b52295f2f820f9527ccf00952b71e8
874 Author: Jason Stephenson <jason@sigio.com>
875 Date: Wed May 4 13:05:31 2016 -0400
877 LP#1551090: Update README for Ubuntu 16.04 (Xenial Xerus).
879 Add installation steps for Ubuntu 16.04.
881 Signed-off-by: Jason Stephenson <jason@sigio.com>
882 Signed-off-by: Ben Shum <ben@evergreener.net>
886 commit 032a964795df73053d09dca37e62e3e276ce343e
887 Author: Jason Stephenson <jason@sigio.com>
888 Date: Tue Apr 19 16:56:15 2016 -0400
890 LP#1551090: Enable mod_perl2 on Ubuntu 16.04 (Xenial Xerus).
892 Ubuntu Xenial Xerus does not automatically enable mod_perl2 for
893 Apache2 when the package is installed, so we enable it via the
896 Signed-off-by: Jason Stephenson <jason@sigio.com>
897 Signed-off-by: Ben Shum <ben@evergreener.net>
899 5 1 src/extras/Makefile.install
901 commit 1fca796c47c9e9c06e65b91085c13ad2cbe52954
902 Author: Chris Sharp <csharp@georgialibraries.org>
903 Date: Thu Feb 18 20:12:40 2016 -0500
905 LP#1551090: Adding apache2-dev dependency to xenial and fixing whitespace
907 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
908 Signed-off-by: Jason Stephenson <jason@sigio.com>
909 Signed-off-by: Ben Shum <ben@evergreener.net>
912 src/extras/Makefile.install
914 5 4 src/extras/Makefile.install
916 commit e91074cf23eeca5da7e9c00977448dcc19b779cc
917 Author: Chris Sharp <csharp@georgialibraries.org>
918 Date: Thu Feb 18 18:10:34 2016 -0500
920 LP#1551090: Since we move apache to the "install_extra_debs*" targets,
922 we need to move debian_sys_config further down to compensate.
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 4 4 src/extras/Makefile.install
930 commit 46dfeaf7245f81c1a8c9833b8cac87a997b23433
931 Author: Chris Sharp <csharp@georgialibraries.org>
932 Date: Wed Feb 17 19:35:02 2016 -0500
934 LP#1551090: Adding necessary connectivity for xenial deb installation.
936 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
937 Signed-off-by: Jason Stephenson <jason@sigio.com>
938 Signed-off-by: Ben Shum <ben@evergreener.net>
940 4 1 src/extras/Makefile.install
942 commit 334b6644ac319403f2095cff6f3cef992a9148ae
943 Author: Chris Sharp <csharp@georgialibraries.org>
944 Date: Wed Feb 17 19:26:01 2016 -0500
946 LP#1551090: Adding apache2 package to Makefile.install deb list.
948 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
949 Signed-off-by: Jason Stephenson <jason@sigio.com>
950 Signed-off-by: Ben Shum <ben@evergreener.net>
952 1 0 src/extras/Makefile.install
954 commit c59b54a7c4f1d1561d23393f6122669d50f41166
955 Author: Chris Sharp <csharp@georgialibraries.org>
956 Date: Wed Feb 17 15:28:05 2016 -0500
958 LP#1551090: Updating Makefile to accommodate ubuntu-xenial target.
960 Removing some redundancy in the extra debs lists.
962 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
963 Signed-off-by: Jason Stephenson <jason@sigio.com>
964 Signed-off-by: Ben Shum <ben@evergreener.net>
967 src/extras/Makefile.install
969 17 16 src/extras/Makefile.install
971 commit c9174e7372b0c14091035617f0689f3719f7506b
972 Author: Galen Charlton <gmc@esilibrary.com>
973 Date: Fri Mar 18 10:59:11 2016 -0400
975 LP#1559121: remove Debian Squeeze support
977 Now that Debian Squeeze's LTS (long-term support) period
978 has ended, Evergreen no longer offers community support
979 for that distribution. This patch removes references
980 to Squeeze from the installation scripts and documentation.
984 [1] Verify that Debian Squeeze is no longer referenced in
985 the installation documentation.
987 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
988 Signed-off-by: Ben Shum <ben@evergreener.net>
991 1 14 src/extras/Makefile.install
993 commit b6cf3eb912fa501a23f4a3f5664f1a12228e731b
994 Author: Galen Charlton <gmc@esilibrary.com>
995 Date: Thu Feb 4 13:09:48 2016 -0500
997 LP#1350457: add test case for perl2JSONObject change
999 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1001 4 1 src/perl/t/09-Utils-JSON.t
1003 commit e1581d4248a6fd42f6ebee233387777f63e25022
1004 Author: Mike Rylander <mrylander@gmail.com>
1005 Date: Wed Jul 30 13:29:46 2014 -0400
1007 LP#1350457: Pass caller's session to subrequests called via method_lookup
1009 In the process of looking up a method for an internal subrequest, we lose
1010 session info. This is a problem when the subrequest makes a remote request,
1011 because then the subrequest can't look up the proper locale, among other
1012 things. The forthcoming branch passes the caller's session to the subrequest.
1014 This patch also teaches OpenSRF object registration how to strip certain
1015 object members -- in particular, the session -- so that introspection
1018 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1019 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1021 9 4 src/perl/lib/OpenSRF/Application.pm
1022 8 1 src/perl/lib/OpenSRF/Utils/JSON.pm
1024 commit 69cbe8000a5123aab33fcb2441c1e136506964a0
1025 Author: Jason Etheridge <jason@esilibrary.com>
1026 Date: Tue Jul 14 14:54:27 2015 -0400
1028 LP#1474507: fix interval_to_seconds for weeks and seconds
1030 This patch fixes an issue where OpenSRF::Utils::interval_to_seconds()
1031 was not recognizing intervals expressed as seconds or weeks.
1033 Signed-off-by: Jason Etheridge <jason@esilibrary.com>
1034 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1036 2 2 src/perl/lib/OpenSRF/Utils.pm
1038 commit 7a714ae480f238211b37fcdb248aecea93ece234
1039 Author: Jason Etheridge <jason@esilibrary.com>
1040 Date: Tue Jul 14 15:10:15 2015 -0400
1042 LP#1474507: tests for interval_to_seconds
1044 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1046 16 0 src/perl/t/09-Utils-interval_to_seconds.t
1047 create mode 100644 src/perl/t/09-Utils-interval_to_seconds.t
1049 commit 55807240854d0d532a5f70f1f483ed8086eb9d95
1050 Author: Mike Rylander <mrylander@gmail.com>
1051 Date: Thu Sep 10 16:56:13 2015 -0400
1053 LP#1494486: Limit damage caused by dropped drone XMPP sockets
1055 It is apparently possible for drones to get into a state where their XMPP
1056 socket is closed but they don't notice. This is bad because the drone can
1057 continue to receive requests from its listener but can no longer respond
1058 to them. To limit the pain this can cause, we should kill the drone as soon
1059 as we notice this condition.
1061 To avoid overhead, this commit notices when the socket returns an error (or
1062 raises a signal, in Perl) upon write, and exits immediately. One message
1063 will be lost, but the drone will no longer be a black hole that does nothing
1064 but absorb requests it can never fill.
1068 [1] Start an OpenSRF stack and look for a drone process.
1069 [2] Use lsof to identify which socket that drone is using
1071 [3] Use gdb to attach to the process and close the socket, e.g.,
1074 (gdb) p close(11) # or whatever the socket number was
1077 [4] Use srfsh to make requests of that service. Eventually, one
1078 of them will hit the drone.
1079 [5] Sans patch, the request will get handled by the drone, but
1080 the results will never get sent, and the drone will remain
1081 available to handle other requests.
1082 [6] With the patch, the drone will exit when it discovers that it
1083 can no longer write to the XMPP socket.
1085 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1086 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1088 4 2 src/libopensrf/osrf_app_session.c
1089 5 0 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
1091 commit 33a5e60ee8f4c539d5bf3dc1d1ff1b62d5715d65
1092 Author: Galen Charlton <gmc@esilibrary.com>
1093 Date: Wed Jun 3 18:35:35 2015 +0000
1095 LP#1152272: do not log batch invocation of srfsh in .srfsh_history
1097 When running srfsh to process a script, do not log
1098 the requests in .srfsh_history.
1102 [1] Run the following command:
1104 echo 'request opensrf.math opensrf.system.echo "foo"' | srfsh
1106 [2] Note that the last line of ~/.srfsh_history should be
1107 'request opensrf.math opensrf.system.echo "foo"'
1109 [3] Apply the patch, compile, and run
1111 echo 'request opensrf.math opensrf.system.echo "bar"' | srfsh
1113 [4] This time, no additional line should have been added to
1116 [5] Another variation to try:
1120 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1121 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1123 7 3 src/srfsh/srfsh.c
1125 commit 6f1daba1493011a8b01cd80d29a68976c24c7010
1126 Author: Galen Charlton <gmc@esilibrary.com>
1127 Date: Wed Jun 3 17:42:06 2015 +0000
1129 LP#1461625: ensure srfsh doesn't close STDOUT prematurely
1131 Ensure that when running srfsh in non-interactive mode
1132 that reads commands directly from a file, (i.e.,
1133 "srfsh script.srfsh" or as a shebang script), it does
1134 not close STDOUT after handling the first request.
1138 [1] Create a srfsh script containing:
1140 request opensrf.math opensrf.system.echo "foo"
1141 request opensrf.math opensrf.system.echo "bar"
1143 [2] Run "srfsh script.srfsh". Note that only the
1144 results of the first echo request are output.
1145 [3] Apply the patch and recompile, then run
1146 "srfsh script.srfsh" again. This time, the
1147 output of both requests is displayed.
1149 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1150 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1152 1 1 src/srfsh/srfsh.c
1154 commit cc1f6ee9349584f7ec7b6f16861805a43f7161d6
1155 Author: Dan Scott <dscott@laurentian.ca>
1156 Date: Thu Jun 18 11:52:00 2015 -0400
1158 LP#1409055 Support specific protocols for OpenSRF gateway requests
1160 If the user passes in a gateway hostname that contains a specific HTTP or HTTPS
1161 protocol, let's just use that.
1163 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1164 Signed-off-by: Bill Erickson <berickxx@gmail.com>
1166 12 0 src/python/osrf/gateway.py
1168 commit 42f14c919d82abbf5927775b933ff8c5d4070d2e
1169 Author: Galen Charlton <gmc@esilibrary.com>
1170 Date: Tue Mar 24 21:00:57 2015 +0000
1172 LP#1436047: make srfsh --safe act as if "! command" doesn't exist
1174 This patch make srfsh treat attempting to run an external
1175 command via "! command" as a parsing error if --safe is
1176 supplied. It also suppress mention of "! commands" from
1179 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1180 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1182 10 4 src/srfsh/srfsh.c
1184 commit d9cbdfd1deb13932720ddffc7f01e976e8efaeda
1185 Author: Mike Rylander <mrylander@gmail.com>
1186 Date: Tue Mar 24 16:22:16 2015 -0400
1188 LP#1436047: Allow disabling of "bang commands" in srfsh
1190 srfsh has the ability to execute commands via system() calls using
1191 the common "!command" syntax. This is very useful, but it would
1192 be nice to be able to turn that functionality off in some cases.
1194 This branch adds argument parsing to detect a new '--safe' command
1195 line parameter, which disables the "!command" syntax.
1197 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1198 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1200 24 12 src/srfsh/srfsh.c
1202 commit 966fb05ed6b47b9a8982cbef2b665f8bab4f75d1
1203 Author: Ben Shum <bshum@biblio.org>
1204 Date: Mon May 4 17:16:29 2015 -0400
1206 Docs: Fix mailing list link for help in README
1208 Signed-off-by: Ben Shum <bshum@biblio.org>
1212 commit e421bb3dd7096ac36989bf687f303c16983d7e58
1213 Author: Josh Stompro <github@stompro.org>
1214 Date: Tue Apr 21 09:50:49 2015 -0500
1216 LP#1445503 - Updated Ejabberd setup steps for Ejabberd 14.x for Debian Jessie
1218 Signed-off-by: Josh Stompro <github@stompro.org>
1219 Signed-off-by: Ben Shum <bshum@biblio.org>
1223 commit 86e6d8438bd751820aff59a6183ae3c37d7fd09c
1224 Author: Ben Shum <bshum@biblio.org>
1225 Date: Mon May 4 17:01:23 2015 -0400
1227 Docs: Emphasize variables and paths consistently in README
1229 Some variables and paths were not emphasized when the instructions for
1230 websockets was added. Maintain consistency in the document and emphasize
1233 Signed-off-by: Ben Shum <bshum@biblio.org>
1237 commit 52b6ecab0b382da55073c37d9646055c57ec8070
1238 Author: Ben Shum <bshum@biblio.org>
1239 Date: Mon May 4 16:57:38 2015 -0400
1241 Docs: Add [source, bash] to code blocks that were not defined in README
1243 For consistency, add [source, bash] to all the blocks of code or script
1244 commands in the README
1246 Signed-off-by: Ben Shum <bshum@biblio.org>
1250 commit ef80e4c260a6a994dea6e8b7856e45c92bf60fcc
1251 Author: Ben Shum <bshum@biblio.org>
1252 Date: Mon May 4 16:49:08 2015 -0400
1254 Docs: Keep all source syntax consistent in README
1256 Change occurrences of [source,bash] to [source, bash] for consistency
1259 Signed-off-by: Ben Shum <bshum@biblio.org>
1263 commit 2cf93448e2ba2540b7fc3ea2f939f62621488420
1264 Author: Bill Erickson <berickxx@gmail.com>
1265 Date: Thu Feb 5 10:34:40 2015 -0500
1267 LP#1418613 per-tab websocket send() JS thinko repair
1269 Avoid referencing variable defined somewhere outside the send_ws()
1270 function. Doing so happened to result in re-sending the same message
1271 twice in some cases.
1273 Signed-off-by: Bill Erickson <berickxx@gmail.com>
1274 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1276 1 1 src/javascript/opensrf.js