7 commit df5aa177d80b40fe1e318a103a48222378af1587
8 Author: Bill Erickson <berickxx@gmail.com>
9 Date: Fri Oct 17 17:07:53 2014 -0400
11 LP#1383828 Jessie/Trusty installer Apache "mpm" repairs
13 Disable the default Apache mpm_event module and enable mpm_prefork for
14 Debian Jessie and Ubuntu Trusty.
16 Signed-off-by: Bill Erickson <berickxx@gmail.com>
17 Signed-off-by: Ben Shum <bshum@biblio.org>
19 8 2 src/extras/Makefile.install
21 commit b199a9a84aa815dbcbc4c98e3269c192fecdb238
22 Author: Ben Shum <bshum@biblio.org>
23 Date: Mon Nov 10 12:20:31 2014 -0500
25 LP#1391248: Fix NameVirtualHost warnings in websockets apache2.conf
27 For the websockets configuration, the sample apache2.conf for Apache 2.4 (i.e.
28 Ubuntu 14.04, etc.) contains NameVirtualHost entries that are no longer
31 When starting apache2-websockets, you may see warnings like:
33 AH00548: NameVirtualHost has no effect and will be removed in the next
34 release /etc/apache2-websockets/apache2.conf:53
36 Remove the NameVirtualHost entries and these warnings go away.
38 Signed-off-by: Ben Shum <bshum@biblio.org>
39 Signed-off-by: Bill Erickson <berickxx@gmail.com>
41 0 2 examples/apache_24/websockets/apache2.conf
43 commit 3c268142659852c6b09a8709a84029702698d2ea
44 Author: Ben Shum <bshum@biblio.org>
45 Date: Fri Oct 31 23:53:58 2014 -0400
47 LP#1369169: Remove hardcoded paths for OpenSRF directory
49 Signed-off-by: Ben Shum <bshum@biblio.org>
50 Signed-off-by: Bill Erickson <berickxx@gmail.com>
54 commit 8bcfe29874dc2aeb2fdc07b16660a0350d377cee
55 Author: Ben Shum <bshum@biblio.org>
56 Date: Sat Sep 13 18:23:46 2014 -0400
58 LP#1369169: Mention the requirement for valid SSL certificate
60 The apache2-websockets instance will not start without a valid SSL certificate
61 in /etc/apache2/ssl. Include a mention of this in the README with the extra
62 stipulation that it is still possible to use a self-signed SSL certificate for
63 testing purposes, but this is not recommended for live installations.
65 Signed-off-by: Ben Shum <bshum@biblio.org>
66 Signed-off-by: Bill Erickson <berickxx@gmail.com>
70 commit 25d0b0d6abe90612430b74f3c9bcf9c75c0a972e
71 Author: Ben Shum <bshum@biblio.org>
72 Date: Fri Sep 12 17:58:11 2014 -0400
74 LP#1369169: Add websockets section to the OpenSRF README
76 Remove the separate README.websockets and move the contents into the primary
77 OpenSRF README document so that all steps are in one place.
79 Additional edits to the websockets instructions to detail differences made
80 between Ubuntu 14.04 Trusty and Debian / Ubuntu 12.04 Precise. More edits
81 may be necessary for Debian Jessie later?
83 Also, create a separate config file for Apache 2.4 that is copied into place
84 for Ubuntu Trusty and potentially other systems that will need it.
86 Signed-off-by: Ben Shum <bshum@biblio.org>
87 Signed-off-by: Bill Erickson <berickxx@gmail.com>
90 0 53 README.websockets
91 delete mode 100644 README.websockets
93 commit c6e0150be2b0d3c010d4ea6c34a81f69cec3004b
94 Author: Ben Shum <bshum@biblio.org>
95 Date: Sat Sep 13 18:04:54 2014 -0400
97 LP#1369169: Add Apache 2.4 specific configuration file for websockets
99 For Apache 2.4, there were some necessary modifications for running the
100 websockets code properly. Similar to how we do things in Evergreen, we
101 added a new directory for apache_24 which contains the modified apache2.conf
104 Signed-off-by: Ben Shum <bshum@biblio.org>
105 Signed-off-by: Bill Erickson <berickxx@gmail.com>
107 80 0 examples/apache_24/websockets/apache2.conf
108 create mode 100644 examples/apache_24/websockets/apache2.conf
110 commit 92e8a5f7d6040bda312317ce339e459d5549d3eb
111 Author: Ben Shum <bshum@biblio.org>
112 Date: Sat Sep 13 18:07:47 2014 -0400
114 LP#1369169: Remove trailing whitespace from apache2.conf
116 For some reason, there was a lot of trailing whitespace in this apache2.conf
117 file for websockets. Removing them.
119 Signed-off-by: Ben Shum <bshum@biblio.org>
120 Signed-off-by: Bill Erickson <berickxx@gmail.com>
122 19 19 examples/apache2/websockets/apache2.conf
124 commit 1b0252065496be18b8c4eb3991d1057928dd7784
125 Author: Ben Shum <bshum@biblio.org>
126 Date: Sat Sep 13 17:03:19 2014 -0400
128 LP#1369169: Standardize styling of root linux account for README
130 Signed-off-by: Ben Shum <bshum@biblio.org>
131 Signed-off-by: Bill Erickson <berickxx@gmail.com>
135 commit 10b9f9eeac545cf46387e45b8cbd06e2a556baf3
136 Author: Ben Shum <bshum@biblio.org>
137 Date: Sat Sep 13 17:38:54 2014 -0400
139 LP#1369169: Add generated README.html to the .gitignore file for OpenSRF
141 Signed-off-by: Ben Shum <bshum@biblio.org>
142 Signed-off-by: Bill Erickson <berickxx@gmail.com>
146 commit 2bceabc55f8b1ccb13089298bfdb6a220c5735d6
147 Author: Galen Charlton <gmc@esilibrary.com>
148 Date: Thu Aug 21 16:52:10 2014 -0700
150 fix typo in release notes
152 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
154 1 1 doc/RELEASE_NOTES.txt
156 commit e5eab9073e25b82914986326a5e97e7feecb5dfb
157 Author: Galen Charlton <gmc@esilibrary.com>
158 Date: Thu Aug 21 16:33:11 2014 -0700
160 bump up version number for OpenSRF 2.4.0-alpha
162 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
164 2 2 src/perl/lib/OpenSRF.pm
165 1 1 src/python/setup.py
168 commit b929dd7080b91e1f7c938778580ac6957835e666
169 Author: Galen Charlton <gmc@esilibrary.com>
170 Date: Thu Aug 21 16:30:58 2014 -0700
172 update ChangeLog for OpenSRF 2.4.0-alpha
174 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
178 commit 4426a8a503baec5171ae4245eccd595444815358
179 Author: Galen Charlton <gmc@esilibrary.com>
180 Date: Thu Aug 21 16:30:05 2014 -0700
182 release notes for OpenSRF 2.4.0-alpha
184 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
186 121 0 doc/RELEASE_NOTES.txt
187 create mode 100644 doc/RELEASE_NOTES.txt
189 commit e8f78636586aeca15632bcfbf0cae20beb2d66a6
190 Author: Galen Charlton <gmc@esilibrary.com>
191 Date: Thu Aug 21 10:02:14 2014 -0700
193 LP#1002028: set Access-Control-Expose-Headers
195 This allows the OpenSRF JavaScript client library (or
196 to be precise, one that has been modified to direct
197 requests at a different domain) to take advantage of CORS
200 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
202 1 0 src/gateway/apachetools.c
204 commit bc914bf1933cc7a9272134fd4bbeb7601d233903
205 Author: Galen Charlton <gmc@esilibrary.com>
206 Date: Thu Aug 21 09:13:23 2014 -0700
208 LP#1002028: support CORS for HTTPS
210 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
212 2 0 src/gateway/apachetools.c
214 commit d8dbf0c4e44cf45f00ffe2785d0778658029b825
215 Author: Bennett Goble <nivardus@gmail.com>
216 Date: Tue May 22 11:57:56 2012 -0400
218 LP#1002028: Cross Origin Resource Sharing for OpenSRF
222 Browsers' same-origin policy currently restricts requests to the current
223 website's domain to prevent various nefarious scenarios. However,
224 because APIs and other web resources need to remain open to cross-site
225 use Cross Origin Resource Sharing (CORS) was created to allow services
226 to formally authorize cross-origin requests. CORS makes it simple to use
227 OpenSRF's HTTP translator and gateway APIs on websites using separate
232 1) A library would like an AJAX-driven "quicksearch" box on their main
233 site, which is hosted on a different domain than their catalog.
234 2) A developer wants to create new web applications and services that
235 tie into Evergreen, but does not wish to install EG locally or
240 The function crossOriginHeaders() has been added to apachetools.c.
241 Incoming requests are checked to see if they have an Origin header. The
242 value of the Origin header is checked against a whitelist defined in
243 opensrf_core.xml config (XPath: /config/gateway/cross_origin/origin).
244 The function returns 1 if CORS headers have been added to the response.
248 * The OpenSRF Javascript client library (opensrf.js) defaults to the root
249 of the current web host "/osrf-http-translator." In addition, synchronous
250 requests are presumed in some situations: resulting in the oncomplete
251 method never returning (Blocking requests are not possible with cross-
253 * It is also possible to enable CORS with the Apache "set header"
254 configuration directive. However, this means that the necessary headers
255 would be appended to every response.
259 Specification - http://www.w3.org/TR/cors/
260 Wikipedia Article - http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
262 Signed-off-by: Bennett Goble <nivardus@gmail.com>
263 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
265 8 0 examples/opensrf_core.xml.example
266 36 0 src/gateway/apachetools.c
267 5 0 src/gateway/apachetools.h
268 5 0 src/gateway/osrf_http_translator.c
269 5 0 src/gateway/osrf_json_gateway.c
271 commit 6ed6f2bc6bf56d0834ae43f00c193bce5a3867a1
272 Author: Galen Charlton <gmc@esilibrary.com>
273 Date: Thu Aug 21 08:58:18 2014 -0700
275 Revert "LP#1350457: Pass caller's session to subrequests called via method_lookup"
277 This reverts commit 96917538c6b6fad688dd40c2a8f0cc9127053b24.
279 3 3 src/perl/lib/OpenSRF/Application.pm
281 commit f0c02bf3cc4e8e2c1049fd2ba0fd24079b5aeba6
282 Author: Josh Stompro <Stomproj@larl.org>
283 Date: Wed May 21 08:26:53 2014 -0500
285 (doc) Reorder changes to ejabberd.cfg in install instructions
287 I found it annoying that the list of changes to make to ejabberd.cfg
288 didn't follow the order that the options showed up in the default
289 Debian ejabberd.cfg. I reordered them so after you finish changing one
290 option, you can search forward in the document for the next term.
292 (From Github pull request #3.)
294 Signed-off-by: Josh Stompro <Stomproj@larl.org>
295 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
299 commit 96917538c6b6fad688dd40c2a8f0cc9127053b24
300 Author: Mike Rylander <mrylander@gmail.com>
301 Date: Wed Jul 30 13:29:46 2014 -0400
303 LP#1350457: Pass caller's session to subrequests called via method_lookup
305 In the process of looking up a method for an internal subrequest, we lose
306 session info. This is a problem when the subrequest makes a remote request,
307 because then the subrequest can't look up the proper locale, among other
308 things. The forthcoming branch passes the caller's session to the subrequest.
310 Signed-off-by: Mike Rylander <mrylander@gmail.com>
311 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
313 3 3 src/perl/lib/OpenSRF/Application.pm
315 commit 6cdd5251ac64651534e579f7e02a70a665f60283
316 Author: Bill Erickson <berick@esilibrary.com>
317 Date: Thu Jul 17 11:37:53 2014 -0400
319 LP#1341687 listeners log/drop XMPP error msgs
321 The most common form of XMPP error messages are "bounced" messages, i.e.
322 those where the recipient is not available. Instead of passing these
323 useless and confusing messages down to a drone for processing, log the
324 error in the listener and drop the message.
326 Signed-off-by: Bill Erickson <berick@esilibrary.com>
327 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
329 9 0 src/libopensrf/osrf_prefork.c
330 5 1 src/perl/lib/OpenSRF/Server.pm
332 commit 54da75bd2f045dbd2225317f74dc5fe38f415fe5
333 Author: Galen Charlton <gmc@esilibrary.com>
334 Date: Wed Aug 20 14:00:17 2014 -0700
336 LP#1343578: document <logtag> in the example opensrf_core.xml
338 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
340 12 0 examples/opensrf_core.xml.example
342 commit 2f4ed86a136cfb7547f7e8c3e2109f4473139276
343 Author: Bill Erickson <berick@esilibrary.com>
344 Date: Thu Jul 17 15:10:35 2014 -0400
346 LP#1343578: Perl/C syslog "logtag" additions.
348 * Honor logtag value when applying a default appname for Perl and C
349 * Extract / apply logtag in the router
350 * Minor repair: avoid redundant strdup
352 Signed-off-by: Bill Erickson <berick@esilibrary.com>
353 Signed-off-by: Mike Rylander <mrylander@gmail.com>
354 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
356 1 1 src/libopensrf/log.c
357 1 1 src/libopensrf/osrf_system.c
358 5 2 src/perl/lib/OpenSRF/Utils/Logger.pm
359 2 0 src/router/osrf_router_main.c
361 commit 512f77b4652d6c793c21c7b6955480e6b9ada195
362 Author: Mike Rylander <mrylander@gmail.com>
363 Date: Fri Jun 20 15:52:47 2014 -0400
365 LP#1343578: Add support for log tagging
367 The ability to provide instance-specific log tagging via syslog
368 would make running multiple instances much easier to manage. So
369 this branch does that.
371 Signed-off-by: Mike Rylander <mrylander@gmail.com>
372 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
374 2 0 include/opensrf/log.h
375 26 1 src/libopensrf/log.c
376 3 0 src/libopensrf/osrf_system.c
377 4 0 src/perl/lib/OpenSRF/Utils/Logger.pm
379 commit 6c3b1001c6183b2f633d0f43ccd3d28071c0c48d
380 Author: Bill Erickson <berick@esilibrary.com>
381 Date: Mon May 5 13:40:46 2014 -0400
383 LP#1316245: JS now uses browser-native JSON routines
385 * Replace JSON2jsRaw() with JSON.parse()
387 * Replace js2JSONRaw() with JSON.stringify()
389 * Removed unit tests for JSON2jsRaw() and js2JSONRaw()
391 * Removed jsonPretty() pretty-printing routine. Use
392 JSON.stringify(json, null, <spaces>) instead.
396 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON
398 Signed-off-by: Bill Erickson <berick@esilibrary.com>
399 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
401 2 94 src/javascript/JSON_v1.js
402 0 60 src/javascript/tests/testJSON_v1.js
404 commit 2677f8e815a61f9b808bb57647f6ec9d448f0268
405 Author: Bill Erickson <berick@esilibrary.com>
406 Date: Mon Aug 4 14:26:36 2014 -0400
408 LP#1268619: disable shared workers pending browser issues
410 There appears to be a bug in Chromium where loading the same page
411 multiple times (without a refresh or cache clear) causes the
412 SharedWorker to fail to instantiate on every other page load.
413 Further research pending. Disabling SharedWorker's entirely for
416 Note, to replicate, load a page using shared workers, focus the
417 browser address bar, hit Enter to load the page again. The shared
418 worker will fail to load on every other page load, though it will
419 appear to the SharedWorker caller (opensrf.js) that the port is open.
421 Signed-off-by: Bill Erickson <berick@esilibrary.com>
422 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
424 6 1 src/javascript/opensrf.js
426 commit 755a58642281246df280877f7ad480503b1ddc4b
427 Author: Bill Erickson <berick@esilibrary.com>
428 Date: Wed Jul 30 12:05:36 2014 -0400
430 LP#1268619: update JS/WS/SSL code comment
432 Signed-off-by: Bill Erickson <berick@esilibrary.com>
433 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
435 1 4 src/javascript/opensrf_ws_shared.js
437 commit c65c6d9f91c5372360619004c8602d2a262dfb8b
438 Author: Bill Erickson <berick@esilibrary.com>
439 Date: Thu Jul 10 11:29:49 2014 -0400
441 LP#1268619: JS status codes can come across as numbers; stringify for match
443 Signed-off-by: Bill Erickson <berick@esilibrary.com>
444 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
446 1 1 src/javascript/opensrf.js
448 commit 17ae5ca5e6db6700dc4b61599c4394f80e727711
449 Author: Bill Erickson <berick@esilibrary.com>
450 Date: Tue Jul 8 09:41:12 2014 -0400
452 LP#1268619: JS libs capture all method errors
454 Instead of selecting specific errors to report as method errors, report
455 all API calls which return 400 or 500-series errors as method errors.
457 Signed-off-by: Bill Erickson <berick@esilibrary.com>
458 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
460 2 1 src/javascript/opensrf.js
462 commit 9fdef970f3785e958090f8edf4ad37ece4459343
463 Author: Bill Erickson <berick@esilibrary.com>
464 Date: Sun May 4 15:58:17 2014 -0400
466 LP#1268619: websocket: avoid sharedworker for firefox 29
468 https://bugzilla.mozilla.org/show_bug.cgi?id=504553#c73
470 Avoid using SharedWorkers when useragent match "Firefox". FF supports
471 shared workers, but it does not yet support WebSockets within shared
474 Signed-off-by: Bill Erickson <berick@esilibrary.com>
475 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
477 8 3 src/javascript/opensrf.js
479 commit f43286bf11119c731ee0dbe9b5b740d8715ace66
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date: Thu Apr 10 08:50:13 2014 -0400
483 LP#1268619: websockets: detect connectedness of JS default sockets
485 Signed-off-by: Bill Erickson <berick@esilibrary.com>
486 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
488 18 2 src/javascript/opensrf.js
489 10 1 src/javascript/opensrf_ws.js
490 3 1 src/javascript/opensrf_ws_shared.js
492 commit 0cf0a8a5fe61228995f75d0f0c6e4f4731888c40
493 Author: Bill Erickson <berick@esilibrary.com>
494 Date: Mon Apr 7 12:04:33 2014 -0400
496 LP#1268619: websockets: auto-upgrade to shared workers; SSL-always
498 Signed-off-by: Bill Erickson <berick@esilibrary.com>
499 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
501 42 4 src/javascript/opensrf.js
502 95 0 src/javascript/opensrf_ws.js
503 4 4 src/javascript/opensrf_ws_shared.js
504 create mode 100644 src/javascript/opensrf_ws.js
506 commit 8120314b86d2b6cafe2f5fd968b4475cc187acfb
507 Author: Bill Erickson <berick@esilibrary.com>
508 Date: Tue Mar 11 17:25:19 2014 -0400
510 LP#1268619: websockets: gateway code repairs & confing options
512 * avoid unneccessary and wrong incantation of apr_thread_exit. The two
513 sub-threads now both live for the duration of the process.
514 * to be safe, create thread mutex before threads
516 Signed-off-by: Bill Erickson <berick@esilibrary.com>
517 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
519 8 1 README.websockets
520 252 206 src/gateway/osrf_websocket_translator.c
522 commit 4ce075beeb5f81b8eb4c2cb2669b3a99ebab40ba
523 Author: Bill Erickson <berick@esilibrary.com>
524 Date: Mon Mar 10 15:55:24 2014 -0400
526 LP#1268619: websockets: apply syslog name in gateway
528 Signed-off-by: Bill Erickson <berick@esilibrary.com>
529 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
531 1 0 src/gateway/osrf_websocket_translator.c
533 commit 77c7f5889e8f31038cd732feb3e6057a0d3788b5
534 Author: Bill Erickson <berick@esilibrary.com>
535 Date: Mon Mar 10 08:41:45 2014 -0400
537 LP#1268619: websockets: README typo repairs
539 Patch from Warren Layton to repair path to 'envvars' and clarify some
542 Signed-off-by: Bill Erickson <berick@esilibrary.com>
543 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
545 2 2 README.websockets
547 commit bb424c1424193e4db340e3f6e17a939dc1dd821a
548 Author: Bill Erickson <berick@esilibrary.com>
549 Date: Thu Mar 6 15:47:36 2014 -0500
551 LP#1268619: websockets : additional apache config docs
553 Signed-off-by: Bill Erickson <berick@esilibrary.com>
554 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
556 20 40 README.websockets
557 0 43 examples/apache2/websockets.conf
558 73 0 examples/apache2/websockets/apache2.conf
559 delete mode 100644 examples/apache2/websockets.conf
560 create mode 100644 examples/apache2/websockets/apache2.conf
562 commit 9f2d35e6f6b6ec5a3db109adb518cf270d49c683
563 Author: Bill Erickson <berick@esilibrary.com>
564 Date: Thu Mar 6 15:05:12 2014 -0500
566 LP#1268619: websockets: apache conf -> info logging
568 Signed-off-by: Bill Erickson <berick@esilibrary.com>
569 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
571 1 1 examples/apache2/websockets.conf
573 commit b1b3bf60f613b94d1455afb54dff4ad4a7e95ddd
574 Author: Bill Erickson <berick@esilibrary.com>
575 Date: Wed Mar 5 08:40:05 2014 -0500
577 LP#1268619: websockets: remove single-tab JS WS implementation
579 It was falling behind the shared lib in bug fixes and features. A
580 per-tab WS implementation is (maybe) a dangerous thing to have around,
581 as well, since it encourages /many/ connections. Can resurrect later if
584 Signed-off-by: Bill Erickson <berick@esilibrary.com>
585 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
587 0 165 src/javascript/opensrf_ws.js
588 delete mode 100644 src/javascript/opensrf_ws.js
590 commit 6765c6395b0fb2a1c501f7c94a04cfacc7d460db
591 Author: Bill Erickson <berick@esilibrary.com>
592 Date: Tue Mar 4 14:10:59 2014 -0500
594 LP#1268619: websockets: shared worker path; JS api_level
596 Signed-off-by: Bill Erickson <berick@esilibrary.com>
597 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
599 25 8 src/javascript/opensrf.js
601 commit f5ada2850552560a24e473e02532e75870ab7307
602 Author: Bill Erickson <berick@esilibrary.com>
603 Date: Mon Mar 3 16:23:44 2014 -0500
605 LP#1268619: websockets: initial C libs api_level support
607 Signed-off-by: Bill Erickson <berick@esilibrary.com>
608 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
610 4 1 src/libopensrf/osrf_message.c
612 commit 2bcead2d3e1c560a30c5b9beba6d1cbfe58778ed
613 Author: Bill Erickson <berick@esilibrary.com>
614 Date: Mon Mar 3 16:01:58 2014 -0500
616 LP#1268619: websockets : gateway log inbound messages at internal
618 Signed-off-by: Bill Erickson <berick@esilibrary.com>
619 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
621 7 0 src/gateway/osrf_websocket_translator.c
623 commit 5631bbdfa0f9a4fe2ea1b238c5e2ffee4b606dc1
624 Author: Bill Erickson <berick@esilibrary.com>
625 Date: Mon Mar 3 12:06:12 2014 -0500
627 LP#1268619: websocket : add JS lib to makefile
629 Signed-off-by: Bill Erickson <berick@esilibrary.com>
630 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
634 commit 0054ea6684a933037af1cc3bc6358c7096dc051c
635 Author: Bill Erickson <berick@esilibrary.com>
636 Date: Mon Mar 3 10:29:23 2014 -0500
638 LP#1268619: websocket: avoid module auto configuration
640 We don't want osrf_websocket_translator to be directly loaded as a
641 module, since it is not an apache module, but a shared library loaded by
642 an apache module (mod_websockets). This is especially true of the default
645 Signed-off-by: Bill Erickson <berick@esilibrary.com>
646 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
648 1 1 src/gateway/Makefile.am
650 commit e375a1e31b87a3d645b6da05e83f2a29f885f1fc
651 Author: Bill Erickson <berick@esilibrary.com>
652 Date: Mon Mar 3 10:05:26 2014 -0500
654 LP#1268619: websocket : apache gateway minor fixes
656 Replace remaining remote_ip calls with a get_client_ip() function which
657 operates for apache2 and apache4.
659 Make log functions for applying a log trace value accept const char*'s
661 Signed-off-by: Bill Erickson <berick@esilibrary.com>
662 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
664 2 2 include/opensrf/log.h
665 11 16 src/gateway/osrf_websocket_translator.c
666 2 2 src/libopensrf/log.c
668 commit 0a0d3f616c9531c7931c365e1912cbcf6358441b
669 Author: Bill Erickson <berick@esilibrary.com>
670 Date: Mon Mar 3 09:42:03 2014 -0500
672 LP#1268619: websocket : more JS api docs
674 Signed-off-by: Bill Erickson <berick@esilibrary.com>
675 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
677 83 20 src/javascript/opensrf_ws_shared.js
679 commit aa1c088bd45a254290ad202875eb87c4bd4eeb2a
680 Author: Bill Erickson <berick@esilibrary.com>
681 Date: Thu Jan 16 11:41:01 2014 -0500
683 LP#1268619: websockets : added config docs to install readme
685 Signed-off-by: Bill Erickson <berick@esilibrary.com>
686 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
688 19 0 README.websockets
689 1 1 src/gateway/osrf_websocket_translator.c
691 commit a64f10c4183a495ec3912458c9b6268856e8fe47
692 Author: Bill Erickson <berick@esilibrary.com>
693 Date: Tue Jan 14 16:25:20 2014 -0500
695 LP#1268619: websocket JS libs: reconnect and auto-connect
697 JS clients no longer need to explicitly call the shared WS setup
698 routine. It happens under the covers now.
700 JS client detects disconnects and reconnects when the next message send
703 Signed-off-by: Bill Erickson <berick@esilibrary.com>
704 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
706 4 6 src/javascript/opensrf.js
707 55 45 src/javascript/opensrf_ws_shared.js
709 commit a02360aadfcd113cbec88d9c2455e42fdd74e536
710 Author: Bill Erickson <berick@esilibrary.com>
711 Date: Tue Jan 14 16:22:23 2014 -0500
713 LP#1268619: websocket translator idle timeout / graceful shutdown
715 Added support for an idle timeout and idle check interval configuration
716 variables. These allow each websocket apache process to kick off
717 clients that have been connected and are idle for too long, thus hogging
718 a process unnecessarily.
720 Added a SIGUSR1 signal handler which forces the idle timeout to be very
721 low and a short re-check period so that the client can be kicked as soon
722 as there are no open conversations.
724 Signed-off-by: Bill Erickson <berick@esilibrary.com>
725 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
727 263 25 src/gateway/osrf_websocket_translator.c
729 commit bef394a7c24df54f1e63fc3e83cd473195a46c3a
730 Author: Bill Erickson <berick@esilibrary.com>
731 Date: Fri Jan 10 11:57:29 2014 -0500
733 LP#1268619: websockets: support WS via shared web workers
735 This allows mutiple browser tabs to share the same websocket connection.
737 TODO: add tab (port) disconnect handler
738 TODO: more docs / examples
740 Signed-off-by: Bill Erickson <berick@esilibrary.com>
741 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
743 55 0 src/javascript/opensrf.js
744 176 0 src/javascript/opensrf_ws_shared.js
745 create mode 100644 src/javascript/opensrf_ws_shared.js
747 commit fdb255a92f9fa687a50bed05ef918523cf902d8b
748 Author: Bill Erickson <berick@esilibrary.com>
749 Date: Thu Jan 9 15:00:03 2014 -0500
751 LP#1268619: websocket: do not disconnect ws() on osrf disconnect message
753 Signed-off-by: Bill Erickson <berick@esilibrary.com>
754 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
756 0 5 src/javascript/opensrf.js
758 commit d546d7eacb183ba2ddd0c0ba5dc281dc5086ae81
759 Author: Bill Erickson <berick@esilibrary.com>
760 Date: Tue Feb 5 10:22:34 2013 -0500
762 LP#1268619: temporary websocket installer README
764 Signed-off-by: Bill Erickson <berick@esilibrary.com>
765 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
767 47 0 README.websockets
768 create mode 100644 README.websockets
770 commit e4ef36f385c4f3b83ac4b49f2b07ee19c3166ff0
771 Author: Bill Erickson <berick@esilibrary.com>
772 Date: Tue Feb 5 09:52:57 2013 -0500
774 LP#1268619: Sample Websocket translator Apache 2.2 configuration
776 Signed-off-by: Bill Erickson <berick@esilibrary.com>
777 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
779 43 0 examples/apache2/websockets.conf
780 create mode 100644 examples/apache2/websockets.conf
782 commit 32ab4b133c9c96780e8b202ab1efe46bbf321c3b
783 Author: Bill Erickson <berick@esilibrary.com>
784 Date: Fri Jan 25 12:38:13 2013 -0500
786 LP#1268619: websocket gateway: improved memory mgt; logging
788 Signed-off-by: Bill Erickson <berick@esilibrary.com>
789 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
791 1 1 src/gateway/Makefile.am
792 18 23 src/gateway/osrf_websocket_translator.c
793 2 2 src/javascript/opensrf_ws.js
795 commit 0f3aa6480d2fbc9645571e057dac3f3be08709d1
796 Author: Bill Erickson <berick@esilibrary.com>
797 Date: Mon Jan 21 11:34:57 2013 -0500
799 LP#1268619: websockets; free temporary osrf msgs; minor comment change
801 Signed-off-by: Bill Erickson <berick@esilibrary.com>
802 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
804 11 2 src/gateway/osrf_websocket_translator.c
806 commit de238b740f3a54dacd07610d8e187f417bf5b677
807 Author: Bill Erickson <berick@esilibrary.com>
808 Date: Mon Dec 10 14:33:14 2012 -0500
810 LP#1268619: websocket; docs, more memory mgmt
812 Signed-off-by: Bill Erickson <berick@esilibrary.com>
813 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
815 79 34 src/gateway/osrf_websocket_translator.c
817 commit f990a29db95d9b1c06efa22c1b3f4fbc43206571
818 Author: Bill Erickson <berick@esilibrary.com>
819 Date: Mon Nov 12 16:46:19 2012 -0500
821 LP#1268619: websocket translator
823 * starting packet inspection
824 * activity log; recipient removal
825 * only cache connected recipients; use request_rec pool for session_pool parent
826 * wrap all thread work in mutex
827 * session memory goodness
829 Signed-off-by: Bill Erickson <berick@esilibrary.com>
830 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
832 278 72 src/gateway/osrf_websocket_translator.c
834 commit 27707398e955b8a8a2df1a5311aebc19b8eb1708
835 Author: Bill Erickson <berick@esilibrary.com>
836 Date: Thu Nov 8 12:36:16 2012 -0500
838 LP#1268619: websocket JS additions
840 Signed-off-by: Bill Erickson <berick@esilibrary.com>
841 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
843 51 50 src/javascript/opensrf.js
844 124 63 src/javascript/opensrf_ws.js
846 commit cc42cb62c47edabd693e491ad0d939970d7dbc53
847 Author: Bill Erickson <berick@esilibrary.com>
848 Date: Tue Oct 30 15:51:18 2012 -0400
850 LP#1268619: track websocket_plugin.h locally until replaced by makefile.install process
852 Signed-off-by: Bill Erickson <berick@esilibrary.com>
853 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
855 130 0 src/gateway/websocket_plugin.h
856 create mode 100644 src/gateway/websocket_plugin.h
858 commit 9e455c227be32bed4a16e6dab7045b6424e2ba15
859 Author: Bill Erickson <berick@esilibrary.com>
860 Date: Mon Oct 29 17:27:44 2012 -0400
862 LP#1268619: websocket gateway repairs and cleanup
864 * use jsonObjectFree() on jsonObjets, not free();
865 * removed some debugging logs
866 * accommodate API changes for Apache 2.4
869 Avoid using ap_log_rerror, in particular referencing server->request
870 from the responder thread, since the request_rec will be invalid after
871 on_disconnect is called.
873 Signed-off-by: Bill Erickson <berick@esilibrary.com>
874 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
876 61 66 src/gateway/osrf_websocket_translator.c
878 commit a77eb22c27183d23fb08ed40bc75469d8c54b884
879 Author: Bill Erickson <berick@esilibrary.com>
880 Date: Fri Oct 26 15:06:13 2012 -0400
882 LP#1268619: Apache websocket translator module
884 Signed-off-by: Bill Erickson <berick@esilibrary.com>
885 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
887 6 2 src/gateway/Makefile.am
888 427 0 src/gateway/osrf_websocket_translator.c
889 create mode 100644 src/gateway/osrf_websocket_translator.c
891 commit 1dafbe7512f086a58212fcc66c07e348647f31ad
892 Author: Bill Erickson <berick@esilibrary.com>
893 Date: Thu Sep 20 15:55:04 2012 -0400
895 LP#1268619: OpenSRF JS websockets plugin
897 Adds an opensrf_ws.js handler. Requries some small modifications to
898 opensrf.js. Load opensrf_ws.js in DojoSRF.
900 For now, to use, add to script:
902 OpenSRF.Session.transport = OSRF_TRANSPORT_TYPE_WS;
904 Signed-off-by: Bill Erickson <berick@esilibrary.com>
905 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
907 1 0 src/javascript/DojoSRF.js
908 53 15 src/javascript/opensrf.js
909 104 0 src/javascript/opensrf_ws.js
910 create mode 100644 src/javascript/opensrf_ws.js
912 commit cb56fd32eb43f037c4126e1398b0e9cd546d9f19
913 Author: Mike Rylander <mrylander@gmail.com>
914 Date: Fri Jun 20 16:48:51 2014 -0400
916 LP#1337401: Only care about our own processes
918 OpenSRF can run mutiple times, as different users, on one host.
919 Right now we look for all service processes, but we should only
920 look for our own. This patch does that.
922 Signed-off-by: Mike Rylander <mrylander@gmail.com>
923 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
925 5 5 bin/opensrf-perl.pl.in
927 commit 65ce998b02d0778541b3101379013448cba606d2
928 Author: Ben Shum <bshum@biblio.org>
929 Date: Fri Apr 18 16:36:38 2014 -0400
931 LP#1315525: Add trusty target and remove lucid from README
933 Signed-off-by: Ben Shum <bshum@biblio.org>
934 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
938 commit be5c3d82ecba066b1f4b811af9a32a85eb1c6d70
939 Author: Chris Sharp <csharp@georgialibraries.org>
940 Date: Sun Jan 26 10:41:31 2014 -0500
942 LP#1315525: Updating Makefile.install for Ubuntu 14.04. Removing lucid support.
944 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
945 Signed-off-by: Ben Shum <bshum@biblio.org>
946 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
948 12 11 src/extras/Makefile.install
950 commit 339ac28d47a466d2fd0009c24fe0385cb5326479
951 Author: Galen Charlton <gmc@esilibrary.com>
952 Date: Fri Feb 28 09:33:19 2014 -0800
954 LP#1286248: remove osrf_ctl.sh
956 As osrf_ctl.sh was deprecated in favor of osrf_control, this patch
957 removes the deprecated script entirely.
959 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
960 Signed-off-by: Bill Erickson <berick@esilibrary.com>
963 0 102 bin/osrf_ctl.sh.in
966 delete mode 100755 bin/osrf_ctl.sh.in
968 commit 8fb4405a2768dd752743dab71d6e2e8a50ee6cd5
969 Author: Galen Charlton <gmc@esilibrary.com>
970 Date: Wed Apr 2 15:24:06 2014 -0700
972 LP#1285915: document that perl2JSON doesn't order hash keys
974 This patch documents that JSON strings returned by
975 OpenSRF::Utils::JSON->perl2JSON() should not be expected to have
976 hash keys sorted in any particular order. It also adjusts a
977 corresponding test case to consistently pass under Perl 5.18, which
978 introduces hash order randomization.
980 Forcing JSON output to be in canonical form is another option, and
981 easily done by JSON::XS, but would add overhead.
983 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
984 Signed-off-by: Bill Erickson <berick@esilibrary.com>
986 2 1 src/perl/lib/OpenSRF/Utils/JSON.pm
987 5 1 src/perl/t/09-Utils-JSON.t
989 commit 8a8b4cbbae62d3e927b24541f31fec93949b1752
990 Author: Galen Charlton <gmc@esilibrary.com>
991 Date: Wed Apr 2 16:05:33 2014 -0700
993 LP#1234816: improve const-correctness of osrfCachePutString and osrfCachePutObject
995 Since the cache key is not modified by osrfCachePutString and
996 osrfCachePutObject, this patch changes the key parameter of those
997 two functions from char* to const char*. It also updates one
998 caller osrfCachePutObject to not cast away const-ness.
1000 This patch has no functional impact, but enables future callers
1001 of osrfCachePut* to pass constant strings without having to
1002 cast away the const-ness.
1004 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1005 Signed-off-by: Bill Erickson <berick@esilibrary.com>
1007 2 2 include/opensrf/osrf_cache.h
1008 1 1 src/gateway/osrf_http_translator.c
1009 2 2 src/libopensrf/osrf_cache.c
1011 commit 0d2c6d74cf60e000646e534a7682b508c84ea55a
1012 Author: Bill Erickson <berick@esilibrary.com>
1013 Date: Thu Apr 10 13:27:34 2014 -0400
1015 LP#1306044 Removing deprecated jabber register script
1017 This script is no longer user, since ejabberdctrl is used instead.
1018 What's more, this script uses a Perl package (libnet-jabber-perl) which
1019 is no longer available in Debian (Jessie).
1021 Signed-off-by: Bill Erickson <berick@esilibrary.com>
1022 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1025 0 50 examples/register.pl
1026 delete mode 100755 examples/register.pl
1028 commit a53e3878ae172477582ae3cfe3ebd8ec9be14e65
1029 Author: Bill Erickson <berick@esilibrary.com>
1030 Date: Thu Apr 10 12:05:08 2014 -0400
1032 LP#1306044 Debian Jessie Makefile.install target
1034 * Removes Perl Net::Jabber as a dependency. There is no Jessie package
1035 for this and OpenSRF hasn't used it in a long time.
1037 * Leaving Debian Squeeze in place for now
1039 Signed-off-by: Bill Erickson <berick@esilibrary.com>
1040 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1043 15 3 src/extras/Makefile.install
1045 commit 2e919d795f0d6c5c17218fef68e894903b168a48
1046 Author: Mike Rylander <mrylander@gmail.com>
1047 Date: Thu Mar 13 16:55:19 2014 -0400
1049 LP#1292214: Improve docgen output
1051 Docgen output would be a bit more useful if it respected the formatting
1052 (such as it is) of the signature content provided by the developer. So,
1053 let's make that happen.
1055 Signed-off-by: Mike Rylander <mrylander@gmail.com>
1056 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1058 1 1 src/extras/docgen.xsl
1060 commit 951d97a32db426874c4bb6314e473660d765f302
1061 Author: Bill Erickson <berick@esilibrary.com>
1062 Date: Mon May 13 16:19:51 2013 -0400
1064 LP#1179660: remove OpenSRF.pm AUTOLOAD
1066 Instead of simply producing an error message in the OpenSRF logs, calls
1067 to nonexistent subroutines are now fatal errors which will stop code
1070 Signed-off-by: Bill Erickson <berick@esilibrary.com>
1071 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1073 1 40 src/perl/lib/OpenSRF.pm