]> git.evergreen-ils.org Git - OpenSRF.git/blob - ChangeLog
LP#1369169: Add Apache 2.4 specific configuration file for websockets
[OpenSRF.git] / ChangeLog
1 ChangeLog
2 =========
3
4 OpenSRF 2.4.0-alpha
5 -------------------
6
7 commit 4426a8a503baec5171ae4245eccd595444815358
8 Author: Galen Charlton <gmc@esilibrary.com>
9 Date:   Thu Aug 21 16:30:05 2014 -0700
10
11     release notes for OpenSRF 2.4.0-alpha
12     
13     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
14
15 121     0       doc/RELEASE_NOTES.txt
16  create mode 100644 doc/RELEASE_NOTES.txt
17
18 commit e8f78636586aeca15632bcfbf0cae20beb2d66a6
19 Author: Galen Charlton <gmc@esilibrary.com>
20 Date:   Thu Aug 21 10:02:14 2014 -0700
21
22     LP#1002028: set Access-Control-Expose-Headers
23     
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
27     support.
28     
29     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
30
31 1       0       src/gateway/apachetools.c
32
33 commit bc914bf1933cc7a9272134fd4bbeb7601d233903
34 Author: Galen Charlton <gmc@esilibrary.com>
35 Date:   Thu Aug 21 09:13:23 2014 -0700
36
37     LP#1002028: support CORS for HTTPS
38     
39     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
40
41 2       0       src/gateway/apachetools.c
42
43 commit d8dbf0c4e44cf45f00ffe2785d0778658029b825
44 Author: Bennett Goble <nivardus@gmail.com>
45 Date:   Tue May 22 11:57:56 2012 -0400
46
47     LP#1002028: Cross Origin Resource Sharing for OpenSRF
48     
49     Background
50     ----------
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
57     domains.
58     
59     Example Scenarios
60     -----------------
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
65     configure a proxy.
66     
67     Implementation
68     --------------
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.
74     
75     Notes
76     -----
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-
81     domain XHR.)
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.
85     
86     Links
87     -----
88     Specification - http://www.w3.org/TR/cors/
89     Wikipedia Article - http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
90     
91     Signed-off-by: Bennett Goble <nivardus@gmail.com>
92     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
93
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
99
100 commit 6ed6f2bc6bf56d0834ae43f00c193bce5a3867a1
101 Author: Galen Charlton <gmc@esilibrary.com>
102 Date:   Thu Aug 21 08:58:18 2014 -0700
103
104     Revert "LP#1350457: Pass caller's session to subrequests called via method_lookup"
105     
106     This reverts commit 96917538c6b6fad688dd40c2a8f0cc9127053b24.
107
108 3       3       src/perl/lib/OpenSRF/Application.pm
109
110 commit f0c02bf3cc4e8e2c1049fd2ba0fd24079b5aeba6
111 Author: Josh Stompro <Stomproj@larl.org>
112 Date:   Wed May 21 08:26:53 2014 -0500
113
114     (doc) Reorder changes to ejabberd.cfg in install instructions
115     
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.
120     
121     (From Github pull request #3.)
122     
123     Signed-off-by: Josh Stompro <Stomproj@larl.org>
124     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
125
126 4       4       README
127
128 commit 96917538c6b6fad688dd40c2a8f0cc9127053b24
129 Author: Mike Rylander <mrylander@gmail.com>
130 Date:   Wed Jul 30 13:29:46 2014 -0400
131
132     LP#1350457: Pass caller's session to subrequests called via method_lookup
133     
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.
138     
139     Signed-off-by: Mike Rylander <mrylander@gmail.com>
140     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
141
142 3       3       src/perl/lib/OpenSRF/Application.pm
143
144 commit 6cdd5251ac64651534e579f7e02a70a665f60283
145 Author: Bill Erickson <berick@esilibrary.com>
146 Date:   Thu Jul 17 11:37:53 2014 -0400
147
148     LP#1341687 listeners log/drop XMPP error msgs
149     
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.
154     
155     Signed-off-by: Bill Erickson <berick@esilibrary.com>
156     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
157
158 9       0       src/libopensrf/osrf_prefork.c
159 5       1       src/perl/lib/OpenSRF/Server.pm
160
161 commit 54da75bd2f045dbd2225317f74dc5fe38f415fe5
162 Author: Galen Charlton <gmc@esilibrary.com>
163 Date:   Wed Aug 20 14:00:17 2014 -0700
164
165     LP#1343578: document <logtag> in the example opensrf_core.xml
166     
167     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
168
169 12      0       examples/opensrf_core.xml.example
170
171 commit 2f4ed86a136cfb7547f7e8c3e2109f4473139276
172 Author: Bill Erickson <berick@esilibrary.com>
173 Date:   Thu Jul 17 15:10:35 2014 -0400
174
175     LP#1343578: Perl/C syslog "logtag" additions.
176     
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
180     
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>
184
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
189
190 commit 512f77b4652d6c793c21c7b6955480e6b9ada195
191 Author: Mike Rylander <mrylander@gmail.com>
192 Date:   Fri Jun 20 15:52:47 2014 -0400
193
194     LP#1343578: Add support for log tagging
195     
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.
199     
200     Signed-off-by: Mike Rylander <mrylander@gmail.com>
201     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
202
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
207
208 commit 6c3b1001c6183b2f633d0f43ccd3d28071c0c48d
209 Author: Bill Erickson <berick@esilibrary.com>
210 Date:   Mon May 5 13:40:46 2014 -0400
211
212     LP#1316245: JS now uses browser-native JSON routines
213     
214     * Replace JSON2jsRaw() with JSON.parse()
215     
216     * Replace js2JSONRaw() with JSON.stringify()
217     
218     * Removed unit tests for JSON2jsRaw() and js2JSONRaw()
219     
220     * Removed jsonPretty() pretty-printing routine.  Use
221       JSON.stringify(json, null, <spaces>) instead.
222     
223     See also:
224     
225     https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON
226     
227     Signed-off-by: Bill Erickson <berick@esilibrary.com>
228     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
229
230 2       94      src/javascript/JSON_v1.js
231 0       60      src/javascript/tests/testJSON_v1.js
232
233 commit 2677f8e815a61f9b808bb57647f6ec9d448f0268
234 Author: Bill Erickson <berick@esilibrary.com>
235 Date:   Mon Aug 4 14:26:36 2014 -0400
236
237     LP#1268619: disable shared workers pending browser issues
238     
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
243     now.
244     
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.
249     
250     Signed-off-by: Bill Erickson <berick@esilibrary.com>
251     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
252
253 6       1       src/javascript/opensrf.js
254
255 commit 755a58642281246df280877f7ad480503b1ddc4b
256 Author: Bill Erickson <berick@esilibrary.com>
257 Date:   Wed Jul 30 12:05:36 2014 -0400
258
259     LP#1268619: update JS/WS/SSL code comment
260     
261     Signed-off-by: Bill Erickson <berick@esilibrary.com>
262     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
263
264 1       4       src/javascript/opensrf_ws_shared.js
265
266 commit c65c6d9f91c5372360619004c8602d2a262dfb8b
267 Author: Bill Erickson <berick@esilibrary.com>
268 Date:   Thu Jul 10 11:29:49 2014 -0400
269
270     LP#1268619: JS status codes can come across as numbers; stringify for match
271     
272     Signed-off-by: Bill Erickson <berick@esilibrary.com>
273     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
274
275 1       1       src/javascript/opensrf.js
276
277 commit 17ae5ca5e6db6700dc4b61599c4394f80e727711
278 Author: Bill Erickson <berick@esilibrary.com>
279 Date:   Tue Jul 8 09:41:12 2014 -0400
280
281     LP#1268619: JS libs capture all method errors
282     
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.
285     
286     Signed-off-by: Bill Erickson <berick@esilibrary.com>
287     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
288
289 2       1       src/javascript/opensrf.js
290
291 commit 9fdef970f3785e958090f8edf4ad37ece4459343
292 Author: Bill Erickson <berick@esilibrary.com>
293 Date:   Sun May 4 15:58:17 2014 -0400
294
295     LP#1268619: websocket: avoid sharedworker for firefox 29
296     
297     https://bugzilla.mozilla.org/show_bug.cgi?id=504553#c73
298     
299     Avoid using SharedWorkers when useragent match "Firefox".  FF supports
300     shared workers, but it does not yet support WebSockets within shared
301     workers.
302     
303     Signed-off-by: Bill Erickson <berick@esilibrary.com>
304     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
305
306 8       3       src/javascript/opensrf.js
307
308 commit f43286bf11119c731ee0dbe9b5b740d8715ace66
309 Author: Bill Erickson <berick@esilibrary.com>
310 Date:   Thu Apr 10 08:50:13 2014 -0400
311
312     LP#1268619: websockets: detect connectedness of JS default sockets
313     
314     Signed-off-by: Bill Erickson <berick@esilibrary.com>
315     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
316
317 18      2       src/javascript/opensrf.js
318 10      1       src/javascript/opensrf_ws.js
319 3       1       src/javascript/opensrf_ws_shared.js
320
321 commit 0cf0a8a5fe61228995f75d0f0c6e4f4731888c40
322 Author: Bill Erickson <berick@esilibrary.com>
323 Date:   Mon Apr 7 12:04:33 2014 -0400
324
325     LP#1268619: websockets: auto-upgrade to shared workers; SSL-always
326     
327     Signed-off-by: Bill Erickson <berick@esilibrary.com>
328     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
329
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
334
335 commit 8120314b86d2b6cafe2f5fd968b4475cc187acfb
336 Author: Bill Erickson <berick@esilibrary.com>
337 Date:   Tue Mar 11 17:25:19 2014 -0400
338
339     LP#1268619: websockets: gateway code repairs & confing options
340     
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
344     
345     Signed-off-by: Bill Erickson <berick@esilibrary.com>
346     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
347
348 8       1       README.websockets
349 252     206     src/gateway/osrf_websocket_translator.c
350
351 commit 4ce075beeb5f81b8eb4c2cb2669b3a99ebab40ba
352 Author: Bill Erickson <berick@esilibrary.com>
353 Date:   Mon Mar 10 15:55:24 2014 -0400
354
355     LP#1268619: websockets: apply syslog name in gateway
356     
357     Signed-off-by: Bill Erickson <berick@esilibrary.com>
358     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
359
360 1       0       src/gateway/osrf_websocket_translator.c
361
362 commit 77c7f5889e8f31038cd732feb3e6057a0d3788b5
363 Author: Bill Erickson <berick@esilibrary.com>
364 Date:   Mon Mar 10 08:41:45 2014 -0400
365
366     LP#1268619: websockets: README typo repairs
367     
368     Patch from Warren Layton to repair path to 'envvars' and clarify some
369     text.
370     
371     Signed-off-by: Bill Erickson <berick@esilibrary.com>
372     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
373
374 2       2       README.websockets
375
376 commit bb424c1424193e4db340e3f6e17a939dc1dd821a
377 Author: Bill Erickson <berick@esilibrary.com>
378 Date:   Thu Mar 6 15:47:36 2014 -0500
379
380     LP#1268619: websockets : additional apache config docs
381     
382     Signed-off-by: Bill Erickson <berick@esilibrary.com>
383     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
384
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
390
391 commit 9f2d35e6f6b6ec5a3db109adb518cf270d49c683
392 Author: Bill Erickson <berick@esilibrary.com>
393 Date:   Thu Mar 6 15:05:12 2014 -0500
394
395     LP#1268619: websockets: apache conf -> info logging
396     
397     Signed-off-by: Bill Erickson <berick@esilibrary.com>
398     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
399
400 1       1       examples/apache2/websockets.conf
401
402 commit b1b3bf60f613b94d1455afb54dff4ad4a7e95ddd
403 Author: Bill Erickson <berick@esilibrary.com>
404 Date:   Wed Mar 5 08:40:05 2014 -0500
405
406     LP#1268619: websockets: remove single-tab JS WS implementation
407     
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
411     needed.
412     
413     Signed-off-by: Bill Erickson <berick@esilibrary.com>
414     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
415
416 0       165     src/javascript/opensrf_ws.js
417  delete mode 100644 src/javascript/opensrf_ws.js
418
419 commit 6765c6395b0fb2a1c501f7c94a04cfacc7d460db
420 Author: Bill Erickson <berick@esilibrary.com>
421 Date:   Tue Mar 4 14:10:59 2014 -0500
422
423     LP#1268619: websockets: shared worker path; JS api_level
424     
425     Signed-off-by: Bill Erickson <berick@esilibrary.com>
426     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
427
428 25      8       src/javascript/opensrf.js
429
430 commit f5ada2850552560a24e473e02532e75870ab7307
431 Author: Bill Erickson <berick@esilibrary.com>
432 Date:   Mon Mar 3 16:23:44 2014 -0500
433
434     LP#1268619: websockets: initial C libs api_level support
435     
436     Signed-off-by: Bill Erickson <berick@esilibrary.com>
437     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
438
439 4       1       src/libopensrf/osrf_message.c
440
441 commit 2bcead2d3e1c560a30c5b9beba6d1cbfe58778ed
442 Author: Bill Erickson <berick@esilibrary.com>
443 Date:   Mon Mar 3 16:01:58 2014 -0500
444
445     LP#1268619: websockets : gateway log inbound messages at internal
446     
447     Signed-off-by: Bill Erickson <berick@esilibrary.com>
448     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
449
450 7       0       src/gateway/osrf_websocket_translator.c
451
452 commit 5631bbdfa0f9a4fe2ea1b238c5e2ffee4b606dc1
453 Author: Bill Erickson <berick@esilibrary.com>
454 Date:   Mon Mar 3 12:06:12 2014 -0500
455
456     LP#1268619: websocket : add JS lib to makefile
457     
458     Signed-off-by: Bill Erickson <berick@esilibrary.com>
459     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
460
461 1       1       src/Makefile.am
462
463 commit 0054ea6684a933037af1cc3bc6358c7096dc051c
464 Author: Bill Erickson <berick@esilibrary.com>
465 Date:   Mon Mar 3 10:29:23 2014 -0500
466
467     LP#1268619: websocket: avoid module auto configuration
468     
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
472     apache instance.
473     
474     Signed-off-by: Bill Erickson <berick@esilibrary.com>
475     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
476
477 1       1       src/gateway/Makefile.am
478
479 commit e375a1e31b87a3d645b6da05e83f2a29f885f1fc
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date:   Mon Mar 3 10:05:26 2014 -0500
482
483     LP#1268619: websocket : apache gateway minor fixes
484     
485     Replace remaining remote_ip calls with a get_client_ip() function which
486     operates for apache2 and apache4.
487     
488     Make log functions for applying a log trace value accept const char*'s
489     
490     Signed-off-by: Bill Erickson <berick@esilibrary.com>
491     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
492
493 2       2       include/opensrf/log.h
494 11      16      src/gateway/osrf_websocket_translator.c
495 2       2       src/libopensrf/log.c
496
497 commit 0a0d3f616c9531c7931c365e1912cbcf6358441b
498 Author: Bill Erickson <berick@esilibrary.com>
499 Date:   Mon Mar 3 09:42:03 2014 -0500
500
501     LP#1268619: websocket : more JS api docs
502     
503     Signed-off-by: Bill Erickson <berick@esilibrary.com>
504     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
505
506 83      20      src/javascript/opensrf_ws_shared.js
507
508 commit aa1c088bd45a254290ad202875eb87c4bd4eeb2a
509 Author: Bill Erickson <berick@esilibrary.com>
510 Date:   Thu Jan 16 11:41:01 2014 -0500
511
512     LP#1268619: websockets : added config docs to install readme
513     
514     Signed-off-by: Bill Erickson <berick@esilibrary.com>
515     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
516
517 19      0       README.websockets
518 1       1       src/gateway/osrf_websocket_translator.c
519
520 commit a64f10c4183a495ec3912458c9b6268856e8fe47
521 Author: Bill Erickson <berick@esilibrary.com>
522 Date:   Tue Jan 14 16:25:20 2014 -0500
523
524     LP#1268619: websocket JS libs: reconnect and auto-connect
525     
526     JS clients no longer need to explicitly call the shared WS setup
527     routine.  It happens under the covers now.
528     
529     JS client detects disconnects and reconnects when the next message send
530     attempt occurs.
531     
532     Signed-off-by: Bill Erickson <berick@esilibrary.com>
533     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
534
535 4       6       src/javascript/opensrf.js
536 55      45      src/javascript/opensrf_ws_shared.js
537
538 commit a02360aadfcd113cbec88d9c2455e42fdd74e536
539 Author: Bill Erickson <berick@esilibrary.com>
540 Date:   Tue Jan 14 16:22:23 2014 -0500
541
542     LP#1268619: websocket translator idle timeout / graceful shutdown
543     
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.
548     
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.
552     
553     Signed-off-by: Bill Erickson <berick@esilibrary.com>
554     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
555
556 263     25      src/gateway/osrf_websocket_translator.c
557
558 commit bef394a7c24df54f1e63fc3e83cd473195a46c3a
559 Author: Bill Erickson <berick@esilibrary.com>
560 Date:   Fri Jan 10 11:57:29 2014 -0500
561
562     LP#1268619: websockets: support WS via shared web workers
563     
564     This allows mutiple browser tabs to share the same websocket connection.
565     
566     TODO: add tab (port) disconnect handler
567     TODO: more docs / examples
568     
569     Signed-off-by: Bill Erickson <berick@esilibrary.com>
570     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
571
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
575
576 commit fdb255a92f9fa687a50bed05ef918523cf902d8b
577 Author: Bill Erickson <berick@esilibrary.com>
578 Date:   Thu Jan 9 15:00:03 2014 -0500
579
580     LP#1268619: websocket: do not disconnect ws() on osrf disconnect message
581     
582     Signed-off-by: Bill Erickson <berick@esilibrary.com>
583     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
584
585 0       5       src/javascript/opensrf.js
586
587 commit d546d7eacb183ba2ddd0c0ba5dc281dc5086ae81
588 Author: Bill Erickson <berick@esilibrary.com>
589 Date:   Tue Feb 5 10:22:34 2013 -0500
590
591     LP#1268619: temporary websocket installer README
592     
593     Signed-off-by: Bill Erickson <berick@esilibrary.com>
594     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
595
596 47      0       README.websockets
597  create mode 100644 README.websockets
598
599 commit e4ef36f385c4f3b83ac4b49f2b07ee19c3166ff0
600 Author: Bill Erickson <berick@esilibrary.com>
601 Date:   Tue Feb 5 09:52:57 2013 -0500
602
603     LP#1268619: Sample Websocket translator Apache 2.2 configuration
604     
605     Signed-off-by: Bill Erickson <berick@esilibrary.com>
606     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
607
608 43      0       examples/apache2/websockets.conf
609  create mode 100644 examples/apache2/websockets.conf
610
611 commit 32ab4b133c9c96780e8b202ab1efe46bbf321c3b
612 Author: Bill Erickson <berick@esilibrary.com>
613 Date:   Fri Jan 25 12:38:13 2013 -0500
614
615     LP#1268619: websocket gateway: improved memory mgt; logging
616     
617     Signed-off-by: Bill Erickson <berick@esilibrary.com>
618     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
619
620 1       1       src/gateway/Makefile.am
621 18      23      src/gateway/osrf_websocket_translator.c
622 2       2       src/javascript/opensrf_ws.js
623
624 commit 0f3aa6480d2fbc9645571e057dac3f3be08709d1
625 Author: Bill Erickson <berick@esilibrary.com>
626 Date:   Mon Jan 21 11:34:57 2013 -0500
627
628     LP#1268619: websockets; free temporary osrf msgs; minor comment change
629     
630     Signed-off-by: Bill Erickson <berick@esilibrary.com>
631     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
632
633 11      2       src/gateway/osrf_websocket_translator.c
634
635 commit de238b740f3a54dacd07610d8e187f417bf5b677
636 Author: Bill Erickson <berick@esilibrary.com>
637 Date:   Mon Dec 10 14:33:14 2012 -0500
638
639     LP#1268619: websocket; docs, more memory mgmt
640     
641     Signed-off-by: Bill Erickson <berick@esilibrary.com>
642     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
643
644 79      34      src/gateway/osrf_websocket_translator.c
645
646 commit f990a29db95d9b1c06efa22c1b3f4fbc43206571
647 Author: Bill Erickson <berick@esilibrary.com>
648 Date:   Mon Nov 12 16:46:19 2012 -0500
649
650     LP#1268619: websocket translator
651     
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
657     
658     Signed-off-by: Bill Erickson <berick@esilibrary.com>
659     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
660
661 278     72      src/gateway/osrf_websocket_translator.c
662
663 commit 27707398e955b8a8a2df1a5311aebc19b8eb1708
664 Author: Bill Erickson <berick@esilibrary.com>
665 Date:   Thu Nov 8 12:36:16 2012 -0500
666
667     LP#1268619: websocket JS additions
668     
669     Signed-off-by: Bill Erickson <berick@esilibrary.com>
670     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
671
672 51      50      src/javascript/opensrf.js
673 124     63      src/javascript/opensrf_ws.js
674
675 commit cc42cb62c47edabd693e491ad0d939970d7dbc53
676 Author: Bill Erickson <berick@esilibrary.com>
677 Date:   Tue Oct 30 15:51:18 2012 -0400
678
679     LP#1268619: track websocket_plugin.h locally until replaced by makefile.install process
680     
681     Signed-off-by: Bill Erickson <berick@esilibrary.com>
682     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
683
684 130     0       src/gateway/websocket_plugin.h
685  create mode 100644 src/gateway/websocket_plugin.h
686
687 commit 9e455c227be32bed4a16e6dab7045b6424e2ba15
688 Author: Bill Erickson <berick@esilibrary.com>
689 Date:   Mon Oct 29 17:27:44 2012 -0400
690
691     LP#1268619: websocket gateway repairs and cleanup
692     
693     * use jsonObjectFree() on jsonObjets, not free();
694     * removed some debugging logs
695     * accommodate API changes for Apache 2.4
696     * safer logging:
697     
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.
701     
702     Signed-off-by: Bill Erickson <berick@esilibrary.com>
703     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
704
705 61      66      src/gateway/osrf_websocket_translator.c
706
707 commit a77eb22c27183d23fb08ed40bc75469d8c54b884
708 Author: Bill Erickson <berick@esilibrary.com>
709 Date:   Fri Oct 26 15:06:13 2012 -0400
710
711     LP#1268619: Apache websocket translator module
712     
713     Signed-off-by: Bill Erickson <berick@esilibrary.com>
714     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
715
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
719
720 commit 1dafbe7512f086a58212fcc66c07e348647f31ad
721 Author: Bill Erickson <berick@esilibrary.com>
722 Date:   Thu Sep 20 15:55:04 2012 -0400
723
724     LP#1268619: OpenSRF JS websockets plugin
725     
726     Adds an opensrf_ws.js handler.  Requries some small modifications to
727     opensrf.js.  Load opensrf_ws.js in DojoSRF.
728     
729     For now, to use, add to script:
730     
731     OpenSRF.Session.transport = OSRF_TRANSPORT_TYPE_WS;
732     
733     Signed-off-by: Bill Erickson <berick@esilibrary.com>
734     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
735
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
740
741 commit cb56fd32eb43f037c4126e1398b0e9cd546d9f19
742 Author: Mike Rylander <mrylander@gmail.com>
743 Date:   Fri Jun 20 16:48:51 2014 -0400
744
745     LP#1337401: Only care about our own processes
746     
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.
750     
751     Signed-off-by: Mike Rylander <mrylander@gmail.com>
752     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
753
754 5       5       bin/opensrf-perl.pl.in
755
756 commit 65ce998b02d0778541b3101379013448cba606d2
757 Author: Ben Shum <bshum@biblio.org>
758 Date:   Fri Apr 18 16:36:38 2014 -0400
759
760     LP#1315525: Add trusty target and remove lucid from README
761     
762     Signed-off-by: Ben Shum <bshum@biblio.org>
763     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
764
765 1       1       README
766
767 commit be5c3d82ecba066b1f4b811af9a32a85eb1c6d70
768 Author: Chris Sharp <csharp@georgialibraries.org>
769 Date:   Sun Jan 26 10:41:31 2014 -0500
770
771     LP#1315525: Updating Makefile.install for Ubuntu 14.04. Removing lucid support.
772     
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>
776
777 12      11      src/extras/Makefile.install
778
779 commit 339ac28d47a466d2fd0009c24fe0385cb5326479
780 Author: Galen Charlton <gmc@esilibrary.com>
781 Date:   Fri Feb 28 09:33:19 2014 -0800
782
783     LP#1286248: remove osrf_ctl.sh
784     
785     As osrf_ctl.sh was deprecated in favor of osrf_control, this patch
786     removes the deprecated script entirely.
787     
788     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
789     Signed-off-by: Bill Erickson <berick@esilibrary.com>
790
791 0       1       .gitignore
792 0       102     bin/osrf_ctl.sh.in
793 1       2       configure.ac
794 1       1       src/Makefile.am
795  delete mode 100755 bin/osrf_ctl.sh.in
796
797 commit 8fb4405a2768dd752743dab71d6e2e8a50ee6cd5
798 Author: Galen Charlton <gmc@esilibrary.com>
799 Date:   Wed Apr 2 15:24:06 2014 -0700
800
801     LP#1285915: document that perl2JSON doesn't order hash keys
802     
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.
808     
809     Forcing JSON output to be in canonical form is another option, and
810     easily done by JSON::XS, but would add overhead.
811     
812     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
813     Signed-off-by: Bill Erickson <berick@esilibrary.com>
814
815 2       1       src/perl/lib/OpenSRF/Utils/JSON.pm
816 5       1       src/perl/t/09-Utils-JSON.t
817
818 commit 8a8b4cbbae62d3e927b24541f31fec93949b1752
819 Author: Galen Charlton <gmc@esilibrary.com>
820 Date:   Wed Apr 2 16:05:33 2014 -0700
821
822     LP#1234816: improve const-correctness of osrfCachePutString and osrfCachePutObject
823     
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.
828     
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.
832     
833     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
834     Signed-off-by: Bill Erickson <berick@esilibrary.com>
835
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
839
840 commit 0d2c6d74cf60e000646e534a7682b508c84ea55a
841 Author: Bill Erickson <berick@esilibrary.com>
842 Date:   Thu Apr 10 13:27:34 2014 -0400
843
844     LP#1306044 Removing deprecated jabber register script
845     
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).
849     
850     Signed-off-by: Bill Erickson <berick@esilibrary.com>
851     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
852
853 0       1       Makefile.am
854 0       50      examples/register.pl
855  delete mode 100755 examples/register.pl
856
857 commit a53e3878ae172477582ae3cfe3ebd8ec9be14e65
858 Author: Bill Erickson <berick@esilibrary.com>
859 Date:   Thu Apr 10 12:05:08 2014 -0400
860
861     LP#1306044 Debian Jessie Makefile.install target
862     
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.
865     
866     * Leaving Debian Squeeze in place for now
867     
868     Signed-off-by: Bill Erickson <berick@esilibrary.com>
869     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
870
871 1       0       README
872 15      3       src/extras/Makefile.install
873
874 commit 2e919d795f0d6c5c17218fef68e894903b168a48
875 Author: Mike Rylander <mrylander@gmail.com>
876 Date:   Thu Mar 13 16:55:19 2014 -0400
877
878     LP#1292214: Improve docgen output
879     
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.
883     
884     Signed-off-by: Mike Rylander <mrylander@gmail.com>
885     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
886
887 1       1       src/extras/docgen.xsl
888
889 commit 951d97a32db426874c4bb6314e473660d765f302
890 Author: Bill Erickson <berick@esilibrary.com>
891 Date:   Mon May 13 16:19:51 2013 -0400
892
893     LP#1179660: remove OpenSRF.pm AUTOLOAD
894     
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
897     execution.
898     
899     Signed-off-by: Bill Erickson <berick@esilibrary.com>
900     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
901
902 1       40      src/perl/lib/OpenSRF.pm