2011-10-04 Mike Rylander * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: Reify 2.0-2.1 upgrade script Signed-off-by: Mike Rylander 2011-08-18 Dan Scott * README: Update README to reflect the --create-database option Now that eg_db_config.pl is intelligent enough to create the database, update the README to free people from the tyranny of having to manually issue database creation (and contrib-adding) commands. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-10-04 Dan Scott * Open-ILS/xul/staff_client/chrome/content/main/about.html: Slightly updated about.html for rel_2_1 Not sure we want to actually keep listing individuals in this file - there's a lot more credit to spread around - but at least I can bring it somewhat up to date with current info. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-10-04 Jason Etheridge * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0634.security_lockdown.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql: pin version for upgrade script Signed-off-by: Jason Etheridge 2011-08-15 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql: Unwrapped upgrade script for security lockdown Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-08-15 Thomas Berezansky * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrom e.xul, Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_offli ne.xul, Open-ILS/xul/staff_client/chrome/content/auth/controller.js, Open-ILS/xul/staff_client/chrome/content/main/main.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul, Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul: Require permission or pref to debug in client Disables all debug functions I know of unless: 1 - You have new DEBUG_CLIENT permission (after login) This should work even on operator change. Once a given debug interface is open you can change operator back. 2 - You have a client with the debug preference enabled This causes the client in all places I touched to think you have DEBUG_CLIENT This also allows debugging *before* login, including in the Standalone interface. Debug functions I know of: Debug box on login page (already protected by pref) Debug items in Admin menu Venkman Javascript Shells Inspector Chrome List CTRL+SHIFT+F7 debug box in overlays Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-08-12 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/auth/controller.js: Clear password from password_prompt post-login Otherwise it remains as the plain text value. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-10-04 Dan Scott * build/i18n/po/lang.dtd/ru-RU.po: i18n: Fix ru-RU lang.dtd problem No ampersands at the end of a string! Breaks moz2po horribly. Signed-off-by: Dan Scott 2011-10-04 Jason Etheridge * Open-ILS/src/sql/Pg/upgrade/0633.new_print_method.sql: no evergreen.upgrade_deps_block_check in 2.1 Signed-off-by: Jason Etheridge 2011-10-04 Jason Etheridge * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0633.new_print_method.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql: pin version for upgrade script and put seed data back in; I had merge-conflict-resolved it out of existence previously Signed-off-by: Jason Etheridge 2011-09-12 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/util/print.js, Open-ILS/xul/staff_client/chrome/content/util/print_win.js: Switch to Modal printing Prevents an OS-level race condition on window focus. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-08-24 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql: Unwrapped upgrade script for print.custom_js_file Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-08-24 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/util/print.js, Open-ILS/xul/staff_client/chrome/content/util/print_win.js: Remove in-template javascript, add script files Adds support for a print_custom.js file and an org unit specified file. If either exists and contains a print_custom function it will be called before printing to allow for DOM manipulation. If neither exists the print_win.js file will call all functions it has defined. In addition, if any code sets do_print to false the window will close instead of attempting to print. The print_custom function will receive the type of template used, if any. This only applies to "Receipt Template" based print jobs, and the type in question is the "Type" that shows in the template editor. Functions defined in print_win.js: print_init Main function, checks for print_custom and does final printing print_do_sums Does summing of values. print_check_alt Does swapping out of template blocks with display:none styling. print_check_noprint Disables printing under certain circumstances. For more information about usage of the print_do_sums, print_check_alt, and print_check_noprint functions check the comments in print_win.js. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-09-24 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/web/opac/skin/default/js/myopac.js, Open-ILS/web/opac/skin/default/xml/myopac/myopac_summary.xml: Require password to change email/username Alter backend to check password period, not just for password changes. Add form elements for asking for current password to JSPac. Add handling for said form elements where needed. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-09-12 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/auth/session.js: When workstation is invalid request a new seed The original one may no longer be valid Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-09-01 Thomas Berezansky * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/c-apps/oils_auth.c: Make more auth values configurable Amount of time seed is valid Amount of time to keep failure count in memcache since last auth event Number of failures before locking out auth attempts Also, remove seed from memcache once it has been used once. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-08-30 Thomas Berezansky * Open-ILS/src/c-apps/oils_auth.c: Brute Force protection for authentication Count auth failures in memcache. If 10+ have occurred cause failure. After 90 seconds of no activity counter resets. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-09-30 Lebbeous Fogle-Weekley * Open-ILS/examples/fm_IDL.xml: link asset.copy_template.status to config.copy_status in the IDL If nothing else, this provides a dropdown for status in the copy template editor (the one for Serials, under the admin menus, not the one on the copy editing interface). Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells 2011-08-15 Dan Scott * Open-ILS/src/extras/autogen.sh: Remove CONFIG references from autogen.sh We're relying on OpenILS::Utils::Cronscript for the location of the opensrf_core.xml file, so the vestigial references were unnecessary noise. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2011-08-15 Dan Scott * Open-ILS/src/Makefile.am, Open-ILS/src/extras/autogen.sh, Open-ILS/src/extras/cache-generator.sh, Open-ILS/src/perlmods/MANIFEST, Open-ILS/src/perlmods/t/14-OpenILS-Utils.t: Further autogen.sh cleanup * Roll cache-generator.sh functionality into autogen.sh * No longer install deleted scripts * Teach Perl build infrastructure about OpenILS::Utils::Configure Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2011-08-15 Dan Scott * Open-ILS/src/extras/autogen.sh, Open-ILS/src/extras/facet_types_js.pl, Open-ILS/src/extras/fieldmapper.pl, Open-ILS/src/extras/locale_html_options.pl, Open-ILS/src/extras/org_lasso_js.pl, Open-ILS/src/extras/org_tree_html_options.pl, Open-ILS/src/extras/org_tree_js.pl, Open-ILS/src/extras/org_tree_proximity.pl, Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm: Revamp autogen.sh to call functions from a Perl module This cut moves all of the logic from the individual scripts that autogen.sh used to call into a self-contained Perl module. We use OpenILS::Utils::Cronscript to avoid much of the init dupe code. Note that calling Perl functions from a bash script is not crazy pretty, but perhaps in the long run autogen.sh becomes something else. This is just a step towards consolidating those functions in a single module while maintaining the same interface as before. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2011-10-04 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0631.schema.located_uri_visiblity_fix.s ql: Add upgrade_log stuffs Signed-off-by: Mike Rylander 2011-10-03 Dan Scott * Open-ILS/src/sql/Pg/upgrade/0631.schema.located_uri_visiblity_fix.s ql: Correct SQL upgrade script to not do the master-only check Slavish cherry-pick from master resulted in a dep check for the SQL upgrade script that won't fly in rel_2_1. Signed-off-by: Dan Scott 2011-10-03 Dan Scott * Open-ILS/src/sql/Pg/upgrade/0631.schema.located_uri_visiblity_fix.s ql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.located_uri_visiblity_fix.s ql: LP865817: Fix Located URI visibility test Wrapped upgrade script for LP865817. Signed-off-by: Dan Scott 2011-10-03 Mike Rylander * Open-ILS/src/sql/Pg/300.schema.staged_search.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.located_uri_visiblity_fix.s ql: Correct Located URI visiblity Located URIs should be visible when they exist at the search context org unit or an ancestor thereof. However, before the change embodied in this commit, they effectively acted exactly like copies, making records visible anywhere within the context+depth range. An example, using the stock example OU hierarchy: * Before this change, a Located URI with an owner of BR1 would cause its record to show up in a search at (or scoped to via a depth parameter) BR1, SYS1 or CONS. * Before this change, a Located URI with an owner of SYS1 would NOT cause its record to show up in a search at (or scoped to via a depth parameter) BR1! * After this change, a Located URI with an owner of BR1 will cause its record to show up only in a search with a context OU of BR1, irrespective of depth scoping. * After this change, a Located URI with an owner of SYS1 WILL cause its record to show up in a search with a context OU of BR1 or SYS1, regardless of depth scoping. Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2011-10-03 Lebbeous Fogle-Weekley * Open-ILS/web/opac/common/js/org_utils.js, Open-ILS/web/opac/skin/default/js/rdetail.js: JSPAC: Fix a bug (I think) in orgIsMine(), and show more MFHD holdings ... ... when search scope would have it so. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2011-09-29 Dan Scott * Open-ILS/web/opac/skin/default/js/rdetail.js: LP740320: Make submit the new bookbag dialog For the keyboard jockeys out there - if the enter key doesn't submit, the UI reviewer will not commit. Signed-off-by: Dan Scott 2011-08-26 James Fournie * Open-ILS/web/opac/skin/default/xml/page_rdetail.xml: Initial dialog isn't quite wide enough, here's a hackish way to fix it Signed-off-by: James Fournie Signed-off-by: Dan Scott 2011-08-26 James Fournie * Open-ILS/web/opac/skin/default/xml/page_rdetail.xml: Should probably use a more common button rather than the one for the advanced search Signed-off-by: James Fournie Signed-off-by: Dan Scott 2011-08-26 James Fournie * Open-ILS/web/opac/skin/default/js/rdetail.js: This makes more sense as an alert; the Dojo dialog has no button which is not user-friendly. Signed-off-by: James Fournie Signed-off-by: Dan Scott 2011-08-02 Mike Rylander * Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/web/opac/skin/default/xml/page_rdetail.xml: Markup-based dijit.Dialog implementation, inspired by and based on a patch from Joseph Lewis in https://bugs.launchpad.net/evergreen/+bug/787162 Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/en-GB.po, build/i18n/po/TranslatorPopup.js/en-GB.po, build/i18n/po/User.js/en-GB.po, build/i18n/po/XULTermLoader.js/en-GB.po, build/i18n/po/acq.js/en-GB.po, build/i18n/po/admin.properties/en-GB.po, build/i18n/po/auth.properties/en-GB.po, build/i18n/po/capture.js/en-GB.po, build/i18n/po/cat.properties/en-GB.po, build/i18n/po/circ.properties/en-GB.po, build/i18n/po/common.properties/en-GB.po, build/i18n/po/conify.dtd/en-GB.po, build/i18n/po/conify.js/en-GB.po, build/i18n/po/db.seed/en-GB.po, build/i18n/po/fm_IDL.dtd/en-GB.po, build/i18n/po/ils_events.xml/en-GB.po, build/i18n/po/lang.dtd/en-GB.po, build/i18n/po/multiclass_search_help.html/en-GB.po, build/i18n/po/offline.properties/en-GB.po, build/i18n/po/opac.dtd/en-GB.po, build/i18n/po/opac.js/en-GB.po, build/i18n/po/patron.properties/en-GB.po, build/i18n/po/pickup_and_return.js/en-GB.po, build/i18n/po/pull_list.js/en-GB.po, build/i18n/po/register.js/en-GB.po, build/i18n/po/reports.dtd/en-GB.po, build/i18n/po/reports.js/en-GB.po, build/i18n/po/reservation.js/en-GB.po, build/i18n/po/selfcheck.js/en-GB.po, build/i18n/po/vandelay.dtd/en-GB.po: i18n: Merge en-GB translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/en-CA.po, build/i18n/po/TranslatorPopup.js/en-CA.po, build/i18n/po/User.js/en-CA.po, build/i18n/po/XULTermLoader.js/en-CA.po, build/i18n/po/acq.js/en-CA.po, build/i18n/po/admin.properties/en-CA.po, build/i18n/po/auth.properties/en-CA.po, build/i18n/po/capture.js/en-CA.po, build/i18n/po/cat.properties/en-CA.po, build/i18n/po/circ.properties/en-CA.po, build/i18n/po/common.properties/en-CA.po, build/i18n/po/conify.dtd/en-CA.po, build/i18n/po/conify.js/en-CA.po, build/i18n/po/db.seed/en-CA.po, build/i18n/po/fm_IDL.dtd/en-CA.po, build/i18n/po/ils_events.xml/en-CA.po, build/i18n/po/lang.dtd/en-CA.po, build/i18n/po/multiclass_search_help.html/en-CA.po, build/i18n/po/offline.properties/en-CA.po, build/i18n/po/opac.dtd/en-CA.po, build/i18n/po/opac.js/en-CA.po, build/i18n/po/patron.properties/en-CA.po, build/i18n/po/pickup_and_return.js/en-CA.po, build/i18n/po/pull_list.js/en-CA.po, build/i18n/po/register.js/en-CA.po, build/i18n/po/reports.dtd/en-CA.po, build/i18n/po/reports.js/en-CA.po, build/i18n/po/reservation.js/en-CA.po, build/i18n/po/selfcheck.js/en-CA.po, build/i18n/po/vandelay.dtd/en-CA.po: i18n: Merge en-CA translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/pt-BR.po, build/i18n/po/TranslatorPopup.js/pt-BR.po, build/i18n/po/User.js/pt-BR.po, build/i18n/po/XULTermLoader.js/pt-BR.po, build/i18n/po/acq.js/pt-BR.po, build/i18n/po/admin.properties/pt-BR.po, build/i18n/po/auth.properties/pt-BR.po, build/i18n/po/capture.js/pt-BR.po, build/i18n/po/cat.properties/pt-BR.po, build/i18n/po/circ.properties/pt-BR.po, build/i18n/po/common.properties/pt-BR.po, build/i18n/po/conify.dtd/pt-BR.po, build/i18n/po/conify.js/pt-BR.po, build/i18n/po/db.seed/pt-BR.po, build/i18n/po/fm_IDL.dtd/pt-BR.po, build/i18n/po/ils_events.xml/pt-BR.po, build/i18n/po/lang.dtd/pt-BR.po, build/i18n/po/multiclass_search_help.html/pt-BR.po, build/i18n/po/offline.properties/pt-BR.po, build/i18n/po/opac.dtd/pt-BR.po, build/i18n/po/opac.js/pt-BR.po, build/i18n/po/patron.properties/pt-BR.po, build/i18n/po/pickup_and_return.js/pt-BR.po, build/i18n/po/pull_list.js/pt-BR.po, build/i18n/po/register.js/pt-BR.po, build/i18n/po/reports.dtd/pt-BR.po, build/i18n/po/reports.js/pt-BR.po, build/i18n/po/reservation.js/pt-BR.po, build/i18n/po/selfcheck.js/pt-BR.po, build/i18n/po/vandelay.dtd/pt-BR.po: i18n: Merge pt-BR translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/ru-RU.po, build/i18n/po/TranslatorPopup.js/ru-RU.po, build/i18n/po/User.js/ru-RU.po, build/i18n/po/XULTermLoader.js/ru-RU.po, build/i18n/po/acq.js/ru-RU.po, build/i18n/po/admin.properties/ru-RU.po, build/i18n/po/auth.properties/ru-RU.po, build/i18n/po/capture.js/ru-RU.po, build/i18n/po/cat.properties/ru-RU.po, build/i18n/po/circ.properties/ru-RU.po, build/i18n/po/common.properties/ru-RU.po, build/i18n/po/conify.dtd/ru-RU.po, build/i18n/po/conify.js/ru-RU.po, build/i18n/po/db.seed/ru-RU.po, build/i18n/po/fm_IDL.dtd/ru-RU.po, build/i18n/po/ils_events.xml/ru-RU.po, build/i18n/po/lang.dtd/ru-RU.po, build/i18n/po/multiclass_search_help.html/ru-RU.po, build/i18n/po/offline.properties/ru-RU.po, build/i18n/po/opac.dtd/ru-RU.po, build/i18n/po/opac.js/ru-RU.po, build/i18n/po/patron.properties/ru-RU.po, build/i18n/po/pickup_and_return.js/ru-RU.po, build/i18n/po/pull_list.js/ru-RU.po, build/i18n/po/register.js/ru-RU.po, build/i18n/po/reports.dtd/ru-RU.po, build/i18n/po/reports.js/ru-RU.po, build/i18n/po/reservation.js/ru-RU.po, build/i18n/po/selfcheck.js/ru-RU.po, build/i18n/po/vandelay.dtd/ru-RU.po: i18n: Merge ru-RU translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/hy-AM.po, build/i18n/po/TranslatorPopup.js/hy-AM.po, build/i18n/po/User.js/hy-AM.po, build/i18n/po/XULTermLoader.js/hy-AM.po, build/i18n/po/acq.js/hy-AM.po, build/i18n/po/admin.properties/hy-AM.po, build/i18n/po/auth.properties/hy-AM.po, build/i18n/po/capture.js/hy-AM.po, build/i18n/po/cat.properties/hy-AM.po, build/i18n/po/circ.properties/hy-AM.po, build/i18n/po/common.properties/hy-AM.po, build/i18n/po/conify.dtd/hy-AM.po, build/i18n/po/conify.js/hy-AM.po, build/i18n/po/db.seed/hy-AM.po, build/i18n/po/fm_IDL.dtd/hy-AM.po, build/i18n/po/ils_events.xml/hy-AM.po, build/i18n/po/lang.dtd/hy-AM.po, build/i18n/po/multiclass_search_help.html/hy-AM.po, build/i18n/po/offline.properties/hy-AM.po, build/i18n/po/opac.dtd/hy-AM.po, build/i18n/po/opac.js/hy-AM.po, build/i18n/po/patron.properties/hy-AM.po, build/i18n/po/pickup_and_return.js/hy-AM.po, build/i18n/po/pull_list.js/hy-AM.po, build/i18n/po/register.js/hy-AM.po, build/i18n/po/reports.dtd/hy-AM.po, build/i18n/po/reports.js/hy-AM.po, build/i18n/po/reservation.js/hy-AM.po, build/i18n/po/selfcheck.js/hy-AM.po, build/i18n/po/vandelay.dtd/hy-AM.po: i18n: Merge hy-AM translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/cs-CZ.po, build/i18n/po/TranslatorPopup.js/cs-CZ.po, build/i18n/po/User.js/cs-CZ.po, build/i18n/po/XULTermLoader.js/cs-CZ.po, build/i18n/po/acq.js/cs-CZ.po, build/i18n/po/admin.properties/cs-CZ.po, build/i18n/po/auth.properties/cs-CZ.po, build/i18n/po/capture.js/cs-CZ.po, build/i18n/po/cat.properties/cs-CZ.po, build/i18n/po/circ.properties/cs-CZ.po, build/i18n/po/common.properties/cs-CZ.po, build/i18n/po/conify.dtd/cs-CZ.po, build/i18n/po/conify.js/cs-CZ.po, build/i18n/po/db.seed/cs-CZ.po, build/i18n/po/fm_IDL.dtd/cs-CZ.po, build/i18n/po/ils_events.xml/cs-CZ.po, build/i18n/po/lang.dtd/cs-CZ.po, build/i18n/po/multiclass_search_help.html/cs-CZ.po, build/i18n/po/offline.properties/cs-CZ.po, build/i18n/po/opac.dtd/cs-CZ.po, build/i18n/po/opac.js/cs-CZ.po, build/i18n/po/patron.properties/cs-CZ.po, build/i18n/po/pickup_and_return.js/cs-CZ.po, build/i18n/po/pull_list.js/cs-CZ.po, build/i18n/po/register.js/cs-CZ.po, build/i18n/po/reports.dtd/cs-CZ.po, build/i18n/po/reports.js/cs-CZ.po, build/i18n/po/reservation.js/cs-CZ.po, build/i18n/po/selfcheck.js/cs-CZ.po, build/i18n/po/vandelay.dtd/cs-CZ.po: i18n: Merge cs-CZ translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/es-ES.po, build/i18n/po/TranslatorPopup.js/es-ES.po, build/i18n/po/User.js/es-ES.po, build/i18n/po/XULTermLoader.js/es-ES.po, build/i18n/po/acq.js/es-ES.po, build/i18n/po/admin.properties/es-ES.po, build/i18n/po/auth.properties/es-ES.po, build/i18n/po/capture.js/es-ES.po, build/i18n/po/cat.properties/es-ES.po, build/i18n/po/circ.properties/es-ES.po, build/i18n/po/common.properties/es-ES.po, build/i18n/po/conify.dtd/es-ES.po, build/i18n/po/conify.js/es-ES.po, build/i18n/po/db.seed/es-ES.po, build/i18n/po/fm_IDL.dtd/es-ES.po, build/i18n/po/ils_events.xml/es-ES.po, build/i18n/po/lang.dtd/es-ES.po, build/i18n/po/multiclass_search_help.html/es-ES.po, build/i18n/po/offline.properties/es-ES.po, build/i18n/po/opac.dtd/es-ES.po, build/i18n/po/opac.js/es-ES.po, build/i18n/po/patron.properties/es-ES.po, build/i18n/po/pickup_and_return.js/es-ES.po, build/i18n/po/pull_list.js/es-ES.po, build/i18n/po/register.js/es-ES.po, build/i18n/po/reports.dtd/es-ES.po, build/i18n/po/reports.js/es-ES.po, build/i18n/po/reservation.js/es-ES.po, build/i18n/po/selfcheck.js/es-ES.po, build/i18n/po/vandelay.dtd/es-ES.po: i18n: Merge es-ES translation from Launchpad Signed-off-by: Dan Scott 2011-09-29 Dan Scott * build/i18n/po/AutoFieldWidget.js/fr-CA.po, build/i18n/po/TranslatorPopup.js/fr-CA.po, build/i18n/po/User.js/fr-CA.po, build/i18n/po/XULTermLoader.js/fr-CA.po, build/i18n/po/acq.js/fr-CA.po, build/i18n/po/admin.properties/fr-CA.po, build/i18n/po/auth.properties/fr-CA.po, build/i18n/po/capture.js/fr-CA.po, build/i18n/po/cat.properties/fr-CA.po, build/i18n/po/circ.properties/fr-CA.po, build/i18n/po/common.properties/fr-CA.po, build/i18n/po/conify.dtd/fr-CA.po, build/i18n/po/conify.js/fr-CA.po, build/i18n/po/db.seed/fr-CA.po, build/i18n/po/fm_IDL.dtd/fr-CA.po, build/i18n/po/ils_events.xml/fr-CA.po, build/i18n/po/lang.dtd/fr-CA.po, build/i18n/po/multiclass_search_help.html/fr-CA.po, build/i18n/po/offline.properties/fr-CA.po, build/i18n/po/opac.dtd/fr-CA.po, build/i18n/po/opac.js/fr-CA.po, build/i18n/po/patron.properties/fr-CA.po, build/i18n/po/pickup_and_return.js/fr-CA.po, build/i18n/po/pull_list.js/fr-CA.po, build/i18n/po/register.js/fr-CA.po, build/i18n/po/reports.dtd/fr-CA.po, build/i18n/po/reports.js/fr-CA.po, build/i18n/po/reservation.js/fr-CA.po, build/i18n/po/selfcheck.js/fr-CA.po, build/i18n/po/vandelay.dtd/fr-CA.po: i18n: Merge fr-CA translation from Launchpad Signed-off-by: Dan Scott 2011-09-16 Liam Whalen * Open-ILS/xul/staff_client/server/cat/spine_labels.js: Modified spine_labels.js to retain UTF-8 encoding Dan Wells posted a fix to the DEV list for receipt printing that allowed the receipt printer to print UTF-8 characters. I used the ideas in that fix to modify spine_labels.js. In spine_labels.js, the url passed to the preview in preview_xul_192 was encoding the url with the javascript encode() function. This function does not preserve UTF-8 encodings. I changed the function to encodeURIComponent, and UTF-8 characters are now displayed properly by the spine label printer code. Signed-off-by: Liam Whalen Signed-off-by: Dan Scott 2011-09-29 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm: Added missing Penalty module import for AssetCommon The lack of import primarily affected the Action/Trigger MarkItemLost reactor, which does not already import OpenILS::Utils::Penalty directly or indirectly. Signed-off-by: Bill Erickson 2011-09-28 Dan Scott * Open-ILS/examples/apache/eg.conf, README: Remove an installation step: Listen 443 uncommenting Every distribution known to man ships Apache listening on port 443, so installers always have to comment out the "Listen 443" directive - so why not just comment it out ourselves and save a step in the installation instructions? Also, merge Apache configuration instructions from master. Signed-off-by: Dan Scott 2011-09-28 Michael Peters * Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2: A slight modification to prevent clipping in the EDI Accounts interface Just a few tweaks via CSS to make sure the footer notes don't clip off part of the main grid. Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2011-09-28 Mike Rylander * Open-ILS/src/reporter/clark-kent.pl: Provide proper hrefs for links back from report debugging pages Reimplementation of a fix provided by Michael Peters. The originally submitted patch included several fixes provided by an unrelated patch, and a regression in build-time embedded tokens. Original branch at: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mrpeters-isl/clark_kent_back_links Signed-off-by: Mike Rylander 2011-09-22 Dan Scott * Open-ILS/src/reporter/clark-kent.pl: LP856567: Mark HTML report output as Unicode-encoded Non-ASCII characters in report ouput that has been generated in HTML format appears to be corrupted when viewed in a browser. This can be manually corrected by switching the "Encoding" browser option, but it would be better to include in the output HTML to tell the browser directly. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-09-27 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm: MFHD compression fails with pattern-less captions The current code assumes that if you try to compress a range of MFHD holdings, you actually have the necessary pattern information. This commit introduces a very basic check to avoid the most common failure case. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2011-09-23 Dan Scott * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: LP857460: Get the generic class scheme when adding vols In a default Evergreen instance, in the "Add Volumes" interface for a bib record with both LC and Dewey call numbers, the list of call numbers from which you can select appears to be limited to Dewey, even though the "Bib Call #" field is populated with an LC call number. The problem is that here we're grabbing the first entry from the asset.call_number_classification table, and you might expect that to be the "Generic" entry - however, it turns out to be the "Dewey" entry because the entries are ordered alphabetically by .name(), not by database ID. (You can test this be changing the name of "Dewey" to "Vicious" and see that the "Generic" entry is chosen instead). This commit changes the process to first search the acnc array for a name() = "Generic"; and then if we don't find that, fall back to the first entry in the classification scheme. Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2011-09-26 Mike Rylander * Open-ILS/src/sql/Pg/upgrade/0629.data.jedi-template.sql: 2.1-ish upgrade script preamble Signed-off-by: Mike Rylander 2011-09-26 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0629.data.jedi-template.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.jedi-template.sql: Stamping upgrade script for EDI cleanup Signed-off-by: Mike Rylander 2011-09-19 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.jedi-template.sql, Open-ILS/src/support-scripts/edi_pusher.pl: Some EDI translation fixes for troublesome input characters This attempts to address enough of the issues in https://bugs.launchpad.net/evergreen/+bug/812593 to move forward. When the ? character appears in lineitem attributes for a PO that we send off for EDI translation, the translator fails if that ? is the last character of the string. This commit avoids that situation. This commit also removes any Unicode characters from the JEDI (the input to the translator process), as they're not going to make it to the EDIFACT output anyhow, and will just confound the translator. This commit also pre-escapes quotation marks in lineitem attributes so that we don't produce invalid JSON for our JEDI. This commit also destroys the death star. Seriously, the right way to fix some of the issues people have had is for somebody to learn Ruby and to address them either in edi_webrick.rb, in edi4r, or in openils-mapper (wherever the issues may be). Working on that. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2011-09-25 Galen Charlton * Open-ILS/src/support-scripts/marc_stream_importer.pl: lp859190: make marc_stream_import always import non-matches Fixes regression of (implicit, undocumented) functionality introduced in commit da3a45344205. Current use case for the streaming MARC importer for OCLC Connexion exports assumes that non-matching records should always be added. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson 2011-09-21 Jeff Godin * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/patron/bill2.js, Open-ILS/xul/staff_client/server/patron/bill_history.js: Fix: Current Bills thinks it is Bill History This fixes LP 855894: Bills interface calls itself Bill History, uses bills_historical receipt template https://bugs.launchpad.net/evergreen/+bug/855894 At some point in development, the Current Bills and the Bill History interface were in a unified file, with an xul_param of "current" used to switch between the two. Nothing currently sets the xul_param "current", so the Current Bills interface (bill2.xul and bill2.js) was improperly: * not hiding the xact_finish column * using a caption label of "Bill History" * using the bills_historical receipt template The Bill History interface was okay -- "not current" was the default. This commit removes the tests for xul_param('current') and uses the appropriate code for each interface. // this code in both bill2.js and bill_history.js: var template = 'bills_historical'; if (xul_param('current')) template = 'bills_current'; // becomes: var template = 'bills_current'; // in bill2.js var template = 'bills_historical'; // in bill_history.js Also: added missing staff.patron.bill_interface.caption.label entity Signed-off-by: Jeff Godin Signed-off-by: Jason Etheridge 2011-09-20 Jeff Godin * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/main/data.xul, Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul, Open-ILS/xul/staff_client/server/patron/bills.js, Open-ILS/xul/staff_client/server/patron/bills.xul, Open-ILS/xul/staff_client/server/patron/bills_overlay.xul: Remove the old bills interface. Remove the old bills interface and references to it. see https://bugs.launchpad.net/evergreen/+bug/854951 Also remove the XUL_PATRON_BILL_ALTERNATE_VIEW constant and the bills_main_view receipt template, as they were only referenced in bills.js. The bills_main_view template will still persist in existing workstation configurations until such time as we have code to remove unused templates. I made no effort to remove strings which may have only been used by the old bills interface. Signed-off-by: Jeff Godin Signed-off-by: Jason Etheridge 2011-09-22 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/upgrade/0628.schema.acq_fund_view_repairs.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.schema.acq_lp800477: Stamped upgrade script for ACQ fund view repairs At the heart of this change is the need to force acq.fund_debit_total to return exactly 1 row per fund, instead of 1 per fund + encumbrance value. However, such a change required rearranging a number of dependent views. Also added acq.fund_spent_balance to the set of views that needs dropping and re-building. Minor SQL format change to match surrounding code in schema file See also https://bugs.launchpad.net/evergreen/+bug/800477 Signed-off-by: Bill Erickson 2011-09-19 James Fournie * Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.schema.acq_lp800477: Addresses LP#800477 where some acq views calculate the totals incorrectly or in unexpected ways. Signed-off-by: James Fournie Signed-off-by: Bill Erickson 2011-09-22 Jason Etheridge * Open-ILS/xul/staff_client/server/admin/work_log.js: Fix broken Work Log UI Missed a map_row_to_columns when I was ripping those out in c9c05ce8e179d7a9d4325ac1f429e91fcfe7c9a0 Signed-off-by: Jason Etheridge 2011-09-21 Jason Etheridge * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version Signed-off-by: Jason Etheridge 2011-09-21 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/main/bindings.xml: properties in chrome:// return XHR status 0 Signed-off-by: Jason Etheridge 2011-09-20 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/main/bindings.xml: LP#854760 messagecat fails with certain 404 pages We were failing to check the HTTP status on the underlying XHR requests. Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2011-09-16 Dan Scott * Open-ILS/src/templates/password-reset/request-form.tt2: Can't have two identical IDs on the same page Nobody who cares about the pure Web experience ever noticed that this page has two identical IDs. Chromium and other browsers complain, though, so make them happy. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-09-20 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/holds.js: fix Show in Catalog for part holds Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2011-08-25 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Clear hold shelf [expire] time at checkout to alternate patron When an item on the holds shelf is checked out to an alternate patron (i.e. not the hold user), clear the shelf_time and shelf_expire_time along with capture_time, current_copy, etc. on the hold. tsbere++ for isolating the problem. Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge 2011-09-16 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0624.data.fix_marc_conf_cont.sql: 2.1-ish backport of 1725fef40b6d09a57355eb750cf206960b93d1a6 Signed-off-by: Mike Rylander 2011-09-16 Galen Charlton * Open-ILS/examples/apache/eg.conf, Open-ILS/tests/datasets/README: lp 851915: remove last references to /openils/lib/perl5 Signed-off-by: Galen Charlton 2011-09-16 Dan Scott * Open-ILS/examples/apache/startup.pl, Open-ILS/src/extras/import/direct_ingest.pl, Open-ILS/src/extras/import/direct_loader.pl, Open-ILS/src/extras/import/pg_loader.pl, Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm: LP 851915: Remove references to /openils/lib/perl5 To prevent old versions of the OpenSRF and Evergreen Perl modules from conflicting with the new versions of these modules (which are now located in the default system Perl package directories), remove references to them. Also, O:W:AddedContent contains an old reference to a distro-specific Perl directory that we can clean up at the same time. Signed-off-by: Dan Scott Signed-off-by: Galen Charlton 2011-09-15 Mike Rylander * Open-ILS/xul/staff_client/server/cat/marcedit.js: Set ind2 to the value of indicicator 2 supplied by the user, not ind1 Signed-off-by: Mike Rylander 2011-09-14 Galen Charlton * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: lp834961: fix authoritative versions of callnumber retrieval calls Makes open-ils.search.callnumber[.fleshed].retrieve.authoritative actually be authoritative. Fixes bug where adding a volume could result in a false ASSET_CALL_NUMBER_NOT_FOUND error if using database replication and Slony-II. Signed-off-by: Galen Charlton Signed-off-by: Lebbeous Fogle-Weekley 2011-09-13 Mike Rylander * Open-ILS/xul/staff_client/server/cat/marcedit.js, Open-ILS/xul/staff_client/server/cat/marcedit.xul: Provide a default value for, and explicitly change, the record type so the type dropdown works as intended Signed-off-by: Mike Rylander 2011-09-07 Dan Scott * Open-ILS/src/extras/Makefile.install: Display warning message and prompt before PostgreSQL removal Building on the good work in LP# 801624, use the -P "prompt" flag instead of -yq for apt(itude) to ensure that the user has the ability to quit the dependency install and reevaluate whether they want to actually destroy their existing PostgreSQL databases. Note that this is specifically in the context of the removal of the database packages, rather than a global change. Also, turn the inline comment into a displayed description of what is happening and why, along with a nice big warning. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-08-19 Jason Etheridge * Open-ILS/src/extras/Makefile.install: conditional remove of libpq5 libpq-dev in Makefile In Makefile.install for the install_pgsql_client_debs_90 target. Only do it if version 8 of libpq-dev is installed. Signed-off-by: Jason Etheridge Signed-off-by: Dan Scott 2011-09-09 Thomas Berezansky * Open-ILS/src/support-scripts/eg_db_config.pl: When checking postgresql version use postgres db Otherwise we may get an error instead of a version number. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-09-08 Thomas Berezansky * Open-ILS/src/sql/Pg/000.english.pg91.fts-config.sql, Open-ILS/src/sql/Pg/create_database_9_1.sql, Open-ILS/src/support-scripts/eg_db_config.pl: Take a stab at 9.1 support Second create database SQL to deal with CREATE EXTENSION instead of contrib files. Check create DB steps for errors. If any found, die. This should cover "could not load file" from pre-9.1 as well. Also copied the 9.0 fts-config as 9.1 to avoid that warning during database load. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-08-26 Thomas Berezansky * Open-ILS/src/support-scripts/eg_db_config.pl: Correct pg_config failure in eg_db_config.pl Missing a =s in getopts config means it becomes a 0 or 1, when it should be a string. The problem only occurs when you are specifying a particular postgresql pg_config file (for example, if you have multiple versions of postgresql installed). Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-08-18 Thomas Berezansky * Open-ILS/src/sql/Pg/create_database.sql, Open-ILS/src/support-scripts/eg_db_config.pl: Add --create-database option to eg_db_config.pl Uses create_database.sql and superuser rights to do all database creation steps other than making a usable superuser account to begin with. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-09-10 Dan Scott * Open-ILS/src/extras/Makefile.install, README: Remove references to Fedora 13 and 14 Fedora 13 has not been supported for months, Fedora 14 is about to lose support. Simplifies README and prereq installer a bit. Signed-off-by: Dan Scott 2011-09-10 Dan Scott * Open-ILS/src/extras/Makefile.install: Refresh dynamic link cache after libjs install The build of SpiderMonkey can fail if it can't find the freshly installed libjs library, so run ldconfig after building libjs to avoid that bit o' fun. Signed-off-by: Dan Scott 2011-09-10 Dan Scott * Open-ILS/src/extras/Makefile.install: Fix prerequisite install on Fedora 15 The postgresql package shipped in Fedora proper is just called 'postgresql-devel', so get that right. Also, try to put 64-bit libraries in the right directory. Signed-off-by: Dan Scott 2011-09-09 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/upgrade/0620.schema.penalty_fixes.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.penalty_fixes.sql: Stamping upgrade for standing penalty fixes, and updating 2.0-2.1 upgrade script to match Signed-off-by: Mike Rylander 2011-09-09 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/Penalty.pm, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.penalty_fixes.sql: Fix some standing penalty issues Circulations were using the circ matchpoint org unit for blocking. That could, depending on the matchpoint that matched, result in staff not being able to see the penalty that is being blocked for. In addition, blocking is done based on the full path, not ancestors. But, backend functions only used ancestors. Changed them to use the full_path variant instead. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-09-09 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/util/print.js: Fix dos_print when NSPrint interface is used By adding params.dos_print = true where needed. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-09-08 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm: Calculate penalties when marking items lost For example, if you a max fines threshold of $10, and a lost processing fee of $50, currently if you mark an item lost (or an item ages to lost) and a patron gets billed that $50, they won't automatically have the max fines penalty. This change calculates such penalties at the time a copy is marked and lost and money is juggled, within the same transaction. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-09-07 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/AstCa ll.pm: A/T reactor 'AstCall' can't have global CStoreEditor It's not good for any Evergreen service to try to have a global cstoreeditor instance. Scope it to the handler() sub that needs it, and comment out the thus-far unused/unfinished retrieve() sub. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2011-09-07 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: Fix unified interface w/ editing multiple volumes Breakage if editing existing items across volumes with non-default values for call number class, prefix, or suffix. This was due to some logic happening within a loop that was sadly referencing data that changed out from under it with every loop iteration (so for example, we were effectively referencing the last rendered class menu instead of each in turn). Remember folks: for (var unsafe = 0; unsafe < 10; unsafe++) { setTimeout( function(safe) { return function() { do_something_with(safe); // good do_something_with(unsafe); // bad }; }(unsafe), 1000 ); } Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2011-09-07 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: LP#838311 acn_id = undefined error in vol/copy ui Fixes race condition between multiple event listeners on drop-down menus. Bug happened most often when batch applying values across multiple volumes and then hitting save/create/update. Resolved conflict: Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2011-09-07 Thomas Berezansky * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Remove "fallback to old style" UPDATE perm The middle layer no longer supports the UPDATE_ORG_UNIT_SETTING. + name form of editing permissions. Don't use it as a fallback. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-08-30 Thomas Berezansky * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Library Settings Editor: Use real perms When update_perm exists use that permission, instead of a permission based solely on the name of the permission. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-09-07 Mike Rylander * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: Make sure that title and author sorting data is available after a 2.0-2.1 upgrade Signed-off-by: Mike Rylander 2011-08-30 Jason Stephenson * Open-ILS/examples/oils_sip.xml.example, Open-ILS/src/Makefile.am: Fix for LP bug #702422. Add @libdir@/javascript/ path in legacy script section of oils_sip.xml.example so that legacy scripts work with SIP2. Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-08-31 James Fournie * Open-ILS/web/js/ui/default/conify/global/acq/provider.js, Open-ILS/web/templates/default/conify/global/acq/provider.tt2: Adding org unit context selector to providers screen This helps alleviate the bug reported in LP 731510 and generally improves usability. Signed-off-by: James Fournie Signed-off-by: Mike Rylander 2011-09-06 Dan Wells * Open-ILS/src/extras/org_tree_js.pl: Clear org_unit cache fix for autogen.sh autogen.sh is not properly clearing the org_tree cache. It is unclear how this hasn't caused a problem before, but this fix works for me and should be at least harmless in other enviroments. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2011-09-06 Mike Rylander * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: Update 2.0-2.1 upgrade script to work from 2.0.9 Signed-off-by: Mike Rylander 2011-09-06 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrom e.xul, Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_offli ne.xul: Pull in custom.js with offline/chrome overlays Or at least try to. Main goal here is for browser.xul to see url constant changes from custom.js and feed them to embedded Acquisition interfaces via xulG.urls Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-09-06 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Repaired field name thinko for config.record_attr_index_norm_map Signed-off-by: Bill Erickson 2011-09-01 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Hourly fine periods do not charge enough Hourly fine periods are not charging for the first period of overdue-ness. If an item is due at 2:00pm and has a fine of $.50 per hour, the first fine should be eligible for generation at 2:01pm. As it stands, the first fine does not generate until an entire fine period has elapsed, so in this case, 3:00pm. The previous version of the code had a special case for day- granular fine periods, so a majority of fines were not affected. This commit expands the same idea (charging for the fine period you are currently "in") to all fine periods. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2011-09-02 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0614.schema.cache_visibility_and_peer_r ecords.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.cache_visibility_and_peer_r ecords.sql: Stamping upgrade script for LP#837566 Signed-off-by: Mike Rylander 2011-09-02 Jason Etheridge * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.cache_visibility_and_peer_r ecords.sql: LP#837566 undeleting a bib record causes an error fixes a column reference Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2011-09-01 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: fix Acq -> Update Barcodes post-parts Items from acquisitions were having null instead of [] for .parts() Signed-off-by: Jason Etheridge 2011-09-01 Jason Etheridge * Open-ILS/xul/staff_client/server/admin/printer_settings.js: LP#838969 Silent print cannot be unselected Thanks Bill! Signed-off-by: Jason Etheridge 2011-08-10 Michael Peters * Open-ILS/xul/staff_client/server/patron/info_notes.xul: LP#824257 Fix nasty overlapping when patron has more than 6 notes Signed-off-by: Michael Peters Signed-off-by: Jason Etheridge 2011-08-25 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Push phrases down to be subqueries, so they can be ORed together Signed-off-by: Mike Rylander Signed-off-by: Lebbeous Fogle-Weekley 2011-08-24 Mike Rylander * Open-ILS/src/extras/Makefile.install: Correct make target for lucid Signed-off-by: Mike Rylander 2011-08-24 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Protect against div-by-0 for negated words Signed-off-by: Mike Rylander Signed-off-by: Thomas Berezansky 2011-08-24 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Track count of dummy atoms and use a NULL tsquery when all dummy Signed-off-by: Mike Rylander Signed-off-by: Thomas Berezansky 2011-08-24 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Use unphrases in SQL generation Signed-off-by: Mike Rylander Signed-off-by: Thomas Berezansky 2011-08-24 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: add "unphrases" to capture negated phrases ( -"foo bar" ) and make the negator configurable Signed-off-by: Mike Rylander Signed-off-by: Thomas Berezansky 2011-08-23 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Ignore empty atoms in query decomposition Signed-off-by: Mike Rylander Signed-off-by: Thomas Berezansky 2011-08-23 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0607.schema.oua_force_order.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.oua_force_order.sql: 2.[01]-stamped upgrade script for LP#816131 Signed-off-by: Mike Rylander 2011-08-22 Thomas Berezansky * Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.oua_force_order.sql: Reverse direction of org_unit_ancestors Apparently callers expect it to start at the top of the org tree. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-08-11 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/XXXX.oua_force_order.sql: Unwrapped upgrade script for oua_force_order Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-08-11 Thomas Berezansky * Open-ILS/src/sql/Pg/020.schema.functions.sql: New version of actor.org_unit_ancestors Preserves order through joins Basically actor.org_unit_ancestors_distance with a join to get the entire org units, rather than just IDs and a distance. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-08-11 Liam Whalen * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Fixed seaching for a colon (:) surrounded by white space When searching for a colon surrounded by white space the search would freeze. An example of such a search would be: Climate change economics and policy : an RFF anthology This was happening because the decompose function within QueryParser.pm Would build a regular expression that would search the query for both classes and class aliases e.g (keyword and kw). However, when buliding the regex for aliases QueryParser would add extraneous or symbols (|) to the end of the regex without adding the accompanying alias. This was happening because there was a check to see if the corresponding class to each alias had already been added to the regex. But, the check to see if the alias had already been appened to the regex happened too late. I have moved the check to encopase the appending of the or symbols and the class. Signed-off-by: Liam Whalen Signed-off-by: Mike Rylander 2011-08-09 Jason Stephenson * Open-ILS/src/extras/Makefile.install: Branchify patch for LP bug #802523 for rel_2_1. Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-08-19 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: Fix penalty generation during billing creation by passing the editor object referencing the database transaction to xact_org Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2011-08-22 Mike Rylander * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: Further upgrade script cleanup: address hold matrix DDL/DML ordering; use code instead of id for permission addition; include recent updates for lasso visiblity Signed-off-by: Mike Rylander 2011-08-22 Lebbeous Fogle-Weekley * Open-ILS/web/opac/skin/default/js/holds.js: Display only available formats for metarecord holds in IE The OPAC's usual hideMe()/unHideMe() tricks don't work for