From: Mike Rylander Date: Fri, 23 Aug 2013 15:31:02 +0000 (-0400) Subject: Bumping version numbers, adding Upgrade Script and Changelog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a456f20c12a74f7045f9f9e9d63ec75ad035c337;p=working%2FEvergreen.git Bumping version numbers, adding Upgrade Script and Changelog Signed-off-by: Mike Rylander --- diff --git a/ChangeLog b/ChangeLog index 1f72b2c73e..40bbba8fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,929 @@ -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 c13229e65e7df0f48c64b2b489e9bec760c08174 +Author: Mike Rylander +Date: Fri Aug 23 11:16:06 2013 -0400 + + Bumping OpenILS.pm version number + + Signed-off-by: Mike Rylander + +1 1 Open-ILS/src/perlmods/lib/OpenILS.pm + +commit 49cac603090f245b3173cb23e5647977a375bbc2 +Author: Mike Rylander +Date: Fri Aug 23 11:14:12 2013 -0400 + + Fresh POT files from translations (and Finnish fixup) + + Signed-off-by: Mike Rylander + +1 1 build/i18n/po/AutoFieldWidget.js/fi-FI.po +1 1 build/i18n/po/Searcher.js/fi-FI.po +1 1 build/i18n/po/TranslatorPopup.js/fi-FI.po +1 1 build/i18n/po/User.js/fi-FI.po +2 4 build/i18n/po/XULTermLoader.js/XULTermLoader.js.pot +1 1 build/i18n/po/XULTermLoader.js/fi-FI.po +11 33 build/i18n/po/acq.js/acq.js.pot +1 1 build/i18n/po/admin.properties/fi-FI.po +1 1 build/i18n/po/auth.properties/fi-FI.po +1 1 build/i18n/po/authority.js/fi-FI.po +2 4 build/i18n/po/capture.js/capture.js.pot +1 1 build/i18n/po/capture.js/fi-FI.po +1 1 build/i18n/po/cat.properties/fi-FI.po +1 1 build/i18n/po/circ.properties/fi-FI.po +1 1 build/i18n/po/common.properties/fi-FI.po +7 19 build/i18n/po/conify.js/conify.js.pot +1 1 build/i18n/po/conify.js/fi-FI.po +691 691 build/i18n/po/db.seed/db.seed.pot +1 1 build/i18n/po/db.seed/fi-FI.po +1 1 build/i18n/po/fm_IDL.dtd/fi-FI.po +17 17 build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot +1 1 build/i18n/po/ils_events.xml/fi-FI.po +46 110 build/i18n/po/ils_events.xml/ils_events.xml.pot +1 1 build/i18n/po/lang.dtd/fi-FI.po +6 2 build/i18n/po/lang.dtd/lang.dtd.pot +1 1 build/i18n/po/offline.properties/fi-FI.po +1 1 build/i18n/po/opac.dtd/fi-FI.po +1 1 build/i18n/po/opac.js/fi-FI.po +4 11 build/i18n/po/opac.js/opac.js.pot +1 1 build/i18n/po/patron.properties/fi-FI.po +1 1 build/i18n/po/pickup_and_return.js/fi-FI.po +1 1 build/i18n/po/pull_list.js/fi-FI.po +1 1 build/i18n/po/register.js/fi-FI.po +10 11 build/i18n/po/register.js/register.js.pot +1 1 build/i18n/po/reports.dtd/fi-FI.po +1 1 build/i18n/po/reports.js/fi-FI.po +1 1 build/i18n/po/reservation.js/fi-FI.po +2 5 build/i18n/po/reservation.js/reservation.js.pot +1 1 build/i18n/po/selfcheck.js/fi-FI.po +3 8 build/i18n/po/selfcheck.js/selfcheck.js.pot +1 1 build/i18n/po/serial.properties/fi-FI.po +1 1 build/i18n/po/tpac/tpac.pot + +commit f75ee2e45f3cbaabf83d1646ffd3fcc7c9b4bd61 +Author: Mike Rylander +Date: Fri Aug 23 10:53:25 2013 -0400 + + Updating translations from launchpad + + Signed-off-by: Mike Rylander + +1 1 build/i18n/po/AutoFieldWidget.js/fi-FI.po +1 1 build/i18n/po/Searcher.js/fi-FI.po +1 1 build/i18n/po/TranslatorPopup.js/fi-FI.po +1 1 build/i18n/po/User.js/fi-FI.po +1 1 build/i18n/po/XULTermLoader.js/fi-FI.po +1 1 build/i18n/po/admin.properties/fi-FI.po +1 1 build/i18n/po/auth.properties/fi-FI.po +1 1 build/i18n/po/authority.js/fi-FI.po +1 1 build/i18n/po/capture.js/fi-FI.po +1 1 build/i18n/po/cat.properties/fi-FI.po +1 1 build/i18n/po/circ.properties/fi-FI.po +1 1 build/i18n/po/common.properties/fi-FI.po +1 1 build/i18n/po/conify.js/fi-FI.po +1 1 build/i18n/po/db.seed/fi-FI.po +1 1 build/i18n/po/fm_IDL.dtd/fi-FI.po +1 1 build/i18n/po/ils_events.xml/fi-FI.po +1 1 build/i18n/po/lang.dtd/fi-FI.po +1 1 build/i18n/po/offline.properties/fi-FI.po +1 1 build/i18n/po/opac.dtd/fi-FI.po +1 1 build/i18n/po/opac.js/fi-FI.po +1 1 build/i18n/po/patron.properties/fi-FI.po +1 1 build/i18n/po/pickup_and_return.js/fi-FI.po +1 1 build/i18n/po/pull_list.js/fi-FI.po +1 1 build/i18n/po/register.js/fi-FI.po +1 1 build/i18n/po/reports.dtd/fi-FI.po +1 1 build/i18n/po/reports.js/fi-FI.po +1 1 build/i18n/po/reservation.js/fi-FI.po +1 1 build/i18n/po/selfcheck.js/fi-FI.po +1 1 build/i18n/po/serial.properties/fi-FI.po + +commit 5ddbb12455138993d5dd21aaac94b87877d3c08e +Author: Ben Shum +Date: Thu Aug 22 12:14:00 2013 -0400 + + Stamping upgrade for browse normalization timing fix + + Signed-off-by: Ben Shum + +1 1 Open-ILS/src/sql/Pg/002.schema.config.sql +97 0 Open-ILS/src/sql/Pg/upgrade/0821.function.browse-normalize-timing.sql +0 97 Open-ILS/src/sql/Pg/upgrade/XXXX.function.browse-normalize-timing.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/0821.function.browse-normalize-timing.sql + delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.function.browse-normalize-timing.sql + +commit 9c36a10e724720a6d436b7f2ee177dec1aa7f9da +Author: Mike Rylander +Date: Tue Aug 20 16:00:48 2013 -0400 + + Browse normalization timing fix + + When indexing browse entries, we need to normalize the value we want to use + before we go looking for it in the table, for uniqueness. We do in master, + we need to in 2.4 (and before) as well. + + Signed-off-by: Mike Rylander + Signed-off-by: Ben Shum + +4 3 Open-ILS/src/sql/Pg/030.schema.metabib.sql +97 0 Open-ILS/src/sql/Pg/upgrade/XXXX.function.browse-normalize-timing.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.function.browse-normalize-timing.sql + +commit 0b15127aa54cd1cc3f51c757c306e7da46640be2 +Author: Mike Rylander +Date: Wed Aug 14 10:25:14 2013 -0400 + + Correctly mark nested INNER joins as such + + We've been adopting containing the JOINs flavor, and then + attempting to use IS NOT NULL to restrict NULL-ness + in the WHERE clause. This is almost right, but not quite, + and was done in an attempt to match behavior with the + expectations of users that are not SQL experts. However, + right is better than "looks right most of the time", so + we use the proper join type now. + + Signed-off-by: Mike Rylander + Signed-off-by: Jason Boyer + + Conflicts [just whitespace style]: + Open-ILS/src/perlmods/lib/OpenILS/Reporter/SQLBuilder.pm + +1 1 Open-ILS/src/perlmods/lib/OpenILS/Reporter/SQLBuilder.pm + +commit 20c16ca44b4ed9c974f5a5dbc7ebb917ff5e0d10 +Author: Thomas Berezansky +Date: Thu Nov 1 09:08:38 2012 -0400 + + Fix A/T object cache + + Signed-off-by: Thomas Berezansky + Signed-off-by: Mike Rylander + +14 10 Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm + +commit 26577b32a3e7e8b798ca128a45c2858e02a74612 +Author: Bill Erickson +Date: Thu May 23 13:30:43 2013 -0400 + + LP1183467 ACQ view funding source list permissions + + Limit the set of funding sources visible in the funding source list + interface by those the user has view permissions for, not just those the + user has edit permissions for. + + Signed-off-by: Bill Erickson + Signed-off-by: Remington Steed + Signed-off-by: Mike Rylander + +1 1 Open-ILS/web/js/ui/default/acq/financial/list_funding_sources.js + +commit daa5a5dd1f28e1c5d82bebaba43b5b6ef5c29334 +Author: Mike Rylander +Date: Thu Aug 22 11:26:20 2013 -0400 + + Stamping upgrade script for series title normalizer improvement + + Signed-off-by: Mike Rylander + +1 1 Open-ILS/src/sql/Pg/002.schema.config.sql +28 0 Open-ILS/src/sql/Pg/upgrade/0820.data.series_normalizer.sql +0 28 Open-ILS/src/sql/Pg/upgrade/xxxx.data.series_normalizer.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/0820.data.series_normalizer.sql + delete mode 100644 Open-ILS/src/sql/Pg/upgrade/xxxx.data.series_normalizer.sql + +commit b68173463c555c8de7ba2f77930c893c5fbfbcdd +Author: Steven Callender +Date: Tue Jun 4 14:11:50 2013 -0400 + + Remove [ and ] characters from seriestitle index LP#1187521 + + Signed-off-by: Steven Callender + Signed-off-by: Mike Rylander + +20 0 Open-ILS/src/sql/Pg/950.data.seed-values.sql +28 0 Open-ILS/src/sql/Pg/upgrade/xxxx.data.series_normalizer.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/xxxx.data.series_normalizer.sql + +commit dab6c5a5370b9be4dec76c0cf6ff073407606750 +Author: Mike Rylander +Date: Fri Jul 12 14:43:57 2013 -0400 + + Repair remaining Authority Fixed Field editor entries + + The "Item" fixed field is only valid for MFHD records, so we remove + that entirely from AUTH records. The "GeoSubd" fixed field is + spelled "GeoDiv" everywhere, so we align that naming so that it can + be saved. + + Signed-off-by: Mike Rylander + +1 1 Open-ILS/web/js/dojo/MARC/FixedFields.js +1 1 Open-ILS/xul/staff_client/server/cat/marcedit.xul + +commit eaa064617d69461a71171d9a5b116dc0efcd66b1 +Author: Bill Erickson +Date: Thu Aug 22 10:24:57 2013 -0400 + + Propagating 2.3.10 DB upgrade script + + Signed-off-by: Bill Erickson + +75 0 Open-ILS/src/sql/Pg/version-upgrade/2.3.9-2.3.10-upgrade-db.sql + create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.3.9-2.3.10-upgrade-db.sql + +commit 01bbb3431d8e285754e070090bc415711fabe3e5 +Author: Lebbeous Fogle-Weekley +Date: Tue Jul 2 15:27:39 2013 -0400 + + Acq: Honor new dist forumula fields in old method of applying formulae + + The batch updater came with new fields on distribution formulae, but we + didn't teach the pre-existing code for applying formulae from the + lineitem copies interface to apply values from the new fields. + + Reported by Jennifer Pringle in Launchpad bug report #1195521. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Bill Erickson + +1 1 Open-ILS/web/js/ui/default/acq/common/li_table.js + +commit 6af2422aebb7cf56ee14f1f152abda57434f9b1b +Author: Lebbeous Fogle-Weekley +Date: Mon Jan 23 18:44:00 2012 -0500 + + Invoke skull-and-crossbones popup in batch receive for server-side errors + + And introduce a minor bumper rail to guide serials users who might try + to hand-edit a holding code. + + Signed-off-by: Lebbeous Fogle-Weekley + + Conflicts: + Open-ILS/xul/staff_client/server/serial/batch_receive.js + + Signed-off-by: Dan Wells + +14 2 Open-ILS/web/js/dojo/openils/widget/HoldingCode.js +28 9 Open-ILS/xul/staff_client/server/serial/batch_receive.js + +commit edee9430953327b18b8c5685ed2a133e7b974254 +Author: Bill Erickson +Date: Wed Aug 21 09:51:10 2013 -0400 + + Copying 2.3.8-2.3.9 SQL upgrade script + + Signed-off-by: Bill Erickson + +94 0 Open-ILS/src/sql/Pg/version-upgrade/2.3.8-2.3.9-upgrade-db.sql + create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.3.8-2.3.9-upgrade-db.sql + +commit 71f87ae8d2c500afae82eee341ef17c6ef0e271d +Author: Lebbeous Fogle-Weekley +Date: Wed Sep 19 15:27:03 2012 -0400 + + Acq general search: improve searching for negative comparisons + + This aims to address Launchpad bug #1031535. I think the bug only + really shows up when searches involve invoices either as the core type + or with filter fields. If a search doesn't involve invoices, the + problematic joins aren't present. + + Could use more testing though. Seems to make the problem go away, and + other basic searches seem to work, but I certainly haven't tested + everything. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Dan Wells + +24 4 Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm + +commit dadeb5e126f574aba12184908ec937e0425391d3 +Author: Dan Scott +Date: Tue Aug 20 14:29:59 2013 -0400 + + Update docs for Fedora install + + Fedora 17 is no longer a supported distro; long live Fedora 18/19 and + beyond (and their beautiful packages that let us avoid many source + installs). + + Signed-off-by: Dan Scott + +6 19 docs/installation/server_installation.txt + +commit dd990bb53c12f4dc8494052b47a41d11098e485a +Author: Ben Shum +Date: Tue Aug 20 10:50:43 2013 -0400 + + Stamping upgrade script for dewey sort fix + + Signed-off-by: Ben Shum + +1 1 Open-ILS/src/sql/Pg/002.schema.config.sql +52 0 Open-ILS/src/sql/Pg/upgrade/0819.schema.acn_dewey_normalizer.sql +0 52 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acn_dewey_normalizer.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/0819.schema.acn_dewey_normalizer.sql + delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acn_dewey_normalizer.sql + +commit 6c9d99c81580c7cc060d60d51b7185208a1f6a8f +Author: Jason Etheridge +Date: Thu Mar 7 11:59:09 2013 -0500 + + LP#1150939 fix dewey sort + + There's a bit in the code where it tries to pad the first digit group, + if it's the only digit group, but it assumed the digit group was the + first token. + + Signed-off-by: Jason Etheridge + Signed-off-by: Ben Shum + +6 1 Open-ILS/src/sql/Pg/040.schema.asset.sql +52 0 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acn_dewey_normalizer.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acn_dewey_normalizer.sql + +commit 66a4d5552f93a809253ad5e06f2e13c234b9de0d +Author: Chris Sharp +Date: Mon Aug 5 14:10:56 2013 -0400 + + LP1208572 - Fixes for reporter.classic_item_list + + This view was created before the extend_reporter schema and the reporter. + materialized_simple_record existed. Rewriting the view definition to include + those. + + Signed-off-by: Chris Sharp + Signed-off-by: Ben Shum + +7 9 Open-ILS/src/sql/Pg/example.reporter-extension.sql + +commit ad06b1acada260cd01063248977c8b20a9b4640c +Author: Lebbeous Fogle-Weekley +Date: Fri Aug 16 10:32:42 2013 -0400 + + DB numbering for patron duplication check depth setting + + Signed-off-by: Lebbeous Fogle-Weekley + + Conflicts: + Open-ILS/src/sql/Pg/002.schema.config.sql + +1 1 Open-ILS/src/sql/Pg/002.schema.config.sql +22 0 Open-ILS/src/sql/Pg/upgrade/0818.data.duplicate_patron_check_depth_ou_setting.sql +0 22 Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/0818.data.duplicate_patron_check_depth_ou_setting.sql + delete mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql + +commit de6f74c0aecc14a52775204e710adff1afa4a4b8 +Author: Lebbeous Fogle-Weekley +Date: Fri Aug 16 09:31:16 2013 -0400 + + Adjust Kyle Tomita's patron dupe check fix to use the depth concept + + Addressing these comments: + https://bugs.launchpad.net/evergreen/+bug/1185524/comments/3 + + And also renaming the OU setting to better peer with similar settings + affecting staff client (not OPAC) patron registration. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Chris Sharp + +12 3 Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm +6 6 Open-ILS/src/sql/Pg/950.data.seed-values.sql +16 18 Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql + +commit 74cc7855682d93caf53c840c526abcf6c3d94b18 +Author: Kyle Tomita +Date: Fri May 31 11:33:59 2013 -0700 + + LP1185524 - Duplicate patron checking in the user editor is limited to workstation OU + + Added a new library setting opac.duplicate_patron_check_use_consortium. + When true, the duplicate check will use the consortium (1) as the OU. + When false or not set, the duplicate check will use the workstation OU. + + The setting is checked in subroutine that creates the search request and + sets the OU accordingly. + + [LFW: Signing off but following with material changes next commit.] + + Signed-off-by: Kyle Tomita + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Chris Sharp + + Conflicts: + Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm + +5 2 Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm +12 0 Open-ILS/src/sql/Pg/950.data.seed-values.sql +24 0 Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql + create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.add_setting_for_selecting_consortium_as_search_ou_for_duplicate_patron_check.sql + +commit 8a34a90ff7977d3068b9972039a76d159963e30b +Author: Steven Chan +Date: Mon Aug 5 12:13:54 2013 -0400 + + Fix LP985075, cannot save Patron Acquisition Request form + + The form is shown using a dojo EditPane attached to an EditDialog, + however, attaching the pane was done manually, resulting in the dialog + acting improperly and the pane positioned improperly. + + Instead, we use dojo's attr method to define the content attribute of + the dialog to be the pane. + + Signed-off-by: Steven Chan + Signed-off-by: Remington Steed + Signed-off-by: Ben Shum + +1 2 Open-ILS/web/js/dojo/openils/widget/EditDialog.js + +commit 4268902b83c65b37c9f525b012dfba3940e8e619 +Author: Chris Sharp +Date: Wed Jul 31 11:03:25 2013 -0400 + + Fixing LP 1072892 - repeated rows in reporter.classic_item_list view + + The view joined the actor.card table in such a way that all library + cards (active or not) were being returned. This commit changes that + behavior so that only the current card (from actor.usr.card) is returned. + + Signed-off-by: Chris Sharp + Signed-off-by: Ben Shum + +1 1 Open-ILS/src/sql/Pg/example.reporter-extension.sql + +commit 11a2542c75dc04f5a86e4206b182b927d4f845aa +Author: Bill Erickson +Date: Tue Aug 13 10:03:10 2013 -0400 + + LP1211506 fix numeric sorting in staff client grids + + To recover numeric (vs. ascii-betical) sorting of number and money + values in grids, cast the cached sort values back into numbers. + + This was tested in the billing interface, but should repair numeric + sorting for most grids. + + Signed-off-by: Bill Erickson + Signed-off-by: Jason Etheridge + Signed-off-by: Ben Shum + +8 0 Open-ILS/xul/staff_client/chrome/content/util/list.js + +commit baa8f926f7a4ce0e86aa419ba64cca7b509b8d45 +Author: Pasi Kallinen +Date: Mon Jul 22 10:16:36 2013 +0300 + + Always show grid buttons on My Selection List + + Fix LP#1028601 by showing the selection list creation buttons in the acq + search UI even when there are no search results. + + Signed-off-by: Pasi Kallinen + Signed-off-by: Remington Steed + Signed-off-by: Ben Shum + +5 1 Open-ILS/web/js/ui/default/acq/search/unified.js + +commit 96477efb6b4f7ed9e413cfdc6aad562bb3074f6e +Author: Angela Kilsdonk +Date: Mon Aug 12 09:26:21 2013 -0400 + + Z39.50 documentation asciidoc fix and moved Z39.50 Servers to the appropriate location in root.txt. + + Signed-off-by: Angela Kilsdonk + +8 4 docs/admin/restrict_Z39.50_sources_by_perm_group.txt +2 2 docs/root.txt + +commit b895fdf27a2a0e9f621f7f96a05a30ceb78cb5b2 +Author: Dan Wells +Date: Tue Jul 2 11:55:21 2013 -0400 + + Solidify caption/holding relationship, improve MFHD::Holding comparisons + + [This commit has been squashed for merging. LFW] + + * This commit: + - Makes sure that holding data is valid for the given caption + for new holding objects + - Teaches field_values() to fall back to '*' (unknown marker) + when a holding is missing data + - Allows the caption() method to be a setter + + * This commit: + - Makes the comparison operator consider chron data, not just + enumeration data + - Teaches the comparison operator a way to handle 'unsure' data + (that is, data presented in brackets []) + + * The code was assuming the $end_holding param would be uncompressed, + but this was not stated anywhere, nor enforced. Let's allow the + method to take both compressed and uncompressed holdings as the "end" + (and handle it appropriately). + + * Add some holdings with missing and unsure data to test the new + comparison operators handling of such data. + + Signed-off-by: Dan Wells + Signed-off-by: Lebbeous Fogle-Weekley + +33 5 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm +19 15 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt + +commit 22c4108b384ca0f1d6dc9d75bcef92b4fb6e8e12 +Author: Dan Wells +Date: Wed May 8 15:09:41 2013 -0400 + + Fix logic in get_compressed_holdings() + + [This commit has been squashed for merging. LFW] + + * This commit rearranges some of the logic branches to protect + against an unusual case of having two holding statements with + the same start value, but one being open-ended and one not. + + * The logic in get_combined_holdings() was a little sloppy and + repeated some steps unnecessarily. This cleans things up. + + See the test case in the previous commit for more clarity. + + Signed-off-by: Dan Wells + Signed-off-by: Lebbeous Fogle-Weekley + +17 16 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm + +commit 2f246e5268f430d8f8855f2c63874ddbb62d57d5 +Author: Dan Wells +Date: Tue May 7 18:23:27 2013 -0400 + + Tie in new MFHD method to serials module/MFHD tests for compressing, combining + + [This commit has been squashed for merging. LFW] + + * Now that we have a potentially better alternative, let's call + get_combined_holdings() in place of get_compressed_holdings() in + Serial.pm. + + * First, add a test for the new get_combined_holdings() method. + + Second, add a known problem case for get_compressed_holdings(). + The fix will come in a subsequent commit. + + Signed-off-by: Dan Wells + Signed-off-by: Lebbeous Fogle-Weekley + +2 2 Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm +24 0 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhd.t +31 0 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt + +commit b1fc625de4d7b9f298b564b6699e02c12f71e56b +Author: Dan Wells +Date: Tue May 7 18:19:34 2013 -0400 + + Add new get_combined_holdings() method to MFHD.pm + + This commit adds a new method to the MFHD module which creates an + array of compressed holdings from all holdings for a given caption, + combining as needed. + + NOTE: This method is similar to, but much less aggressive/strict than + get_compressed_holdings(). Ultimately, get_compressed_holdings() + might be deprecated in favor of this. + + Signed-off-by: Dan Wells + Signed-off-by: Lebbeous Fogle-Weekley + +84 0 Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm + +commit 3ed0711fb276d2a1c5a9a84fae062cfd0ae8f0eb +Author: Angela Kilsdonk +Date: Fri Aug 9 10:31:34 2013 -0400 + + Documentation for storing Z39.50 credentials. Added to existing file on Z39.50 permissions. + + Signed-off-by: Angela Kilsdonk + +21 3 docs/admin/restrict_Z39.50_sources_by_perm_group.txt +- - docs/media/storing_z3950_credentials.JPG + create mode 100644 docs/media/storing_z3950_credentials.JPG + +commit 56bb284497e32fc8588ed60bd0909872687c22b0 +Author: Lebbeous Fogle-Weekley +Date: Mon Jun 24 11:47:40 2013 -0400 + + Acq: When processing EDI invoices, skip unknown line item references + + See LP #1172373. + + In their electronic invoices, vendors sometimes include a mix of line + items that your ILS knows about, because you ordered them through it, + and line items of which your ILS knows nothing. We should not fail + altogether at processing invoices, but instead process what line items + we can. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Ben Shum + +106 66 Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm + +commit 39310cdec60abeedaa25b90e67629b61d86d9d26 +Author: Lebbeous Fogle-Weekley +Date: Tue Apr 16 15:18:17 2013 -0400 + + Acq: When building invoices from EDI messages, avoid bad data + + From some vendors, these EDI messages contain strings (useless ones, + like just the name of the vendor) where we had been expecting numeric + identifiers. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Ben Shum + +18 5 Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm + +commit 66fbdd3cf6f2c96091295c7a69436f5be415eb65 +Author: Pasi Kallinen +Date: Wed Jul 17 20:24:26 2013 +0300 + + Validate date ranges in Close Dates editor + + Complain in Closed Dates Editor when ending date is earlier than starting date. + + Signed-off-by: Pasi Kallinen + Signed-off-by: Remington Steed + Signed-off-by: Ben Shum + +1 0 Open-ILS/web/opac/locale/en-US/lang.dtd +5 0 Open-ILS/xul/staff_client/server/admin/closed_dates.js +1 0 Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml + +commit 6f4d21cb3947510f8ad1aa28d8634cf1acf8e926 +Author: Pasi Kallinen +Date: Tue Jul 23 10:49:47 2013 +0300 + + Prevent paste from empty clipboard throwing an error + + Signed-off-by: Pasi Kallinen + Signed-off-by: Ben Shum + +3 1 Open-ILS/xul/staff_client/chrome/content/util/clipboard.js + +commit 188c3589de72901b3f6e08d22aba49c3394b921d +Author: Bill Erickson +Date: Fri May 17 09:39:26 2013 -0400 + + Upgrade notes for IDL2js locale support + + Minor Apache configuration change required. + + Signed-off-by: Bill Erickson + Signed-off-by: Mike Rylander + +28 0 docs/RELEASE_NOTES_NEXT/Administration/idl2js-locale-support.txt + create mode 100644 docs/RELEASE_NOTES_NEXT/Administration/idl2js-locale-support.txt + +commit 8229e8f97bfc5f7ed4eb1ea486d2625a5d51e3fd +Author: Bill Erickson +Date: Mon May 6 09:59:22 2013 -0400 + + LP1171875 Support locale CGI param for fm_IDL.xml + + Adds support for passing the locale string directly to + /reports/fm_IDL.xml via locale= CGI parameter. + + Signed-off-by: Bill Erickson + Signed-off-by: Pasi Kallinen + Signed-off-by: Mike Rylander + +5 0 Open-ILS/examples/apache/eg_vhost.conf.in +5 0 Open-ILS/examples/apache_24/eg_vhost.conf.in + +commit 716ecc96b8310688337bbe5dea8e85c20fd342af +Author: Bill Erickson +Date: Fri Apr 26 13:20:24 2013 -0400 + + LP1171875 Add locale support to IDL2js + + /IDL2js now reads locale information from either locale= CGI parameter + or Accept-Language HTTP headers. The locale-aware IDL is loaded from + /reports/fm_IDL.xml via Apache subrequest. Each full copy of the IDL is + cached within the Apache processes to avoid the need to re-parse the IDL ad + infinitum for full IDL retrieval. Partial IDL retrieval is also supported + (but not cached). + + No attempt is made to cleanse the locale -- invalid locale strings are + discarded -- so it's the callers responsibility to pass a valid locale. + + Signed-off-by: Bill Erickson + Signed-off-by: Pasi Kallinen + Signed-off-by: Mike Rylander + +77 8 Open-ILS/src/perlmods/lib/OpenILS/WWW/IDL2js.pm + +commit 39143f79bc7f1f07e7971789a96d3cf07c555e6e +Author: Jeff Godin +Date: Tue May 29 10:28:50 2012 -0400 + + Fix IDL and OU setting check for staged users + + The IDL had references to sequences that do not exist: + + staging.usr_stage_row_id_seq -- a typo, fixed + + In the case of staging.billing_address_stage_row_id_seq, the + staging.billing_address_stage table is created with LIKE, + and uses the sequence staging.mailing_address_stage_row_id_seq + + The OU setting check for the open-ils.actor.user.stage.create API + call was not passing an org unit, and would always fail. + + We now pass the home_ou of the user being staged. + + At this point, the opac.allow_pending_user OU setting type must + be manually created before its value can be set. + + Signed-off-by: Jeff Godin + Signed-off-by: Bill Erickson + +2 2 Open-ILS/examples/fm_IDL.xml +1 1 Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Stage.pm + +commit 7f342b5ec925cc6c17bce7a4adb95c68fade6c7c +Author: Bill Erickson +Date: Mon Jul 8 11:13:23 2013 -0400 + + LP1195150 batch update funds alters debits + + When a fund is updated via the ACQ batch update bar (along the top of + the PO interface), ensure that any existing fund debits are updated to + use the new fund. If the selected fund exceeds the balance block + percent, the operation will fail and the user will be notified. + + Signed-off-by: Bill Erickson + Signed-off-by: Mike Rylander + +20 1 Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem/BatchUpdate.pm + +commit 3570f60f2dbd8414a43e7201e0715642a99fb696 +Author: Bill Erickson +Date: Mon Jul 22 15:21:15 2013 -0400 + + LP1203753 AuthProxy barcode login support + + When users attempt a barcode-based login with AuthProxy, the system will + determine the username of the user (based on the barcode) and use the + username instead of the barcode for all proxied login attempts. This + allows users to use their barcodes (or barcode-looking usernames) to + log in via remote authenticators. + + Signed-off-by: Bill Erickson + Signed-off-by: Dan Wells + +16 4 Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm + +commit 258af6066bfba582163fd07afa1a76551270db35 +Author: Lebbeous Fogle-Weekley +Date: Thu Jul 11 14:50:49 2013 -0400 + + Link checker: verification review UI needs more columns about redirects + + Link checker results can contain information about redirects when URLs + in a bib record happen to point to systems that return 3XX repsonses. + + All this is nicely captured in the uvuv and uvu tables, but the + user interface only offers the uvu.redirect_from column, when + uvuv.redirect_to and uvu.id are also necessary to understanding redirect + relationships among the results. + + Reported by Erica Rohlfs and Bill Erickson. + + Signed-off-by: Lebbeous Fogle-Weekley + Signed-off-by: Bill Erickson + +4 2 Open-ILS/src/templates/url_verify/review_attempt.tt2 + +commit 6bcf6cc21b9fa5f7282ebedee71c5f2da7f668d9 +Author: Mike Rylander +Date: Thu Jul 18 14:48:36 2013 -0400 + + Point feeds to TPAC instead of slimpac or JSPAC + + Where possible, point to TPAC endpoints for HMTL output of supercat feeds. + + Also, just use the bookbag (container) name for bookbag feeds, instead of + wrapping them in formatting and context. The description element already + provides that. + + Signed-off-by: Mike Rylander + Signed-off-by: Lebbeous Fogle-Weekley + +17 27 Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm + +commit 8e091722fe683e354a74510ac62ca7af92568e4d +Author: Pasi Kallinen +Date: Fri Jul 19 09:04:04 2013 +0300 + + Fix LP#1187402: Datafield contents turned undefined in Marc Editor after adding 006, 007 or 008 + + Signed-off-by: Pasi Kallinen + Signed-off-by: Dan Scott + +4 1 Open-ILS/xul/staff_client/server/cat/marcedit.js + +commit da846d1380832beec025a825e35fca84e420fab4 +Author: Mike Rylander +Date: Wed Jul 17 17:13:57 2013 -0400 + + Explicit function ownership is not the job of upgrade scripts + + Signed-off-by: Mike Rylander + +0 2 Open-ILS/src/sql/Pg/upgrade/0811.function.copy_related_hold_stats.sql +0 2 Open-ILS/src/sql/Pg/version-upgrade/2.4.0-2.4.1-upgrade-db.sql + +commit 901ee74225f7ae4584cf46b9da0f34f2c3b37360 +Author: Mike Rylander +Date: Wed Jul 17 16:29:36 2013 -0400 + + Pulling in 2.4.1 upgrade script + + Signed-off-by: Mike Rylander + +298 0 Open-ILS/src/sql/Pg/version-upgrade/2.4.0-2.4.1-upgrade-db.sql + create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.4.0-2.4.1-upgrade-db.sql + +commit e2e14c5acd7d424c9e0cc8acb3f175a8824739c1 +Author: Mike Rylander +Date: Wed Jul 17 15:07:08 2013 -0400 + + Updated translation files based on freshened base POs + + Signed-off-by: Mike Rylander + +1 1 build/i18n/po/AutoFieldWidget.js/fi-FI.po +1 1 build/i18n/po/Searcher.js/fi-FI.po +1 1 build/i18n/po/TranslatorPopup.js/fi-FI.po +1 1 build/i18n/po/User.js/fi-FI.po +4 2 build/i18n/po/XULTermLoader.js/XULTermLoader.js.pot +1 1 build/i18n/po/XULTermLoader.js/fi-FI.po +33 11 build/i18n/po/acq.js/acq.js.pot +1 1 build/i18n/po/admin.properties/fi-FI.po +1 1 build/i18n/po/auth.properties/fi-FI.po +1 1 build/i18n/po/authority.js/fi-FI.po +4 2 build/i18n/po/capture.js/capture.js.pot +1 1 build/i18n/po/capture.js/fi-FI.po +1 1 build/i18n/po/cat.properties/fi-FI.po +1 1 build/i18n/po/circ.properties/fi-FI.po +1 1 build/i18n/po/common.properties/fi-FI.po +19 7 build/i18n/po/conify.js/conify.js.pot +1 1 build/i18n/po/conify.js/fi-FI.po +828 773 build/i18n/po/db.seed/db.seed.pot +1 1 build/i18n/po/db.seed/fi-FI.po +1 1 build/i18n/po/fm_IDL.dtd/fi-FI.po +1865 1861 build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot +1 1 build/i18n/po/ils_events.xml/fi-FI.po +110 46 build/i18n/po/ils_events.xml/ils_events.xml.pot +1 1 build/i18n/po/lang.dtd/fi-FI.po +8 6 build/i18n/po/lang.dtd/lang.dtd.pot +1 1 build/i18n/po/offline.properties/fi-FI.po +1 1 build/i18n/po/opac.dtd/fi-FI.po +1 1 build/i18n/po/opac.js/fi-FI.po +11 4 build/i18n/po/opac.js/opac.js.pot +1 1 build/i18n/po/patron.properties/fi-FI.po +1 1 build/i18n/po/pickup_and_return.js/fi-FI.po +1 1 build/i18n/po/pull_list.js/fi-FI.po +1 1 build/i18n/po/register.js/fi-FI.po +11 10 build/i18n/po/register.js/register.js.pot +1 1 build/i18n/po/reports.dtd/fi-FI.po +1 1 build/i18n/po/reports.js/fi-FI.po +1 1 build/i18n/po/reservation.js/fi-FI.po +5 2 build/i18n/po/reservation.js/reservation.js.pot +1 1 build/i18n/po/selfcheck.js/fi-FI.po +8 3 build/i18n/po/selfcheck.js/selfcheck.js.pot +1 1 build/i18n/po/serial.properties/fi-FI.po +53 52 build/i18n/po/tpac/tpac.pot + +commit efc882d374f33772a83feff5265ce79f7067817e +Author: Mike Rylander +Date: Wed Jul 17 14:35:20 2013 -0400 + + Freshen PO files for 2.4.1 + + Signed-off-by: Mike Rylander + +5 5 build/i18n/po/Searcher.js/es-ES.po +4 4 build/i18n/po/cat.properties/cs-CZ.po +6 4 build/i18n/po/circ.properties/cs-CZ.po +4 4 build/i18n/po/common.properties/cs-CZ.po +8 8 build/i18n/po/conify.js/cs-CZ.po +32 32 build/i18n/po/fm_IDL.dtd/cs-CZ.po +7 4 build/i18n/po/ils_events.xml/cs-CZ.po +66 65 build/i18n/po/lang.dtd/cs-CZ.po +22 21 build/i18n/po/lang.dtd/es-ES.po +4 4 build/i18n/po/offline.properties/cs-CZ.po +4 4 build/i18n/po/patron.properties/cs-CZ.po +6 6 build/i18n/po/serial.properties/cs-CZ.po diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application.pm index 2888c93918..38b9e00a48 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application.pm @@ -7,7 +7,7 @@ use OpenILS::Utils::Fieldmapper; 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-4-2"; } __PACKAGE__->register_method( diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 08187315ea..b9c763053b 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,6 +92,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 ('0821', :eg_version); -- miker/bshum +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.4.2', :eg_version); CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.4.1-2.4.2-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.4.1-2.4.2-upgrade-db.sql new file mode 100644 index 0000000000..4ba54e2dce --- /dev/null +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.4.1-2.4.2-upgrade-db.sql @@ -0,0 +1,196 @@ +--Upgrade Script for 2.4.1 to 2.4.2 +\set eg_version '''2.4.2''' +BEGIN; +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.4.2', :eg_version); + +SELECT evergreen.upgrade_deps_block_check('0818', :eg_version); + +INSERT INTO config.org_unit_setting_type ( name, grp, label, description, datatype ) VALUES ( + 'circ.patron_edit.duplicate_patron_check_depth', 'circ', + oils_i18n_gettext( + 'circ.patron_edit.duplicate_patron_check_depth', + 'Specify search depth for the duplicate patron check in the patron editor', + 'coust', + 'label'), + oils_i18n_gettext( + 'circ.patron_edit.duplicate_patron_check_depth', + 'When using the patron registration page, the duplicate patron check will use the configured depth to scope the search for duplicate patrons.', + 'coust', + 'description'), + 'integer') +; + + + +-- Evergreen DB patch 0819.schema.acn_dewey_normalizer.sql +-- +-- Fixes Dewey call number sorting (per LP# 1150939) +-- + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('0819', :eg_version); + +CREATE OR REPLACE FUNCTION asset.label_normalizer_dewey(TEXT) RETURNS TEXT AS $func$ + # Derived from the Koha C4::ClassSortRoutine::Dewey module + # Copyright (C) 2007 LibLime + # Licensed under the GPL v2 or later + + use strict; + use warnings; + + my $init = uc(shift); + $init =~ s/^\s+//; + $init =~ s/\s+$//; + $init =~ s!/!!g; + $init =~ s/^([\p{IsAlpha}]+)/$1 /; + my @tokens = split /\.|\s+/, $init; + my $digit_group_count = 0; + my $first_digit_group_idx; + for (my $i = 0; $i <= $#tokens; $i++) { + if ($tokens[$i] =~ /^\d+$/) { + $digit_group_count++; + if ($digit_group_count == 1) { + $first_digit_group_idx = $i; + } + if (2 == $digit_group_count) { + $tokens[$i] = sprintf("%-15.15s", $tokens[$i]); + $tokens[$i] =~ tr/ /0/; + } + } + } + # Pad the first digit_group if there was only one + if (1 == $digit_group_count) { + $tokens[$first_digit_group_idx] .= '_000000000000000' + } + my $key = join("_", @tokens); + $key =~ s/[^\p{IsAlnum}_]//g; + + return $key; + +$func$ LANGUAGE PLPERLU; + +-- regenerate sort keys for any dewey call numbers +UPDATE asset.call_number SET id = id WHERE label_class = 2; + + +-- Remove [ and ] characters from seriestitle. +-- Those characters don't play well when searching. + +SELECT evergreen.upgrade_deps_block_check('0820', :eg_version); -- Callender + +INSERT INTO config.metabib_field_index_norm_map (field,norm,params, pos) + SELECT m.id, + i.id, + $$["]",""]$$, + '-1' + FROM config.metabib_field m, + config.index_normalizer i + WHERE i.func IN ('replace') + AND m.id IN (1); + +INSERT INTO config.metabib_field_index_norm_map (field,norm,params, pos) + SELECT m.id, + i.id, + $$["[",""]$$, + '-1' + FROM config.metabib_field m, + config.index_normalizer i + WHERE i.func IN ('replace') + AND m.id IN (1); + + +SELECT evergreen.upgrade_deps_block_check('0821', :eg_version); + +CREATE OR REPLACE FUNCTION metabib.reingest_metabib_field_entries( bib_id BIGINT, skip_facet BOOL DEFAULT FALSE, skip_browse BOOL DEFAULT FALSE, skip_search BOOL DEFAULT FALSE ) RETURNS VOID AS $func$ +DECLARE + fclass RECORD; + ind_data metabib.field_entry_template%ROWTYPE; + mbe_row metabib.browse_entry%ROWTYPE; + mbe_id BIGINT; + mbe_txt TEXT; + b_skip_facet BOOL; + b_skip_browse BOOL; + b_skip_search BOOL; +BEGIN + + SELECT COALESCE(NULLIF(skip_facet, FALSE), EXISTS (SELECT enabled FROM config.internal_flag WHERE name = 'ingest.skip_facet_indexing' AND enabled)) INTO b_skip_facet; + SELECT COALESCE(NULLIF(skip_browse, FALSE), EXISTS (SELECT enabled FROM config.internal_flag WHERE name = 'ingest.skip_browse_indexing' AND enabled)) INTO b_skip_browse; + SELECT COALESCE(NULLIF(skip_search, FALSE), EXISTS (SELECT enabled FROM config.internal_flag WHERE name = 'ingest.skip_search_indexing' AND enabled)) INTO b_skip_search; + + PERFORM * FROM config.internal_flag WHERE name = 'ingest.assume_inserts_only' AND enabled; + IF NOT FOUND THEN + IF NOT b_skip_search THEN + FOR fclass IN SELECT * FROM config.metabib_class LOOP + -- RAISE NOTICE 'Emptying out %', fclass.name; + EXECUTE $$DELETE FROM metabib.$$ || fclass.name || $$_field_entry WHERE source = $$ || bib_id; + END LOOP; + END IF; + IF NOT b_skip_facet THEN + DELETE FROM metabib.facet_entry WHERE source = bib_id; + END IF; + IF NOT b_skip_browse THEN + DELETE FROM metabib.browse_entry_def_map WHERE source = bib_id; + END IF; + END IF; + + FOR ind_data IN SELECT * FROM biblio.extract_metabib_field_entry( bib_id ) LOOP + IF ind_data.field < 0 THEN + ind_data.field = -1 * ind_data.field; + END IF; + + IF ind_data.facet_field AND NOT b_skip_facet THEN + INSERT INTO metabib.facet_entry (field, source, value) + VALUES (ind_data.field, ind_data.source, ind_data.value); + END IF; + + IF ind_data.browse_field AND NOT b_skip_browse THEN + -- A caveat about this SELECT: this should take care of replacing + -- old mbe rows when data changes, but not if normalization (by + -- which I mean specifically the output of + -- evergreen.oils_tsearch2()) changes. It may or may not be + -- expensive to add a comparison of index_vector to index_vector + -- to the WHERE clause below. + mbe_txt := metabib.browse_normalize(ind_data.value, ind_data.field); + SELECT INTO mbe_row * FROM metabib.browse_entry WHERE value = mbe_txt; + IF FOUND THEN + mbe_id := mbe_row.id; + ELSE + INSERT INTO metabib.browse_entry (value) VALUES (mbe_txt); + mbe_id := CURRVAL('metabib.browse_entry_id_seq'::REGCLASS); + END IF; + + INSERT INTO metabib.browse_entry_def_map (entry, def, source) + VALUES (mbe_id, ind_data.field, ind_data.source); + END IF; + + -- Avoid inserting duplicate rows, but retain granularity of being + -- able to search browse fields with "starts with" type operators + -- (for example, for titles of songs in music albums) + IF (ind_data.search_field OR ind_data.browse_field) AND NOT b_skip_search THEN + EXECUTE 'SELECT 1 FROM metabib.' || ind_data.field_class || + '_field_entry WHERE field = $1 AND source = $2 AND value = $3' + INTO mbe_id USING ind_data.field, ind_data.source, ind_data.value; + -- RAISE NOTICE 'Search for an already matching row returned %', mbe_id; + IF mbe_id IS NULL THEN + EXECUTE $$ + INSERT INTO metabib.$$ || ind_data.field_class || $$_field_entry (field, source, value) + VALUES ($$ || + quote_literal(ind_data.field) || $$, $$ || + quote_literal(ind_data.source) || $$, $$ || + quote_literal(ind_data.value) || + $$);$$; + END IF; + END IF; + + END LOOP; + + IF NOT b_skip_search THEN + PERFORM metabib.update_combined_index_vectors(bib_id); + END IF; + + RETURN; +END; +$func$ LANGUAGE PLPGSQL; + + +COMMIT; diff --git a/Open-ILS/xul/staff_client/chrome/content/main/about.html b/Open-ILS/xul/staff_client/chrome/content/main/about.html index 2737f47bf1..936ba6c478 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/about.html +++ b/Open-ILS/xul/staff_client/chrome/content/main/about.html @@ -1,7 +1,7 @@

Evergreen

Target Server ID:

-

$HeadURL$

+

http://git.evergreen-ils.org/Evergreen.git?h=refs/heads/rel_2_4_2_RC

What is Evergreen?

diff --git a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js index 0613a13ddf..489558886e 100644 --- a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js +++ b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js @@ -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_4_2_RC"); pref("open-ils.repository.author","$Author$"); pref("open-ils.repository.revision","$Revision$"); pref("open-ils.repository.date","$Date$"); diff --git a/Open-ILS/xul/staff_client/windowssetup.nsi b/Open-ILS/xul/staff_client/windowssetup.nsi index e0bc1ef5df..0638a4e581 100644 --- a/Open-ILS/xul/staff_client/windowssetup.nsi +++ b/Open-ILS/xul/staff_client/windowssetup.nsi @@ -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.4" !define PRODUCT_INSTALL_TAG "${PRODUCT_TAG}" !define UI_IMAGESET "beta" ;!define UI_IMAGESET "release" diff --git a/README b/README deleted file mode 120000 index b57451acb4..0000000000 --- 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 index 0000000000..93e4101ba8 --- /dev/null +++ b/README @@ -0,0 +1,535 @@ +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.2 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 below: ++ +[source, bash] +------------------------------------------------------------------------------ +make -f Open-ILS/src/extras/Makefile.install +------------------------------------------------------------------------------ ++ +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] +------------------------------------------------------------------------------ +PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf +make +------------------------------------------------------------------------------ + +These instructions assume that you have also installed OpenSRF under `/openils/`. +If not, please adjust PATH as needed so that the Evergreen `configure` script +can find `osrf_config`. + +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_4_2 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/` (for +Apache versions below 2.4) or `Open-ILS/examples/apache_24/` (for Apache +versions 2.4 or greater) 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/eg_startup /etc/apache2/ +# Now set up SSL +mkdir /etc/apache2/ssl +cd /etc/apache2/ssl +------------------------------------------------------------------------------ ++ +.Fedora +[source,bash] +------------------------------------------------------------------------------ +cp Open-ILS/examples/apache_24/eg_24.conf /etc/httpd/conf.d/ +cp Open-ILS/examples/apache_24/eg_vhost_24.conf /etc/httpd/eg_vhost.conf +cp Open-ILS/examples/apache/eg_startup /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. To enable access to the offline upload / execute interface from any + workstation on any network, make the following change (and note that + you *must* secure this for a production instance): + * (Apache 2.2): Replace `Allow from 10.0.0.0/8` with `Allow from all` + * (Apache 2.4): Replace `Require host 10.0.0.0/8` with `Require all granted` + 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] +------------------------------------------------------------------------------ + + StartServers 20 + MinSpareServers 5 + MaxSpareServers 15 + MaxClients 150 + MaxRequestsPerChild 10000 + +------------------------------------------------------------------------------ ++ +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`, 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 +cpan Rose::URI +------------------------------------------------------------------------------ + +.(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 +yum install perl-Library-CallNumber-LC perl-MARC-Record perl-MARC-Charset +yum install perl-MARC-File-XML perl-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 , , +, , and with the appropriate values for your +PostgreSQL database (where and are for the *evergreen* +PostgreSQL account you just created), and replace and +with the values you want for the *egadmin* Evergreen administrator account: + +[source, bash] +------------------------------------------------------------------------------ +perl Open-ILS/src/support-scripts/eg_db_config --update-config \ + --service all --create-database --create-schema --create-offline \ + --user --password --hostname --port \ + --database --admin-user --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`. + +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` command: + +[source, bash] +------------------------------------------------------------------------------ +/openils/bin/srfsh +srfsh% login +------------------------------------------------------------------------------ + +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. diff --git a/build/tools/make_release b/build/tools/make_release index c141ca7f12..4eae8113f1 100755 --- a/build/tools/make_release +++ b/build/tools/make_release @@ -246,7 +246,7 @@ if [ $PREV_BRANCH != "PACKAGE" ]; then grep -i -m 1 Signed-off-by ChangeLog &> /dev/null if [ $? -ne 0 ]; then echo "Building ChangeLog" - git log --cherry-pick --right-only --no-merges --pretty --summary --numstat $PREV_BRANCH..HEAD > $GIT_ABS/ChangeLog + git log --cherry-pick --no-merges --pretty --summary --numstat $PREV_BRANCH..HEAD > $GIT_ABS/ChangeLog else echo "Not overwriting existing ChangeLog!" fi diff --git a/configure.ac b/configure.ac index fab6180e0c..5c2ac05973 100644 --- a/configure.ac +++ b/configure.ac @@ -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.4.2, open-ils-dev@list.georgialibraries.org) +AM_INIT_AUTOMAKE([OpenILS], [2.4.2]) AC_REVISION($Revision: 0.1 $) AC_CONFIG_SRCDIR([configure.ac]) AC_SUBST(prefix)