]> git.evergreen-ils.org Git - OpenSRF.git/blob - ChangeLog
Update Release Notes for OpenSRF 2.4.0
[OpenSRF.git] / ChangeLog
1 ChangeLog
2 =========
3
4 OpenSRF 2.4.0
5 -------------
6
7 commit df5aa177d80b40fe1e318a103a48222378af1587
8 Author: Bill Erickson <berickxx@gmail.com>
9 Date:   Fri Oct 17 17:07:53 2014 -0400
10
11     LP#1383828 Jessie/Trusty installer Apache "mpm" repairs
12     
13     Disable the default Apache mpm_event module and enable mpm_prefork for
14     Debian Jessie and Ubuntu Trusty.
15     
16     Signed-off-by: Bill Erickson <berickxx@gmail.com>
17     Signed-off-by: Ben Shum <bshum@biblio.org>
18
19 8       2       src/extras/Makefile.install
20
21 commit b199a9a84aa815dbcbc4c98e3269c192fecdb238
22 Author: Ben Shum <bshum@biblio.org>
23 Date:   Mon Nov 10 12:20:31 2014 -0500
24
25     LP#1391248: Fix NameVirtualHost warnings in websockets apache2.conf
26     
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
29     needed.
30     
31     When starting apache2-websockets, you may see warnings like:
32     
33     AH00548: NameVirtualHost has no effect and will be removed in the next
34     release /etc/apache2-websockets/apache2.conf:53
35     
36     Remove the NameVirtualHost entries and these warnings go away.
37     
38     Signed-off-by: Ben Shum <bshum@biblio.org>
39     Signed-off-by: Bill Erickson <berickxx@gmail.com>
40
41 0       2       examples/apache_24/websockets/apache2.conf
42
43 commit 3c268142659852c6b09a8709a84029702698d2ea
44 Author: Ben Shum <bshum@biblio.org>
45 Date:   Fri Oct 31 23:53:58 2014 -0400
46
47     LP#1369169: Remove hardcoded paths for OpenSRF directory
48     
49     Signed-off-by: Ben Shum <bshum@biblio.org>
50     Signed-off-by: Bill Erickson <berickxx@gmail.com>
51
52 2       2       README
53
54 commit 8bcfe29874dc2aeb2fdc07b16660a0350d377cee
55 Author: Ben Shum <bshum@biblio.org>
56 Date:   Sat Sep 13 18:23:46 2014 -0400
57
58     LP#1369169: Mention the requirement for valid SSL certificate
59     
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.
64     
65     Signed-off-by: Ben Shum <bshum@biblio.org>
66     Signed-off-by: Bill Erickson <berickxx@gmail.com>
67
68 7       1       README
69
70 commit 25d0b0d6abe90612430b74f3c9bcf9c75c0a972e
71 Author: Ben Shum <bshum@biblio.org>
72 Date:   Fri Sep 12 17:58:11 2014 -0400
73
74     LP#1369169: Add websockets section to the OpenSRF README
75     
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.
78     
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?
82     
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.
85     
86     Signed-off-by: Ben Shum <bshum@biblio.org>
87     Signed-off-by: Bill Erickson <berickxx@gmail.com>
88
89 93      0       README
90 0       53      README.websockets
91  delete mode 100644 README.websockets
92
93 commit c6e0150be2b0d3c010d4ea6c34a81f69cec3004b
94 Author: Ben Shum <bshum@biblio.org>
95 Date:   Sat Sep 13 18:04:54 2014 -0400
96
97     LP#1369169: Add Apache 2.4 specific configuration file for websockets
98     
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
102     file.
103     
104     Signed-off-by: Ben Shum <bshum@biblio.org>
105     Signed-off-by: Bill Erickson <berickxx@gmail.com>
106
107 80      0       examples/apache_24/websockets/apache2.conf
108  create mode 100644 examples/apache_24/websockets/apache2.conf
109
110 commit 92e8a5f7d6040bda312317ce339e459d5549d3eb
111 Author: Ben Shum <bshum@biblio.org>
112 Date:   Sat Sep 13 18:07:47 2014 -0400
113
114     LP#1369169: Remove trailing whitespace from apache2.conf
115     
116     For some reason, there was a lot of trailing whitespace in this apache2.conf
117     file for websockets. Removing them.
118     
119     Signed-off-by: Ben Shum <bshum@biblio.org>
120     Signed-off-by: Bill Erickson <berickxx@gmail.com>
121
122 19      19      examples/apache2/websockets/apache2.conf
123
124 commit 1b0252065496be18b8c4eb3991d1057928dd7784
125 Author: Ben Shum <bshum@biblio.org>
126 Date:   Sat Sep 13 17:03:19 2014 -0400
127
128     LP#1369169: Standardize styling of root linux account for README
129     
130     Signed-off-by: Ben Shum <bshum@biblio.org>
131     Signed-off-by: Bill Erickson <berickxx@gmail.com>
132
133 3       3       README
134
135 commit 10b9f9eeac545cf46387e45b8cbd06e2a556baf3
136 Author: Ben Shum <bshum@biblio.org>
137 Date:   Sat Sep 13 17:38:54 2014 -0400
138
139     LP#1369169: Add generated README.html to the .gitignore file for OpenSRF
140     
141     Signed-off-by: Ben Shum <bshum@biblio.org>
142     Signed-off-by: Bill Erickson <berickxx@gmail.com>
143
144 1       0       .gitignore
145
146 commit 2bceabc55f8b1ccb13089298bfdb6a220c5735d6
147 Author: Galen Charlton <gmc@esilibrary.com>
148 Date:   Thu Aug 21 16:52:10 2014 -0700
149
150     fix typo in release notes
151     
152     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
153
154 1       1       doc/RELEASE_NOTES.txt
155
156 commit e5eab9073e25b82914986326a5e97e7feecb5dfb
157 Author: Galen Charlton <gmc@esilibrary.com>
158 Date:   Thu Aug 21 16:33:11 2014 -0700
159
160     bump up version number for OpenSRF 2.4.0-alpha
161     
162     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
163
164 2       2       src/perl/lib/OpenSRF.pm
165 1       1       src/python/setup.py
166 1       1       version.m4
167
168 commit b929dd7080b91e1f7c938778580ac6957835e666
169 Author: Galen Charlton <gmc@esilibrary.com>
170 Date:   Thu Aug 21 16:30:58 2014 -0700
171
172     update ChangeLog for OpenSRF 2.4.0-alpha
173     
174     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
175
176 582     1004    ChangeLog
177
178 commit 4426a8a503baec5171ae4245eccd595444815358
179 Author: Galen Charlton <gmc@esilibrary.com>
180 Date:   Thu Aug 21 16:30:05 2014 -0700
181
182     release notes for OpenSRF 2.4.0-alpha
183     
184     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
185
186 121     0       doc/RELEASE_NOTES.txt
187  create mode 100644 doc/RELEASE_NOTES.txt
188
189 commit e8f78636586aeca15632bcfbf0cae20beb2d66a6
190 Author: Galen Charlton <gmc@esilibrary.com>
191 Date:   Thu Aug 21 10:02:14 2014 -0700
192
193     LP#1002028: set Access-Control-Expose-Headers
194     
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
198     support.
199     
200     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
201
202 1       0       src/gateway/apachetools.c
203
204 commit bc914bf1933cc7a9272134fd4bbeb7601d233903
205 Author: Galen Charlton <gmc@esilibrary.com>
206 Date:   Thu Aug 21 09:13:23 2014 -0700
207
208     LP#1002028: support CORS for HTTPS
209     
210     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
211
212 2       0       src/gateway/apachetools.c
213
214 commit d8dbf0c4e44cf45f00ffe2785d0778658029b825
215 Author: Bennett Goble <nivardus@gmail.com>
216 Date:   Tue May 22 11:57:56 2012 -0400
217
218     LP#1002028: Cross Origin Resource Sharing for OpenSRF
219     
220     Background
221     ----------
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
228     domains.
229     
230     Example Scenarios
231     -----------------
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
236     configure a proxy.
237     
238     Implementation
239     --------------
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.
245     
246     Notes
247     -----
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-
252     domain XHR.)
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.
256     
257     Links
258     -----
259     Specification - http://www.w3.org/TR/cors/
260     Wikipedia Article - http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
261     
262     Signed-off-by: Bennett Goble <nivardus@gmail.com>
263     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
264
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
270
271 commit 6ed6f2bc6bf56d0834ae43f00c193bce5a3867a1
272 Author: Galen Charlton <gmc@esilibrary.com>
273 Date:   Thu Aug 21 08:58:18 2014 -0700
274
275     Revert "LP#1350457: Pass caller's session to subrequests called via method_lookup"
276     
277     This reverts commit 96917538c6b6fad688dd40c2a8f0cc9127053b24.
278
279 3       3       src/perl/lib/OpenSRF/Application.pm
280
281 commit f0c02bf3cc4e8e2c1049fd2ba0fd24079b5aeba6
282 Author: Josh Stompro <Stomproj@larl.org>
283 Date:   Wed May 21 08:26:53 2014 -0500
284
285     (doc) Reorder changes to ejabberd.cfg in install instructions
286     
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.
291     
292     (From Github pull request #3.)
293     
294     Signed-off-by: Josh Stompro <Stomproj@larl.org>
295     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
296
297 4       4       README
298
299 commit 96917538c6b6fad688dd40c2a8f0cc9127053b24
300 Author: Mike Rylander <mrylander@gmail.com>
301 Date:   Wed Jul 30 13:29:46 2014 -0400
302
303     LP#1350457: Pass caller's session to subrequests called via method_lookup
304     
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.
309     
310     Signed-off-by: Mike Rylander <mrylander@gmail.com>
311     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
312
313 3       3       src/perl/lib/OpenSRF/Application.pm
314
315 commit 6cdd5251ac64651534e579f7e02a70a665f60283
316 Author: Bill Erickson <berick@esilibrary.com>
317 Date:   Thu Jul 17 11:37:53 2014 -0400
318
319     LP#1341687 listeners log/drop XMPP error msgs
320     
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.
325     
326     Signed-off-by: Bill Erickson <berick@esilibrary.com>
327     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
328
329 9       0       src/libopensrf/osrf_prefork.c
330 5       1       src/perl/lib/OpenSRF/Server.pm
331
332 commit 54da75bd2f045dbd2225317f74dc5fe38f415fe5
333 Author: Galen Charlton <gmc@esilibrary.com>
334 Date:   Wed Aug 20 14:00:17 2014 -0700
335
336     LP#1343578: document <logtag> in the example opensrf_core.xml
337     
338     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
339
340 12      0       examples/opensrf_core.xml.example
341
342 commit 2f4ed86a136cfb7547f7e8c3e2109f4473139276
343 Author: Bill Erickson <berick@esilibrary.com>
344 Date:   Thu Jul 17 15:10:35 2014 -0400
345
346     LP#1343578: Perl/C syslog "logtag" additions.
347     
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
351     
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>
355
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
360
361 commit 512f77b4652d6c793c21c7b6955480e6b9ada195
362 Author: Mike Rylander <mrylander@gmail.com>
363 Date:   Fri Jun 20 15:52:47 2014 -0400
364
365     LP#1343578: Add support for log tagging
366     
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.
370     
371     Signed-off-by: Mike Rylander <mrylander@gmail.com>
372     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
373
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
378
379 commit 6c3b1001c6183b2f633d0f43ccd3d28071c0c48d
380 Author: Bill Erickson <berick@esilibrary.com>
381 Date:   Mon May 5 13:40:46 2014 -0400
382
383     LP#1316245: JS now uses browser-native JSON routines
384     
385     * Replace JSON2jsRaw() with JSON.parse()
386     
387     * Replace js2JSONRaw() with JSON.stringify()
388     
389     * Removed unit tests for JSON2jsRaw() and js2JSONRaw()
390     
391     * Removed jsonPretty() pretty-printing routine.  Use
392       JSON.stringify(json, null, <spaces>) instead.
393     
394     See also:
395     
396     https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON
397     
398     Signed-off-by: Bill Erickson <berick@esilibrary.com>
399     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
400
401 2       94      src/javascript/JSON_v1.js
402 0       60      src/javascript/tests/testJSON_v1.js
403
404 commit 2677f8e815a61f9b808bb57647f6ec9d448f0268
405 Author: Bill Erickson <berick@esilibrary.com>
406 Date:   Mon Aug 4 14:26:36 2014 -0400
407
408     LP#1268619: disable shared workers pending browser issues
409     
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
414     now.
415     
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.
420     
421     Signed-off-by: Bill Erickson <berick@esilibrary.com>
422     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
423
424 6       1       src/javascript/opensrf.js
425
426 commit 755a58642281246df280877f7ad480503b1ddc4b
427 Author: Bill Erickson <berick@esilibrary.com>
428 Date:   Wed Jul 30 12:05:36 2014 -0400
429
430     LP#1268619: update JS/WS/SSL code comment
431     
432     Signed-off-by: Bill Erickson <berick@esilibrary.com>
433     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
434
435 1       4       src/javascript/opensrf_ws_shared.js
436
437 commit c65c6d9f91c5372360619004c8602d2a262dfb8b
438 Author: Bill Erickson <berick@esilibrary.com>
439 Date:   Thu Jul 10 11:29:49 2014 -0400
440
441     LP#1268619: JS status codes can come across as numbers; stringify for match
442     
443     Signed-off-by: Bill Erickson <berick@esilibrary.com>
444     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
445
446 1       1       src/javascript/opensrf.js
447
448 commit 17ae5ca5e6db6700dc4b61599c4394f80e727711
449 Author: Bill Erickson <berick@esilibrary.com>
450 Date:   Tue Jul 8 09:41:12 2014 -0400
451
452     LP#1268619: JS libs capture all method errors
453     
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.
456     
457     Signed-off-by: Bill Erickson <berick@esilibrary.com>
458     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
459
460 2       1       src/javascript/opensrf.js
461
462 commit 9fdef970f3785e958090f8edf4ad37ece4459343
463 Author: Bill Erickson <berick@esilibrary.com>
464 Date:   Sun May 4 15:58:17 2014 -0400
465
466     LP#1268619: websocket: avoid sharedworker for firefox 29
467     
468     https://bugzilla.mozilla.org/show_bug.cgi?id=504553#c73
469     
470     Avoid using SharedWorkers when useragent match "Firefox".  FF supports
471     shared workers, but it does not yet support WebSockets within shared
472     workers.
473     
474     Signed-off-by: Bill Erickson <berick@esilibrary.com>
475     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
476
477 8       3       src/javascript/opensrf.js
478
479 commit f43286bf11119c731ee0dbe9b5b740d8715ace66
480 Author: Bill Erickson <berick@esilibrary.com>
481 Date:   Thu Apr 10 08:50:13 2014 -0400
482
483     LP#1268619: websockets: detect connectedness of JS default sockets
484     
485     Signed-off-by: Bill Erickson <berick@esilibrary.com>
486     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
487
488 18      2       src/javascript/opensrf.js
489 10      1       src/javascript/opensrf_ws.js
490 3       1       src/javascript/opensrf_ws_shared.js
491
492 commit 0cf0a8a5fe61228995f75d0f0c6e4f4731888c40
493 Author: Bill Erickson <berick@esilibrary.com>
494 Date:   Mon Apr 7 12:04:33 2014 -0400
495
496     LP#1268619: websockets: auto-upgrade to shared workers; SSL-always
497     
498     Signed-off-by: Bill Erickson <berick@esilibrary.com>
499     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
500
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
505
506 commit 8120314b86d2b6cafe2f5fd968b4475cc187acfb
507 Author: Bill Erickson <berick@esilibrary.com>
508 Date:   Tue Mar 11 17:25:19 2014 -0400
509
510     LP#1268619: websockets: gateway code repairs & confing options
511     
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
515     
516     Signed-off-by: Bill Erickson <berick@esilibrary.com>
517     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
518
519 8       1       README.websockets
520 252     206     src/gateway/osrf_websocket_translator.c
521
522 commit 4ce075beeb5f81b8eb4c2cb2669b3a99ebab40ba
523 Author: Bill Erickson <berick@esilibrary.com>
524 Date:   Mon Mar 10 15:55:24 2014 -0400
525
526     LP#1268619: websockets: apply syslog name in gateway
527     
528     Signed-off-by: Bill Erickson <berick@esilibrary.com>
529     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
530
531 1       0       src/gateway/osrf_websocket_translator.c
532
533 commit 77c7f5889e8f31038cd732feb3e6057a0d3788b5
534 Author: Bill Erickson <berick@esilibrary.com>
535 Date:   Mon Mar 10 08:41:45 2014 -0400
536
537     LP#1268619: websockets: README typo repairs
538     
539     Patch from Warren Layton to repair path to 'envvars' and clarify some
540     text.
541     
542     Signed-off-by: Bill Erickson <berick@esilibrary.com>
543     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
544
545 2       2       README.websockets
546
547 commit bb424c1424193e4db340e3f6e17a939dc1dd821a
548 Author: Bill Erickson <berick@esilibrary.com>
549 Date:   Thu Mar 6 15:47:36 2014 -0500
550
551     LP#1268619: websockets : additional apache config docs
552     
553     Signed-off-by: Bill Erickson <berick@esilibrary.com>
554     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
555
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
561
562 commit 9f2d35e6f6b6ec5a3db109adb518cf270d49c683
563 Author: Bill Erickson <berick@esilibrary.com>
564 Date:   Thu Mar 6 15:05:12 2014 -0500
565
566     LP#1268619: websockets: apache conf -> info logging
567     
568     Signed-off-by: Bill Erickson <berick@esilibrary.com>
569     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
570
571 1       1       examples/apache2/websockets.conf
572
573 commit b1b3bf60f613b94d1455afb54dff4ad4a7e95ddd
574 Author: Bill Erickson <berick@esilibrary.com>
575 Date:   Wed Mar 5 08:40:05 2014 -0500
576
577     LP#1268619: websockets: remove single-tab JS WS implementation
578     
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
582     needed.
583     
584     Signed-off-by: Bill Erickson <berick@esilibrary.com>
585     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
586
587 0       165     src/javascript/opensrf_ws.js
588  delete mode 100644 src/javascript/opensrf_ws.js
589
590 commit 6765c6395b0fb2a1c501f7c94a04cfacc7d460db
591 Author: Bill Erickson <berick@esilibrary.com>
592 Date:   Tue Mar 4 14:10:59 2014 -0500
593
594     LP#1268619: websockets: shared worker path; JS api_level
595     
596     Signed-off-by: Bill Erickson <berick@esilibrary.com>
597     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
598
599 25      8       src/javascript/opensrf.js
600
601 commit f5ada2850552560a24e473e02532e75870ab7307
602 Author: Bill Erickson <berick@esilibrary.com>
603 Date:   Mon Mar 3 16:23:44 2014 -0500
604
605     LP#1268619: websockets: initial C libs api_level support
606     
607     Signed-off-by: Bill Erickson <berick@esilibrary.com>
608     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
609
610 4       1       src/libopensrf/osrf_message.c
611
612 commit 2bcead2d3e1c560a30c5b9beba6d1cbfe58778ed
613 Author: Bill Erickson <berick@esilibrary.com>
614 Date:   Mon Mar 3 16:01:58 2014 -0500
615
616     LP#1268619: websockets : gateway log inbound messages at internal
617     
618     Signed-off-by: Bill Erickson <berick@esilibrary.com>
619     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
620
621 7       0       src/gateway/osrf_websocket_translator.c
622
623 commit 5631bbdfa0f9a4fe2ea1b238c5e2ffee4b606dc1
624 Author: Bill Erickson <berick@esilibrary.com>
625 Date:   Mon Mar 3 12:06:12 2014 -0500
626
627     LP#1268619: websocket : add JS lib to makefile
628     
629     Signed-off-by: Bill Erickson <berick@esilibrary.com>
630     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
631
632 1       1       src/Makefile.am
633
634 commit 0054ea6684a933037af1cc3bc6358c7096dc051c
635 Author: Bill Erickson <berick@esilibrary.com>
636 Date:   Mon Mar 3 10:29:23 2014 -0500
637
638     LP#1268619: websocket: avoid module auto configuration
639     
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
643     apache instance.
644     
645     Signed-off-by: Bill Erickson <berick@esilibrary.com>
646     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
647
648 1       1       src/gateway/Makefile.am
649
650 commit e375a1e31b87a3d645b6da05e83f2a29f885f1fc
651 Author: Bill Erickson <berick@esilibrary.com>
652 Date:   Mon Mar 3 10:05:26 2014 -0500
653
654     LP#1268619: websocket : apache gateway minor fixes
655     
656     Replace remaining remote_ip calls with a get_client_ip() function which
657     operates for apache2 and apache4.
658     
659     Make log functions for applying a log trace value accept const char*'s
660     
661     Signed-off-by: Bill Erickson <berick@esilibrary.com>
662     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
663
664 2       2       include/opensrf/log.h
665 11      16      src/gateway/osrf_websocket_translator.c
666 2       2       src/libopensrf/log.c
667
668 commit 0a0d3f616c9531c7931c365e1912cbcf6358441b
669 Author: Bill Erickson <berick@esilibrary.com>
670 Date:   Mon Mar 3 09:42:03 2014 -0500
671
672     LP#1268619: websocket : more JS api docs
673     
674     Signed-off-by: Bill Erickson <berick@esilibrary.com>
675     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
676
677 83      20      src/javascript/opensrf_ws_shared.js
678
679 commit aa1c088bd45a254290ad202875eb87c4bd4eeb2a
680 Author: Bill Erickson <berick@esilibrary.com>
681 Date:   Thu Jan 16 11:41:01 2014 -0500
682
683     LP#1268619: websockets : added config docs to install readme
684     
685     Signed-off-by: Bill Erickson <berick@esilibrary.com>
686     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
687
688 19      0       README.websockets
689 1       1       src/gateway/osrf_websocket_translator.c
690
691 commit a64f10c4183a495ec3912458c9b6268856e8fe47
692 Author: Bill Erickson <berick@esilibrary.com>
693 Date:   Tue Jan 14 16:25:20 2014 -0500
694
695     LP#1268619: websocket JS libs: reconnect and auto-connect
696     
697     JS clients no longer need to explicitly call the shared WS setup
698     routine.  It happens under the covers now.
699     
700     JS client detects disconnects and reconnects when the next message send
701     attempt occurs.
702     
703     Signed-off-by: Bill Erickson <berick@esilibrary.com>
704     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
705
706 4       6       src/javascript/opensrf.js
707 55      45      src/javascript/opensrf_ws_shared.js
708
709 commit a02360aadfcd113cbec88d9c2455e42fdd74e536
710 Author: Bill Erickson <berick@esilibrary.com>
711 Date:   Tue Jan 14 16:22:23 2014 -0500
712
713     LP#1268619: websocket translator idle timeout / graceful shutdown
714     
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.
719     
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.
723     
724     Signed-off-by: Bill Erickson <berick@esilibrary.com>
725     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
726
727 263     25      src/gateway/osrf_websocket_translator.c
728
729 commit bef394a7c24df54f1e63fc3e83cd473195a46c3a
730 Author: Bill Erickson <berick@esilibrary.com>
731 Date:   Fri Jan 10 11:57:29 2014 -0500
732
733     LP#1268619: websockets: support WS via shared web workers
734     
735     This allows mutiple browser tabs to share the same websocket connection.
736     
737     TODO: add tab (port) disconnect handler
738     TODO: more docs / examples
739     
740     Signed-off-by: Bill Erickson <berick@esilibrary.com>
741     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
742
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
746
747 commit fdb255a92f9fa687a50bed05ef918523cf902d8b
748 Author: Bill Erickson <berick@esilibrary.com>
749 Date:   Thu Jan 9 15:00:03 2014 -0500
750
751     LP#1268619: websocket: do not disconnect ws() on osrf disconnect message
752     
753     Signed-off-by: Bill Erickson <berick@esilibrary.com>
754     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
755
756 0       5       src/javascript/opensrf.js
757
758 commit d546d7eacb183ba2ddd0c0ba5dc281dc5086ae81
759 Author: Bill Erickson <berick@esilibrary.com>
760 Date:   Tue Feb 5 10:22:34 2013 -0500
761
762     LP#1268619: temporary websocket installer README
763     
764     Signed-off-by: Bill Erickson <berick@esilibrary.com>
765     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
766
767 47      0       README.websockets
768  create mode 100644 README.websockets
769
770 commit e4ef36f385c4f3b83ac4b49f2b07ee19c3166ff0
771 Author: Bill Erickson <berick@esilibrary.com>
772 Date:   Tue Feb 5 09:52:57 2013 -0500
773
774     LP#1268619: Sample Websocket translator Apache 2.2 configuration
775     
776     Signed-off-by: Bill Erickson <berick@esilibrary.com>
777     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
778
779 43      0       examples/apache2/websockets.conf
780  create mode 100644 examples/apache2/websockets.conf
781
782 commit 32ab4b133c9c96780e8b202ab1efe46bbf321c3b
783 Author: Bill Erickson <berick@esilibrary.com>
784 Date:   Fri Jan 25 12:38:13 2013 -0500
785
786     LP#1268619: websocket gateway: improved memory mgt; logging
787     
788     Signed-off-by: Bill Erickson <berick@esilibrary.com>
789     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
790
791 1       1       src/gateway/Makefile.am
792 18      23      src/gateway/osrf_websocket_translator.c
793 2       2       src/javascript/opensrf_ws.js
794
795 commit 0f3aa6480d2fbc9645571e057dac3f3be08709d1
796 Author: Bill Erickson <berick@esilibrary.com>
797 Date:   Mon Jan 21 11:34:57 2013 -0500
798
799     LP#1268619: websockets; free temporary osrf msgs; minor comment change
800     
801     Signed-off-by: Bill Erickson <berick@esilibrary.com>
802     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
803
804 11      2       src/gateway/osrf_websocket_translator.c
805
806 commit de238b740f3a54dacd07610d8e187f417bf5b677
807 Author: Bill Erickson <berick@esilibrary.com>
808 Date:   Mon Dec 10 14:33:14 2012 -0500
809
810     LP#1268619: websocket; docs, more memory mgmt
811     
812     Signed-off-by: Bill Erickson <berick@esilibrary.com>
813     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
814
815 79      34      src/gateway/osrf_websocket_translator.c
816
817 commit f990a29db95d9b1c06efa22c1b3f4fbc43206571
818 Author: Bill Erickson <berick@esilibrary.com>
819 Date:   Mon Nov 12 16:46:19 2012 -0500
820
821     LP#1268619: websocket translator
822     
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
828     
829     Signed-off-by: Bill Erickson <berick@esilibrary.com>
830     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
831
832 278     72      src/gateway/osrf_websocket_translator.c
833
834 commit 27707398e955b8a8a2df1a5311aebc19b8eb1708
835 Author: Bill Erickson <berick@esilibrary.com>
836 Date:   Thu Nov 8 12:36:16 2012 -0500
837
838     LP#1268619: websocket JS additions
839     
840     Signed-off-by: Bill Erickson <berick@esilibrary.com>
841     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
842
843 51      50      src/javascript/opensrf.js
844 124     63      src/javascript/opensrf_ws.js
845
846 commit cc42cb62c47edabd693e491ad0d939970d7dbc53
847 Author: Bill Erickson <berick@esilibrary.com>
848 Date:   Tue Oct 30 15:51:18 2012 -0400
849
850     LP#1268619: track websocket_plugin.h locally until replaced by makefile.install process
851     
852     Signed-off-by: Bill Erickson <berick@esilibrary.com>
853     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
854
855 130     0       src/gateway/websocket_plugin.h
856  create mode 100644 src/gateway/websocket_plugin.h
857
858 commit 9e455c227be32bed4a16e6dab7045b6424e2ba15
859 Author: Bill Erickson <berick@esilibrary.com>
860 Date:   Mon Oct 29 17:27:44 2012 -0400
861
862     LP#1268619: websocket gateway repairs and cleanup
863     
864     * use jsonObjectFree() on jsonObjets, not free();
865     * removed some debugging logs
866     * accommodate API changes for Apache 2.4
867     * safer logging:
868     
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.
872     
873     Signed-off-by: Bill Erickson <berick@esilibrary.com>
874     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
875
876 61      66      src/gateway/osrf_websocket_translator.c
877
878 commit a77eb22c27183d23fb08ed40bc75469d8c54b884
879 Author: Bill Erickson <berick@esilibrary.com>
880 Date:   Fri Oct 26 15:06:13 2012 -0400
881
882     LP#1268619: Apache websocket translator module
883     
884     Signed-off-by: Bill Erickson <berick@esilibrary.com>
885     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
886
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
890
891 commit 1dafbe7512f086a58212fcc66c07e348647f31ad
892 Author: Bill Erickson <berick@esilibrary.com>
893 Date:   Thu Sep 20 15:55:04 2012 -0400
894
895     LP#1268619: OpenSRF JS websockets plugin
896     
897     Adds an opensrf_ws.js handler.  Requries some small modifications to
898     opensrf.js.  Load opensrf_ws.js in DojoSRF.
899     
900     For now, to use, add to script:
901     
902     OpenSRF.Session.transport = OSRF_TRANSPORT_TYPE_WS;
903     
904     Signed-off-by: Bill Erickson <berick@esilibrary.com>
905     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
906
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
911
912 commit cb56fd32eb43f037c4126e1398b0e9cd546d9f19
913 Author: Mike Rylander <mrylander@gmail.com>
914 Date:   Fri Jun 20 16:48:51 2014 -0400
915
916     LP#1337401: Only care about our own processes
917     
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.
921     
922     Signed-off-by: Mike Rylander <mrylander@gmail.com>
923     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
924
925 5       5       bin/opensrf-perl.pl.in
926
927 commit 65ce998b02d0778541b3101379013448cba606d2
928 Author: Ben Shum <bshum@biblio.org>
929 Date:   Fri Apr 18 16:36:38 2014 -0400
930
931     LP#1315525: Add trusty target and remove lucid from README
932     
933     Signed-off-by: Ben Shum <bshum@biblio.org>
934     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
935
936 1       1       README
937
938 commit be5c3d82ecba066b1f4b811af9a32a85eb1c6d70
939 Author: Chris Sharp <csharp@georgialibraries.org>
940 Date:   Sun Jan 26 10:41:31 2014 -0500
941
942     LP#1315525: Updating Makefile.install for Ubuntu 14.04. Removing lucid support.
943     
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>
947
948 12      11      src/extras/Makefile.install
949
950 commit 339ac28d47a466d2fd0009c24fe0385cb5326479
951 Author: Galen Charlton <gmc@esilibrary.com>
952 Date:   Fri Feb 28 09:33:19 2014 -0800
953
954     LP#1286248: remove osrf_ctl.sh
955     
956     As osrf_ctl.sh was deprecated in favor of osrf_control, this patch
957     removes the deprecated script entirely.
958     
959     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
960     Signed-off-by: Bill Erickson <berick@esilibrary.com>
961
962 0       1       .gitignore
963 0       102     bin/osrf_ctl.sh.in
964 1       2       configure.ac
965 1       1       src/Makefile.am
966  delete mode 100755 bin/osrf_ctl.sh.in
967
968 commit 8fb4405a2768dd752743dab71d6e2e8a50ee6cd5
969 Author: Galen Charlton <gmc@esilibrary.com>
970 Date:   Wed Apr 2 15:24:06 2014 -0700
971
972     LP#1285915: document that perl2JSON doesn't order hash keys
973     
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.
979     
980     Forcing JSON output to be in canonical form is another option, and
981     easily done by JSON::XS, but would add overhead.
982     
983     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
984     Signed-off-by: Bill Erickson <berick@esilibrary.com>
985
986 2       1       src/perl/lib/OpenSRF/Utils/JSON.pm
987 5       1       src/perl/t/09-Utils-JSON.t
988
989 commit 8a8b4cbbae62d3e927b24541f31fec93949b1752
990 Author: Galen Charlton <gmc@esilibrary.com>
991 Date:   Wed Apr 2 16:05:33 2014 -0700
992
993     LP#1234816: improve const-correctness of osrfCachePutString and osrfCachePutObject
994     
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.
999     
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.
1003     
1004     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1005     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1006
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
1010
1011 commit 0d2c6d74cf60e000646e534a7682b508c84ea55a
1012 Author: Bill Erickson <berick@esilibrary.com>
1013 Date:   Thu Apr 10 13:27:34 2014 -0400
1014
1015     LP#1306044 Removing deprecated jabber register script
1016     
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).
1020     
1021     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1022     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1023
1024 0       1       Makefile.am
1025 0       50      examples/register.pl
1026  delete mode 100755 examples/register.pl
1027
1028 commit a53e3878ae172477582ae3cfe3ebd8ec9be14e65
1029 Author: Bill Erickson <berick@esilibrary.com>
1030 Date:   Thu Apr 10 12:05:08 2014 -0400
1031
1032     LP#1306044 Debian Jessie Makefile.install target
1033     
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.
1036     
1037     * Leaving Debian Squeeze in place for now
1038     
1039     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1040     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1041
1042 1       0       README
1043 15      3       src/extras/Makefile.install
1044
1045 commit 2e919d795f0d6c5c17218fef68e894903b168a48
1046 Author: Mike Rylander <mrylander@gmail.com>
1047 Date:   Thu Mar 13 16:55:19 2014 -0400
1048
1049     LP#1292214: Improve docgen output
1050     
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.
1054     
1055     Signed-off-by: Mike Rylander <mrylander@gmail.com>
1056     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1057
1058 1       1       src/extras/docgen.xsl
1059
1060 commit 951d97a32db426874c4bb6314e473660d765f302
1061 Author: Bill Erickson <berick@esilibrary.com>
1062 Date:   Mon May 13 16:19:51 2013 -0400
1063
1064     LP#1179660: remove OpenSRF.pm AUTOLOAD
1065     
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
1068     execution.
1069     
1070     Signed-off-by: Bill Erickson <berick@esilibrary.com>
1071     Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1072
1073 1       40      src/perl/lib/OpenSRF.pm