7 commit 4426a8a503baec5171ae4245eccd595444815358
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date: Thu Aug 21 16:30:05 2014 -0700
11 release notes for OpenSRF 2.4.0-alpha
13 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
15 121 0 doc/RELEASE_NOTES.txt
16 create mode 100644 doc/RELEASE_NOTES.txt
18 commit e8f78636586aeca15632bcfbf0cae20beb2d66a6
19 Author: Galen Charlton <gmc@esilibrary.com>
20 Date: Thu Aug 21 10:02:14 2014 -0700
22 LP#1002028: set Access-Control-Expose-Headers
24 This allows the OpenSRF JavaScript client library (or
25 to be precise, one that has been modified to direct
26 requests at a different domain) to take advantage of CORS
29 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
31 1 0 src/gateway/apachetools.c
33 commit bc914bf1933cc7a9272134fd4bbeb7601d233903
34 Author: Galen Charlton <gmc@esilibrary.com>
35 Date: Thu Aug 21 09:13:23 2014 -0700
37 LP#1002028: support CORS for HTTPS
39 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
41 2 0 src/gateway/apachetools.c
43 commit d8dbf0c4e44cf45f00ffe2785d0778658029b825
44 Author: Bennett Goble <nivardus@gmail.com>
45 Date: Tue May 22 11:57:56 2012 -0400
47 LP#1002028: Cross Origin Resource Sharing for OpenSRF
51 Browsers' same-origin policy currently restricts requests to the current
52 website's domain to prevent various nefarious scenarios. However,
53 because APIs and other web resources need to remain open to cross-site
54 use Cross Origin Resource Sharing (CORS) was created to allow services
55 to formally authorize cross-origin requests. CORS makes it simple to use
56 OpenSRF's HTTP translator and gateway APIs on websites using separate
61 1) A library would like an AJAX-driven "quicksearch" box on their main
62 site, which is hosted on a different domain than their catalog.
63 2) A developer wants to create new web applications and services that
64 tie into Evergreen, but does not wish to install EG locally or
69 The function crossOriginHeaders() has been added to apachetools.c.
70 Incoming requests are checked to see if they have an Origin header. The
71 value of the Origin header is checked against a whitelist defined in
72 opensrf_core.xml config (XPath: /config/gateway/cross_origin/origin).
73 The function returns 1 if CORS headers have been added to the response.
77 * The OpenSRF Javascript client library (opensrf.js) defaults to the root
78 of the current web host "/osrf-http-translator." In addition, synchronous
79 requests are presumed in some situations: resulting in the oncomplete
80 method never returning (Blocking requests are not possible with cross-
82 * It is also possible to enable CORS with the Apache "set header"
83 configuration directive. However, this means that the necessary headers
84 would be appended to every response.
88 Specification - http://www.w3.org/TR/cors/
89 Wikipedia Article - http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
91 Signed-off-by: Bennett Goble <nivardus@gmail.com>
92 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
94 8 0 examples/opensrf_core.xml.example
95 36 0 src/gateway/apachetools.c
96 5 0 src/gateway/apachetools.h
97 5 0 src/gateway/osrf_http_translator.c
98 5 0 src/gateway/osrf_json_gateway.c
100 commit 6ed6f2bc6bf56d0834ae43f00c193bce5a3867a1
101 Author: Galen Charlton <gmc@esilibrary.com>
102 Date: Thu Aug 21 08:58:18 2014 -0700
104 Revert "LP#1350457: Pass caller's session to subrequests called via method_lookup"
106 This reverts commit 96917538c6b6fad688dd40c2a8f0cc9127053b24.
108 3 3 src/perl/lib/OpenSRF/Application.pm
110 commit f0c02bf3cc4e8e2c1049fd2ba0fd24079b5aeba6
111 Author: Josh Stompro <Stomproj@larl.org>
112 Date: Wed May 21 08:26:53 2014 -0500
114 (doc) Reorder changes to ejabberd.cfg in install instructions
116 I found it annoying that the list of changes to make to ejabberd.cfg
117 didn't follow the order that the options showed up in the default
118 Debian ejabberd.cfg. I reordered them so after you finish changing one
119 option, you can search forward in the document for the next term.
121 (From Github pull request #3.)
123 Signed-off-by: Josh Stompro <Stomproj@larl.org>
124 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
128 commit 96917538c6b6fad688dd40c2a8f0cc9127053b24
129 Author: Mike Rylander <mrylander@gmail.com>
130 Date: Wed Jul 30 13:29:46 2014 -0400
132 LP#1350457: Pass caller's session to subrequests called via method_lookup
134 In the process of looking up a method for an internal subrequest, we lose
135 session info. This is a problem when the subrequest makes a remote request,
136 because then the subrequest can't look up the proper locale, among other
137 things. The forthcoming branch passes the caller's session to the subrequest.
139 Signed-off-by: Mike Rylander <mrylander@gmail.com>
140 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
142 3 3 src/perl/lib/OpenSRF/Application.pm
144 commit 6cdd5251ac64651534e579f7e02a70a665f60283
145 Author: Bill Erickson <berick@esilibrary.com>
146 Date: Thu Jul 17 11:37:53 2014 -0400
148 LP#1341687 listeners log/drop XMPP error msgs
150 The most common form of XMPP error messages are "bounced" messages, i.e.
151 those where the recipient is not available. Instead of passing these
152 useless and confusing messages down to a drone for processing, log the
153 error in the listener and drop the message.
155 Signed-off-by: Bill Erickson <berick@esilibrary.com>
156 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
158 9 0 src/libopensrf/osrf_prefork.c
159 5 1 src/perl/lib/OpenSRF/Server.pm
161 commit 54da75bd2f045dbd2225317f74dc5fe38f415fe5
162 Author: Galen Charlton <gmc@esilibrary.com>
163 Date: Wed Aug 20 14:00:17 2014 -0700
165 LP#1343578: document <logtag> in the example opensrf_core.xml
167 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
169 12 0 examples/opensrf_core.xml.example
171 commit 2f4ed86a136cfb7547f7e8c3e2109f4473139276
172 Author: Bill Erickson <berick@esilibrary.com>
173 Date: Thu Jul 17 15:10:35 2014 -0400
175 LP#1343578: Perl/C syslog "logtag" additions.
177 * Honor logtag value when applying a default appname for Perl and C
178 * Extract / apply logtag in the router
179 * Minor repair: avoid redundant strdup
181 Signed-off-by: Bill Erickson <berick@esilibrary.com>
182 Signed-off-by: Mike Rylander <mrylander@gmail.com>
183 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
185 1 1 src/libopensrf/log.c
186 1 1 src/libopensrf/osrf_system.c
187 5 2 src/perl/lib/OpenSRF/Utils/Logger.pm
188 2 0 src/router/osrf_router_main.c
190 commit 512f77b4652d6c793c21c7b6955480e6b9ada195
191 Author: Mike Rylander <mrylander@gmail.com>
192 Date: Fri Jun 20 15:52:47 2014 -0400
194 LP#1343578: Add support for log tagging
196 The ability to provide instance-specific log tagging via syslog
197 would make running multiple instances much easier to manage. So
198 this branch does that.
200 Signed-off-by: Mike Rylander <mrylander@gmail.com>
201 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
203 2 0 include/opensrf/log.h
204 26 1 src/libopensrf/log.c
205 3 0 src/libopensrf/osrf_system.c
206 4 0 src/perl/lib/OpenSRF/Utils/Logger.pm
208 commit 6c3b1001c6183b2f633d0f43ccd3d28071c0c48d
209 Author: Bill Erickson <berick@esilibrary.com>
210 Date: Mon May 5 13:40:46 2014 -0400
212 LP#1316245: JS now uses browser-native JSON routines
214 * Replace JSON2jsRaw() with JSON.parse()
216 * Replace js2JSONRaw() with JSON.stringify()
218 * Removed unit tests for JSON2jsRaw() and js2JSONRaw()
220 * Removed jsonPretty() pretty-printing routine. Use
221 JSON.stringify(json, null, <spaces>) instead.
225 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON
227 Signed-off-by: Bill Erickson <berick@esilibrary.com>
228 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
230 2 94 src/javascript/JSON_v1.js
231 0 60 src/javascript/tests/testJSON_v1.js
233 commit 2677f8e815a61f9b808bb57647f6ec9d448f0268
234 Author: Bill Erickson <berick@esilibrary.com>
235 Date: Mon Aug 4 14:26:36 2014 -0400
237 LP#1268619: disable shared workers pending browser issues
239 There appears to be a bug in Chromium where loading the same page
240 multiple times (without a refresh or cache clear) causes the
241 SharedWorker to fail to instantiate on every other page load.
242 Further research pending. Disabling SharedWorker's entirely for
245 Note, to replicate, load a page using shared workers, focus the
246 browser address bar, hit Enter to load the page again. The shared
247 worker will fail to load on every other page load, though it will
248 appear to the SharedWorker caller (opensrf.js) that the port is open.
250 Signed-off-by: Bill Erickson <berick@esilibrary.com>
251 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
253 6 1 src/javascript/opensrf.js
255 commit 755a58642281246df280877f7ad480503b1ddc4b
256 Author: Bill Erickson <berick@esilibrary.com>
257 Date: Wed Jul 30 12:05:36 2014 -0400
259 LP#1268619: update JS/WS/SSL code comment
261 Signed-off-by: Bill Erickson <berick@esilibrary.com>
262 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
264 1 4 src/javascript/opensrf_ws_shared.js
266 commit c65c6d9f91c5372360619004c8602d2a262dfb8b
267 Author: Bill Erickson <berick@esilibrary.com>
268 Date: Thu Jul 10 11:29:49 2014 -0400
270 LP#1268619: JS status codes can come across as numbers; stringify for match
272 Signed-off-by: Bill Erickson <berick@esilibrary.com>
273 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
275 1 1 src/javascript/opensrf.js
277 commit 17ae5ca5e6db6700dc4b61599c4394f80e727711
278 Author: Bill Erickson <berick@esilibrary.com>
279 Date: Tue Jul 8 09:41:12 2014 -0400
281 LP#1268619: JS libs capture all method errors
283 Instead of selecting specific errors to report as method errors, report
284 all API calls which return 400 or 500-series errors as method errors.
286 Signed-off-by: Bill Erickson <berick@esilibrary.com>
287 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
289 2 1 src/javascript/opensrf.js
291 commit 9fdef970f3785e958090f8edf4ad37ece4459343
292 Author: Bill Erickson <berick@esilibrary.com>
293 Date: Sun May 4 15:58:17 2014 -0400
295 LP#1268619: websocket: avoid sharedworker for firefox 29
297 https://bugzilla.mozilla.org/show_bug.cgi?id=504553#c73
299 Avoid using SharedWorkers when useragent match "Firefox". FF supports
300 shared workers, but it does not yet support WebSockets within shared
303 Signed-off-by: Bill Erickson <berick@esilibrary.com>
304 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
306 8 3 src/javascript/opensrf.js
308 commit f43286bf11119c731ee0dbe9b5b740d8715ace66
309 Author: Bill Erickson <berick@esilibrary.com>
310 Date: Thu Apr 10 08:50:13 2014 -0400
312 LP#1268619: websockets: detect connectedness of JS default sockets
314 Signed-off-by: Bill Erickson <berick@esilibrary.com>
315 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
317 18 2 src/javascript/opensrf.js
318 10 1 src/javascript/opensrf_ws.js
319 3 1 src/javascript/opensrf_ws_shared.js
321 commit 0cf0a8a5fe61228995f75d0f0c6e4f4731888c40
322 Author: Bill Erickson <berick@esilibrary.com>
323 Date: Mon Apr 7 12:04:33 2014 -0400
325 LP#1268619: websockets: auto-upgrade to shared workers; SSL-always
327 Signed-off-by: Bill Erickson <berick@esilibrary.com>
328 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
330 42 4 src/javascript/opensrf.js
331 95 0 src/javascript/opensrf_ws.js
332 4 4 src/javascript/opensrf_ws_shared.js
333 create mode 100644 src/javascript/opensrf_ws.js
335 commit 8120314b86d2b6cafe2f5fd968b4475cc187acfb
336 Author: Bill Erickson <berick@esilibrary.com>
337 Date: Tue Mar 11 17:25:19 2014 -0400
339 LP#1268619: websockets: gateway code repairs & confing options
341 * avoid unneccessary and wrong incantation of apr_thread_exit. The two
342 sub-threads now both live for the duration of the process.
343 * to be safe, create thread mutex before threads
345 Signed-off-by: Bill Erickson <berick@esilibrary.com>
346 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
348 8 1 README.websockets
349 252 206 src/gateway/osrf_websocket_translator.c
351 commit 4ce075beeb5f81b8eb4c2cb2669b3a99ebab40ba
352 Author: Bill Erickson <berick@esilibrary.com>
353 Date: Mon Mar 10 15:55:24 2014 -0400
355 LP#1268619: websockets: apply syslog name in gateway
357 Signed-off-by: Bill Erickson <berick@esilibrary.com>
358 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
360 1 0 src/gateway/osrf_websocket_translator.c
362 commit 77c7f5889e8f31038cd732feb3e6057a0d3788b5
363 Author: Bill Erickson <berick@esilibrary.com>
364 Date: Mon Mar 10 08:41:45 2014 -0400
366 LP#1268619: websockets: README typo repairs
368 Patch from Warren Layton to repair path to 'envvars' and clarify some
371 Signed-off-by: Bill Erickson <berick@esilibrary.com>
372 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
374 2 2 README.websockets
376 commit bb424c1424193e4db340e3f6e17a939dc1dd821a
377 Author: Bill Erickson <berick@esilibrary.com>
378 Date: Thu Mar 6 15:47:36 2014 -0500
380 LP#1268619: websockets : additional apache config docs
382 Signed-off-by: Bill Erickson <berick@esilibrary.com>
383 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
385 20 40 README.websockets
386 0 43 examples/apache2/websockets.conf
387 73 0 examples/apache2/websockets/apache2.conf
388 delete mode 100644 examples/apache2/websockets.conf
389 create mode 100644 examples/apache2/websockets/apache2.conf
391 commit 9f2d35e6f6b6ec5a3db109adb518cf270d49c683
392 Author: Bill Erickson <berick@esilibrary.com>
393 Date: Thu Mar 6 15:05:12 2014 -0500
395 LP#1268619: websockets: apache conf -> info logging
397 Signed-off-by: Bill Erickson <berick@esilibrary.com>
398 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
400 1 1 examples/apache2/websockets.conf
402 commit b1b3bf60f613b94d1455afb54dff4ad4a7e95ddd
403 Author: Bill Erickson <berick@esilibrary.com>
404 Date: Wed Mar 5 08:40:05 2014 -0500
406 LP#1268619: websockets: remove single-tab JS WS implementation
408 It was falling behind the shared lib in bug fixes and features. A
409 per-tab WS implementation is (maybe) a dangerous thing to have around,
410 as well, since it encourages /many/ connections. Can resurrect later if
413 Signed-off-by: Bill Erickson <berick@esilibrary.com>
414 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
416 0 165 src/javascript/opensrf_ws.js
417 delete mode 100644 src/javascript/opensrf_ws.js
419 commit 6765c6395b0fb2a1c501f7c94a04cfacc7d460db
420 Author: Bill Erickson <berick@esilibrary.com>
421 Date: Tue Mar 4 14:10:59 2014 -0500
423 LP#1268619: websockets: shared worker path; JS api_level
425 Signed-off-by: Bill Erickson <berick@esilibrary.com>
426 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
428 25 8 src/javascript/opensrf.js
430 commit f5ada2850552560a24e473e02532e75870ab7307
431 Author: Bill Erickson <berick@esilibrary.com>
432 Date: Mon Mar 3 16:23:44 2014 -0500
434 LP#1268619: websockets: initial C libs api_level support
436 Signed-off-by: Bill Erickson <berick@esilibrary.com>
437 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
439 4 1 src/libopensrf/osrf_message.c
441 commit 2bcead2d3e1c560a30c5b9beba6d1cbfe58778ed
442 Author: Bill Erickson <berick@esilibrary.com>
443 Date: Mon Mar 3 16:01:58 2014 -0500
445 LP#1268619: websockets : gateway log inbound messages at internal
447 Signed-off-by: Bill Erickson <berick@esilibrary.com>
448 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
450 7 0 src/gateway/osrf_websocket_translator.c
452 commit 5631bbdfa0f9a4fe2ea1b238c5e2ffee4b606dc1
453 Author: Bill Erickson <berick@esilibrary.com>
454 Date: Mon Mar 3 12:06:12 2014 -0500
456 LP#1268619: websocket : add JS lib to makefile
458 Signed-off-by: Bill Erickson <berick@esilibrary.com>
459 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
463 commit 0054ea6684a933037af1cc3bc6358c7096dc051c
464 Author: Bill Erickson <berick@esilibrary.com>
465 Date: Mon Mar 3 10:29:23 2014 -0500
467 LP#1268619: websocket: avoid module auto configuration
469 We don't want osrf_websocket_translator to be directly loaded as a
470 module, since it is not an apache module, but a shared library loaded by
471 an apache module (mod_websockets). This is especially true of the default
474 Signed-off-by: Bill Erickson <berick@esilibrary.com>
475 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
477 1 1 src/gateway/Makefile.am
479 commit e375a1e31b87a3d645b6da05e83f2a29f885f1fc
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date: Mon Mar 3 10:05:26 2014 -0500
483 LP#1268619: websocket : apache gateway minor fixes
485 Replace remaining remote_ip calls with a get_client_ip() function which
486 operates for apache2 and apache4.
488 Make log functions for applying a log trace value accept const char*'s
490 Signed-off-by: Bill Erickson <berick@esilibrary.com>
491 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
493 2 2 include/opensrf/log.h
494 11 16 src/gateway/osrf_websocket_translator.c
495 2 2 src/libopensrf/log.c
497 commit 0a0d3f616c9531c7931c365e1912cbcf6358441b
498 Author: Bill Erickson <berick@esilibrary.com>
499 Date: Mon Mar 3 09:42:03 2014 -0500
501 LP#1268619: websocket : more JS api docs
503 Signed-off-by: Bill Erickson <berick@esilibrary.com>
504 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
506 83 20 src/javascript/opensrf_ws_shared.js
508 commit aa1c088bd45a254290ad202875eb87c4bd4eeb2a
509 Author: Bill Erickson <berick@esilibrary.com>
510 Date: Thu Jan 16 11:41:01 2014 -0500
512 LP#1268619: websockets : added config docs to install readme
514 Signed-off-by: Bill Erickson <berick@esilibrary.com>
515 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
517 19 0 README.websockets
518 1 1 src/gateway/osrf_websocket_translator.c
520 commit a64f10c4183a495ec3912458c9b6268856e8fe47
521 Author: Bill Erickson <berick@esilibrary.com>
522 Date: Tue Jan 14 16:25:20 2014 -0500
524 LP#1268619: websocket JS libs: reconnect and auto-connect
526 JS clients no longer need to explicitly call the shared WS setup
527 routine. It happens under the covers now.
529 JS client detects disconnects and reconnects when the next message send
532 Signed-off-by: Bill Erickson <berick@esilibrary.com>
533 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
535 4 6 src/javascript/opensrf.js
536 55 45 src/javascript/opensrf_ws_shared.js
538 commit a02360aadfcd113cbec88d9c2455e42fdd74e536
539 Author: Bill Erickson <berick@esilibrary.com>
540 Date: Tue Jan 14 16:22:23 2014 -0500
542 LP#1268619: websocket translator idle timeout / graceful shutdown
544 Added support for an idle timeout and idle check interval configuration
545 variables. These allow each websocket apache process to kick off
546 clients that have been connected and are idle for too long, thus hogging
547 a process unnecessarily.
549 Added a SIGUSR1 signal handler which forces the idle timeout to be very
550 low and a short re-check period so that the client can be kicked as soon
551 as there are no open conversations.
553 Signed-off-by: Bill Erickson <berick@esilibrary.com>
554 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
556 263 25 src/gateway/osrf_websocket_translator.c
558 commit bef394a7c24df54f1e63fc3e83cd473195a46c3a
559 Author: Bill Erickson <berick@esilibrary.com>
560 Date: Fri Jan 10 11:57:29 2014 -0500
562 LP#1268619: websockets: support WS via shared web workers
564 This allows mutiple browser tabs to share the same websocket connection.
566 TODO: add tab (port) disconnect handler
567 TODO: more docs / examples
569 Signed-off-by: Bill Erickson <berick@esilibrary.com>
570 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
572 55 0 src/javascript/opensrf.js
573 176 0 src/javascript/opensrf_ws_shared.js
574 create mode 100644 src/javascript/opensrf_ws_shared.js
576 commit fdb255a92f9fa687a50bed05ef918523cf902d8b
577 Author: Bill Erickson <berick@esilibrary.com>
578 Date: Thu Jan 9 15:00:03 2014 -0500
580 LP#1268619: websocket: do not disconnect ws() on osrf disconnect message
582 Signed-off-by: Bill Erickson <berick@esilibrary.com>
583 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
585 0 5 src/javascript/opensrf.js
587 commit d546d7eacb183ba2ddd0c0ba5dc281dc5086ae81
588 Author: Bill Erickson <berick@esilibrary.com>
589 Date: Tue Feb 5 10:22:34 2013 -0500
591 LP#1268619: temporary websocket installer README
593 Signed-off-by: Bill Erickson <berick@esilibrary.com>
594 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
596 47 0 README.websockets
597 create mode 100644 README.websockets
599 commit e4ef36f385c4f3b83ac4b49f2b07ee19c3166ff0
600 Author: Bill Erickson <berick@esilibrary.com>
601 Date: Tue Feb 5 09:52:57 2013 -0500
603 LP#1268619: Sample Websocket translator Apache 2.2 configuration
605 Signed-off-by: Bill Erickson <berick@esilibrary.com>
606 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
608 43 0 examples/apache2/websockets.conf
609 create mode 100644 examples/apache2/websockets.conf
611 commit 32ab4b133c9c96780e8b202ab1efe46bbf321c3b
612 Author: Bill Erickson <berick@esilibrary.com>
613 Date: Fri Jan 25 12:38:13 2013 -0500
615 LP#1268619: websocket gateway: improved memory mgt; logging
617 Signed-off-by: Bill Erickson <berick@esilibrary.com>
618 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
620 1 1 src/gateway/Makefile.am
621 18 23 src/gateway/osrf_websocket_translator.c
622 2 2 src/javascript/opensrf_ws.js
624 commit 0f3aa6480d2fbc9645571e057dac3f3be08709d1
625 Author: Bill Erickson <berick@esilibrary.com>
626 Date: Mon Jan 21 11:34:57 2013 -0500
628 LP#1268619: websockets; free temporary osrf msgs; minor comment change
630 Signed-off-by: Bill Erickson <berick@esilibrary.com>
631 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
633 11 2 src/gateway/osrf_websocket_translator.c
635 commit de238b740f3a54dacd07610d8e187f417bf5b677
636 Author: Bill Erickson <berick@esilibrary.com>
637 Date: Mon Dec 10 14:33:14 2012 -0500
639 LP#1268619: websocket; docs, more memory mgmt
641 Signed-off-by: Bill Erickson <berick@esilibrary.com>
642 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
644 79 34 src/gateway/osrf_websocket_translator.c
646 commit f990a29db95d9b1c06efa22c1b3f4fbc43206571
647 Author: Bill Erickson <berick@esilibrary.com>
648 Date: Mon Nov 12 16:46:19 2012 -0500
650 LP#1268619: websocket translator
652 * starting packet inspection
653 * activity log; recipient removal
654 * only cache connected recipients; use request_rec pool for session_pool parent
655 * wrap all thread work in mutex
656 * session memory goodness
658 Signed-off-by: Bill Erickson <berick@esilibrary.com>
659 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
661 278 72 src/gateway/osrf_websocket_translator.c
663 commit 27707398e955b8a8a2df1a5311aebc19b8eb1708
664 Author: Bill Erickson <berick@esilibrary.com>
665 Date: Thu Nov 8 12:36:16 2012 -0500
667 LP#1268619: websocket JS additions
669 Signed-off-by: Bill Erickson <berick@esilibrary.com>
670 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
672 51 50 src/javascript/opensrf.js
673 124 63 src/javascript/opensrf_ws.js
675 commit cc42cb62c47edabd693e491ad0d939970d7dbc53
676 Author: Bill Erickson <berick@esilibrary.com>
677 Date: Tue Oct 30 15:51:18 2012 -0400
679 LP#1268619: track websocket_plugin.h locally until replaced by makefile.install process
681 Signed-off-by: Bill Erickson <berick@esilibrary.com>
682 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
684 130 0 src/gateway/websocket_plugin.h
685 create mode 100644 src/gateway/websocket_plugin.h
687 commit 9e455c227be32bed4a16e6dab7045b6424e2ba15
688 Author: Bill Erickson <berick@esilibrary.com>
689 Date: Mon Oct 29 17:27:44 2012 -0400
691 LP#1268619: websocket gateway repairs and cleanup
693 * use jsonObjectFree() on jsonObjets, not free();
694 * removed some debugging logs
695 * accommodate API changes for Apache 2.4
698 Avoid using ap_log_rerror, in particular referencing server->request
699 from the responder thread, since the request_rec will be invalid after
700 on_disconnect is called.
702 Signed-off-by: Bill Erickson <berick@esilibrary.com>
703 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
705 61 66 src/gateway/osrf_websocket_translator.c
707 commit a77eb22c27183d23fb08ed40bc75469d8c54b884
708 Author: Bill Erickson <berick@esilibrary.com>
709 Date: Fri Oct 26 15:06:13 2012 -0400
711 LP#1268619: Apache websocket translator module
713 Signed-off-by: Bill Erickson <berick@esilibrary.com>
714 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
716 6 2 src/gateway/Makefile.am
717 427 0 src/gateway/osrf_websocket_translator.c
718 create mode 100644 src/gateway/osrf_websocket_translator.c
720 commit 1dafbe7512f086a58212fcc66c07e348647f31ad
721 Author: Bill Erickson <berick@esilibrary.com>
722 Date: Thu Sep 20 15:55:04 2012 -0400
724 LP#1268619: OpenSRF JS websockets plugin
726 Adds an opensrf_ws.js handler. Requries some small modifications to
727 opensrf.js. Load opensrf_ws.js in DojoSRF.
729 For now, to use, add to script:
731 OpenSRF.Session.transport = OSRF_TRANSPORT_TYPE_WS;
733 Signed-off-by: Bill Erickson <berick@esilibrary.com>
734 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
736 1 0 src/javascript/DojoSRF.js
737 53 15 src/javascript/opensrf.js
738 104 0 src/javascript/opensrf_ws.js
739 create mode 100644 src/javascript/opensrf_ws.js
741 commit cb56fd32eb43f037c4126e1398b0e9cd546d9f19
742 Author: Mike Rylander <mrylander@gmail.com>
743 Date: Fri Jun 20 16:48:51 2014 -0400
745 LP#1337401: Only care about our own processes
747 OpenSRF can run mutiple times, as different users, on one host.
748 Right now we look for all service processes, but we should only
749 look for our own. This patch does that.
751 Signed-off-by: Mike Rylander <mrylander@gmail.com>
752 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
754 5 5 bin/opensrf-perl.pl.in
756 commit 65ce998b02d0778541b3101379013448cba606d2
757 Author: Ben Shum <bshum@biblio.org>
758 Date: Fri Apr 18 16:36:38 2014 -0400
760 LP#1315525: Add trusty target and remove lucid from README
762 Signed-off-by: Ben Shum <bshum@biblio.org>
763 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
767 commit be5c3d82ecba066b1f4b811af9a32a85eb1c6d70
768 Author: Chris Sharp <csharp@georgialibraries.org>
769 Date: Sun Jan 26 10:41:31 2014 -0500
771 LP#1315525: Updating Makefile.install for Ubuntu 14.04. Removing lucid support.
773 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
774 Signed-off-by: Ben Shum <bshum@biblio.org>
775 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
777 12 11 src/extras/Makefile.install
779 commit 339ac28d47a466d2fd0009c24fe0385cb5326479
780 Author: Galen Charlton <gmc@esilibrary.com>
781 Date: Fri Feb 28 09:33:19 2014 -0800
783 LP#1286248: remove osrf_ctl.sh
785 As osrf_ctl.sh was deprecated in favor of osrf_control, this patch
786 removes the deprecated script entirely.
788 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
789 Signed-off-by: Bill Erickson <berick@esilibrary.com>
792 0 102 bin/osrf_ctl.sh.in
795 delete mode 100755 bin/osrf_ctl.sh.in
797 commit 8fb4405a2768dd752743dab71d6e2e8a50ee6cd5
798 Author: Galen Charlton <gmc@esilibrary.com>
799 Date: Wed Apr 2 15:24:06 2014 -0700
801 LP#1285915: document that perl2JSON doesn't order hash keys
803 This patch documents that JSON strings returned by
804 OpenSRF::Utils::JSON->perl2JSON() should not be expected to have
805 hash keys sorted in any particular order. It also adjusts a
806 corresponding test case to consistently pass under Perl 5.18, which
807 introduces hash order randomization.
809 Forcing JSON output to be in canonical form is another option, and
810 easily done by JSON::XS, but would add overhead.
812 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
813 Signed-off-by: Bill Erickson <berick@esilibrary.com>
815 2 1 src/perl/lib/OpenSRF/Utils/JSON.pm
816 5 1 src/perl/t/09-Utils-JSON.t
818 commit 8a8b4cbbae62d3e927b24541f31fec93949b1752
819 Author: Galen Charlton <gmc@esilibrary.com>
820 Date: Wed Apr 2 16:05:33 2014 -0700
822 LP#1234816: improve const-correctness of osrfCachePutString and osrfCachePutObject
824 Since the cache key is not modified by osrfCachePutString and
825 osrfCachePutObject, this patch changes the key parameter of those
826 two functions from char* to const char*. It also updates one
827 caller osrfCachePutObject to not cast away const-ness.
829 This patch has no functional impact, but enables future callers
830 of osrfCachePut* to pass constant strings without having to
831 cast away the const-ness.
833 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
834 Signed-off-by: Bill Erickson <berick@esilibrary.com>
836 2 2 include/opensrf/osrf_cache.h
837 1 1 src/gateway/osrf_http_translator.c
838 2 2 src/libopensrf/osrf_cache.c
840 commit 0d2c6d74cf60e000646e534a7682b508c84ea55a
841 Author: Bill Erickson <berick@esilibrary.com>
842 Date: Thu Apr 10 13:27:34 2014 -0400
844 LP#1306044 Removing deprecated jabber register script
846 This script is no longer user, since ejabberdctrl is used instead.
847 What's more, this script uses a Perl package (libnet-jabber-perl) which
848 is no longer available in Debian (Jessie).
850 Signed-off-by: Bill Erickson <berick@esilibrary.com>
851 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
854 0 50 examples/register.pl
855 delete mode 100755 examples/register.pl
857 commit a53e3878ae172477582ae3cfe3ebd8ec9be14e65
858 Author: Bill Erickson <berick@esilibrary.com>
859 Date: Thu Apr 10 12:05:08 2014 -0400
861 LP#1306044 Debian Jessie Makefile.install target
863 * Removes Perl Net::Jabber as a dependency. There is no Jessie package
864 for this and OpenSRF hasn't used it in a long time.
866 * Leaving Debian Squeeze in place for now
868 Signed-off-by: Bill Erickson <berick@esilibrary.com>
869 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
872 15 3 src/extras/Makefile.install
874 commit 2e919d795f0d6c5c17218fef68e894903b168a48
875 Author: Mike Rylander <mrylander@gmail.com>
876 Date: Thu Mar 13 16:55:19 2014 -0400
878 LP#1292214: Improve docgen output
880 Docgen output would be a bit more useful if it respected the formatting
881 (such as it is) of the signature content provided by the developer. So,
882 let's make that happen.
884 Signed-off-by: Mike Rylander <mrylander@gmail.com>
885 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
887 1 1 src/extras/docgen.xsl
889 commit 951d97a32db426874c4bb6314e473660d765f302
890 Author: Bill Erickson <berick@esilibrary.com>
891 Date: Mon May 13 16:19:51 2013 -0400
893 LP#1179660: remove OpenSRF.pm AUTOLOAD
895 Instead of simply producing an error message in the OpenSRF logs, calls
896 to nonexistent subroutines are now fatal errors which will stop code
899 Signed-off-by: Bill Erickson <berick@esilibrary.com>
900 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
902 1 40 src/perl/lib/OpenSRF.pm