Bumping version numbers, adding Upgrade Script and Changelog
authorBill Erickson <berick@esilibrary.com>
Wed, 17 Jul 2013 19:27:30 +0000 (15:27 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 17 Jul 2013 19:27:30 +0000 (15:27 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
ChangeLog
Open-ILS/src/perlmods/lib/OpenILS/Application.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/version-upgrade/2.3.8-2.3.9-upgrade-db.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/chrome/content/main/about.html
Open-ILS/xul/staff_client/defaults/preferences/prefs.js
Open-ILS/xul/staff_client/windowssetup.nsi
README [changed from symlink to file mode: 0644]
configure.ac

index 1f72b2c..95e63c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,500 @@
-Evergreen doesn't keep a GNU-style ChangeLog except in release tarballs.
-Those seeking a change log are encouraged to run 'git log -v', or read
-it online at: http://git.evergreen-ils.org/?p=Evergreen.git;a=log
+commit 1c721ed5d118ca9981a32a3d66c8aa742f3db4e9
+Author: Bill Erickson <berick@esilibrary.com>
+Date:   Wed Jul 17 15:26:54 2013 -0400
+
+    Bumping OpenILS VERSION to 2.0309
+    
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+1      1       Open-ILS/src/perlmods/lib/OpenILS.pm
+
+commit 6142f642d6efcda39290c9391d154d4d3ad5263e
+Author: Bill Erickson <berick@esilibrary.com>
+Date:   Wed Jul 17 15:26:00 2013 -0400
+
+    2.3.9 Translations Import
+    
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+5      5       build/i18n/po/Searcher.js/es-ES.po
+4      2       build/i18n/po/XULTermLoader.js/XULTermLoader.js.pot
+30     10      build/i18n/po/acq.js/acq.js.pot
+4      2       build/i18n/po/capture.js/capture.js.pot
+4      4       build/i18n/po/cat.properties/cs-CZ.po
+4      4       build/i18n/po/common.properties/cs-CZ.po
+19     7       build/i18n/po/conify.js/conify.js.pot
+820    765     build/i18n/po/db.seed/db.seed.pot
+13     13      build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot
+104    44      build/i18n/po/ils_events.xml/ils_events.xml.pot
+28     27      build/i18n/po/lang.dtd/cs-CZ.po
+22     21      build/i18n/po/lang.dtd/es-ES.po
+11     4       build/i18n/po/opac.js/opac.js.pot
+4      4       build/i18n/po/patron.properties/cs-CZ.po
+11     10      build/i18n/po/register.js/register.js.pot
+5      2       build/i18n/po/reservation.js/reservation.js.pot
+8      3       build/i18n/po/selfcheck.js/selfcheck.js.pot
+4      4       build/i18n/po/tpac/tpac.pot
+
+commit 23aaa8d3e29d59eab60e75ca7070e0a9f885fe76
+Author: Mike Rylander <mrylander@gmail.com>
+Date:   Wed Jul 17 13:29:14 2013 -0400
+
+    Stamping upgrade script for copy stats SP fix
+    
+    Signed-off-by: Mike Rylander <mrylander@gmail.com>
+
+1      1       Open-ILS/src/sql/Pg/002.schema.config.sql
+60     0       Open-ILS/src/sql/Pg/upgrade/0811.function.copy_related_hold_stats.sql
+0      60      Open-ILS/src/sql/Pg/upgrade/XXXX.function.copy_related_hold_stats.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/0811.function.copy_related_hold_stats.sql
+ delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.function.copy_related_hold_stats.sql
+
+commit 52bd87088f5e909435e7f3ba4a48134dff384ecc
+Author: Fredrick Parks <fparks@catalystitservices.com>
+Date:   Wed Jul 10 11:12:17 2013 -0700
+
+    LP 1103706 Hold ratios in circ policies cause errors when trying to renew items
+    
+    Changed the function action.copy_related_hold_stats to accept a bigint as the perameter instead of an integer.
+    Copy_related_hold_stats is only called by the function action.item_user_circ_test which trys to pass a bigint.
+    
+    Signed-off-by: Fredrick Parks <fparks@catalystitservices.com>
+    Signed-off-by: Mike Rylander <mrylander@gmail.com>
+
+1      1       Open-ILS/src/sql/Pg/100.circ_matrix.sql
+60     0       Open-ILS/src/sql/Pg/upgrade/XXXX.function.copy_related_hold_stats.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.function.copy_related_hold_stats.sql
+
+commit 42c5458bc297bdbc1e2ec3f80f548819921eb994
+Author: Mike Rylander <mrylander@gmail.com>
+Date:   Wed Jul 17 13:25:29 2013 -0400
+
+    Stamping upgrade script for authority labeling fix
+    
+    Signed-off-by: Mike Rylander <mrylander@gmail.com>
+
+1      1       Open-ILS/src/sql/Pg/002.schema.config.sql
+10     0       Open-ILS/src/sql/Pg/upgrade/0810.data.authority_4xx_fields.sql
+0      10      Open-ILS/src/sql/Pg/upgrade/XXXX.data.authority_4xx_fields.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/0810.data.authority_4xx_fields.sql
+ delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.authority_4xx_fields.sql
+
+commit 82dbea7b2f6d56527fe32fa292c1f1c164166931
+Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
+Date:   Thu Jul 11 15:31:37 2013 -0400
+
+    Authorities: 4XX fields have wrong names
+    
+    In Evergreen we have authority fields defined in the database that
+    relate to control sets.  These are used somewhere today (I'm fuzzy on
+    that at the moment; some places once had and may still have hardcoded
+    labels) but they also will be used by the bib and auth browser
+    that's not yet merged to master (see LP #1177810).
+    
+    The 4XX tags among the set I'm talking about (in
+    authority.control_set_authority_fields) are mislabled, saying See Also
+    where they ought to say See From, e.g.
+    http://www.loc.gov/marc/authority/ad400.html
+    
+    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
+    Signed-off-by: Mike Rylander <mrylander@gmail.com>
+
+12     12      Open-ILS/src/sql/Pg/950.data.seed-values.sql
+10     0       Open-ILS/src/sql/Pg/upgrade/XXXX.data.authority_4xx_fields.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.authority_4xx_fields.sql
+
+commit 44236778522727ebea14272fafb7c1bd8b87a74f
+Author: Mike Rylander <mrylander@gmail.com>
+Date:   Fri Jul 12 13:11:57 2013 -0400
+
+    Implement a concurrent-run cache for result rendering a la initial search queue compression
+    
+    Signed-off-by: Mike Rylander <mrylander@gmail.com>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+70     14      Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
+
+commit 4e4589ed0e2f10d8ce7c9c48949f5f0c81b6248a
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Wed Oct 10 09:22:33 2012 -0400
+
+    Capture and log AuthProxy logins with no account
+    
+    The current AuthProxy.pm code assumes that if the external auth
+    passes, the Evergreen account will be there.  This protects
+    against cases where a user is in the external auth system but
+    has no matching account in Evergreen.
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+4      0       Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm
+
+commit 1532f045e2d2b4e7ac1da880fc75b3bcb4282df7
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Thu Sep 27 17:35:03 2012 -0400
+
+    Make AuthProxy LDAP bind code more robust
+    
+    The existing version of LDAP_Auth.pm assumed that the user's
+    bind DN could be derived from the base DN, the ID attribute, and
+    the user's ID.  This is frequently the case, but not always,
+    particularly in Active Directory setups using sAMAccountName. This
+    commit instead uses the initial LDAP lookup as the authority for
+    determining the user's DN.
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+5      5       Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy/LDAP_Auth.pm
+
+commit 36c60bd42b0cf8be9eaedd1ff99de6dd63c7ef7f
+Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
+Date:   Tue Jul 2 09:13:40 2013 +0300
+
+    Move action.hold_request_cancel_cause inserts to 950.data.seed-values.sql
+    so they're picked up for translation.
+    
+    Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+0      7       Open-ILS/src/sql/Pg/090.schema.action.sql
+10     0       Open-ILS/src/sql/Pg/950.data.seed-values.sql
+
+commit d79c74e39217d2cafa32d954bb05825afa47c07e
+Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
+Date:   Tue Jul 2 08:34:16 2013 +0300
+
+    Move acq.user_request_type data for i18n picking
+    
+    Move acq.user_request_type inserts into 950.data.seed-values.sql
+    so those get picked up for translation.
+    
+    Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+0      8       Open-ILS/src/sql/Pg/200.schema.acq.sql
+8      0       Open-ILS/src/sql/Pg/950.data.seed-values.sql
+
+commit 4bcad8a746acccd2f81879b43a5d2400d5a4c56d
+Author: Bill Erickson <berick@esilibrary.com>
+Date:   Fri Jul 12 15:19:23 2013 -0400
+
+    LP1200735 stamping upgrade for usrname index
+    
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+11     0       Open-ILS/src/sql/Pg/upgrade/0808.schema.usrname_index.sql
+0      11      Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usrname_index.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/0808.schema.usrname_index.sql
+ delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usrname_index.sql
+
+commit 73c08ceb56c1f707ab367375b3ea9e3a57823ea6
+Author: Galen Charlton <gmc@esilibrary.com>
+Date:   Fri Jul 12 15:10:32 2013 -0400
+
+    LP#1200735: improve performance of patron search by username
+    
+    This patch adds an additional index on actor.usr.usrname.
+    
+    Signed-off-by: Galen Charlton <gmc@esilibrary.com>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+1      0       Open-ILS/src/sql/Pg/005.schema.actors.sql
+11     0       Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usrname_index.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usrname_index.sql
+
+commit 3f0d3f8edffbdd323f23c7a8b86b7689b43435a6
+Author: Steven Chan <schan@sitka.bclibraries.ca>
+Date:   Sat Jun 15 13:06:43 2013 -0400
+
+    Fix LP1177916, Cannot activate PO which contains only direct charges
+    We add a safety check in the function
+    Application/Acq/Order.pm/create_lineitem_list_assets(), which is called
+    by create_po_assets(), which is the service call initiated by the user
+    trying to activate a PO.
+    
+    The safety check prevents the function from processing if there are no
+    line items specified in the arguments.
+    
+    P.S. It would be better to stop the sequence of events earlier in the
+    client, but that will need more coding, which can been done in another
+    fix.
+    
+    Signed-off-by: Steven Chan <schan@sitka.bclibraries.ca>
+    Signed-off-by: Kathy Lussier <klussier@masslnc.org>
+    Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
+
+3      0       Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+
+commit eb0b61fc74a27035237250e8b758ed2d33903d57
+Author: Steven Chan <schan@sitka.bclibraries.ca>
+Date:   Thu May 23 15:22:15 2013 -0700
+
+    Patron Editor can enter erroneous values for Claims-returned count
+    
+    In the staff client, Patrons interface, Edit screen, when
+    mouse-scrolling up and down the Edit form, it is possible to
+    inadvertently change the value in Claims-returned Count or Claims Never
+    Checked Out Count field.  It will happen if the mouse hovers over either
+    data field while using the mouse wheel.
+    
+    Both data fields use the dijit.form.NumberSpinner widget to provide a
+    'spin' behaviour.  The fix involves cancelling the mouse scroll event as
+    it propagates to input fields in table rows that are using the
+    dijit.form.NumberSpinner widget, because the mouse scroll would be
+    applied too early by the widget, before the user has intentionally
+    focussed on one of the input fields.  Now, mouse scrolling has no effect
+    on the two input fields; it will only have an effect in scrolling the
+    page up or down.
+    
+    Signed-off-by: Steven Chan <schan@sitka.bclibraries.ca>
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+
+11     0       Open-ILS/web/js/ui/default/actor/user/register.js
+
+commit d6b8a74cfb51bbf84fc2e1d2906d018ccf598f30
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Wed Jul 10 11:39:08 2013 -0400
+
+    Add missing oils_i18n call #2 to upgrade script
+    
+    Simple thinko fix for missing translation function call.
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+
+1      1       Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql
+
+commit 91be8b48a44d0472f4f3551660505a9355bbd2f7
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Wed Jul 10 11:26:07 2013 -0400
+
+    Stamping upgrade for Gwich'in language typo
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+1      1       Open-ILS/src/sql/Pg/002.schema.config.sql
+9      0       Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql
+0      9       Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql
+ delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
+
+commit 391191a2b7dae2d539927bc28ee1ec0e31e2f840
+Author: Ben Shum <bshum@biblio.org>
+Date:   Tue Jul 9 20:47:20 2013 -0400
+
+    LP1158206 - include upgrade script to fix Gwich'in typo
+    
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+9      0       Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
+
+commit 2c781e60d634bd813152166ec674d15a3d58dc1e
+Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
+Date:   Thu Jun 13 09:06:26 2013 +0300
+
+    Fix LP1158206 - The language is Gwich'in.
+    
+    Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+1      1       Open-ILS/src/sql/Pg/950.data.seed-values.sql
+
+commit f6509132b0cbc352ce0e9abced1392086680d0ef
+Author: Mark Cooper <markchristophercooper@gmail.com>
+Date:   Mon Mar 18 15:45:14 2013 -0700
+
+    LP1156905 lineitem worksheet sorts copies by org
+    
+    Lineitem copies (details) were set to be sorted by branch ('owning_lib')
+    by default. However this was not happening because the lineitem_details
+    'owning_lib' referenced a fieldmapper object (not an id or name).
+    This submission sets the owning_lib to the shortname so that sorting can
+    occur in the intended way.
+    
+    Signed-off-by: Mark Cooper <markchristophercooper@gmail.com>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+6      1       Open-ILS/src/sql/Pg/950.data.seed-values.sql
+
+commit 84f0028d9c49a5f6829f8fd47941de88bce57083
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Wed Jul 10 11:39:08 2013 -0400
+
+    Add missing oils_i18n call to upgrade script
+    
+    Simple thinko fix for missing translation function call.
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+
+3      1       Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
+
+commit 712bf8ffdc41376c6178f683bc1fabf0888fdf31
+Author: Dan Wells <dbw2@calvin.edu>
+Date:   Wed Jul 10 10:53:41 2013 -0400
+
+    Stamping upgrade script for empty seed description
+    
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+1      1       Open-ILS/src/sql/Pg/002.schema.config.sql
+9      0       Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
+0      9       Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
+ delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
+
+commit 13119470e51759229ecb26a53955bee77841f018
+Author: Remington Steed <rjs7@calvin.edu>
+Date:   Wed Jul 10 09:32:07 2013 -0400
+
+    LP1158211 - add upgrade script to fill empty description
+    
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+9      0       Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
+ create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
+
+commit 7df02665b81e577006d6309df0fb60fb140f4a55
+Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
+Date:   Tue Jun 11 11:01:53 2013 +0300
+
+    Description for circ.holds.default_shelf_expire_interval
+    
+    Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
+    Signed-off-by: Remington Steed <rjs7@calvin.edu>
+    Signed-off-by: Dan Wells <dbw2@calvin.edu>
+
+1      1       Open-ILS/src/sql/Pg/950.data.seed-values.sql
+
+commit 97e134a859c2c0cc876f1501a06d9b5ef74fa12d
+Author: Pasi Kallinen <pasi.kallinen@pttk.fi>
+Date:   Mon May 27 12:02:38 2013 +0300
+
+    LP1183414: OPAC patron opt-in settings table does not work correctly
+    
+    Fix the template logic error, trying to use a variable before
+    it is defined.
+    
+    Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+9      6       Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
+
+commit 67709f49e64df49da26f22f7439db5661324564d
+Author: Dan Scott <dscott@laurentian.ca>
+Date:   Tue Jul 9 16:53:29 2013 -0400
+
+    Correct Linux staff client build instructions
+    
+    There were a few things going on here; 2.3 introduced linux32-client and
+    linux64-client targets, so the old linux-client Make target no longer
+    worked.
+    
+    Also, Wine isn't generally how many of us would recommend running staff
+    clients when there's a perfectly good native client likely to better
+    support printing, etc.
+    
+    Also, rather than pointing at evergreen-ils.org for downloads, which
+    won't work in many situations (and which prevents the use of the
+    auto-update mechanism), use the "updates" target to point at the locally
+    downloadable clients. Eventually we'll properly document the use of
+    auto-updates, but for now this is hopefully a step in the right
+    direction.
+    
+    Signed-off-by: Dan Scott <dscott@laurentian.ca>
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+
+37     50      docs/installation/staff_client_installation.txt
+
+commit bfbf3e96c42253a7265626385453ac8a734afb6b
+Author: Dan Scott <dscott@laurentian.ca>
+Date:   Tue Jul 9 19:43:17 2013 -0400
+
+    Build 64-bit Linux client updates when asked
+    
+    A copy/paste error led to a request for linux64-updates-client to
+    generate 32-bit clients instead of the requested 64-bit clients.
+    
+    Signed-off-by: Dan Scott <dscott@laurentian.ca>
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+
+1      1       Open-ILS/xul/staff_client/external/make_updates.sh
+
+commit 701eb8f1932a16bacc98760baec8c8a02a4ca84c
+Author: Bill Erickson <berick@esilibrary.com>
+Date:   Wed Jun 5 17:29:36 2013 -0400
+
+    LP1187016 Prevent new copies on activated POs
+    
+    If a PO has already been activated, prevent users from adding new copies
+    in the Item Count entry under the full lineitem copy grid.
+    
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+    Signed-off-by: Kathy Lussier <klussier@masslnc.org>
+    Signed-off-by: Ben Shum <bshum@biblio.org>
+
+6      0       Open-ILS/web/js/ui/default/acq/common/li_table.js
+
+commit 144fb20f896bf7bb4576177baf6554aa035e9afa
+Author: Dan Scott <dscott@laurentian.ca>
+Date:   Thu Jun 20 23:39:21 2013 -0400
+
+    return, not next, from eval BLOCK
+    
+    Per perldoc eval, exiting an eval BLOCK is not allowed. And it generates
+    warnings - 37,000 of them in one day - on a system on which the fine
+    generator runs every 15 minutes. Simply returning from the block
+    achieves the same goal without generating scads of warnings.
+    
+    Signed-off-by: Dan Scott <dscott@laurentian.ca>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+6      6       Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
+
+commit 0c37a958ff32fd394b8a60b33b4d218acf2f83ef
+Author: Dan Scott <dscott@laurentian.ca>
+Date:   Thu Jun 20 23:11:20 2013 -0400
+
+    Silence uninit var warnings from query normalizer
+    
+    $field_info can return undef from the search for a matching ID from the
+    list of normalizers, which in turn generates several uninit var warnings
+    when attempts are made to access members of the undef variable. We saw
+    6700 occurrences of these warnings during a typical day of operations.
+    
+    Signed-off-by: Dan Scott <dscott@laurentian.ca>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+1      0       Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
+
+commit a91817f3f5a8f1f4f8b859a27eb55d283737b664
+Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
+Date:   Wed Jun 19 15:42:07 2013 -0400
+
+    Add (noop) upgrade script for 2.2.10
+    
+    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+
+5      0       Open-ILS/src/sql/Pg/version-upgrade/2.2.9-2.2.10-upgrade-db.sql
+ create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.2.9-2.2.10-upgrade-db.sql
+
+commit 9ff4ed3f585afbbf268cf6a895433f5b0bb7a4c5
+Author: Bill Erickson <berick@esilibrary.com>
+Date:   Wed Jun 19 10:47:20 2013 -0400
+
+    2.3.8 stub upgrade script
+    
+    Signed-off-by: Bill Erickson <berick@esilibrary.com>
+    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
+
+5      0       Open-ILS/src/sql/Pg/version-upgrade/2.3.7-2.3.8-upgrade-db.sql
+ create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.3.7-2.3.8-upgrade-db.sql
index cd4dbbf..d976af4 100644 (file)
@@ -6,7 +6,7 @@ use base qw/OpenSRF::Application/;
 sub ils_version {
     # version format is "x-y-z", for example "2-0-0" for Evergreen 2.0.0
     # For branches, format is "x-y"
-    return "HEAD";
+    return "2-3-9";
 }
 
 __PACKAGE__->register_method(
index f99a03a..d0b9ede 100644 (file)
@@ -88,6 +88,7 @@ CREATE TRIGGER no_overlapping_deps
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
 INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0811', :eg_version); -- fparks/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.3.9', :eg_version);
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.3.8-2.3.9-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.3.8-2.3.9-upgrade-db.sql
new file mode 100644 (file)
index 0000000..084373b
--- /dev/null
@@ -0,0 +1,96 @@
+--Upgrade Script for 2.3.8 to 2.3.9
+\set eg_version '''2.3.9'''
+BEGIN;
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.3.9', :eg_version);
+
+SELECT evergreen.upgrade_deps_block_check('0803', :eg_version);
+
+UPDATE config.org_unit_setting_type 
+SET description = oils_i18n_gettext('circ.holds.default_shelf_expire_interval',
+        'The amount of time an item will be held on the shelf before the hold expires. For example: "2 weeks" or "5 days"',
+        'coust', 'description')
+WHERE name = 'circ.holds.default_shelf_expire_interval';
+
+
+SELECT evergreen.upgrade_deps_block_check('0804', :eg_version);
+
+UPDATE config.coded_value_map
+SET value = oils_i18n_gettext('169', 'Gwich''in', 'ccvm', 'value')
+WHERE ctype = 'item_lang' AND code = 'gwi';
+
+-- Evergreen DB patch XXXX.schema.usrname_index.sql
+--
+-- Create search index on actor.usr.usrname
+--
+
+SELECT evergreen.upgrade_deps_block_check('0808', :eg_version);
+
+CREATE INDEX actor_usr_usrname_idx ON actor.usr (evergreen.lowercase(usrname));
+
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0810', :eg_version);
+
+UPDATE authority.control_set_authority_field
+    SET name = REGEXP_REPLACE(name, '^See Also', 'See From')
+    WHERE tag LIKE '4__' AND control_set = 1;
+
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0811', :eg_version);
+
+DROP FUNCTION action.copy_related_hold_stats(integer);
+
+CREATE OR REPLACE FUNCTION action.copy_related_hold_stats(copy_id bigint)
+  RETURNS action.hold_stats AS
+$BODY$
+DECLARE
+    output          action.hold_stats%ROWTYPE;
+    hold_count      INT := 0;
+    copy_count      INT := 0;
+    available_count INT := 0;
+    hold_map_data   RECORD;
+BEGIN
+
+    output.hold_count := 0;
+    output.copy_count := 0;
+    output.available_count := 0;
+
+    SELECT  COUNT( DISTINCT m.hold ) INTO hold_count
+      FROM  action.hold_copy_map m
+            JOIN action.hold_request h ON (m.hold = h.id)
+      WHERE m.target_copy = copy_id
+            AND NOT h.frozen;
+
+    output.hold_count := hold_count;
+
+    IF output.hold_count > 0 THEN
+        FOR hold_map_data IN
+            SELECT  DISTINCT m.target_copy,
+                    acp.status
+              FROM  action.hold_copy_map m
+                    JOIN asset.copy acp ON (m.target_copy = acp.id)
+                    JOIN action.hold_request h ON (m.hold = h.id)
+              WHERE m.hold IN ( SELECT DISTINCT hold FROM action.hold_copy_map WHERE target_copy = copy_id ) AND NOT h.frozen
+        LOOP
+            output.copy_count := output.copy_count + 1;
+            IF hold_map_data.status IN (0,7,12) THEN
+                output.available_count := output.available_count + 1;
+            END IF;
+        END LOOP;
+        output.total_copy_ratio = output.copy_count::FLOAT / output.hold_count::FLOAT;
+        output.available_copy_ratio = output.available_count::FLOAT / output.hold_count::FLOAT;
+
+    END IF;
+
+    RETURN output;
+
+END;
+$BODY$
+  LANGUAGE plpgsql VOLATILE
+  COST 100;
+ALTER FUNCTION action.copy_related_hold_stats(bigint)
+  OWNER TO evergreen;
+
+
+COMMIT;
index 2737f47..cab9095 100644 (file)
@@ -1,7 +1,7 @@
 <html><head><script></script></head><body onload="var x = document.getElementById('version'); var version ='/xul/server/'.split(/\//)[2]; if (version == 'server') { version = 'versionless debug build'; } x.appendChild(document.createTextNode(version));">
 <h1 style="text-decoration: underline">Evergreen</h1>
 <p>Target Server ID: <span id="version"></span></p>
-<p>$HeadURL$</p>
+<p>http://git.evergreen-ils.org/Evergreen.git?h=refs/heads/rel_2_3_9</p>
 <h2>What is Evergreen?</h2>
 <blockquote>
 <p>
index 6352b6e..fa4c652 100644 (file)
@@ -11,7 +11,7 @@ pref("toolkit.singletonWindowType", "eg_main");
 pref("open-ils.enable_join_tabs", true);
 
 // We'll use this one to help brand some build information into the client, and rely on subversion keywords
-pref("open-ils.repository.headURL","$HeadURL$");
+pref("open-ils.repository.headURL","http://git.evergreen-ils.org/Evergreen.git?h=refs/heads/rel_2_3_9");
 pref("open-ils.repository.author","$Author$");
 pref("open-ils.repository.revision","$Revision$");
 pref("open-ils.repository.date","$Date$");
index e0bc1ef..e7e96bb 100644 (file)
@@ -3,7 +3,7 @@
 ; HM NIS Edit Wizard helper defines
 ; Old versions of makensis don't like this, moved to Makefile
 ;!define /file PRODUCT_VERSION "client/VERSION"
-!define PRODUCT_TAG "Master"
+!define PRODUCT_TAG "2.3"
 !define PRODUCT_INSTALL_TAG "${PRODUCT_TAG}"
 !define UI_IMAGESET "beta"
 ;!define UI_IMAGESET "release"
diff --git a/README b/README
deleted file mode 120000 (symlink)
index b57451acb41c034e7227f89004b1c6bd4babbf04..0000000000000000000000000000000000000000
--- a/README
+++ /dev/null
@@ -1 +0,0 @@
-docs/installation/server_installation.txt
\ No newline at end of file
diff --git a/README b/README
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..c4dff24ec2211a141d433ed5a9394e9d5e4bb9e5
--- /dev/null
+++ b/README
@@ -0,0 +1,549 @@
+Installing the Evergreen server
+===============================
+:toc:
+:numbered:
+
+Preamble: referenced user accounts
+----------------------------------
+
+In subsequent sections, we will refer to a number of different accounts, as
+follows:
+
+  * Linux user accounts:
+    ** The *user* Linux account is the account that you use to log onto the
+       Linux system as a regular user.
+    ** The *root* Linux account is an account that has system administrator
+       privileges. On Debian and Fedora you can switch to this account from
+       your *user* account by issuing the `su -` command and entering the
+       password for the *root* account when prompted. On Ubuntu you can switch
+       to this account from your *user* account using the `sudo su -` command
+       and entering the password for your *user* account when prompted.
+    ** The *opensrf* Linux account is an account that you create when installing
+       OpenSRF. You can switch to this account from the *root* account by
+       issuing the `su - opensrf` command.
+    ** The *postgres* Linux account is created automatically when you install
+       the PostgreSQL database server. You can switch to this account from the
+       *root* account by issuing the `su - postgres` command.
+  * PostgreSQL user accounts:
+    ** The *evergreen* PostgreSQL account is a superuser account that you will
+       create to connect to the PostgreSQL database server.
+  * Evergreen administrator account:
+    ** The *egadmin* Evergreen account is an administrator account for
+       Evergreen that you will use to test connectivity and configure your
+       Evergreen instance.
+
+Preamble: developer instructions
+--------------------------------
+
+[NOTE]
+Skip this section if you are using an official release tarball downloaded
+from http://evergreen-ils.org/downloads
+
+Developers working directly with the source code from the Git repository,
+rather than an official release tarball, must install some extra packages
+and perform one step before they can proceed with the `./configure` step.
+
+As the *root* Linux account, install the following packages:
+
+  * autoconf
+  * automake
+  * libtool
+
+As the *user* Linux account, issue the following command in the Evergreen
+source directory to generate the configure script and Makefiles:
+
+[source, bash]
+------------------------------------------------------------------------------
+autoreconf -i
+------------------------------------------------------------------------------
+
+After running `make install`, developers also need to install the Dojo Toolkit
+set of JavaScript libraries. The appropriate version of Dojo is included
+in Evergreen release tarballs. Developers should install the Dojo 1.3.3
+version of Dojo by issuing the following commands as the *opensrf* Linux
+account:
+
+[source, bash]
+------------------------------------------------------------------------------
+wget http://download.dojotoolkit.org/release-1.3.3/dojo-release-1.3.3.tar.gz
+tar -C /openils/var/web/js -xzf dojo-release-1.3.3.tar.gz
+cp -r /openils/var/web/js/dojo-release-1.3.3/* /openils/var/web/js/dojo/.
+------------------------------------------------------------------------------
+
+Installing prerequisites
+------------------------
+
+Evergreen has a number of prerequisite packages that must be installed
+before you can successfully configure, compile, and install Evergreen.
+
+1. Begin by installing the most recent version of OpenSRF (2.1 or later).
+   You can download OpenSRF releases from http://evergreen-ils.org/opensrf.php
+2. On many distributions, it is necessary to install PostgreSQL 9 from external
+   repositories.
++
+  * On Debian Squeeze, open `/etc/apt/sources.list` in a text editor as the
+    *root* Linux account and add the following line:
++
+[source, bash]
+------------------------------------------------------------------------------
+deb http://backports.debian.org/debian-backports squeeze-backports main contrib
+------------------------------------------------------------------------------
++
+  * On Ubuntu Lucid, you can use a PPA (personal package archive), which are 
+    package sources hosted on Launchpad. The one most commonly used by Evergreen
+    Community members is maintained by Martin Pitt, who also maintains the
+    official PostgreSQL packages for Ubuntu. As the *root* Linux account, issue
+    the following commands to add the PPA source:
++
+[source, bash]
+------------------------------------------------------------------------------
+apt-get install python-software-properties
+add-apt-repository ppa:pitti/postgresql
+------------------------------------------------------------------------------
++
+  * Ubuntu Precise comes with PostgreSQL 9, so no additional steps are required.
++
+  * Fedora comes with PostgreSQL 9, so no additional steps are required.
++
+3. On Debian and Ubuntu, run `aptitude update` as the *root* Linux account to
+   retrieve the new packages from the backports repository.
+4. Issue the following commands as the *root* Linux account to install
+   prerequisites using the `Makefile.install` prerequisite installer,
+   substituting `debian-squeeze`, `fedora`, `ubuntu-lucid`, or
+   `ubuntu-precise` for <osname> below:
++
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install <osname>
+------------------------------------------------------------------------------
++
+5. Add the libdbi-libdbd libraries to the system dynamic library path by
+   issuing the following commands as the *root* Linux account:
++
+[NOTE]
+You should skip this step if installing on Ubuntu Precise. The ubuntu-precise
+target uses libdbd-pgsql from packages.
++
+.Debian / Ubuntu Lucid
+[source, bash]
+------------------------------------------------------------------------------
+echo "/usr/local/lib/dbd" > /etc/ld.so.conf.d/eg.conf
+ldconfig
+------------------------------------------------------------------------------
++
+.Fedora
+[source, bash]
+------------------------------------------------------------------------------
+echo "/usr/lib64/dbd" > /etc/ld.so.conf.d/eg.conf
+ldconfig
+------------------------------------------------------------------------------
+
+Configuration and compilation instructions
+------------------------------------------
+
+For the time being, we are still installing everything in the `/openils/`
+directory. From the Evergreen source directory, issue the following commands as
+the *user* Linux account to configure and build Evergreen:
+
+[source, bash]
+------------------------------------------------------------------------------
+./configure --prefix=/openils --sysconfdir=/openils/conf
+make
+------------------------------------------------------------------------------
+
+Installation instructions
+-------------------------
+
+1. Once you have configured and compiled Evergreen, issue the following
+   command as the *root* Linux account to install Evergreen, build the server
+   portion of the staff client, and copy example configuration files to
+   `/openils/conf`.
+   Change the value of the `STAFF_CLIENT_STAMP_ID` variable to match the version
+   of the staff client that you will use to connect to the Evergreen server.
++
+[source, bash]
+------------------------------------------------------------------------------
+make STAFF_CLIENT_STAMP_ID=rel_2_3_9 install
+------------------------------------------------------------------------------
++
+2. The server portion of the staff client expects `http://hostname/xul/server`
+   to resolve. Issue the following commands as the *root* Linux account to
+   create a symbolic link pointing to the `server` subdirectory of the server
+   portion of the staff client that we just built using the staff client ID
+   'rel_name':
++
+[source, bash]
+------------------------------------------------------------------------------
+cd /openils/var/web/xul
+ln -sf rel_name/server server
+------------------------------------------------------------------------------
+
+Change ownership of the Evergreen files
+---------------------------------------
+
+All files in the `/openils/` directory and subdirectories must be owned by the
+`opensrf` user. Issue the following command as the *root* Linux account to
+change the ownership on the files:
+
+[source, bash]
+------------------------------------------------------------------------------
+chown -R opensrf:opensrf /openils
+------------------------------------------------------------------------------
+
+Configure the Apache Web server
+-------------------------------
+
+1. Use the example configuration files in `Open-ILS/examples/apache/` to
+configure your Web server for the Evergreen catalog, staff client, Web
+services, and administration interfaces. Issue the following commands as the
+*root* Linux account:
++
+.Debian and Ubuntu
+[source,bash]
+------------------------------------------------------------------------------
+cp Open-ILS/examples/apache/eg.conf       /etc/apache2/sites-available/
+cp Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/
+cp Open-ILS/examples/apache/startup.pl    /etc/apache2/
+# Now set up SSL
+mkdir /etc/apache2/ssl
+cd /etc/apache2/ssl
+------------------------------------------------------------------------------
++
+.Fedora
+[source,bash]
+------------------------------------------------------------------------------
+cp Open-ILS/examples/apache/eg.conf       /etc/httpd/conf.d/
+cp Open-ILS/examples/apache/eg_vhost.conf /etc/httpd/
+cp Open-ILS/examples/apache/startup.pl    /etc/httpd/
+# Now set up SSL
+mkdir /etc/httpd/ssl
+cd /etc/httpd/ssl
+------------------------------------------------------------------------------
++
+2. The `openssl` command cuts a new SSL key for your Apache server. For a
+production server, you should purchase a signed SSL certificate, but you can
+just use a self-signed certificate and accept the warnings in the staff client
+and browser during testing and development. Create an SSL key for the Apache
+server by issuing the following command as the *root* Linux account:
++
+[source,bash]
+------------------------------------------------------------------------------
+openssl req -new -x509 -days 365 -nodes -out server.crt -keyout server.key
+------------------------------------------------------------------------------
++
+3. As the *root* Linux account, edit the `eg.conf` file that you copied into
+place.
+  a. Replace `Allow from 10.0.0.0/8` with `Allow from all` (to enable
+     access to the offline upload / execute interface from any workstation on
+     any network - note that you must secure this for a production instance)
+  b. (Fedora): Change references from the non-existent `/etc/apache2/` directory
+     to `/etc/httpd/`.
+4. Change the user for the Apache server.
+  * (Debian and Ubuntu): As the *root* Linux account, edit
+    `/etc/apache2/envvars`.  Change `export APACHE_RUN_USER=www-data` to 
+    `export APACHE_RUN_USER=opensrf`.
+  * (Fedora): As the *root* Linux account , edit `/etc/httpd/conf/httpd.conf`.
+    Change `User apache` to `User opensrf`.
+5. Configure Apache with performance settings appropriate for Evergreen:
+  * (Debian and Ubuntu): As the *root* Linux account, edit
+    `/etc/apache2/apache2.conf`:
+  * (Fedora): As the *root* Linux account, edit `/etc/httpd/conf/httpd.conf`:
+    a. Change `KeepAliveTimeout` to `1`. Higher values reduce the chance of
+       a request timing out unexpectedly, but increase the risk of using up
+       all available Apache child processes.
+    b. 'Optional': Change `MaxKeepAliveRequests` to `100`
+    c. Update the prefork configuration section to suit your environment. The
+       following settings apply to a busy system:
++
+[source,bash]
+------------------------------------------------------------------------------
+<IfModule mpm_prefork_module>
+   StartServers           20
+   MinSpareServers         5
+   MaxSpareServers        15
+   MaxClients            150
+   MaxRequestsPerChild 10000
+</IfModule>
+------------------------------------------------------------------------------
++
+6. (Fedora): As the *root* Linux account, edit the `/etc/httpd/eg_vhost.conf`
+   file to change references from the non-existent `/etc/apache2/` directory
+   to `/etc/httpd/`.
+7. (Debian and Ubuntu): As the *root* Linux account, enable the Evergreen site:
++
+[source,bash]
+------------------------------------------------------------------------------
+a2dissite default  # OPTIONAL: disable the default site (the "It Works" page)
+a2ensite eg.conf
+------------------------------------------------------------------------------
+
+Configure OpenSRF for the Evergreen application
+-----------------------------------------------
+There are a number of example OpenSRF configuration files in `/openils/conf/`
+that you can use as a template for your Evergreen installation. Issue the
+following commands as the *opensrf* Linux account:
+
+[source, bash]
+------------------------------------------------------------------------------
+cp -b /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml
+cp -b /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml
+------------------------------------------------------------------------------
+
+When you installed OpenSRF, you created four Jabber users on two
+separate domains and edited the `opensrf_core.xml` file accordingly. Please
+refer back to the OpenSRF README and, as the *opensrf* Linux account, edit the
+Evergreen version of the `opensrf_core.xml` file using the same Jabber users
+and domains as you used while installing and testing OpenSRF.
+
+[NOTE]
+The `-b` flag tells the `cp` command to create a backup version of the
+destination file. The backup version of the destination file has a tilde (`~`)
+appended to the file name, so if you have forgotten the Jabber users and
+domains, you can retrieve the settings from the backup version of the files.
+
+`eg_db_config.pl`, described in the following section, sets the database
+connection information in `opensrf.xml` for you.
+
+Creating the Evergreen database
+-------------------------------
+
+By default, the `Makefile.install` prerequisite installer does not install
+the PostgreSQL 9 database server required by every Evergreen system;
+for production use, most libraries install the PostgreSQL database server on a
+dedicated machine. You can install the packages required by Debian or Ubuntu Lucid
+on the machine of your choice using the following commands as the *root*
+Linux account:
+
+.(Debian and Ubuntu Lucid) Installing PostgreSQL 9.1 server packages
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_backport_debs_91
+------------------------------------------------------------------------------
+
+.(Ubuntu Precise) Installing PostgreSQL 9.1 server packages
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_91
+------------------------------------------------------------------------------
+
+You can install the packages required by Fedora on the machine of your choice
+using the following commands as the *root* Linux account:
+
+.(Fedora) Installing PostgreSQL server packages
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install install_fedora_pgsql_server
+postgresql-setup initdb
+------------------------------------------------------------------------------
+
+For a standalone PostgreSQL server, install the following Perl modules as the
+*root* Linux account:
+
+.(Debian / Ubuntu) Installing additional Perl modules on a standalone PostgreSQL 9 server
+[source, bash]
+------------------------------------------------------------------------------
+aptitude install gcc libxml-libxml-perl libxml-libxslt-perl
+cpan Business::ISBN
+cpan JSON::XS
+cpan Library::CallNumber::LC
+cpan MARC::Record
+cpan MARC::File::XML
+cpan UUID::Tiny
+------------------------------------------------------------------------------
+
+.(Fedora) Installing additional Perl modules on a standalone PostgreSQL 9 server
+[source, bash]
+------------------------------------------------------------------------------
+yum install gcc perl-XML-LibXML perl-XML-LibXSLT perl-Business-ISBN
+cpan Library::CallNumber::LC
+cpan MARC::Record
+cpan MARC::File::XML
+cpan UUID::Tiny
+------------------------------------------------------------------------------
+
+You need to create a PostgreSQL superuser to create and access the database.
+Issue the following command as the *postgres* Linux account to create a new
+PostgreSQL superuser named `evergreen`. When prompted, enter the new user's
+password:
+
+[source, bash]
+------------------------------------------------------------------------------
+createuser -s -P evergreen
+------------------------------------------------------------------------------
+
+Once you have created the *evergreen* PostgreSQL account, you also need to
+create the database and schema, and configure your configuration files to point
+at the database server. Issue the following command as the *root* Linux account
+from inside the Evergreen source directory, replacing <user>, <password>,
+<hostname>, <port>, and <dbname> with the appropriate values for your
+PostgreSQL database (where <user> and <password> are for the *evergreen*
+PostgreSQL account you just created), and replace <admin-user> and <admin-pass>
+with the values you want for the *egadmin* Evergreen administrator account:
+
+[source, bash]
+------------------------------------------------------------------------------
+perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \
+       --service all --create-database --create-schema --create-offline \
+       --user <user> --password <password> --hostname <hostname> --port <port> \
+       --database <dbname> --admin-user <admin-user> --admin-pass <admin-pass>
+------------------------------------------------------------------------------
+
+This creates the database and schema and configures all of the services in
+your `/openils/conf/opensrf.xml` configuration file to point to that database.
+It also creates the configuration files required by the Evergreen `cgi-bin`
+administration scripts, and sets the user name and password for the *egadmin*
+Evergreen administrator account to your requested values.
+
+Creating the database on a remote server
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+In a production instance of Evergreen, your PostgreSQL server should be
+installed on a dedicated server.
+
+PostgreSQL 9.1 and later
+^^^^^^^^^^^^^^^^^^^^^^^^
+To create the database instance on a remote database server running PostgreSQL
+9.1 or later, simply use the `--create-database` flag on `eg_db_config.pl`.
+
+For PostgreSQL 9.0
+^^^^^^^^^^^^^^^^^^
+To create the database instance on a remote database server running PostgreSQL
+9.0, you can either:
+
+  *  Install the PostgreSQL contrib modules on the machine on which you
+     are installing the Evergreen code, and use the `--create-database`
+     option from that machine, or
+  *  Copy the `Open-ILS/src/sql/Pg/create_database.sql` script to your
+     PostgreSQL server and invoke it as the *postgres* Linux account:
++
+[source, bash]
+------------------------------------------------------------------------------
+psql -vdb_name=<dbname> -vcontrib_dir=`pg_config --sharedir`/contrib -f create_database.sql
+------------------------------------------------------------------------------
+
+Then you can issue the `eg_db_config.pl` command as above _without_ the
+`--create-database` argument to create your schema and configure your
+configuration files.
+
+Starting Evergreen
+------------------
+1. As the *root* Linux account, start the `memcached` and `ejabberd` services
+(if they aren't already running):
++
+[source, bash]
+------------------------------------------------------------------------------
+/etc/init.d/ejabberd start
+/etc/init.d/memcached start
+------------------------------------------------------------------------------
++
+2. As the *opensrf* Linux account, start Evergreen. The `-l` flag in the
+following command is only necessary if you want to force Evergreen to treat the
+hostname as `localhost`; if you configured `opensrf.xml` using the real
+hostname of your machine as returned by `perl -ENet::Domain 'print
+Net::Domain::hostfqdn() . "\n";'`, you should not use the `-l` flag.
++
+[source, bash]
+------------------------------------------------------------------------------
+osrf_ctl.sh -l -a start_all
+------------------------------------------------------------------------------
++
+  ** If you receive the error message `bash: osrf_ctl.sh: command not found`,
+     then your environment variable `PATH` does not include the `/openils/bin`
+     directory; this should have been set in the *opensrf* Linux account's
+     `.bashrc` configuration file. To manually set the `PATH` variable, edit the
+     configuration file `~/.bashrc` as the *opensrf* Linux account and add the
+     following line:
++
+[source, bash]
+------------------------------------------------------------------------------
+export PATH=$PATH:/openils/bin
+------------------------------------------------------------------------------
++
+3. As the *opensrf* Linux account, generate the Web files needed by the staff
+   client and catalogue and update the organization unit proximity (you need to do
+   this the first time you start Evergreen, and after that each time you change
+   the library hierarchy in `config.cgi`):
++
+[source, bash]
+------------------------------------------------------------------------------
+autogen.sh -u
+------------------------------------------------------------------------------
++
+4. As the *root* Linux account, restart the Apache Web server:
++
+[source, bash]
+------------------------------------------------------------------------------
+/etc/init.d/apache2 restart
+------------------------------------------------------------------------------
++
+If the Apache Web server was running when you started the OpenSRF services, you
+might not be able to successfully log in to the OPAC or staff client until the
+Apache Web server is restarted.
+
+Testing connections to Evergreen
+--------------------------------
+
+Once you have installed and started Evergreen, test your connection to
+Evergreen via `srfsh`. As the *opensrf* Linux account, issue the following
+commands to start `srfsh` and try to log onto the Evergreen server using the
+*egadmin* Evergreen administrator user name and password that you set using the
+`eg_db_config.pl` command:
+
+[source, bash]
+------------------------------------------------------------------------------
+/openils/bin/srfsh
+srfsh% login <admin-user> <admin-pass>
+------------------------------------------------------------------------------
+
+You should see a result like:
+
+    Received Data: "250bf1518c7527a03249858687714376"
+    ------------------------------------
+    Request Completed Successfully
+    Request Time in seconds: 0.045286
+    ------------------------------------
+
+    Received Data: {
+       "ilsevent":0,
+       "textcode":"SUCCESS",
+       "desc":" ",
+       "pid":21616,
+       "stacktrace":"oils_auth.c:304",
+       "payload":{
+          "authtoken":"e5f9827cc0f93b503a1cc66bee6bdd1a",
+          "authtime":420
+       }
+
+    }
+
+    ------------------------------------
+    Request Completed Successfully
+    Request Time in seconds: 1.336568
+    ------------------------------------
+
+If this does not work, it's time to do some troubleshooting.
+
+  * As the *opensrf* Linux acccount, run the `settings-tester.pl` script to see
+    if it finds any system configuration problems. The script is found at
+    `Open-ILS/src/support-scripts/settings-tester.pl` in the Evergreen source
+    tree.
+  * Follow the steps in the http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors[troubleshooting guide].
+  * If you have faithfully followed the entire set of installation steps
+    listed here, you are probably extremely close to a working system.
+    Gather your configuration files and log files and contact the
+    http://open-ils.org/listserv.php[Evergreen development mailing list]
+    for assistance before making any drastic changes to your system
+    configuration.
+
+Getting help
+------------
+
+Need help installing or using Evergreen? Join the mailing lists at
+http://evergreen-ils.org/listserv.php or contact us on the Freenode
+IRC network on the #evergreen channel.
+
+License
+-------
+This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
+Unported License. To view a copy of this license, visit
+http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
+Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
index 89e64f6..e876e2a 100644 (file)
@@ -20,8 +20,8 @@
 
 export PATH=${PATH}:/usr/sbin
 AC_PREREQ(2.61)
-AC_INIT(Open-ILS, trunk, open-ils-dev@list.georgialibraries.org)
-AM_INIT_AUTOMAKE([OpenILS], [trunk])
+AC_INIT(Open-ILS, 2.3.9, open-ils-dev@list.georgialibraries.org)
+AM_INIT_AUTOMAKE([OpenILS], [2.3.9])
 AC_REVISION($Revision: 0.1 $)
 AC_CONFIG_SRCDIR([configure.ac])
 AC_PREFIX_DEFAULT([/openils/])