2012-05-14 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0711.schema.reingest_avoid_collision_be tter.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Avoid collisions of normalized values going into metabib.browse_entry This fixes a bug that prevented successful reingestion of bib records during the 2.1->2.2 upgrade in some cases. Reported by George Duimovich. Key part here: > ERROR: duplicate key value violates unique constraint > "browse_entry_value_key" > DETAIL: Key (value)=(545575) already exists. > CONTEXT: SQL statement "INSERT INTO metabib.browse_entry (value) VALUES > (metabib.browse_normalize(ind_data.value, George confirmed that the changes to the version upgrade script fixed the problem for him. Signed-off-by: Lebbeous Fogle-Weekley 2012-05-11 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0710.schema.stricter-could-be-holding-c ode.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Be more prepared for malformed serial holding code data in upgrade scripts Signed-off-by: Lebbeous Fogle-Weekley 2012-05-11 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Move PLPERL dropping outside of 2.1-2.2 upgrade transaction Sites might have added custom PLPERL database functions for migrations, data clean up, etc, so don't make the success of the 2.1-2.2 upgrade hinge on a database schema that exactly matches vanilla Evergreen; just move it outside of the upgrade transaction and output a reassuring note. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-18 Thomas Berezansky * Open-ILS/examples/fm_IDL.xml: Add missing weights fm_IDL entries Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-05-10 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: In the 2.1-2.2 upgrade script, move 0691 into a failures-are-ok zone Mainly because it's already covered in the 2.1.1-2.1.2 upgrade script. Thanks to George Duimovich for pointing this out in LP #997759. Signed-off-by: Lebbeous Fogle-Weekley 2012-05-10 Thomas Berezansky * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Version Upgrade Cleanup Merge tacked on transactions into the "primary" transaction. Add in 0708 for tracking purposes. Separate 0672 and 0679+0680 in the version-to-version upgrade script They're all potentially slow. Signed-off-by: Lebbeous Fogle-Weekley 2012-05-04 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: Check if transaction needs closing after adding billings This addresses the issue where issuing refunds results in a negative ballance and it is then impossible to close the transaction by creating new billings. https://bugs.launchpad.net/evergreen/+bug/758982 Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-05-07 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Nearest Hold: Look at 100 instead of 10 holds At the suggestion of Mike Rylander. Because DB-wise the extra 90 IDs isn't a big deal, and this way we get more chances to capture (or block renewal, etc). Jeff Godin claims they have done this and it has produced no issues for them. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-05-07 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Hold Capture: Run permit tests on "old" holds Because we shouldn't be trusting that the copies are still valid. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-05-07 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Hold Editing: Retarget on some changes The main thing to cover is pickup library, but check a few other things too. Note that most of what is being checked likely doesn't change in any normal workflows or interfaces, but it looks like they could anyway later. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-05-07 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Hold Targeter: Ensure old best still valid Re-using a now invalid copy is a bad idea for various reasons. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-04-13 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js: Default email/phone hold pickup in TPac Like JSPac does, but currently without the check of having phone/email. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-05-09 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Retarget Local Holds: Use part ID properly Because the mapping ID is meaningless unless you only create one part at a time, assign them only once in the order you created them, etc. Which I think pretty much describes most of my original test cycle. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-05-08 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/searchbar.tt2: TPAC: Keep site() and depth() out of basic search box when widgets suffice This is a short term but working solution to the problem described here: https://bugs.launchpad.net/evergreen/+bug/986196 Now when you have a selection for site on the advanced search page, it doesn't lead to redundant site() and depth() terms in your basic search query box. Item type selections and search class selections (keyword/author/etc) can still lead to ugliness in the advanced search box, but that's because in the advanced search page you get a multi-select widget for item type and in a basic search page you only get a single-select dropdown, so there's not a clean way to map your advanced page selections to basic page selections. Search classes are kind of the same issue, since you have three dropdowns on the advanced search page and one on the basic. So the "bigger" problem is one that we will have to solve later, but for the common case at least we don't get the extra site() and depth() for now. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Ben Shum 2012-05-07 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Fix hold has copy at lookup Filter on available or reshelving, and add more hold type support for lookup purposes (parts and issuance holds). Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-05-04 Bill Erickson * 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/0709.data.misc_missing_perms.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Adding a small pile of missing permissions ADMIN_ADDRESS_ALERT VIEW_ADDRESS_ALERT ADMIN_COPY_LOCATION_GROUP ADMIN_USER_ACTIVITY_TYPE Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2012-05-04 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/js.tt2: TPAC: repair staff client End link for showing last record In the embedded TPAC, when staff clicks the End link in the record detail page to jump to the last record in the search results, it now makes an intermediate jump through search code, which locates the last record in the set (via CGI param find_last) then redirects to the record detail page for the last record. With this approach, we don't have to pre-fetch the entire set of record IDs just to render the paging links. Tip o' the hat to Mike R. for the design suggestion. https://bugs.launchpad.net/evergreen/+bug/984070 Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-04-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/record/body.tt2: TPAC: more intelligent detail paging #1 Only fetch a small page of records at a time when generating the paging links in the detail page. Part 2 will be to repair the 'Last' record button in the staff client, which will not work with this change. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-05-09 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: TPac: Barcodes default to starting with digits Because otherwise there is likely to be a lot of confusion when barcodes no longer work, at all, for login when groups have no barcode regex. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-04-28 Bradley M. Kuhn * .gitignore, HACKING: Consensus was reached to remove editor-specific globs from .gitignore. In a highly overengineered discussion out of scope with the actual breadth of this very minor issue, everyone has come to the conclusion that editor-specific globs don't really belong in the project's .gitignore, given that git permits a global-level ignore file for users. Instead, a HACKING file is herein added, with its first entry to explain how developers can set the own global gitignore. Signed-off-by: Bradley M. Kuhn Signed-off-by: Dan Scott 2012-04-18 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/AutoSuggestStore.js: AutoSuggest: Escape ampersands properly This fixes an issue reported by Yamil Suarez. If you had relatively technical users composing searches with QueryParser syntax, or if they were just typing ampersands for any other reason, AutoSuggest would behave as if the ampersand marked the end of user input. This is fixed by applying the correct URI-encoding function for the situation. To be clear, QueryParser syntax does not actually affect suggestions; such syntax is ignored. AutoSuggest is not search. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2012-05-08 Steven Callender * Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm: lp996776: Patch to fix the response if no configured status is detected. SIP response messages that use circulation_status where defaulting to just 1 rather than 01 if the status was not detected. Since SIP needs a 2 character response, this was causing issues in some 3rd party devices. Added quoting around the 01 to force the 2 characters. Signed-off-by: Steven Callender Signed-off-by: Galen Charlton 2012-03-30 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/xul/staff_client/server/patron/holds.js: Stop saving patron barcode in cookies This causes bad interactions between patron windows and normal catalog windows. Examples: Load a patron, load place hold catalog in patron window. Future loads of non-patron catalogs will default to this patron. Load Patron A from written note, and open Place Hold catalog. Start searching for the item Patron A wants. Get interupted by Patron B calling. Load Patron B, and open Place Hold catalog. Search, place a hold for Patron B. Return to Patron A, find item, go to place hold. Find Patron B's barcode populated. Instead, teach the staff javascript, that already knows how to load hold preferences, how to grab the barcode from xulG. This barcode should be specific to the patron window the catalog is embedded in, and won't 'leak' to other catalog interfaces. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-05-08 Dan Scott * Open-ILS/src/extras/Makefile.install: Roll back libjs version to 1.7.0 The install version of libjs (Spidermonkey) had been bumped to the latest, 1.8.5, but it turned out that the tests for that had probably been run on a system that had an old version of libjs source and/or installed headers/libraries in place, as building libjs 1.8.5 is a different beast entirely (different directory structure, etc). In addition, there are several bugs along the lines of https://rt.cpan.org/Public/Bug/Display.html?id=75058 that strongly suggest that libjs-1.8.5 is not compatible with the JavaScript::SpiderMonkey 0.21 Perl module. Therefore, roll back to the tried-and-true libjs 1.7.0. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-05-07 James Fournie * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: We can't assume that 0526 was in fact run previously so we need to drop these more safely to avoid producing an error if 0526 wasn't run previously Signed-off-by: James Fournie Signed-off-by: Lebbeous Fogle-Weekley 2012-05-08 Galen Charlton * Open-ILS/src/templates/circ/selfcheck/payment.tt2: fix typo in CC payment form Signed-off-by: Galen Charlton 2012-05-07 James Fournie * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Upgrade 0704 was missing from the 2.1-2.2 upgrade script. That upgrade added a parameter to search.query_parser_fts, without it, Evergreen passes 11 parameters to the database but the searches fail because there's only a 10 parameter function in the database. Signed-off-by: James Fournie Signed-off-by: Lebbeous Fogle-Weekley 2012-05-04 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0708.data.fix_inheritied_typo.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix_inheritied_typo.sql: Stamping upgrade for 'inheritied' typo repair Signed-off-by: Bill Erickson 2012-05-04 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix_inheritied_typo.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql, Open-ILS/src/templates/opac/parts/org_selector.tt2: Fix "inheritied" typo in global flag Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-05-04 Dan Scott * Open-ILS/src/templates/opac/myopac/main_payment_form.tt2, build/i18n/po/tpac/tpac.pot: Fix typo in TPAC noticed by Warren Layton Expiration needs to be spelled correctly; Warren Layton pointed out the typo while working on a translation of the derived tpac.pot file. Many thanks, Warren! Signed-off-by: Dan Scott 2012-05-04 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Add missing upgrade scripts 0705, 0707 to point-to-point upgrade script These come from bugfixes I pushed to master and rel_2_2 on 28 April 2012 without remembering to address the point-to-point version upgrade script. See c208754eafadb005439800f7fedd33241fca7b65 (LP #980199) and 89438b46fc39270ac3d47345cd99caacf6b6dee1 (LP #919279). Signed-off-by: Lebbeous Fogle-Weekley 2012-04-09 Dan Scott * Open-ILS/src/extras/Makefile.install: Prereqs: Remove Ubuntu Hardy references We no longer support Ubuntu Hardy 8.04, so ditch any references to it in the prerequisite installer. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-09 Dan Scott * Open-ILS/src/extras/Makefile.install: Prereqs: update to latest available versions * JavaScript-SpiderMonkey: from 0.20 to 0.21 * libjs: from 1.7.0 to 185-1.0.0 * yaz: from 4.2.17 to 4.2.32 Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-09 Dan Scott * Open-ILS/src/extras/Makefile.install: Prereqs: Remove references to CentOS / RHEL The prereqs were focused on the 5.x series for CentOS and RHEL, which is hella-out-of-date and never really worked anyway. Get rid of the noise to focus on the signal. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-25 Dan Wells * Open-ILS/xul/staff_client/server/serial/manage_dists.js, Open-ILS/xul/staff_client/server/serial/manage_items.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js, Open-ILS/xul/staff_client/server/serial/ssub_editor.js: Allow subscriptions at org units without volumes Subscriptions are sometimes owned at the consortium or system level, so forcing can_have_vols() to be true was incorrect. This commit removes those checks. In addition, we also remove some dead code and make the subscription org unit selector consistent with the distribution org unit selector. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-05-03 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.1.1-2.1.2-upgrade-db.sql: Add indexes to 2.1.2 upgrade script to speed up acq search Signed-off-by: Dan Scott 2012-03-26 Mike Rylander * Open-ILS/src/sql/Pg/version-upgrade/2.1.1-2.1.2-upgrade-db.sql: Add ISSN fix to the version upgrade script Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2012-05-02 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/admin/offline_manage_xacts.js, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/patron/bill2.js, Open-ILS/xul/staff_client/server/patron/bill_details.js, Open-ILS/xul/staff_client/server/patron/bill_history.js, Open-ILS/xul/staff_client/server/patron/search_result.js, Open-ILS/xul/staff_client/server/patron/standing_penalties.js, Open-ILS/xul/staff_client/server/patron/util.js: Address date sorting in Item Status and Copy Buckets interfaces, too > The sort_value function for the date columns being used in those > interfaces had no error protection, and were returning empty strings > upon failure. Signed-off-by: Jason Etheridge Signed-off-by: Lebbeous Fogle-Weekley 2012-05-02 Lebbeous Fogle-Weekley * Open-ILS/xul/staff_client/chrome/content/util/date.js, Open-ILS/xul/staff_client/server/patron/util.js: Fix date sorting in patron-related XUL interfaces Null time stamps are now converted to dates in the Middle Paleolithic era so they always sort as the lowest date. Seriously, this is the minimum possible date you can express with a JavaScript date object. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Jason Etheridge 2012-04-17 Jeff Godin * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm: Fix LP 984039: correct Syndetic Kirkus Reviews Use correct "filename" component of URL for retrieving Kirkus Reviews content from Syndetic Solutions. Correct filename confirmed by Bowker technical support, and by empirical tests. Signed-off-by: Jeff Godin Signed-off-by: Michael Peters 2012-04-03 Thomas Berezansky * Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/js/myopac.js: Fix some "null" instead of blank values in JSPac Signed-off-by: Thomas Berezansky Signed-off-by: Michael Peters Signed-off-by: Lebbeous Fogle-Weekley 2012-05-01 Dan Scott * docs/RELEASE_NOTES_2_2.txt: Release notes: clean up and introduce TPAC General clean-up of the release notes for consistency and to support PDF output: * Reformat line-widths to 80 characters or less * Mark interface window and element names as bold * Fix up some formatting glitches and headers * Make the "Documentation is available..." note standard & separated by one line; I suspect we will want to modify this globally, so it will be easier if it is consistent. Also, give a brief introduction to the TPAC and mention the forthcoming JSPAC deprecation in the next feature release. Signed-off-by: Dan Scott 2012-05-01 Kathy Lussier * docs/RELEASE_NOTES_2_2.txt: LP992377: More 2.2 release notes from Kathy Lussier Kathy Lussier contributed significant additions to the 2.2 release notes in https://bugs.launchpad.net/bugs/992377 - thanks Kathy! Signed-off-by: Dan Scott 2012-04-30 Galen Charlton * docs/RELEASE_NOTES_2_2.txt: additions to release notes for 2.2 Written by Sally Fortin Signed-off-by: Galen Charlton 2012-03-21 Bill Erickson * Open-ILS/examples/fm_IDL.xml, 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/0707.data.vandelay_perms_etc.sql: Vandelay match set permission additions Allow retrieve access for match points with the VIEW_IMPORT_MATCH_SET permission (in addition to ADMIN_IMPORT_MATCH_SET). Adds 2 new permissions to the database: ADMIN_IMPORT_MATCH_SET VIEW_IMPORT_MATCH_SET From Jason Stephenson resolving conflicts: > Conflicts: > > Open-ILS/src/sql/Pg/950.data.seed-values.sql > > I had to change the ids of the new permissions because another branch > had used one of the ids since this branch was last rebased. I also edited > the ids in the upgrade script to match what is in 950.data.seed-values.sql. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Lebbeous Fogle-Weekley 2012-04-28 Dan Scott * build/i18n/po/XULTermLoader.js/XULTermLoader.js.pot, build/i18n/po/acq.js/acq.js.pot, build/i18n/po/admin.properties/admin.properties.pot, build/i18n/po/authority.js/authority.js.pot, build/i18n/po/capture.js/capture.js.pot, build/i18n/po/cat.properties/cat.properties.pot, build/i18n/po/circ.properties/circ.properties.pot, build/i18n/po/common.properties/common.properties.pot, build/i18n/po/conify.dtd/conify.dtd.pot, build/i18n/po/conify.js/conify.js.pot, build/i18n/po/db.seed/db.seed.pot, build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot, build/i18n/po/ils_events.xml/ils_events.xml.pot, build/i18n/po/lang.dtd/lang.dtd.pot, build/i18n/po/offline.properties/offline.properties.pot, build/i18n/po/opac.dtd/opac.dtd.pot, build/i18n/po/opac.js/opac.js.pot, build/i18n/po/patron.properties/patron.properties.pot, build/i18n/po/register.js/register.js.pot, build/i18n/po/reservation.js/reservation.js.pot, build/i18n/po/selfcheck.js/selfcheck.js.pot, build/i18n/po/serial.properties/serial.properties.pot, build/i18n/po/tpac/tpac.pot: Update POT files for translators Signed-off-by: Dan Scott 2012-04-28 Dan Scott * build/i18n/po/AutoFieldWidget.js/es-ES.po, build/i18n/po/Searcher.js/de-DE.po, build/i18n/po/Searcher.js/es-ES.po, build/i18n/po/Searcher.js/pt-BR.po, build/i18n/po/admin.properties/fr-CA.po, build/i18n/po/auth.properties/ar-AR.po, build/i18n/po/capture.js/de-DE.po, build/i18n/po/capture.js/fr-CA.po, build/i18n/po/cat.properties/cs-CZ.po, build/i18n/po/cat.properties/de-DE.po, build/i18n/po/cat.properties/pt-BR.po, build/i18n/po/circ.properties/cs-CZ.po, build/i18n/po/circ.properties/de-DE.po, build/i18n/po/circ.properties/fr-CA.po, build/i18n/po/circ.properties/pt-BR.po, build/i18n/po/common.properties/de-DE.po, build/i18n/po/common.properties/fr-CA.po, build/i18n/po/conify.dtd/de-DE.po, build/i18n/po/conify.dtd/en-GB.po, build/i18n/po/conify.dtd/fr-CA.po, build/i18n/po/conify.js/de-DE.po, build/i18n/po/db.seed/cs-CZ.po, build/i18n/po/db.seed/de-DE.po, build/i18n/po/db.seed/fr-CA.po, build/i18n/po/db.seed/oc-FR.po, build/i18n/po/db.seed/pt-BR.po, build/i18n/po/fm_IDL.dtd/cs-CZ.po, build/i18n/po/fm_IDL.dtd/de-DE.po, build/i18n/po/fm_IDL.dtd/es-ES.po, build/i18n/po/fm_IDL.dtd/fr-CA.po, build/i18n/po/fm_IDL.dtd/pt-BR.po, build/i18n/po/ils_events.xml/de-DE.po, build/i18n/po/ils_events.xml/pt-BR.po, build/i18n/po/lang.dtd/cs-CZ.po, build/i18n/po/lang.dtd/de-DE.po, build/i18n/po/lang.dtd/fr-CA.po, build/i18n/po/lang.dtd/hy-AM.po, build/i18n/po/lang.dtd/pt-BR.po, build/i18n/po/offline.properties/cs-CZ.po, build/i18n/po/offline.properties/de-DE.po, build/i18n/po/offline.properties/pt-BR.po, build/i18n/po/opac.dtd/cs-CZ.po, build/i18n/po/opac.dtd/de-DE.po, build/i18n/po/opac.dtd/es-ES.po, build/i18n/po/opac.dtd/pt-BR.po, build/i18n/po/opac.dtd/ru-RU.po, build/i18n/po/opac.dtd/tr-TR.po, build/i18n/po/opac.js/de-DE.po, build/i18n/po/opac.js/tr-TR.po, build/i18n/po/patron.properties/de-DE.po, build/i18n/po/patron.properties/es-ES.po, build/i18n/po/patron.properties/pt-BR.po, build/i18n/po/pickup_and_return.js/de-DE.po, build/i18n/po/pickup_and_return.js/es-ES.po, build/i18n/po/pickup_and_return.js/pt-BR.po, build/i18n/po/pull_list.js/cs-CZ.po, build/i18n/po/pull_list.js/de-DE.po, build/i18n/po/register.js/de-DE.po, build/i18n/po/register.js/pt-BR.po, build/i18n/po/reports.js/de-DE.po, build/i18n/po/reservation.js/pt-BR.po, build/i18n/po/selfcheck.js/de-DE.po, build/i18n/po/selfcheck.js/pt-BR.po, build/i18n/po/serial.properties/pt-BR.po, build/i18n/scripts/update_pofiles: Update translations from Launchpad Includes a small update to the update_pofiles to make it easier for release managers and release maintainers to run translation updates. Signed-off-by: Dan Scott 2012-04-05 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/210.schema.serials.sql, Open-ILS/src/sql/Pg/upgrade/0706.schema.serial-holding-code-constra int.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Constrain serial.issuance.holding_code to be valid JSON or NULL This avoids serial.materialize_holding_code() failing on bad data. The upgrade script will actually throw away bad values for serial.issuance.holding_code. This is no real loss, since bad data there prevents any serials functions around the row in question from working properly anyway. This problem was reported by Martha Driscoll and Ben Shum. *Also* put a couple of changes missed from the 0700 upgrade script into 210.schema.serials.sql. Fix new serial constraint upgrades 1. None of the upgrades so far have moved is_json() from the public to the evergreen schema. That's probably a separate issue, but it should be safe to call it unqualified, and that's what the rest of the upgrade file does, so we will too. 2. Add a specific SET CONSTRAINT to avoid deferred trigger problems when ALTERing the table. 3. Make sure that the unwanted columns on materialized_holding_code do not exist regardless of your upgrade path. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-03-09 Michael Peters * Open-ILS/src/templates/opac/parts/printnav.tt2, Open-ILS/src/templates/opac/password_reset.tt2: Remove the "print_nav.tt2" from the TTPAC Password Reset We no longer use "print_nav.tt2" in TTPAC, but it was still displaying on the password reset page. This branch removes it. Signed-off-by: Michael Peters Signed-off-by: Lebbeous Fogle-Weekley 2012-04-12 Bill Erickson * 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/0705.data.custom-org-tree-perms.sql: Add missing ADMIN_ORG_UNIT_CUSTOM_TREE permission Signed-off-by: Bill Erickson Signed-off-by: Michael Peters Signed-off-by: Lebbeous Fogle-Weekley 2012-04-26 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPAC: Instrument the search results page Because we want to know why search results can be slowish, add timelog() entries to pertinent locations in Search.pm. Quick results on my laptop with the concerto set: * 10 results = 1.1 seconds for get_records_and_facets() * 50 results = 4.2 seconds for get_records_and_facets() Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-25 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Apply timelog() to TPAC record detail page Early suggestion from results is that we either need to use unapi.bre more smartly, or optimize it further. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2012-04-25 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/templates/opac/parts/footer.tt2: Instrument the TPAC: add timelog() method to EGCatLoader Meant for timing how long events take to generate a single TPAC page, the timelog() method will provide timing in microsecond granularity of various events required to build the page. To invoke: $self->timelog("Event description..."); Builds up a context variable named "timing" containing a list of arrays; each array entry contains a time and the event description. Disabled by default; to enable, set DEBUG_TIMING = 1 in OpenILS/WWW/EGCatLoader.pm Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-04-28 Galen Charlton * ChangeLog: tweak wording - ChangeLogs are generated during release Signed-off-by: Galen Charlton 2012-04-28 Bradley M. Kuhn * ChangeLog: ChangeLog shouldn't merely be empty; it should tell reader where to find a change log. Signed-off-by: Bradley M. Kuhn Signed-off-by: Galen Charlton 2012-04-27 Bradley M. Kuhn * README: autoreconf -f -i appears to clobber our own INSTALL file with the "standard" one. autoreconf -i seems to still work correctly for building Evergreen, therefore, we should recommend developers do that. Signed-off-by: Bradley M. Kuhn Signed-off-by: Galen Charlton 2012-04-27 Bradley M. Kuhn * AUTHORS, INSTALL, NEWS: AUTHORS, NEWS, and INSTALL files should actually have reasonable content if they exist. Specifically, this commit: * simply points INSTALL to README via symlink, since install instructions are there. * AUTHORS now notes that Evergreen keeps its authors in the git log. * NEWS now explains where release notes are. Signed-off-by: Bradley M. Kuhn Signed-off-by: Galen Charlton 2012-04-17 Dan Wells * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/serial.properties, Open-ILS/xul/staff_client/server/serial/manage_items.js, Open-ILS/xul/staff_client/server/serial/manage_items.xul, Open-ILS/xul/staff_client/server/serial/notes.xul, Open-ILS/xul/staff_client/server/serial/serctrl_main.xul: Clean up and refine serial note support, part 3 Add needed menu entries for invoking the serial notes editor from the list in the Items tab. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-04-17 Dan Wells * Open-ILS/xul/staff_client/server/serial/notes.xul: Clean up and refine serial note support, part 2 Because of the way our notes are being rendered, a handful of special XML characters can break the note interface when editing. These characters are now properly encoded as entities. Also, editing of newlines presents a similar issue with different consequences, and it is handled similarly but separately. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-04-17 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/xul/staff_client/server/serial/notes.xul: Clean up and refine serial note support, part 1 This commit fixes a number of minor problems with serial notes: 1) Serial notes are currently returned in "random" (database) order. Adding a create_date sort is a sensible default. 2) If you have many notes, they start to display in a squashed and unreadable fashion. Switching from a groupbox to a styled vbox provides a simple workaround. 3) It is currently impossible to display newlines in notes. We can deal with this by changing the display style. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-04-17 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/xul/staff_client/server/serial/manage_items.js: Limit excess serial data fetching Overfetching and duplication of data in the interface is both inefficient and bug-inducing. This reduces a couple big offenders. First, in the items tab, we will store distribution and subscription data separately, rather than duplicating for every row. Second, we will only redraw rows as needed rather than refresh the whole list so often. Finally, we no longer need to lookup call numbers separately, as they are included in the one-time distribution fetch. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-03-30 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/util/browser.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties: unsaved data loophole The Start/Previous/Next/End/Search Results buttons in the staff client OPAC wrapper do not fire unsaved data warnings for the MARC editor when changing records. This plugs that hole, but it's not a complete solution, as you can still move away from the record by clicking on hyperlinks in the OPAC View, though that's less likely to happen. Signed-off-by: Jason Etheridge Signed-off-by: Michael Peters 2012-04-22 Dan Scott * README, autogen.sh: Bootstrap via "autoreconf -f -i" instead of "autogen.sh" It has always been potentially confusing to maintain two shell scripts named "autogen.sh" for two distinct purposes in Evergreen. Take advantage of "autoreconf" that is packaged with autoconf for dev bootstrapping purposes and trash the old "autogen.sh" as a result. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-04-13 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm: Better Prediction for Incomplete Chronologies While relatively rare, some journals record only the year on the cover, even if they come out monthly or weekly. This commit expands our previous support for serials with no chronology at all to cover serials with partial chronology. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley 2012-04-13 Lebbeous Fogle-Weekley * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm: Acq: Refactor General Search for more smarts and speed This started in response to problems discussed around https://bugs.launchpad.net/evergreen/+bug/967824 , but it really addresses a distinct issue from that bug. Acq General Search relies on lots of joins to make several tables in Acq searchable by attributes of any of the other tables for rows that happen to be related. This is about 1) making better joins and 2) making fewer joins when you don't need them all for a given search. Much thanks to Mike Rylander for help figuring out how to efficiently implement the joins needed for acq.invoice, which is the tricky part. Less importantly, but still significant for some searches, we also need case insensitivity for searching on user-linked fields (General Search always lets you search by any of username/family name/given name/barcode for these fields) in order to take advantage of some indexes for speed. This diagram of key Acq relationships is helpful: https://docs.google.com/drawings/d/15ExkiYvq0skfobbocvPWxwdZkb7aykEZpLGfbP9PL04/view Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Ben Shum 2012-04-12 Galen Charlton * Open-ILS/src/support-scripts/settings-tester.pl: lp#980303: don't complain about missing plperl Now that use of PL/PERL has been dropped in favor of using PL/PERLU for all Perl SPs, settings-tester.pl need not check for it. Signed-off-by: Galen Charlton Signed-off-by: Dan Scott 2012-04-11 Dan Scott * Open-ILS/src/templates/opac/myopac/lists.tt2: TPAC: Clear params when viewing lists in search results Per LP977353, search terms are propagating when the list is being viewed in "results" (HTML View), and therefore those search terms block the display of most or all of the items in the list. Therefore, do not propagate the other CGI params to the mkurl() call. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-04-06 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/300.schema.staged_search.sql, Open-ILS/src/sql/Pg/upgrade/0704.schema.query_parser_fts.sql: Add pref_ou query filter for preferred library searching Include the user's "preferred search library" (as set in search preferences, falling back to home OU) in searches, specifically for the purposes of ensuring that located URIs at the user's preferred library would trigger hits where physical copies would be out of scope. Practical example: 1. User sets preferred search library to BR1. 2. They jump onto the catalogue, log in (which changes their search org to their preferred search library of BR1), but then for some reason change their search org in the org selector to BR3. 3. They issue a search for "Harry Potter and the Philosopher's Stone". BR3 doesn't hold any copies or have any located URIs, but SYS1 (BR1's parent) has a PotterMore licence and has added their 856 $9 SYS1 to a bib record. As it currently stands, User is out of luck; they won't see any hits in search results as there are no copies or located URIs in the BR3 scope. The proposed enhancement would, however, make the search results contain a hit for "Harry Potter and the Philosopher's Stone" at the user's preferred search library. Sites can trigger the preferred library as part of the query filters using the "pref_ou(SHORTNAME)" syntax. Conflicts: Open-ILS/src/sql/Pg/002.schema.config.sql Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-04-11 Thomas Berezansky * Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/web/css/skin/default/opac/style.css: Nicer staff searches display in record details Specifically, don't make us scroll down a few hundred pixels to see the actual page content. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-04-10 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js: fix sort bug introduced with multi-sort The bug happens on columns without a defined sort_value Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-04-10 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/bill2.js: Fix bill selection in the billing interface We were looking for the checkbox column to be the first treecell in a treerow, but the ever-present line number column now takes up that position. Signed-off-by: Jason Etheridge Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-04-09 Thomas Berezansky * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Bump 2.2 beta version number in upgrade script Signed-off-by: Thomas Berezansky 2012-04-09 Dan Scott * build/i18n/scripts/db-seed-i18n.py: i18n: Robustify db-seed-i18n.py parsing Faced with the perplexing use of a space before a comma in oils_i18n_gettext() keys, db-seed-i18n.py's regex failed. The solution for a sloppy regex? More powerful regex! Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-03-27 Dan Scott * Open-ILS/src/templates/opac/myopac/main_pay.tt2, build/i18n/Makefile, build/i18n/po/tpac/tpac.pot: TPAC: Integrate i18n for TPAC into build process Support the "standard" i18n build process for internationalization by integrating the TPAC string extraction (via xgettext.pl) and update / install bits. Also, add the base POT file to support translation in Launchpad. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-04-08 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: TPAC: Protect against requests for non-existent records If a record request is received for a record that does not exist (say, if 100 records have been loaded and someone submits a request for /eg/opac/record/399), rather than dying with a server error, return immediately. Eventually we'll want to provide an explicit "record was not found error" in the TPAC record details; for now the TPAC just displays zero bib detail. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-02-29 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Protect against empty default_CD_modifiers in opensrf.xml If the app settings for the open-ils.search service in opensrf.xml had an empty (but not entirely missing) element, then the open-ils.storage log would contain entries like the following: Use of uninitialized value $class in hash element at /usr/local/share/perl5/OpenILS/Application/Storage/QueryParser.pm Protect against that problem with more defensive code in QueryParser.pm. Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2012-04-09 Lebbeous Fogle-Weekley * Open-ILS/src/c-apps/oils_sql.c: Avoid too-strict controller checks when fleshing for cstore, reporter-store Move controller-verificiation from the beginning of recursive doFieldmapperSearch() to nearer the end, right before we recurse, so we only check the child class's controller if we're pcrud. If we're not pcrud, code that calls doFieldmapperSearch() from the outside will have already done appropriate testing of the controller. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Thomas Berezansky 2012-04-03 Bill Erickson * Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree .js: Org Unit Custom Tree supports add directly after delete When deleting a node from the custom tree, it's necessary to save the tree store after the final call to store.deleteItem, or the delete operation will not complete. Without this, it's not possible to add a remove org unit back into the custom tree without reloading the UI. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-04-03 Bill Erickson * Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree .js: Org unit custom tree sort repairs Repairs a problem with detecting and storing the sort order of sibling nodes within custom trees. The original problem was the result of comparing parent nodes for non-siblings because of a depth-first tree traversal. Now we process siblings in level-order before processing child nodes. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-04-09 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Bug 957453: Fix error in database seed data The use of an explicit ID in creating a new action_trigger.event_definition row was followed by the use of the CURRVAL() function to grab the most recently issued value for the action_trigger.event_defintion_id_seq sequence - which happened to be 100, due to a previously issued SETVAL() on the sequence. This resulted in references to non-existent event definitions and thus an error in creating the stock database schema. By using an explicit ID for the dependent row, we avoid this error. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-04-09 Dan Scott * README: README: Clarify PostgreSQL 9.1 vs. 9.0 remote server docs Break out the PostgreSQL 9.1 or later instructions into their own subsection to clarify how the steps differ from PostgreSQL 9.0. Signed-off-by: Dan Scott 2012-04-08 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Show deleted record warning for deleted records At the cost of an extra database query per record displayed, we can properly activate the "This record has been deleted..." message. Prior to this commit, the message was embedded on every page but hidden via CSS - which isn't great for search engines or source-reading types. Now we only include & display the message if it has, in fact, been deleted. Signed-off-by: Dan Scott Signed-off-by: Ben Shum 2012-04-03 Joseph Lewis * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0622.data.YAOUS-i18n-update.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Fixed a slight misspelling, as noted in https://bugs.launchpad.net/evergreen/+bug/915564 Signed-off-by: Joseph Lewis Signed-off-by: Dan Scott 2012-04-03 Lebbeous Fogle-Weekley * Open-ILS/src/templates/serial/edit_siss.tt2, Open-ILS/web/js/dojo/openils/serial/nls/serial.js, Open-ILS/web/js/ui/default/serial/edit_siss.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js, Open-ILS/xul/staff_client/server/serial/siss_editor.xul: Revert "Serial Control: Use Dijit-based issuance editor" This reverts commit 37b324f53adb4fb90fe17ada72d44fca1d606e9f. This commit was regrettably merged without other commits from its branch on which it depends. 2012-04-03 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm: Fix failure of 'My Selection Lists' interface Addresses this bug: https://bugs.launchpad.net/evergreen/+bug/967824 Recent changes to the mechanism of unified search (for which 'My Selection Lists' is a frontend) lacked code that respected the new join structure for some use cases. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2012-04-03 Dan Scott * docs/RELEASE_NOTES_2_2.txt: Remove located URI scope notes from 2.2 Release Notes The located URI scope change occurred in the 2.1 time frame, not in 2.2, so remove from the Release Notes. Signed-off-by: Dan Scott 2012-04-02 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Add ui.hide_copy_editor_fields to baseline seed data Without it, the "Hide Fields" option in the copy editor will not function. Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge 2012-04-02 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application.pm, Open-ILS/xul/staff_client/chrome/content/main/about.html, Open-ILS/xul/staff_client/defaults/preferences/prefs.js, Open-ILS/xul/staff_client/windowssetup.nsi, README, configure.ac: Tagging version Signed-off-by: Thomas Berezansky 2012-04-02 Thomas Berezansky * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Update 2.1-2.2 version upgrade script for beta1 Including missing chunks and missing commas. Moved 0693 to the end, it may exist in some 2.1 installs. Signed-off-by: Thomas Berezansky 2012-04-02 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0702.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Stamping upgrade script for "Org unit selective hiding and sorting in tpac library selector" Signed-off-by: Mike Rylander 2012-03-30 Bill Erickson * Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree .js: Custom Org Tree : Admin UI honors "activate" on new trees Previously, activating a new tree would work, but the UI did not update to reflect it. Now the activate link correctly turns into a de-activate link and vice versa. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-21 Bill Erickson * Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/result/copy_counts.tt2: TPac: non-inherited org unit visibility : hide copy counts Avoid showing copy counts for non-opac-visible org units in the search results and record details page. This is important when the 'opac.org_unit.non_inheritied_visibility' global flag is enabled, as org units along the tree may be non-visible. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-20 Bill Erickson * Open-ILS/src/templates/conify/global/actor/org_unit_custom_tree.tt2 , Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree .js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Custom Org Tree : Admin UI New UI for managing custom org unit trees. (Only OPAC is supported for now). Custom trees default to the same shape as the full org unit tree. Staff can remove nodes and re-order nodes. Staff can also replace deleted nodes by dragging them from the reference tree on the left. Admin -> Server Admin -> Custom Org Unit Trees Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-19 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/templates/opac/parts/org_selector.tt2: Custom Org Tree : tpac If configured and active, the tpac will now use the custom 'opac' tree for the org unit selectors. This will be true in both the public catalog and the staff client catalog. The staff client catalog will continue to display hidden org units. If the opac.org_unit.non_inheritied_visibility global flag is set, the public catalog will display child nodes of hidden org units in the custom tree. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-19 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Custom Org Tree : DB and IDL Support for building custom org unit hierarchies for display purposes. Initially, this is meant to support custom OPAC trees, but the design leaves from for other types of trees. The only restrictions to custom org trees is that no org unit appear more once and that they in fact be tree-shaped. Otherwise, any node can be the parent/child of any other node, regardless of ou_type, etc. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-13 Bill Erickson * Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js: Repaired non-slim org unit fetching bug Fixed an old thinko. When fetching a full org unit object, set the children org unit array value instead of clobbering the function. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-12 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/templates/opac/parts/org_selector.tt2: TPac: non-inherited org unit visibility Adds support for displaying org units that are children of hidden org units in the tpac org unit selector. A new global flag was added to control this behavior called "opac.org_unit.non_inheritied_visibility" / "Org Units Do Not Inherit Visibility". To avoid confusion / distorted org unit trees, children of hidden org units are left-padded one less for each hidden parent org unit. For example, in the stock org tree, if Sys2 is opac_visible=false (and the global flag is enabled), the tree in the tpac would appear like so: Cons - Sys 1 -- BR1 --- SL1 -- BR2 - BR3 - BR4 Similarly, if CONS was also hidden, the whole tree would be shifted left by 1 pad depth. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-04-02 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/templates/opac/parts/org_selector.tt2: Revert "TPac: non-inherited org unit visibility" This reverts commit 1b7c563166d60ddee4a9c507f3eded07bc5e70c0. Signed-off-by: Bill Erickson 2012-04-02 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Revert "Org unit sibling display sort order" This reverts commit dee33cc9da90762dea9b9aa13190c65e80f07577. Signed-off-by: Bill Erickson 2012-04-02 Bill Erickson * Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js: Revert "Repaired non-slim org unit fetching bug" This reverts commit 706f1e86f0b9e4b5423b1b355bd30db422316068. Signed-off-by: Bill Erickson 2012-04-02 Bill Erickson * Open-ILS/src/templates/actor/org_unit/sibling_order.tt2, Open-ILS/web/js/ui/default/actor/org_unit/sibling_order.js, Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/locale/en-US/offline.properties: Revert "Org unit sibling display sort order : admin UI" This reverts commit 1108cfc0b3978dc0fd80566a2b654edcf6b99d55. Signed-off-by: Bill Erickson 2012-04-02 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0702.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Revert "Stamping upgrade script for "Org unit selective hiding and sorting in tpac library selector"" This reverts commit a25aa4e66ce4080bac65cd702a1e51542d5bae7e. Signed-off-by: Bill Erickson 2012-04-02 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js: remove some cruft Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-30 Jason Etheridge * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/chrome/content/util/sort.js, Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul: add context menu to xul list column headers for multi-sort options. Also fix ascending vs descending internally (since the distinction is now exposed via labels) Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-29 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js: xul list secondary sorting For xul-based lists in the staff client (interfaces with a grey background), normal behavior is to sort the list when you left click a column header. This is still the case, but now if you control+click a column header, it sets up that column as a secondary sub-sort. Control+clicking more columns will set up subsequent sub-sorts. Normal click a column header for primary sorting will clear out all previously defined sub-sorts. Control+clicking when a primary column has not yet been normal clicked effectively does nothing. Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-29 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js: mitigate race conditions with ordinal line number column Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-29 James Fournie * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Acq - fix cloning of picklists so that all lineitems are cloned with a 'new' state This prevents duplicated items on purchase orders when the picklists are cloned and other wacky problems. Signed-off-by: Mike Rylander 2012-04-02 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0702.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Stamping upgrade script for "Org unit selective hiding and sorting in tpac library selector" Signed-off-by: Mike Rylander 2012-03-13 Bill Erickson * Open-ILS/src/templates/actor/org_unit/sibling_order.tt2, Open-ILS/web/js/ui/default/actor/org_unit/sibling_order.js, Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/locale/en-US/offline.properties: Org unit sibling display sort order : admin UI Adds a new menu entry for Local Admin called "Library Sort Order", where staff can configure via drag-n-drop the sibling display order for org units in the opac. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-13 Bill Erickson * Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js: Repaired non-slim org unit fetching bug Fixed an old thinko. When fetching a full org unit object, set the children org unit array value instead of clobbering the function. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-12 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql: Org unit sibling display sort order Adds a new "sibling_order" column to actor.org_unit which specifies the order in which an org unit should be sorted as compared to its sibling org units in org unit trees. This commit adds the IDL/DB components. It also updates the tpac and the generic get_org_tree API. (Note, a follow-up commit will be pushed to remove some deprecated / reduntant org tree retrievals). Note that the sibling_order values do not have to be unique within each set of siblings. The org unit name is still used as a tie-breaker sort, so if the sort order is left unset (i.e. all values are 0), org units will fall back to name-only sorting. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-12 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_opac_vis_and_sorti ng.sql, Open-ILS/src/templates/opac/parts/org_selector.tt2: TPac: non-inherited org unit visibility Adds support for displaying org units that are children of hidden org units in the tpac org unit selector. A new global flag was added to control this behavior called "opac.org_unit.non_inheritied_visibility" / "Org Units Do Not Inherit Visibility". To avoid confusion / distorted org unit trees, children of hidden org units are left-padded one less for each hidden parent org unit. For example, in the stock org tree, if Sys2 is opac_visible=false (and the global flag is enabled), the tree in the tpac would appear like so: Cons - Sys 1 -- BR1 --- SL1 -- BR2 - BR3 - BR4 Similarly, if CONS was also hidden, the whole tree would be shifted left by 1 pad depth. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-26 Dan Wells * Open-ILS/src/templates/serial/edit_siss.tt2, Open-ILS/web/js/dojo/openils/serial/nls/serial.js, Open-ILS/web/js/ui/default/serial/edit_siss.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js, Open-ILS/xul/staff_client/server/serial/siss_editor.xul: Serial Control: Use Dijit-based issuance editor The serial control interfaces use editors derived from the XUL copy editor, while the alternate control uses Dijit editors. This commit takes a small step toward unification by using the Dijit issuance editor within the serial control interface, with the following benefits: 1) Both controls will have a very similar editor look and feel 2) Takes advantage of custom holding code wizard widget 3) Future fixes and enhancements to the editors will apply easily to both controls 4) Begin deprecating XUL serial editors This commit doesn't yet rip out the old issuance editor code, as that should wait until the transition is more complete. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-04-02 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0701.schema.patron_stat_category_enhanc ements.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron_stat_category_enhanc ements.sql: Stamping Stat Cat Enhancements upgrade script Signed-off-by: Thomas Berezansky 2012-02-28 Scott Prater * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.patron_stat_category_enhanc ements.sql: Patron Stat Cat Enhancements: SQL upgrade statements Add SQL upgrade statements: new table stat_cat_entry_default, new columns 'required' and 'allow_freetext' on actor.stat_cat, and new permissions to create, delete default entries. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-03-21 Scott Prater * Open-ILS/web/js/ui/default/actor/user/register.js: Patron Stat Cat Enhancements: Only show default entry for new patrons Only display the default entry when registering new patrons. Otherwise, display the saved value for the patron or nothing. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-02-28 Scott Prater * Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml: Patron Stat Cat Enhancements: Rearrange stat cat editor screen Rearrange the statistical categories editor interface to correctly display the "Archived" radio buttons along side the other radio buttons. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-02-15 Scott Prater * Open-ILS/web/js/ui/default/actor/user/register.js: Patron Stat Cat Enhancements: Fix values stored, then displayed in "Allow freetext" categories In the patron registration screen: the widget dijit.form.FilteringSelect stores the option value, not the displayed value, unlike ComboBox; so store the FilteringSelect displayedValue, then set the FilteringSelect displayedValue with the value retrieved from the patron/stat_cat_entry map table. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-01-18 Scott Prater * Open-ILS/web/js/ui/default/actor/user/register.js: Patron Stat Cat Enhancements: Enforce stat_cat "allow_freetext" flag in patron registration screen If a patron statistical category is flagged to disallow user-provided entries, make the category form field a FilteringSelect box; otherwise, make it a ComboBox. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-01-18 Scott Prater * Open-ILS/web/js/ui/default/actor/user/register.js: Patron Stat Cat Enhancements: Enforce stat_cat "required" flag in patron registration screen If a patron statistical category is flagged as required, make the category form field a required field, and validate it before submitting the form. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml: Patron Stat Cat Enhancements: Modify stat cat editor HTML to manipulate patron stat cat default entries. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js: Patron Stat Cat Enhancements: Modify stat cat editor javascript to manipulate patron stat cat default entries. Add functions, methods, variables to Statistical Categories Editor javascript to manage patron stat cat default entries. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/web/opac/locale/en-US/lang.dtd: Patron Stat Cat Enhancements: Add language entities for default stat cat entry labels. Add label entities for setting a default entry; rename staff.server.admin.stat_cat.edit_entry_name_submit to staff.server.admin.stat_cat.edit_entry_submit. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Patron Stat Cat Enhancements: Add permissions for manipulating stat_cat_entry_default. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Patron Stat Cat Enhancements: Add Publisher actor methods for stat_cat_entry_default objects. Add methods actor_stat_cat_entry_default and actor_stat_cat_entry_default_ancestor to retrieve and populate stat_cat_entry_default objects. Modify ranged_actor_stat_cat_entry and fleshed_actor_stat_cat to also include default entry objects, if present. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi .pm: Patron Stat Cat Enhancements: Add Pg DBI actor::stat_cat_entry_default table and sequence. Add actor::stat_cat_entry_default->table and actor::stat_cat_entry_default->sequence. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm: Patron Stat Cat Enhancements: Add CDBI package actor::stat_cat_entry_default. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI.pm: Patron Stat Cat Enhancements: Link CDBI actor::stat_cat_entry_default to parent entities. Add relations between actor::stat_cat and actor::stat_cat_entry to actor::stat_cat_entry_default. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/StatCat.pm: Patron Stat Cat Enhancements: Add OpenSRF CRUD methods for actor statistical category default entries. Added methods to create, delete, update default entries for patron statistical categories. Modified create_stat_cat and create_stat_cat_entry to also create, update stat_cat_entry_default objects if present in the request. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm: Patron Stat Cat Enhancements: Add OpenSRF methods for retrieving actor stat cat default entries. Added the methods 'fetch_stat_cat_entry_default' and 'fetch_stat_cat_entry_default_by_stat_cat_and_org' for fetching stat_cat_entry_default objects. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/src/extras/ils_events.xml: Patron Stat Cat Enhancements: Add event for ACTOR_STAT_CAT_ENTRY_DEFAULT_NOT_FOUND Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2011-12-27 Scott Prater * Open-ILS/examples/fm_IDL.xml: Patron Stat Cat Enhancements: Add stat_cat_entry_default IDL class Add stat_cat_entry_default IDL class, and links to actor.stat_cat and actor.stat_cat_entry Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-03-20 Scott Prater * Open-ILS/src/sql/Pg/005.schema.actors.sql: Patron Stat Cat Enhancements: Add default entry table to database Add actor.stat_cat_entry_default table to Pg database. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-03-20 Scott Prater * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm , Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml: Patron Stat Cat Enhancements: Add 'allow free text' and 'required' flags Add database entities, controller mappings, and HTML/Javascript widgets to allow administrators to set and persist 'required' and 'allow free text' boolean flags for patron statistical categories in the Statistical Categories Editor. Signed-off-by: Scott Prater Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-04-02 Jason Etheridge * Open-ILS/src/sql/Pg/950.data.seed-values.sql: missing comma. tsbere++ Signed-off-by: Jason Etheridge 2012-04-02 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js, Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js: FlattenerGrid (re)honors IDL column labels as default Linking the GridColumnPicker to FlattenerGrid killed the ability for the FlattenerGrid to fall back to the IDL column label when no label was defined in the markup. This change adds a reloadStructure operation to GridColumnPicker. FlattenerGrid uses this to pass the updated column labels (and any other changes) to gridcolumnpicker, which then updates the grid display to match. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-04-02 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0700.schema.serial-holding-groups.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial-holding-groups.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Stamping upgrade script for serials holdings display improvements Signed-off-by: Mike Rylander 2012-03-30 Dan Wells * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial-holding-groups.sql, Open-ILS/xul/staff_client/server/serial/siss_editor.js: holding_type on serial.issuance not quite dead The holding_type field was removed from the serial control editor prematurely, and this missing data was a source of mild friction. We'll put it back for now. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-03-30 Dan Wells * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial-holding-groups.sql: Simplify serial.materialized_holding_code Attempting to materialize holding_type and ind1/ind2 for less than perfect data causes problems. Since we aren't actually using this data, let's get rid of these fields. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-03-29 Dan Wells * Open-ILS/src/templates/opac/parts/record/issues.tt2: Only load "new" serials display if we have data If we try to load the "new" serials display template, but have no data (for instance, if "Use fully compressed serial holdings" is false), we get a server error. Rather than wrap the whole template in an 'if', let's just not load it. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-03-19 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial-holding-groups.sql: TPAC: ROWS 1 not appropriate here. I must have thrown this in as a misguided afterthought without testing it. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-03-09 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial/OPAC.pm: TPAC: follow-up to serials holdings paging fix Some how I didn't notice it before, but my last commit broke things. This unbreaks them. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-03-08 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial/OPAC.pm, Open-ILS/src/templates/opac/parts/record/issues-db.tt2: TPAC: serials display paging bugfix In the previous commit, paging at the deepest level of an expanded tree was broken. This fixes that, and improves pager labeling a little bit. This also makes the default page size for holdings 12 instead of 10, since monthlies are a pretty common case, and why not show them all on one page. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-04-02 Lebbeous Fogle-Weekley * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/extras/ils_events.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Serial/OPAC.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/210.schema.serials.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial-holding-groups.sql, Open-ILS/src/templates/opac/parts/header.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2, Open-ILS/src/templates/opac/parts/record/issues-db.tt2, Open-ILS/src/templates/opac/parts/record/issues-mfhd.tt2, Open-ILS/src/templates/opac/parts/record/issues.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/serial/subscription.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Improvement to serials display (under the "issues held" label) (All the following text assumes you're using "new" 2.0+ serials and that the org unit setting 'opac.fully_compressed_serial_holdings' is true in the context where you're browsing.) Today on the TPAC record detail page under the "issues held" label, you get a list of serial summary statements, which you can expand to a list of issuances for which items have been received. You can place issuance-level holds on these. That existing interface just kind of burps up all your holdings within scope and doesn't show you what holdings belong to what org unit. Furthermore, it doesn't group your holdings into enumeration or chronology units, which can matter a lot if you've got 150 years of some daily newspaper and you're trying to browse through them in the OPAC. This new interface presents expanded serials holdings organized into a tree, with summaries placed under their org units and holdings grouped under their summaries under either chronology units (default) or enumeration ones, controlled by a new field on serial.distribution. There's also a new org unit setting that lets you change the default value for this new field in the Alternate Serial Control view to enumeration, if you want. Like the issues-held interface it's replacing, this knows how to deal with holdings where you have one unit per received item, or no units per received item, but its behavior is not yet defined for one unit per many items (the binding case). The "regular" Serial Control view doesn't have a widget to control the new field on serial.distribution yet. These are the areas where I'd be interested in helping to close the gaps, before or after this is committed. Conflicts: Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm Open-ILS/web/css/skin/default/opac/style.css Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-04-02 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0699.data.org-setting-ui.hide_copy_edit or_fields.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.hide_copy_edit or_fields.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Stamping upgrade script for Copy Editor Field Hiding Signed-off-by: Mike Rylander 2012-03-16 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: prevent templates from changing unsafe fields in the Item Attribute Editor, for any of the fields are hidden via util.hide, and for statuses which shouldn't be changed (like from Checked Out to something else) Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-15 Jason Etheridge * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/copy_editor.xul: wire up util.hide in the item attribute editor Currently, hidden elements may still be affected through templates. Thanks goes to MassLNC for this one. Based on SC-D3 at http://www.esilibrary.com/esi/docs/?p=841, with some implementation simplifications. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-15 Jason Etheridge * Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.hide_copy_edit or_fields.sql, Open-ILS/xul/staff_client/chrome/content/util/hide.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul: util.hide library Provides util.hide.generate_dialog and util.hide.generate_css. util.hide.generate_css takes one parameter, an org unit setting name for a setting of type array. It tests this setting and for every value in the array it looks for DOM elements with 'hideable' attributes containing those values. It adds the CSS classname 'hideme' to such elements, and removes 'hideme' from any non-matched elements that also have 'hideable' attributes. util.hide.generate_dialog takes the same setting parameter as generate_css, and an optional context org parameter (defaults to the workstation library). It pops up a dialog with a checkbox for every 'hideable' DOM element. Clicking 'OK' will update the org unit setting with every checked element, and it then calls generate_css to update the interface being affected. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-15 Jason Etheridge * Open-ILS/xul/staff_client/server/skin/global.css, Open-ILS/xul/staff_client/server/skin/patron_display.css, Open-ILS/xul/staff_client/server/skin/serial.css: move .hideme css to global.css Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-15 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/widgets.js, Open-ILS/xul/staff_client/server/admin/do_not_auto_attempt_print_se tting.js: liberate this perm-cognizant lib menu generator for re-use in other interfaces Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-29 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: AutoGrid retains external search filters AutoGrid now caches the search passed to the most recent loadAll call separately from any filters passed via PCrudFilterDialog. This allows AutoGrid to retain externally-supplied (persistent) filters (e.g. context org unit selector) while being able to easily remove filters passed via the filter dialog. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-28 Dan Scott * Open-ILS/src/templates/opac/parts/pref_lib_display.tt2, Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/src/templates/opac/parts/result/copy_counts.tt2, Open-ILS/src/templates/opac/parts/result/paginate.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Centralized preferred library indicator Create an explicit "Preferred library: Foobar" entry at the top of the page (on the same line as pagination information), and include a subtle checkmark to enable users to quickly jump to their "Search preferences" settings and change their preferred library. This enables us to remove the "(Preferred library)" note in the copy counts for search results. At the same time, move from a table display (for a single row? what?) to a simple div/span layout for the search results. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-08-30 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/li_table.js: Remove block on mark-receive from non-PO UI Allow lineitem mark-received action to take place from lineitem table UI even when not viewing a PO (e.g. from search results) Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-11-22 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/li_table.js: ACQ: allow recv actions on copies from non-PO interface * Allow PO actions on copies, like recieve, unreceive, and cancel from non-PO interfaces like the picklist UI and lineitem search interfaces. Instead of relying on whether the user is viewing a PO, use the status of each copy to determine which actions are appropriate to display. * General cleanup and better arrangment of the copy actions hide/display logic Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-08-25 Bill Erickson * Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js: Make ACQ Lineitem actions more readily accessible No longer limit PO-related lineitem actions to the PO view UI. Instead, limit lineitem actions on the state of the lineitem. This allows staff to perform PO-related (e.g. create invoice) directly from the LI search interface. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-26 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/templates/acq/common/vlagent.tt2, Open-ILS/src/templates/acq/picklist/upload.tt2, Open-ILS/web/js/ui/default/acq/common/vlagent.js: ACQ Upload import-copy option With the addition of the new Vandelay features in ACQ, the "Load bibs and Items" option was replaced with Vandeley import options. In the context of ACQ, however, Vandelay is only concerned with importing bibs and not copies. Subsequently, the user lost the ability to both create catalog records and catalog copies in one step during ACQ upload. The patch remedies that by providing a new "Load Items for Imported Records" option within the upload page. When enabled, all successfully loaded ACQ copies will also be imported as real/catalog copies. Note that it's only added to the upload page, because all other ACQ interfaces assume that both bibs and copies should be created (e.g. during PO activation). Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-20 Lebbeous Fogle-Weekley * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/examples/apache/startup.pl, Open-ILS/examples/tt2/flattener_test.tt2, Open-ILS/src/extras/ils_events.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Flattener.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/FlatFielder.pm, Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/src/templates/conify/global/config/barcode_completion.tt2, Open-ILS/src/templates/conify/global/config/circ_limit_set.tt2, Open-ILS/src/templates/conify/global/config/circ_matrix_matchpoint. tt2, Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint. tt2, Open-ILS/src/templates/vandelay/inc/import_errors.tt2, Open-ILS/web/js/dojo/openils/FlattenerStore.js, Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/js/dojo/openils/widget/FlattenerFilterDialog.js, Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js, Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js, Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js, Open-ILS/web/js/dojo/openils/widget/_GridHelperColumns.js, Open-ILS/xsl/FlatFielder2HTML.xsl, docs/TechRef/Flattener/design.txt: Flattened searching: generalized data retrieval via public service For a better overview of what this feature is about than what I could write here, see docs/TechRef/Flattener/design.txt in this commit. This is the first new feature (as far as I know) to take advantage of PCRUD fleshing. Very briefly, imagine issuing a query to PCRUD with lots of arbitrarily deep fleshing, and getting back a set of flat rows with the fields you need for display/editing/whatever all neatly picked out as if ready to be displayed in a table or grid-based UI. FlattenerGrid, which knows how to use this, can potentially replace and avoid lots of relatively complex (AutoGrid + custom middle layer methods)-powered interfaces. AutoGrid interfaces that just work with one fieldmapper class at a time, more or less, can just keep doing what they're doing. Little or no advantage to switcihing to flattened data in that case. FlattenerGrid is CRUD-complete and has lots of the same features as AutoGrid, where they make sense, such as the line numbers, checkboxes, the columnpicker, multisort, etc. Sample instance at Open-ILS/exmpales/flattener_test.tt2 . Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-30 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0698.hold_default_pickup.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.hold_default_pickup.sql: Stamping default pickup library upgrade script Signed-off-by: Thomas Berezansky 2012-03-22 Thomas Berezansky * Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/holds.js: Teach loading of settings inside of patron window By passing through get_barcode_and_settings (and get_barcode, why not). Once there we can, on load of place hold screens, load the target user's preferences instead of having to teach TPac to do so in the background. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-03-16 Thomas Berezansky * Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/patron/display.js: TPac: Include day phone default_phone backup Like JSPac. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-01-26 Thomas Berezansky * Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/skin/default/js/holds.js: Hook up default phone/pickup in JSPac Because why not? Note that you can't set them with JSPac. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-01-26 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/patron/display.js: TPac: Load user's hold prefs When staff place holds attempt to load the user's hold preferences. This also hooks up the barcode completion code to the TPac hold placement interface. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-01-25 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.hold_default_pickup.sql, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2, Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/ui/default/actor/user/register.js: TPac: Add Default Hold Pickup Location And add it (plus other user settings) to the patron editor. And fix a bug where notice prefs were saving without POST. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum 2012-03-30 Mike Rylander * Open-ILS/src/templates/opac/parts/record/summary.tt2: Minor cleanup of TT2 vs closing tag Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2012-03-18 Dan Scott * Open-ILS/src/templates/opac/parts/record/authors.tt2, Open-ILS/src/templates/opac/parts/record/subjects.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2: Add basic schema.org microdata to record details It's shocking how little we can easily and reliably extract from MARC to map to schema.org's metadata structure. However, what I could get shows up relatively nicely on Google's Rich Snippets testing tool. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-03-17 Dan Scott * Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/body.tt2: First inklings of schema.org support Just get the itemscope and very rudimentary mapping for the primary itemtype into record details. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-03-29 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/skin/global.css, Open-ILS/xul/staff_client/chrome/skin/media/images/licenses.txt, Open-ILS/xul/staff_client/imagesources/licenses.txt, Open-ILS/xul/staff_client/imagesources/maketoolbarpics.sh, Open-ILS/xul/staff_client/imagesources/toolbar_blue/background_3_bl ue.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_bib_se arch.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_claim_ eligible.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_create _invoice.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_create _po.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_new_br ief_record.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_unifie d_search.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_upload .svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_user_r equests.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_acq_view_m y_pl.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_booking_ca pture.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_booking_pu ll_list.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_booking_re servation.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_booking_re servation_pickup.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_booking_re servation_return.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_browse_hol ds_shelf.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_circ_hold_ pull_list.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_circ_renew .svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_edit_copy_ buckets.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_edit_recor d_buckets.svg, Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_portal.svg , Open-ILS/xul/staff_client/imagesources/toolbar_blue/blue_retrieve_l ast_patron.svg: New toolbar button icons Courtesy of NOBLE. Signed-off-by: Thomas Berezansky 2012-03-29 Michael Peters * Open-ILS/web/opac/common/js/opac_utils.js, Open-ILS/web/opac/common/js/org_utils.js: LP#520632 Fix for-loop over orgArraySearcher to preserve order Authored by Remington Steed This commit fixes the sort order in IE, Google Chrome of the org unit's when choosing a search depth. Signed-off-by: Remington Steed Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-03-29 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0697.data.place_currently_unfillable_ho ld.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.place_unfillable_hold.sql, Open-ILS/web/opac/locale/en-US/opac.dtd: Stamping upgrade script for currently unfillable holds Signed-off-by: Mike Rylander 2012-01-14 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.place_unfillable_hold.sql, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml: Add PLACE_UNFILLABLE_HOLD permission And hook it up in JSPac and TPac. General idea: If you have the permission you can place holds that will not fill right now, in general, for any reason. In TPac, I replaced the previous "check the last failure code" line. The new permission basically accomplishes the same thing for now, and is less likely to return different results from placement attempt to placement attempt. Also, only checking one failure code of potential hundreds didn't make a lot of sense. In the event of age protected copies the age protected prompt wins out. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-03-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Hold targeter cancellation action/trigger repairs When a hold/reservation is cancelled via the targeter and passed off to action/trigger for possible event creation, ensure that all fields on the hold are in sync w/ the master db before the hand-off. Otherwise, critical values, like cancel_time may be null, which can cause A/T event creation to fail. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-23 Bill Erickson * Open-ILS/src/templates/conify/global/acq/provider.tt2, Open-ILS/web/js/ui/default/conify/global/acq/provider.js: ACQ provider admin page display improvements 1. Sort providers I have permission to edit to the front. 2. Improved support for viewing all providers the user has access to view. 3. Enable the grid filter 4. Template cleanup to avoid the unnecessary horizontal scroll that sometimes occurs along the top. 5. Misc code cleanup acq provider layout fixes Signed-off-by: Bill Erickson Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-29 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xu l: trivial fix for Copy Buckets toolbar button Signed-off-by: Jason Etheridge 2012-03-22 Dan Scott * Open-ILS/src/Makefile.am, Open-ILS/src/perlmods/Makefile.am: Add Makefile to rebuild targets for generated files If you rerun ./configure with a different option (such as --sysconf=foo), the changed Makefile needs to trigger a rebuild of the generated files. Otherwise, the first generated version of the file is always newer than its *.in counterpart and a rebuild won't be triggered on subsequent ./configure runs. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-03-22 Dan Scott * Open-ILS/src/Makefile.am, Open-ILS/src/perlmods/Makefile.am, configure.ac: Move towards build-time configuration of variables We moved a lot of variable configuration into AC_CONFIG_FILES in autoconf for the sake of convenience, but that turned out to be problematic, as James Fournie noted in LP 960552, as the warning in http://www.gnu.org/software/automake/manual/html_node/Scripts.html notes: "building scripts this way has one drawback: directory variables such as $(datadir) are not fully expanded and may refer to other directory variables". This was particularly a problem for variables such as @sysconfdir@ in code that doesn't understand shell syntax - such as Cronscript.pm. This commit moves towards build-time configuration of those variables. We still use *.in files, but mark the built versions as dependencies in build recipes such that we can build and test within the source directory without having to install the files. We also gain the advantage of teaching "make clean" to clean up the built versions of the files. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-03-29 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0696.no_plperl.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.no_plperl.sql: Stamping No plperl Upgrade Script Signed-off-by: Thomas Berezansky 2012-03-27 Thomas Berezansky * Open-ILS/src/sql/Pg/900.audit-functions.sql, Open-ILS/src/sql/Pg/create_database.sql, Open-ILS/src/sql/Pg/create_database_9_1.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.no_plperl.sql: We use plperlu, not plperl. So don't load both! Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson 2012-03-22 Bill Erickson * Open-ILS/src/templates/acq/fund/list.tt2, Open-ILS/web/js/ui/default/acq/financial/list_funds.js: ACQ fund admin UI improvements * Fund retrieval directly via AutoGrid/pcrud, now that pcrud supports fleshing. * Sort funds I can edit to the front of the list * Enable the new improved grid filter dialog * Leverage onItemReceived for caching funds for balanceInfo getter * Add some height to the grid to allow more rows to be visible in the page (without scrolling) Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson 2012-03-22 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm: ACQ Fund retrieval API permission improvements Allow users with ADMIN_ACQ_FUND (in addition to the deprecated ADMIN_FUND) permission to retrieve fund year information via open-ils.acq.fund.org[.years].retrieve Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson 2012-03-22 Bill Erickson * Open-ILS/examples/fm_IDL.xml: ACQ fund summary object fleshing in IDL Add links for fund summary classes in the IDL to allow for direct fleshing of summary objects via pcrud. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson 2012-03-23 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: AutoGrid onItemReceived support Adds support for a new call-back, called when a grid row item is received (via pcrud onresponse). If defined, The call-back is passed the received item before the it's added to the data store. This allows users to get a direct handle on received objects. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson 2012-03-28 Jason Etheridge * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.custom_toolbars.sql: remove XXXX script Signed-off-by: Jason Etheridge 2012-03-28 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0695.schema.custom_toolbars.sql: Stamping upgrade script for custom toolbars Signed-off-by: Thomas Berezansky 2012-03-28 Jason Etheridge * Open-ILS/xul/staff_client/server/admin/toolbar.js: fix a Down action bug in Configure Toolbars where the list selection index could be set to an invalid value, which could cause errors for actions acting upon that index Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-28 Jason Etheridge * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.custom_toolbars.sql, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/admin/toolbar.js: fix editing of multiple toolbarseparators and toolbarspacers. Also beef up the hardcoded toolbar to match the stock circ toolbar. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-20 Jason Etheridge * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xu l, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/admin/toolbar.js, Open-ILS/xul/staff_client/server/admin/toolbar.xul, Open-ILS/xul/staff_client/server/locale/en-US/admin.properties: reworked toolbars for dynamism uses the data from action.toolbar also a Toolbar Configuration UI also added more toolbar buttons, though they need icons Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-20 Jason Etheridge * Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.custom_toolbars.sql: fix constraint syntax and add in toolbar related permissions, plus a missing and unrelated perm: IMPORT_AUTHORITY_MARC Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-20 Mike Rylander * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.custom_toolbars.sql: Beginning an unwrapped upgrade script Signed-off-by: Mike Rylander Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-19 Mike Rylander * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/005.schema.actors.sql: DB layout for recording custom toolbars Signed-off-by: Mike Rylander Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-22 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/shell.js: utility functions for Javascript Shell win_list() returns an array of "eg_main" chrome windows get_tab() takes two forms: get_tab(chrome_window,tab_index) get_tab(tab_index) The latter invocation assumes the first chrome window returned by win_list(). get_tab returns an object with the keys 'name' and 'content', pointing to the tab label and the tab panel -> iframe -> contentWindow, respectively. So let's say you had a patron account open in tab 1, and the Javascript Shell open in tab 2. In the shell, you could do: var o = get_tab(1); o.name might contain something like 1 Patron: Circulator, Ima and you could do this to refresh that interface: o.content.g.patron.refresh_all() Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-22 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js: Fix ordinal column with multiple lists Before this fix, if more than one util.list powered list existed within a given document/window, they would each intefere with the other's ordinal column. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-21 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js: more workstation related options for ses() Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-27 Dan Scott * Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/result/copy_counts.tt2: TPAC: Suppress copy counts for libraries that own zero copies Rather than slavishly showing the copy counts for libraries even when the library has no copies to show, avoid wasting the precious display space and suppress the output. This was a problem for both search scope libraries and preferred library in the search results, and for just preferred library in record details. This commit makes the behaviour consistent, in favour of suppressing the display of copy counts when there's nothing to display. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-03-27 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Fix NULL interval for action_trigger.event_definition.delay The delay column in action_trigger.event_definition is defined as NOT NULL, therefore we should not try to push a NULL into it as that makes PostgreSQL unhappy. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-03-27 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Fix seed data script syntax errors Commas were missing at the end of some lines. Fix that so that the database can be created relatively cleanly again. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-03-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: Template processor always falls back to en_us When no locales are registered and/or when a given locale is missing a translation, fall back to en_us as the default locale. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-26 Dan Wells * Open-ILS/src/templates/serial/edit_siss.tt2, Open-ILS/web/js/dojo/openils/serial/nls/serial.js, Open-ILS/web/js/ui/default/serial/edit_siss.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js, Open-ILS/xul/staff_client/server/serial/siss_editor.xul: Serial Control: Use Dijit-based issuance editor The serial control interfaces use editors derived from the XUL copy editor, while the alternate control uses Dijit editors. This commit takes a small step toward unification by using the Dijit issuance editor within the serial control interface, with the following benefits: 1) Both controls will have a very similar editor look and feel 2) Takes advantage of custom holding code wizard widget 3) Future fixes and enhancements to the editors will apply easily to both controls 4) Begin deprecating XUL serial editors This commit doesn't yet rip out the old issuance editor code, as that should wait until the transition is more complete. Signed-off-by: Dan Wells 2012-03-26 Dan Wells * Open-ILS/web/js/ui/default/serial/subscription/issuance.js: Small fix to Holding Code wizard widget The issuance editor has a wizard widget for the holding code field which expected a 'grid' as an argument, but then referenced a global 'iss_grid' variable. This hurt reusability of this widget. Signed-off-by: Dan Wells 2012-03-26 Dan Wells * Open-ILS/xul/staff_client/server/serial/manage_subs.js: Serial Control: Refresh node map on edit While it would be nice to redraw any affected tree nodes when editing, we should at least replace the map data in case it is used in other functions. Signed-off-by: Dan Wells 2012-03-26 Galen Charlton * Open-ILS/src/sql/Pg/upgrade/0694.schema.patron_reg_prefix.sql: lp965651: add missing commas Patch by Jason Stephenson, Comma Hunter Signed-off-by: Galen Charlton 2012-03-26 Galen Charlton * Open-ILS/src/sql/Pg/950.data.seed-values.sql: lp965637: add missing comma to fix syntax error Patch from Jason Stephenson Signed-off-by: Galen Charlton 2012-03-26 Mike Rylander * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Add patron prefix upgrade to the version upgrade script Signed-off-by: Mike Rylander 2012-03-26 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0694.schema.patron_reg_prefix.sql, Open-ILS/src/sql/Pg/upgrade/yyyy.schema.patron_reg_prefix.sql: Stamping patron prefix upgrade script Signed-off-by: Mike Rylander 2012-01-30 Michael Peters * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/yyyy.schema.patron_reg_prefix.sql, Open-ILS/src/templates/actor/user/register_table.tt2, Open-ILS/web/js/ui/default/actor/user/register.js: Add a prefix field to patron registration interface Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-03-26 Jason Etheridge * Open-ILS/src/sql/Pg/upgrade/0692.data.fine-when-closed.sql: version fix for 0692/0693 Signed-off-by: Jason Etheridge 2012-03-26 Mike Rylander * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Add ISSN fix to the version upgrade script Signed-off-by: Mike Rylander 2012-03-26 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0693.schema.do_not_despace_issns.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.do_not_despace_issns.sql: Stamping upgrade script for ISSN normalization fix Signed-off-by: Mike Rylander 2012-03-21 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.do_not_despace_issns.sql: LP932540: Fix ISSN indexing The default config.metabib_field_index_norm_map contains a 'replace' entry for the ISSN identifier field that replaces spaces with "". That was meant to handle ISSNs that incorrectly contain a space instead of a hyphen; it normalizes them from: "1234 1234" to "12341234". However, that breaks indexing ISSNs if there are multiple ISSNs in the record, or even if there is an extra character in the same subfield as the primary ISSN, as all spaces are removed. This commit removes the 'replace' entry for the ISSN identifier field and reindexes potentially damaged ISSN index entries. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-03-23 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0692.data.fine-when-closed.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.fine-when-closed.sql: Stamped upgrade for 'allow fines during closings' Signed-off-by: Bill Erickson 2012-03-23 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.fine-when-closed.sql: Allow fines to accrue during closings Evergreen skips fines during scheduled closings. With this commit, a new Org Unit Setting labeled 'Charge fines on overdue circulations when closed' is available to force fines to accrue during closures. Logic repiars and out-of-scope (strict) variable repairs from Bill Erickson. This work is sponsored by the NC Cardinal consortium in North Carolina. Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson 2012-03-19 Lebbeous Fogle-Weekley * Open-ILS/src/templates/serial/list_item.tt2, Open-ILS/src/templates/serial/list_stream.tt2, Open-ILS/src/templates/serial/list_subscription.tt2, Open-ILS/src/templates/serial/subscription.tt2, Open-ILS/src/templates/serial/subscription/distribution.tt2, Open-ILS/src/templates/serial/subscription/issuance.tt2, Open-ILS/web/js/dojo/openils/widget/EditPane.js, Open-ILS/web/js/ui/default/serial/common.js: Alt serials opac reloading cleanup Removed a call to xulG.reload_opac() that was no longer wanted More debuggable. I think it might still be possbile to get to alt serial control interfaces in contexts where they don't have xulG.reload_opac(), but I can't think of any way to do it just now. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-03-19 Bill Erickson * Open-ILS/src/templates/serial/list_item.tt2, Open-ILS/src/templates/serial/list_stream.tt2, Open-ILS/src/templates/serial/list_subscription.tt2, Open-ILS/src/templates/serial/subscription/distribution.tt2, Open-ILS/src/templates/serial/subscription/issuance.tt2: Alt serials reload opac after changes Using the new onPostSubmit handler for AutoGrid. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-19 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: AutoGrid generic onPostSubmit handler Called w/ no arguments after any CRUD actions occur. This includes EditPane / EditDialog actions as well as deleteSelected. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-09 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: Followup fix to teaching AutoGrid to reload_opac() For deleting a list of selected items, only reload_opac() once at the end, not once for each item deleted. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-09 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/js/dojo/openils/widget/EditPane.js, Open-ILS/web/js/ui/default/serial/subscription.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/serial/batch_receive.js: Alt Serial Control interfaces and Batch Receive reload OPAC when possible Really, since the Alt Serial Control interfaces are built on AutoGrid, all we have to do there is teach AutoGrid (and its constituent EditPane) to try for reload_opac on write operations. This may cause more reloads of the OPAC than are truly necessary, but mainly in cases when nobody's looking because the OPAC is hidden away in another tab. That's preferable to the alternative of littering the codebase with dozens of instances of try { xulG.reload_opac(); } catch (E) { } which would just be ugly, bad and unmaintainable. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-09 Jason Etheridge * Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/items.js: updating item out count in patron display For checkouts (and checkouts converted into renewals), this updates the item out count in the patron summary sidebar, and under the Items Out navigation button. It also updates the Items Out sub-interface if that interface has been opened. However, we are adding an extra network call to update the summary sidebar. We may want to have the checkout method return that data (the checkout count summary) instead. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-08 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/util/browser.js, Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: Reload the OPAC via Holdings Maintenance Makes reloading a page wrapped in util.browser more accessible to foreign window contexts. Gives all the interfaces hanging off the chrome OPAC wrapper the ability to reload the OPAC frame via xulG.reload_opac(). Have Holdings Maintenance do this whenever its list is refreshed. And "Add Volumes", whether invoked from Actions for this Record, or from the click link in the record summary pane. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-23 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0691.schema.acq_fk_indices.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq_fk_indices.sql: Stamping upgrade script for ACQ search improvements Signed-off-by: Mike Rylander 2012-02-16 Bill Erickson * Open-ILS/web/js/ui/default/acq/po/view_po.js: PO Invoice link search by PO instead of Lineitem The button which allows the user to jump from the PO to linked invoices now retrieves invoices directly based on the PO ID and instead of jumping though the lineitem, which only works for POs that have lineitems (invoiced). Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-02-14 Lebbeous Fogle-Weekley * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm, Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq_fk_indices.sql: Acq: improve General Search's ability to find invoices Invoices in Evergreen have complex relationships with other items. They can be related to lineitems (and ultimately POs and selection lists) by invoice *entries*, or to PO items (and ultimately etc etc) by invoice *items*, or directly to purchase orders by either of the above mentioned acq.invoice_{entry,item} objects. This should make general search more able to find invoices related to other objects whose fields you might search against in Acquistions General search. Here's a diagram that I created to help me think about how to write these joins: https://docs.google.com/drawings/d/15ExkiYvq0skfobbocvPWxwdZkb7aykEZpLGfbP9PL04/editAt Bill Erickson's suggestion, I wound up putting the joins into an IDL view ("acqus") rather than trying to express them in JSON query, which was turning into a real time sink. To prevent this change from making Acq General Search slower than it was, I've also added indices on all the foreign keys used in the IDL view, so that the joins should be as fast as possible. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-22 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js: AutoFieldWidget single-object cache repairs Caching single objects linked off the context object was failing in most cases as it was caching under the display name instead of the true value (pkey) for the linked object. This fixes that by always caching the linked object by its true value, so that future cache lookups will be looking in the right place. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-22 Bill Erickson * Open-ILS/web/js/dojo/openils/PermaCrud.js: PermaCrud.js flesh support Now that open-ils.pcrud supports fleshing, allow flesh params to pass through PermaCrud.js Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-23 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0690.schema.unapi_limit_rank.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Stamping upgrade script for in-db unAPI + TPAC cleanup from Dan Scott Signed-off-by: Mike Rylander 2012-03-21 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql: TPAC: Show preferred library copies only in consortial scope A refinement of the preferred library display: only when the user is at the consortial scope should the preferred library copies float to the top. At all other scopes, the preferred library copies will appear in their proper place in the org unit hierarchy (or not at all if outside of the chosen scope). Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-03-21 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql: TPAC: Sort copies from preferred library first This commit makes copies from the preferred library (if any) sort first in the displayed copy list in search results and record details, even if the search scope would otherwise not include the preferred library's copies at all. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-21 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: TPAC: Fix filtering of org units in record details The syntax for the filtering clause isn't quite right for the non-opac-visible org units; remove the braces and win. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-20 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql, Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/result/copy_counts.tt2: TPAC / unapi: Overhaul copy and located URI display In unauthenticated mode, sort returned copies in the following order: 1. Search library proximity 2. Search library name 3. (Search results only) Call number, by most available copy status 4. Call number label 5. Copy status availability Also return & display the copy counts ("x of y copies are available") for the search library and each of its parents. We can also determine "preferred library" as follows, taking the first match: 1. A new GET param, "plib", specifying the number of the OU 2. If authenticated, the user's "search library" preference setting; 3. If authenticated, the user's home library; 4. Physical location in which the search is being issued (if any) Given a preferred library: 1. Promote the copies (if any) for the preferred library to the top of the copy display list. 2. Include the copy count for the preferred library if it is outside of the scope of the search library; 3. In record details, give users the ability to jump to their preferred library scope via "Show preferred library" beside the preferred library copy count, if applicable. If your search library is located beneath your pref library in the org hierarchy, then you'll get just the "copy depth" link instead. Also, untangle the located URIs from physical call numbers in in-database unapi. We had been facing the limitation of URIs being limited by the maximum number of call numbers, with the result that URIs may or may not have been displayed. Now, we take the bold tack of returning all URIs that are in scope for both the search library and the preferred library. No limiting is currently possible, but in the realistic worst case scenario of both search lib and pref lib being set to an OU at depth 4, we'll get a maximum of 8 different URIs back to display. (More realistically, it's unlikely that a different URI will be set for each level of the hierarchy.) Some of the more granular code changes are as follows: * Add attributes to in-db unapi acp, sunit, holdings_xml This gives us more flexibility in displaying due dates within search results or other contexts in which holdings are displayed. The age_protect, copy_id, and vol_id attributes are required by the record summary display. * Enable TPAC to display records via HSTORE-based unapi Now that unapi requires HSTORE-based LIMIT and OFFSET arguments, take the simplest possible approach to get get_records_and_facets() working again. In search results, we want to limit both the number of copies we get back (defaulting to a maximum of 5 copies per call number) and the number of call numbers we get back (defaulting to a maximum of 5 call numbers), so that we don't get 50 call numbers each with 5 copies back and wind up grinding Evergreen's performance down to a halt. Rough thought is that the caller can filter through the (maximum) 25 hits that are returned to present their preferred results. For example, a site could opt to show 5 different call numbers with just one copy per call number, or 5 different copies for a single call number, or all 25. * Avoid deleted call numbers, copies, and sunits The rewrite of unapi removed the filters for deleted call numbers that were added to master in LP# 893315 / commit hash 47a16f516d. Fix this to prevent returning pages of results that would show nothing in the TPAC because all of the call numbers were deleted. * Display multiple URIs correctly We weren't clearing the hash each time that we added it to the list of URIs, and that ended up duplicating the URI rather than adding distinct URIs. * Take copy availability into account for copy order This is most important in the LIMITed list of copies returned to the TPAC search results page, but also useful on the record details page. This commit adds "copy status ranking" into the result ordering, such that more available copies will be returned first in the list (and thus, in the case of search results where call numbers and copies are typically limited (currently to 5 of 5), ensuring that the most available copies are likely to be seen by users). The "availability" ranking for a copy is defined by a new function, evergreen.rank_cp_status(), that takes criteria from the config.copy_status table and ranks it in three tiers, as follows: 1. Most available = opac_visible and copy_active are both TRUE 2. Almost available = holdable and opac_visible are TRUE, but copy_active is FALSE, or status ID = 1 ("Checked out") 3. Unavailable = anything else. Thus, changing copy availability ranking (such as demoting "On holds shelf" from the "most available" status to "almost available"), is simply a matter of tweaking the evergreen.rank_cp_status() function. * unapi database functions: mark STABLE Thomas Berezansky suggested marking one of the new database functions in the in-database unapi suite as STABLE to help the optimizer, which lead to us realizing that everything can be marked as stable. This should enable the planner to generate better plans than if left to the default pessimistic level of VOLATILE. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-08-03 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Utils/TagURI.pm: Add per-class limit support to the tag URI parser; correct location/org thinko Signed-off-by: Mike Rylander Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-08-02 Mike Rylander * Open-ILS/src/sql/Pg/990.schema.unapi.sql: Support per-class sub-object limit/offset Change the signature for in-db unapi functions so that the limit / offset arguments become HSTORE values, rather than plain INTEGER values. This gives you the ability to specify limits and offsets at both the volume and copy level, via the likes of 'acp=>5, acn=>10' to specify 5 copies and 10 volumes. Signed-off-by: Mike Rylander Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-03-22 Dan Scott * Open-ILS/src/sql/Pg/upgrade/0689.data.record_print_format_update.sq l, Open-ILS/src/sql/Pg/upgrade/XXXX.data.record_print_format_update.sq l: Wrap upgrade script for bib record email / print actions Thanks again to Bill Erickson for another nice piece o' functionality. Signed-off-by: Dan Scott 2012-02-29 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.record_print_format_update.sq l, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/record/email.tt2, Open-ILS/src/templates/opac/record/print.tt2: Tpac: record detail print and email Implements Print and Email actions (as links below add-to-list) in the tpac record detail page. The existing bib record print/email A/T seed templates were also updated like so: * Instead of using the reporter tables, bib data is fetched and extracted via unapi, which allows access to SVF data (etc) and is more consistent with the tpac. * A number of unused A/T evnironment entries for the seed templates were removed. * The delay for the email template was explicitly set to 00:00:00 instead of the default 5 minutes to get the emails out quicker. Signed-off-by: Bill Erickson 2012-03-22 Dan Scott * Open-ILS/src/sql/Pg/upgrade/0688.data.circ_history_export_csv.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ_history_export_csv.sql: Wrap upgrade script for CSV circ history export Thanks, Bill! Signed-off-by: Dan Scott 2012-02-22 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ_history_export_csv.sql, Open-ILS/src/templates/opac/myopac/circ_history.tt2, Open-ILS/src/templates/opac/myopac/circ_history/export.tt2: TPac: Circulation history CSV export This adds a new "Download CSV" button to the TPac circulation history interface. The CSV is generated from a new Action/Trigger event definition. Conflicts: Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm Open-ILS/src/sql/Pg/950.data.seed-values.sql Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-22 Dan Scott * .gitignore: .gitignore update - ignore more built files Signed-off-by: Dan Scott 2012-03-22 Dan Scott * Open-ILS/src/templates/opac/parts/myopac/main_base.tt2: TPAC: Tiny fix for + instead of _ string cat operator Quiet down, Apache logs. Signed-off-by: Dan Scott 2012-03-21 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPAC: suppress warning about splice() when the array in question is too short Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2012-03-21 Mike Rylander * Open-ILS/src/c-apps/oils_sql.c: Shooting 2 obvious thinkos d-e-d dead. Pardon the rogueness. Signed-off-by: Mike Rylander 2012-03-21 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/0686.schema.auditor_boost.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Fix Auditor Boost upgrade script CREATE FUNCTION needs an OR REPLACE included. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-02-03 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac; credit card assumes all xacts if none selected For consistency with the initial payment form and to preserve backwards compatibility, if no transactions are selected, assume the user wants to pay for all transactions. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2011-11-21 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/main_pay.tt2, Open-ILS/src/templates/opac/myopac/main_pay_init.tt2, Open-ILS/src/templates/opac/myopac/main_payment_form.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac; credit card payment "Processing..." page To prevent impatient patrons from re-submitting credit card payment request forms, insert a Processing... page between the initial form submission and the actual payment processing. Steps 3-5 are new or modified. 1. User selects transactions to pay 2. User fills in payment form and Submits 3. Payment form data is cached in memcache with a temporary token 4. Processing page is displayed with message about how processing the payment can take time, do not refresh, etc. 5. Page is refreshed via http meta refresh to submit the form using the temp token. The page is not visibly changed, though, since it takes time for the form submission to begin returning data. 6. User is directed to the payment results page. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2011-11-21 Bill Erickson * Open-ILS/src/templates/opac/parts/base.tt2: TPac; support context-genereted refresh content If the tpac context object contains a "refresh" attribute, it will be used as the content attribute in a element in the page head. If present, it will override the default refresh content for the authentication timeout. While we're in there, let's use the more correct form of the content attribute: content="x; url=foo" Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-20 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/StatCat.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Survey.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm: Add the session to Circ set_audit_info calls Because I apparently wasn't thinking about how I wrote the apputils piece when I added them. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-11 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js: LP914821 template selection should be sticky in Unified Volume/Copy Editor. Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-20 Mike Rylander * Open-ILS/web/js/dojo/openils/AutoSuggestStore.js: AutoSuggest: Have the server cache for us if we're not using cookies Signed-off-by: Mike Rylander Signed-off-by: Lebbeous Fogle-Weekley 2012-03-19 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/AutoSuggestStore.js: AutoSuggest: Don't try to store cmc and cmf caches in a cookie. Too big. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-03-20 Jason Stephenson * Open-ILS/src/templates/acq/invoice/view.tt2, Open-ILS/src/templates/opac/password_reset.tt2: Fix a couple of templates with multiple class attributes in tags. There should only be one class attribute on a HTML tag. However, multiple classes can be combined in a single attribute argument. See: http://www.w3schools.com/tags/att_standard_class.asp Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-15 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm: Backdate into grace period - include last second The last second of the grace period is ignored on backdated checkins, but should still count as "in" the grace period. This fixes that. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-03-13 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js: AutoSuggest: don't force-scroll browser; that's irritating By default, Dijits and things that inherit from Dijits (at least in Dojo 1.3.3 that we're still using), have a true value for an attribute called scrollOnFocus. This makes your browser jump to ensure that the widget that just received focus is in view. You don't always want this though. Try expanding the extras on the record detail page of the TPAC without this commit, but with AutoSuggest enabled, for example. This commit sets the scrollOnFocus attribute to false for the AutoSuggest widget. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-03-10 Dan Scott * Open-ILS/src/templates/opac/results.tt2: Propagate search location on "Another Search" link In commit 27b2037d72b I had intentionally prevented "Another Search" on the results page from propagating the current search location, in the belief that sites would want to use that as a way of starting a brand new search session; after all, both the "Advanced search" and "Search toolbar" offer propagation of the current parameters. However, a number of people including Kathy Lussier and Ben Shum indicated that they expected "Another Search" to maintain scope as well, so we will propagate state here. Sites may want to customize this link or the top-left logo link if they want to provide a "Start a new search session" option. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-03 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: Prevent AutoGrid death using a certain helper with null OU fields Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-03-20 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0687.schema.enhance_reingest.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.enhance_reingest.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Stamping upgrade script for reingest betterment Signed-off-by: Mike Rylander 2012-02-21 Thomas Berezansky * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.enhance_reingest.sql: New metabib.reingest_metabib_field_entries func In addition to acting like the old one by default, support new params: skip_browse - Skip autosuggest (re)population skip_facet - Skip facet (re)population skip_search - Skip search (re)population Can be specified by name with PostgreSQL named param features: metabib.reingest_metabib_field_entries(bib_id, skip_search := true); Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-03-20 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0686.schema.auditor_boost.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.auditor_boost.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Stamping upgrade script (and updating 2.1-2.2 version upgrade script) Signed-off-by: Mike Rylander 2011-11-21 Thomas Berezansky * Open-ILS/include/openils/oils_sql.h, Open-ILS/src/c-apps/oils_cstore.c, Open-ILS/src/c-apps/oils_pcrud.c, Open-ILS/src/c-apps/oils_rstore.c, Open-ILS/src/c-apps/oils_sql.c, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/StatCat.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Survey.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/sto rage.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/Editor.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/BadDebt.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm: Call set_audit_info and clear_audit_info DB funcs Set whenever we can (including automatically via pcrud) Clear whenever we disconnect (hopefully) from a location we set from. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-11-21 Thomas Berezansky * Open-ILS/src/sql/Pg/900.audit-functions.sql: Auditor Function Overhaul Alter create_auditor_history to include two new columns: audit_user - To refer to the user who made this change audit_ws - To refer to the workstation they were logged into Alter create_auditor_func to include the new columns, as well as make it stop assuming that the auditor table and the table it is based on use the same column ordering. In additon, make it use OR REPLACE so it can be run again later. Alter create_auditor_lifecycle similarly to create_auditor_func, sans the OR REPLACE functionality. Add five new functions: set_audit_info - To set the user and workstation IDs get_audit_info - Used by the auditor functions to retrieve said IDs clear_audit_info - To remove the stored IDs for whatever reason fix_columns - To add/remove/update columns that have changed since any auditors were initially created update_auditors - To run a full pass of dropping all lifecycle views, update for all column changes, re-create the auditor functions, and re-create the auditor lifecycle views. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-11-21 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/XXXX.auditor_boost.sql: Unwrapped auditor upgrade script Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-03-15 Michael Peters * : TTPAC material type icon compression When cleaning up the images directory for TTPAC, I discovered that the mattype icons had been saved with a poor compression scheme and where taking up nearly 3MB, which was just too high for a small set of icons. I ran them through Photoshop CS5 and saved us a whopping 2.85MB of disk space used by the images. The entire lot decreased from 3MB to just 152KB. Average icon size is now just about 1KB. This should speed up load times when these images are displayed. Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-03-09 Michael Peters * Open-ILS/src/templates/opac/password_reset.tt2: Password Reset Submit buttons should look like other OPAC buttons This branch stylizes the submit buttons on the Password Reset form in TTPAC so they match the other types of OPAC buttons throughout the catalog. Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-03-16 Michael Peters * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: LP#707167 Make open-ils.actor.usrname.exists not ignore deleted users Currently, open-ils.actor.usrname.exists filters out deleted users. This results in a user recieving indication as to why a user update failed, when the reason is the username they're attempting to use is in use, but is "deleted" in the database. This branch makes open-ils.actor.usrname.exists look at deleted users since they still prevent re-use of the delted user's username. More information is in the original bug, https://bugs.launchpad.net/evergreen/+bug/707167. Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-02-17 Lebbeous Fogle-Weekley * Open-ILS/src/asterisk/asterisk-1.6.2.18-accountcode.patch, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-allocator.pl, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-daemon.conf, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-mediator.pl, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-preclean.sh, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-smart-retry.pl, Open-ILS/src/asterisk/pbx-daemon/nagios_plugins/check_asterisk_spoo l.pl, Open-ILS/src/asterisk/pbx-daemon/test_client.pl, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/AstCa ll.pm, Open-ILS/src/support-scripts/rollover_phone_to_print.pl, Open-ILS/src/support-scripts/set_pbx_holidays.pl, docs/TechRef/Telephony/telephony-overview.svg, docs/TechRef/Telephony/telephony-setup-guide.txt: New features for telephony currently in use at KCLS I must ask the community's forgiveness for sitting on this for so long. This code was developed in fits over time, and it had to be disentangled from some site-specific configuration and workarounds before it could be usefully published. Enhancements over what's already committed to master include: - a feature that allows an Evergreen system to query the PBX (where PBX here refers to an Asterisk system plus the eg-pbx-* scripts from Evergreen - particularly eg-pbx-mediator.pl) for the A/T event IDs associated with failed notifcations, so that those A/T events can be "rolled over" into new ones with a different event definition, and thus a different notification method - holiday awareness in eg-pbx-allocator (the piece run by cron whose main responsibility is dripping files from a staging directory into Asterisk's real spool for call files). There's a script (set_pbx_holidays) that can be run by cron on an Evergreen system to periodically update the PBX's table of holidays based on a given org unit's closed_date ranges. - smart retry. In certain situations, if you put too many callfiles into Asterisk's spool at once, Asterisk will try to make too many calls at once, and all such calls just fail. That's what the allocator is meant to prevent. Smart retry is about moving calls that have been tried once, and will be retried again later due to resulting in a busy signal or other problem, out of the spool to make room for other calls that could be made in the mean time. - miscellaneous helper scripts and tricks for spreading more reportable/greppable information among A/T output and cleaning up callfiles that result in no-op's for Asterisk. Lock file checking for the allocator. Etc. I also have tried to throw in some useful documentation. I admit things look a bit jumbled, but I'll be as available as I can make myself to help anyone who steps up to clarify documentation or improve code in order to make general adoption of these features a little easier. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-02-02 Jason Stephenson * Open-ILS/web/opac/skin/default/js/search_bar.js: Use getItemType() instead of getForm() in searchBarInit(). This seems to actually fix the problem with the item type limiter being lost when going from advanced search to the results page. Looks like the wrong method was being used to set the form_selector value in search_bar.js. It was being set to the web form itself and not to the value of the it (item type) parameter. Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2011-11-01 Liam Whalen * Open-ILS/web/opac/skin/default/js/search_bar.js: When sorting a search results set the isFilterSort variable is passed to searchBarSubmit. In side searchBarSumbit there is a call to the opac_utils.js function clearSearchParams function. This removes all search paramaters when sorting a result set, which is not the desired effect. I have wraped clearSearchParams in a check to make sure isFilterSort is not set before calling the clearSearchParams function, and this check ensures that the current search's paramaters are passed to sort operations. Signed-off-by: Liam Whalen Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-01-18 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1.1-2.1.2-upgrade-db.sql: LP918020: Fix regression in biblio.extract_located_uris The 2.0-2.1 upgrade script contained an old version of biblio.extract_located_uris that functioned poorly. Fix the 2.0-2.1 upgrade script and ensure that sites upgrading to 2.1.2 get the fix as well. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-02-24 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/date.js: lp928937, null date sorting Changes util.date.db_date2Date so that nulls are not converted into the epoch. This fixes date sorting in XUL-based lists in the staff client such that unset dates are listed before actual dates. Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2012-02-24 Lebbeous Fogle-Weekley * Open-ILS/web/opac/skin/default/js/holds.js: Avoid JSPAC hold placement interface problems when no holdable copies This addresses a bug brought to my attention by John Jones. When you're trying to place certain holds (at least title level holds) on records for which there are no holdable formats (no descriptors as returned by open-ils.search.metabib.record_to_descriptors), then holdArgs.recordDescriptors in holds.js can be an empty array. There is a line of code that assumes this will never happen. The end user-visible result of the javascript failing here is an alert() dialog about phone number format, but this is a red herring. That only happens because the problem code is in one big function that has too many responsibilites. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-02-21 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac: avoid showing replaced addresses Replaced (negative-id) addresses should never be visible to the patron. Remove them from the collected list of addrs. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-02-07 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Tpac (etc): improve payment history sorting/paging Payments within a transaction will have the same timestamp. With a large enough set of such payments, sorting by timestamp alone when retrieving payments is not enough to guarantee unique pages of payments. This adds a secondary sort on payment ID as a tie-breaker. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-01-30 Thomas Berezansky * Open-ILS/xul/staff_client/Makefile.am: Fix AccessControl plugin extraction Apparently they ditched a containing folder in the zip...lets autodetect that from now on. Signed-off-by: Thomas Berezansky Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-01-23 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/search_result.js: patron search result order sorting The default patron search "order by" on the server side is last name, first name, and actor.usr.id. The staff client intended to request last name, first name, middle name, and date of birth (when actor.usr.id to be tacked on in the middle layer), but a bug prevented this. This fixes that. Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-01 Bill Erickson * Open-ILS/web/js/ui/default/conify/global/action_trigger/event_defin ition.js: Paging repairs for Event definition admin UI If there are multiple event definitions with the same name that lie along the page boundaries, it's possible to page through event definitions seeing some def's multiple times and others never. This is a result of sorting solely on event def. name when fetching event def's for display. This patch adds secondary (and tertiary, and quaternary, and quinary) sort columns as tie breakers to guarantee a unique set of defs across pages. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-01-05 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Do not exclude "identifier" facets by default No longer ignore "identifier" fields when collecting and caching facet data. This change causes all config.metabib_field's that are marked as facet_fields to be taken into consideration. Apart from marking a field as facet_field=false, it's also possible to control which fields are visible within the jspac and tpac (pending LP 911908) Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-19 Warren A. Layton * Open-ILS/xul/staff_client/server/index.xhtml: Fix some small errors in Apache log for staff client splash page Fixes the path to the background image in the splash page's search box. Also removes references to javascript files that don't seem to be present. Signed-off-by: Warren A. Layton Signed-off-by: Dan Scott 2012-03-19 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: TPAC: Prevent OU-invisible copies from being displayed to public Per LP# 959577, "We've found that copies from OU's with OPAC visible set to false are displaying on the record details page of tpac." This fixes that by including the pertinent clause in mk_copy_query()'s version of what in-db unapi does. Some day we will unite under the same logic and be stronger! Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-01-12 Thomas Berezansky * Open-ILS/examples/apache/eg_vhost.conf: Disable mod_deflate on XMLENT filtered files Default configs for Ubuntu, at least, enable mod_deflate too broadly, and XMLENT filtering needs to happen before mod_deflate kicks in. Because we can't change the filter order, instead disable mod_deflate for those files we have enabled XMLENT filtering, by use of the no-gzip ENV. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-03-19 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0685.data.bluray_vr_format.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.bluray_vr_format.sql: Stamping BluRay videorecording format upgrade Signed-off-by: Mike Rylander 2012-03-11 Thomas Berezansky * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.bluray_vr_format.sql: Teach Evergreen about Blu-Ray VR Format Also, reingest blu-ray records in an update script to populate it. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-03-16 Bill Erickson * Open-ILS/xul/staff_client/chrome/content/cat/opac.xul: Layout tweak to return-to-search-results staff button Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-13 Lebbeous Fogle-Weekley * Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.xul: Staff client: add a back-to-search-results button in the chrome that ... ... wraps the OPAC (whether JSPAC or TPAC). You don't really need this when in OPAC view, because the OPAC page itself will have a link that does the same thing. However, if you're browsing through records in a search result set one at a time in some other view, say the MARC view, then this button can come in handy. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Michael Peters Signed-off-by: Mike Rylander 2012-03-19 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0684.schema.acq-vandelay-integration.sq l, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-vandelay-integration.sq l: Stamping upgrade script for ACQ/Vandelay integration branch Signed-off-by: Mike Rylander 2012-03-15 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: AutoGrid line number CSS application cleanup Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-14 Jason Etheridge * Open-ILS/web/css/skin/default.css, Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: add Line# column to autogrid hidden by default, but we need to make it show up in autogrid's column picker Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-14 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/copy_browser.js: make ordinal column work in Holdings Maintenance brute force kludge Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-12 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/skin/global.css: adds a Line# column to all xul lists displays the ordinal position of the row Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-12 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.js, Open-ILS/xul/staff_client/server/admin/transit_list.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_buckets.js, Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.js, Open-ILS/xul/staff_client/server/cat/z3950.js, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/patron/bill2.js, Open-ILS/xul/staff_client/server/patron/holds.js, Open-ILS/xul/staff_client/server/patron/items.js, Open-ILS/xul/staff_client/server/patron/staged.js, Open-ILS/xul/staff_client/server/patron/standing_penalties.js, Open-ILS/xul/staff_client/server/patron/trigger_events.js, Open-ILS/xul/staff_client/server/serial/manage_dists.js, Open-ILS/xul/staff_client/server/serial/manage_items.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js: row_node vs my_node in util.list Both of these should be holding the same xul treeitems, and I don't recall wanting different names here, so I'm renaming both to treeitem_node. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-16 Bill Erickson * Open-ILS/src/c-apps/oils_sql.c: pcrud fleshing bug fixes 1. Avoid perm checks on org tree root lookup. 2. Test for child objects to flesh into has_a / might_fields differently to avoid segfault when kids array is empty Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-13 Lebbeous Fogle-Weekley * Open-ILS/src/c-apps/oils_sql.c: Fix a bug spotted by Jason Stephenson and Thomas Berezansky I was leaving local variables called 'cache' high and dry in many functions calling the initSessionCache() function that was introduced to reduce code repetition. This seems to fix that Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2012-03-14 Mike Rylander * Open-ILS/src/c-apps/oils_sql.c: Adjust controller-requiring logic for pcrud perm-verify mode In cstore we always require the controller. However, in pcrud, we need to be able to skip the controller requirement when we're verifying permissions. This allows that. Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson 2011-10-25 Lebbeous Fogle-Weekley * Open-ILS/src/c-apps/oils_sql.c: pcrud fleshing This allows fleshing in pcrud queries if a) the objects you would flesh have a pcrud controller in the IDL, b) you have permissions for all the objects you would flesh just as you would have to have them if you asked for them directly. This is harder to read than it might be because of efforts to avoid redundant perm checks for every fleshed object of the same class, and efforts to keep results streaming out quickly. Tests pretty well for me, but more rigor appreciated. I received lots of help in making this happen from Mike Rylander and Bill Erickson. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2012-03-16 Ben Shum * Open-ILS/src/templates/opac/parts/misc_util.tt2: Tpac - add additional subfields for title in search results Originally, titles in Tpac only showed based on tag 245 subfield a. This sometimes led to difficulty identifying specific records from each other if it was part of a set or had additional title information in other subfields. Modified default title function to include the following: subfield b = remainder of title subfield n = number of part/section of a work subfield p = name of part/section of a work Signed-off-by: Ben Shum Signed-off-by: Dan Scott 2012-03-16 Dan Scott * Open-ILS/src/templates/opac/myopac/prefs_notify.tt2: Move "Save" button for notify prefs to bottom left Quick fix for a problem spotted by Ben Shum. Signed-off-by: Dan Scott Signed-off-by: Ben Shum 2012-03-16 Michael Peters * Open-ILS/src/templates/opac/parts/place_hold.tt2: Remove KCLS hold placement note from default TTPAC TTPAC had a KCLS specific hold placement note when placing a hold. This removes it, as it doesn't apply to other installations. Signed-off-by: Michael Peters Signed-off-by: Jason Stephenson 2012-03-15 Michael Peters * : TTPAC icon color tweaks In TTPAC, there are a few tiny icons used that were still in a blue hue. This adds a green hue to the icons, so they match the skin, plus boasts a 50% size decrease for the *_sign.png images, for a tiny bit of extra performance. Signed-off-by: Michael Peters Signed-off-by: Dan Scott 2012-03-15 Bill Erickson * Open-ILS/src/templates/opac/parts/header.tt2: TPac: avoid mkurl param stripping for all defined url params Instead of checking truthiness, checked definedness. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-10 Dan Scott * Open-ILS/tests/datasets/concerto.sql: Concerto: increase copies, assign statuses Add more call numbers and create multiple copies per branch. Include BR3 and the Bookmobile for diversity and to provide some easier testing of search scopes at different depths. Switch to functions for the purpose of populating call numbers and copies, so we can make changes in one central place rather than repeating ourselves like crazy. For a better facsimile of the real-world, assign Reshelving / Checked out / Lost statuses to a subset of the copies. (When / if we create transactional data, we could throw this bogus data away.) Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-03-07 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: ACQ PO state defaults to "pending" from upload When uploading a batch of records to create a PO, give the PO the initial state of "pending" instead of "on-order". If the PO is meant to be activated, its state will updated to "on-order" during the activation phase. Signed-off-by: Bill Erickson Signed-off-by: James Fournie 2012-03-15 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0683.hold_available_email_notify.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.hold_available_email_notify.sql: stamped upgrade for hold-avail-email-notify validation Signed-off-by: Bill Erickson 2012-02-06 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.hold_available_email_notify.sql: Enable notify checking for holds in A/T Validators HoldIsAvailable and HoldIsCanceled get new checks, plus add HoldNotifyCheck validator. All three check for "check_$type_notify" parameters evaling to true, where $type is email, sms, or phone. If true the hold's appropriate value is checked and, if not suitable, the validator returns false. For email the email_notify value must pass the is_true test. For sms/phone the appropriate notify value must pass perl's truth test. Upgrade script modifies default event definitions, with the exception of the sms hold available event definition. That has no static id in the seed values. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-03-14 Thomas Berezansky * Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/org_selector.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2: Fix issues with org selectors leaking variables Use of PROCESS leaks variables, switch them to INCLUDE instead. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-02-29 Bill Erickson * Open-ILS/src/templates/acq/picklist/upload.tt2: Acq+Vandelay : minor label change Replace "View Upload Queue" with "View Import Queue", which is less technically specific (in a good way). Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-29 Bill Erickson * Open-ILS/src/templates/acq/picklist/upload.tt2, Open-ILS/web/js/ui/default/acq/picklist/upload.js: Acq+Vandelay : consistent post-upload link names For consistency with POs and selection lists, label the newly created Vandelay queue link as "View Upload Queue" instead of showing the queue name. While we're in there, let's i18n-ize those 3 labels. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-29 Bill Erickson * Open-ILS/web/js/dojo/openils/XUL.js, Open-ILS/web/js/ui/default/acq/picklist/upload.js: Acq+Vandelay: post-upload links open in embedded browser This change causes the picklist, PO, and queue links which appear after a vendor file upload to open their respective pages with the xul browser wrapper. Without this, the existing page CSS is ignored and everything, including href's, are grey and washed out. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-29 Bill Erickson * Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/acq/po/view_po.js: Acq+Vandelay : skip unneeded vandeley forms If all lineitems in question are linked to catalog records, avoid showing the unnecessary vandelay form. This was already true from the PO activation action, but this patch adds the same check to the create-po action from a selection list and PO 'load bibs and items'. Minor label change for consistency in li_table (Queue -> queue). Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-29 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/li_table.js: Acq + Vandelay : exit early for 'load bibs and items' in picklist The ACQ UI does not support loading bibs and items directly from the picklist interface. If the user selects "load bibs and items" from the picklist page they will be presented with the vandelay options, but the actual upload/merge/etc will not do anything. This change prevents the vandelay options from showing in this case. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-21 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Acq+Vandelay : more aggressive streamed response throttling With the addition of Vandelay processing, the server now wants to respond with status information a lot more often when uploading / process ACQ records. This patch applies the level of throttling to ACQ processing as Vandelay uses natively, which starts verbose and quickly cuts back on chatter as processing continues up to (currently) a throttle window of 1 delivered response per 256 responses. Apart from saving bandwith, this helps alleviate a known problem in the staff client where long-running, dense streams of multipart responses eventually stop bubbling up from the browser to the application. Making the responses more sparse seems to help this a lot. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-14 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Acq+Vandelay avoid premature asset creation The presence of Vandelay parameters in API calls does not mean the user necessarily wants to create PO assets (real copies/callnumbers). That's controlled by a different, existing API parameter. This adds support for processing bib data only in the presence of Vandelay parameters when the user has not explicitly chosen to create assets. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-10 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/vlagent.js: Acq+Vandelay form re-use new queue In the Vandelay agent form, if a user creates a new destination queue for the uploaded records, allow the user to re-use the new queue without having to refresh the interface. This is primarily useful in the ACQ upload UI, where re-using the pre-filled form is possible. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-10 Bill Erickson * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js: AutoFieldWidget gets new useWriteStore option If the useWriteStore attribute is set to true, the underlying data store for dynamically create data will live in an ItemFileWriteStore instead of a ReadStore, which allows the caller to modify the data after the widget is rendered. It's useful for in-place additions of newly created items. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-10 Bill Erickson * Open-ILS/web/js/ui/default/acq/picklist/upload.js: Acq upload UI re-use new picklist In the ACQ file upload UI, if the user loads the records into a new selection list, this change allows the user to continue using the new list without having to refresh the page. Without this change, re-using the new list would result in the system trying to create a new list with the same name, which fails. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-08 Bill Erickson * Open-ILS/web/js/ui/default/acq/picklist/upload.js: ACQ+Vandelay open picklist/PO/queue in new tab In the staff client, after a file upload, if a picklist, queue, or PO are created, make the links open their respective pages in new tabs. When not running inside the staff client, allow the links be regular href's. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-02-01 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/vlagent.js: ACQ+Vandelay detect existing queue with same name Within the acq/vandelay agent, detect when a user has entered the name of one of their existing queues. When detected, update the queue selector to match the found queue (which updates the linked match set and clears the queue selector input). Otherwise, users may not realize they are adding items to an existing queue (with a pre-linked match set). Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-31 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/vlagent.js: ACQ+Vandelay limit upload queue selector to ACQ queues When uploading bibs to vandelay queues from ACQ interfaces, only allow records to be added to queues tagged as 'acq' queues (or to new 'acq' queues). Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-31 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/vlagent.js: ACQ+Vandelay disallow match_set change on selected queue Consistent with Vandelay, if a queue is selected, show the linked match_set and disable the match_set selector. Existing queues are already linked to a match set, so allowing the user to select one has no effect, which is confusing. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-31 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: ACQ+Vandelay API support for queue-and-match only from ACQ Allow users to load ACQ records into Vandelay queues and apply a match_set at queue creation time, without requiring the user to import/merge the ACQ records. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-31 Bill Erickson * Open-ILS/src/templates/vandelay/inc/queueselect.tt2, Open-ILS/web/js/ui/default/vandelay/vandelay.js: ACQ+Vandelay ACQ Records in vandelay queue selector Adds a new type of record to select from the Vandelay queue selector. Selecting "Acquisitions Records" will show queues with type 'acq'. Selecting the existing "Bibliographic Records" selector will only show queues with queue_type 'bib' (i.e. non-acq queues). Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-19 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-vandelay-integration.sq l: ACQ+Vandelay permission improvements Be more vigilant about enforcing permissions for various ACQ and Vandelay actions. 1. Using vandelay to create new bib records now requres the IMPORT_MARC permission (same as open-ils.cat.biblio.record.xml.import). If the permission fails, the queued record will fail import and be stamped with a new "import.record.perm_failure" vandelay import error. 2. Added suport for testing additional permissions before a new record is created via vandelay. This allows interfaces leveraging vandelay (e.g. ACQ) to create a higher barrier to entry. Added an ACQ perm IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD that prevents users from creating new bib records directly from the ACQ vendor MARC file upload interface. The secondary permission is not meant as a security enhancement, per se, since the user is required to have the IMPORT_MARC permission to get this far in the process. It's more of a feature-specific precautionary permission to prevent unintended record creation within certain permission groups. 3. Checking the CREATE_PURCHASE_ORDER permission during the ACQ vendor file upload process. It's absence appears to have been an oversight. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-01-06 Bill Erickson * Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js: ACQ+Vandelay link to vandelay queue from lineitem list UI In the general purpose lineitem interface (li_table), there is now a link to the Vandelay queue which contains the queued bib record used to load/merge/link the lineitem. Queue opens in a new staff client tab. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2011-12-06 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/src/templates/acq/common/vlagent.tt2, Open-ILS/src/templates/acq/picklist/upload.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/acq/common/vlagent.js, Open-ILS/web/js/ui/default/acq/picklist/upload.js, Open-ILS/web/js/ui/default/acq/po/view_po.js: ACQ+Vandelay import/merge user interface components Acquisitions support for leveraging Vandelay import/merge controls for loading ACQ records and/or linking ACQ records to existing catalog records. Dev includes: * General purpose Vandelay input form and merge progress indicator (VLAgent) * VLAgent is now shown in the following interfaces when a bib load/merge/link action is required: * Vendor record upload interface * PO creation * PO "load bibs and items" action * PO activation Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2011-11-30 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm: ACQ+Vandelay API to support Vandelay-mediated imports Adds support for merging, overlaying, importing, and linking (a no-op merge) acquisitions lineitems to catalog records via Vandelay. All non-imported lineitems will now be processed through Vandelay during record upload and asset creation (load bibs and items), based on the Vandelay import parameters provided by the caller. Each processed lineitem will also be linked to its queued Vandelay record. In the case of a failed import, such records can be subsequently imported manually from the Vandelay interface using the manual record overlay options. ACQ API calls affected now report on the progress of Vandelay record import in addition to lineitem creation, copy creation, etc. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2011-11-30 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-vandelay-integration.sq l: ACQ+Vandelay schema and IDL changes w/ upgrade script Adds a queued_record link from acq lineitems to vandelay queued record. Ditto acq_lineitem_history. This will be used to link vandelay-mediated acq lineitems to the vandelay record used for their import. For ease of future changes, port the queue_type column from bib and authority queues to ENUMs and drop the constraint, which is implicit in the ENUM. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum 2012-03-08 Ben Shum * Open-ILS/xul/staff_client/server/patron/search_form_horiz_overlay.x ul: Add patron profile filter to horizontal search LP 715837 added the ability to filter by a specific patron profile during a patron search, but only in the default vertical search interface. For sites using horizontal search, this new filter option had never been included. Signed-off-by: Ben Shum Signed-off-by: Jason Stephenson Signed-off-by: Jason Etheridge 2012-03-12 Thomas Berezansky * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: Updated upgrade script for 2.1-2.2 Prepping for alpha3 Signed-off-by: Thomas Berezansky 2012-03-11 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0682.schema.copy_loc_search_groups.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_loc_search_groups.sql: Copy Location Search Groups Upgrade Script Version Signed-off-by: Thomas Berezansky 2012-03-10 Dan Scott * Open-ILS/src/templates/opac/parts/org_selector.tt2: Add styles to org selector for loc groups Looks like user agents don't let us do a lot with styling OPTION elements (text colour, background colour) but this gives sites that want to further distinguish copy groups from libraries in the org selector something to work with. Signed-off-by: Dan Scott 2012-03-01 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_loc_search_groups.sql, Open-ILS/src/templates/opac/parts/org_selector.tt2: Copy Location Groups : sort to top option Adds a 'top' flag to copy_location_groups which, when enabled, will cause the location group to sort above the child org units in the org unit selector in the tpac. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-01 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/templates/opac/parts/record/copy_counts.tt2: TPac: detail page distinct copy/holdings display depth This adds a new CGI param "copy_depth" which the record detail page uses to determine which copies to display in the copy grid and what serials holdings data to show. The goal is to separate search depth from copy display depth for 2 main reasons: 1. When present, the search ou is set by the "locg" parameter (org + copy location group). The "Show" links in the record detail page use "loc" to determine the copy location org (and subsequently the depth), which is ignored in the presence of "locg". In other words, we need a different way to communicate which range of copies to display. 2. Separating copy depth and search depth allows us to display search location-related summary information while at the same time displaying a broader set of copy information. For example, searching BR1, we can see copy summary info for BR1, SYS1, and CONS even when explicitly viewing copy information for CONS. In other words, viewing a broader set of copies for a record does not change the search/context org unit, it only extends the set of copies to display. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-02-24 Bill Erickson * Open-ILS/src/templates/conify/global/asset/copy_location_group.tt2: Copy Location Search Groups : admin UI improvements Two improvements to the location group list. 1. Replace x / checkmark glyphs with clearer Visible / Not Visible labels. Thanks for the suggestions, Lebbeous. 2. Vertically align the edit actions block and the drag grips so the actions are always in the same place. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-02-22 Bill Erickson * docs/RELEASE_NOTES_2_2.txt: Copy Location Search Groups : Release Notes Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2012-02-17 Bill Erickson * Open-ILS/src/templates/conify/global/asset/copy_location_group.tt2, Open-ILS/web/js/ui/default/conify/global/asset/copy_location_group. js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Copy Location Search Groups : Admin UI Added admin UI for managing copy location groups. It allows the user to create/edit/delete groups and add copy locations to the groups. The UI can be found under Admin -> Local System Administration -> Copy Location Groups. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-02-17 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/org_selector.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/preserve_params.tt2, Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2, Open-ILS/src/templates/opac/parts/record/refworks.tt2, Open-ILS/src/templates/opac/parts/record/series.tt2, Open-ILS/src/templates/opac/parts/record/subjects.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2: Copy Location Search Groups : TPac org unit selector Adds support for viewing and searching on copy location groups in the tpac. Groups appear within the org unit selector, when the selector is used in a search context. Groups display below the owning org unit similar to a child org unit. Groups are displayed for all org units that meet the following criteria: search org unit, physical location, patron home org unit, plus ancestors and descendents of each. To support this, TPac gets a new "locg" CGI parameter, which contains the org unit and copy location group. It takes the form org_id:group_id. The TPac mod_perl code will extract this value and popuplate the search_ou accordingly. For consistency, we also use ctx.search_ou instead of directly checking CGI.param('loc') within the template environment. This also includes a rewrite of the org_selector.tt2 template. It changes it from a recursive routine to a depth-first while loop. I did this mainly because the recursive approach was suffering from global variable clobbering in the template environment. In theory, this new approach should be faster as well. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-02-15 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Copy Location Search Groups : location_groups() QP filter Adds a new QueryParser search filter "location_groups" which takes a list of asset.copy_location_group IDs and filters on the mapped copy locations. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-02-15 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_loc_search_groups.sql: Copy Location Search Groups : DB / IDL Adds 2 new tables, one for defining copy location groups and another for mapping copy locations to groups. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-10 Dan Scott * Open-ILS/src/templates/opac/parts/header.tt2: TPAC: Teach mkurl() to discard POST params Unless we explicitly ask for POST params with the "params" argument to mkurl(), prevent them from propagating. (Can't think of situations when we would want to propagate a POST param, but we err on the side of flexibility so...) Thanks to Thomas Berezansky for suggesting the CGI url_param() method of filtering POST params. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-03-09 Dan Wells * Open-ILS/web/opac/common/js/opac_utils.js: Trivial redundant line removal Trivial change to remove duplicate setting of 'password' member left over from auth-proxy branch merge. Signed-off-by: Dan Wells 2012-03-08 Dan Scott * Open-ILS/examples/opensrf.xml.example, docs/RELEASE_NOTES_2_2.txt: Add id_attr LDAP attribute to opensrf.xml.example Also add a Release Notes entry for the authentication proxy service. Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2012-02-09 Dan Scott * Open-ILS/src/extras/Makefile.install, Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm, Open-ILS/src/perlmods/t/20-OpenILS-Application-AuthProxy.t: Add basic unit tests for AuthProxy + associated fixes The basic "will it load?" unit tests for AuthProxy* turned up a few requirements: 1. Add install of Net::LDAP to Makefile.install 2. Initialize the OpenSRF cache after bootstrapping Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2012-02-09 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm: Sync AuthProxy config values with opensrf.xml.example The open-ils.auth/app_settings/auth_limits section of opensrf.xml.example offers different settings than O:A:AuthProxy looks up, which would typically lead to the default fallbacks. Also, O:A:AuthProxy appears to mistakenly use seed_timeout instead of block_timeout. Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2012-02-09 Dan Scott * Open-ILS/xul/staff_client/chrome/content/auth/session.js: Whitespace fixup Fix the vim "noet" directive to avoid inadvertent introduction of tabs. Wrap a comment over multiple lines instead of creating a super-long line. Use one statement per line. Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2012-01-16 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm: Tie AuthProxy.pm to brute-force prevention setup Attempts to authenticate using either normal auth or AuthProxy.pm will now reference the same counter for the purposes of preventing brute-force password attacks. Signed-off-by: Dan Wells Signed-off-by: Dan Scott 2011-11-03 Dan Wells * Open-ILS/examples/opensrf.xml.example, Open-ILS/examples/opensrf_core.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy/AuthBase.pm , Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy/LDAP_Auth.p m, Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/common/js/init.js, Open-ILS/web/opac/common/js/opac_utils.js, Open-ILS/web/opac/common/js/utils.js, Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/web/opac/skin/default/js/sidebar.js, Open-ILS/xul/staff_client/chrome/content/auth/session.js, Open-ILS/xul/staff_client/chrome/content/main/constants.js: Initial external authentication support via proxy This is the initial commit to support an authentication proxy module to facilitate external authentication. It is a work in progress. What is does so far: - Optionally redirects all JSOPAC login requests over SSL by building on the 'forceLoginSSL' configuration bool (you MUST enable this option for proper use of the auth proxy) - Provides a basic plug-in framework for external authentication implementations, including configuration options for segregating authenticators based on login type or org_unit - Allows for multiple cascading authentication tests, including simultaneous support for external and internal (EG 'native') authentication - Provides a 'master switch' to easily revert to using the native EG authentication routines only - Includes an example LDAP plug-in which supports bind-style auth checks Biggest outstanding known needs: - TTOPAC integration, including SSL redirection - Tying of login attempts to current brute-force prevention setup - Treatment of end-user 'change password' interfaces - Support TT/Conifer style authentication prompt Missing but desirable feature: - Allow for manual selection of authenticator by end-user, including localization support Signed-off-by: Dan Wells Signed-off-by: Dan Scott 2012-02-22 Mike Rylander * Open-ILS/web/conify/global/actor/org_unit.html, Open-ILS/web/conify/global/actor/org_unit.js: Fix OU Editor save bug The OU Editor has been flashing red and pretending that id didn't save your changes for ... quite some time. This fixes that, which was caused by a change in the way the openils.PermaCrud dojo module passed results to the user-supplied oncomplete handler. Also, some unrelated whitespace changes. Sorry, Dan. Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson 2012-03-08 Thomas Berezansky * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0681.schema.user-activity.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-activity.sql: Stamping User Activity Upgrade Script Signed-off-by: Thomas Berezansky 2012-03-08 Bill Erickson * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-activity.sql: User activity : only delete transient activity for user/type Repairs a bug spotted by Thomas Berezansky where the addition of a new activity for a transient type would delete all existing activity entries. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: User Activity : SIP activity tracking 1. Log user activity for all patron-related SIP actions, regardless of whether the SIP server verifies the user password. 2. Determine the "ewho" (i.e. 3rd-party) value from configuration. Each SIP login can now specify its own "activity_who" value. Additionally, a fall-through element can be added to the institution config. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-27 Bill Erickson * Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/summary.js, Open-ILS/xul/staff_client/server/patron/summary_overlay.xul, Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul: User activity tracking : staff client last activity display This adds the Last Activity date to the patron summary (horizontal and vertical) just below the Expires date. The Last Activity value will come from the most recent activity of any type which is configured to be tracked. A tooltip on the field will show the activity type. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-06 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-activity.sql: User activity tracking : user usr_activity field Added a new virtual field to actor.usr called "usr_activity". When fleshed, the value contains the most recent activities logged for the user. By default, only the most recent activity entry is fetched, however this commit also adds an org unit setting "circ.patron.usr_activity_retrieve.max" to control the number of entries returned for standard patron fleshing calls. Activity entries are fleshed in the calls: open-ils.actor.user.fleshed.retrieve open-ils.actor.user.fleshed.retrieve_by_barcode This change also updates the permacrud permission for usr_activity form VIEW_USER to RUN_REPORTS, with the assumption that any activity data beyond the configured amount (above) should be considered historical data that is not as readily accessable. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-06 Bill Erickson * Open-ILS/src/templates/conify/global/config/usr_activity_type.tt2, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: User activity tracking : activity type admin UI Admin UI for managing user activit types. Access under Admin -> Server Admin -> User Activity Types. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-01-16 Bill Erickson * Open-ILS/examples/apache/startup.pl, Open-ILS/examples/remoteauth.cgi, Open-ILS/src/perlmods/lib/OpenILS/SIP.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Proxy.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Proxy/Authen.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/XMLRPCGateway.pm, Open-ILS/web/js/dojo/openils/User.js, Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js, Open-ILS/web/opac/common/js/opac_utils.js, Open-ILS/xul/staff_client/chrome/content/auth/session.js: User activity tracking: ingress, auth.verify, and login agent Pile of user activity related additions: * Set the global default Apache ingress value to 'apache'. Overridable. * Set the ingress value for remoteauth.cgi to 'remoteauth' * Change remoteauth.cgi to use auth verify instead of true login * Set ingress value for SIP to 'sip2' * Set the ingress value for XMLRPC to 'xmlrpc' * Set auth agent (ewho) to 'opac' for TPAC and JSPAC * Set auth agent to 'staffclient' for staff client logins * Set auth agent to 'authproxy' to the mod_perl Auth proxy * Added support to the openils.User dojo class for auth verify and the login/verify "agent" parameter * Set the auth agent to 'selfcheck' for the Selfcheck UI. Also now using auth verify instead of login to check the patron username/barcode + password combination (when enforced). Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-01-16 Bill Erickson * Open-ILS/src/python/oils/srfsh.py: User activity tracking : auth verify test for srfsh.py Added a handler for auth_verify, which calls open-ils.auth.authenticate.verify. Added here (srfsh.py) instead of srfsh(.c) because a) it's quick and b) srfsh(.c) already has too much open-ils in it. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-01-16 Bill Erickson * Open-ILS/include/openils/oils_utils.h, Open-ILS/src/c-apps/oils_auth.c, Open-ILS/src/c-apps/oils_utils.c: User activity tracking: open-ils.auth additions * Creates usr_activity entries for login and authentication verification requests * Adds a new parameter to open-ils.auth.authenticate.[complete|verify] methods called "agent" which maps to the usr_activity column for "ewho" (the UI or 3rd-party that initiated the action). * Adds a new API call "open-ils.auth.authenticate.verify", which behaves almost identically to authenticate.complete, with the exception that it does not "log in" (i.e. create an auth token and cache the user object). Instead, it simply returns a SUCCESS event if the username/barcode and password combination are valid. Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-01-16 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-activity.sql: User activity tracking: schema and IDL * Adds 2 new tables and IDL classes. The first is a configuration table used for defining activity types (config.usr_activity_type). The second is for tracking activity events. A user activity event is defined as a combination of user, action (e.g. login), the interface or 3rd-party responsible for the action (e.g. opac, staffclient, libraryelf), and the OpenSRF ingress (i.e. the mechanism through which the action was delivered: e.g. gateway, translator, xmlrpc). * Includes a front-facing stored procedure (actor.insert_usr_activity), used for creating new activity entries. * Adds seed data for some default activity types and reserves the first 1000 IDs for system use. Current default values for "ewho": opac staffclient selfcheck authproxy ums libraryelf ezproxy Current default values for "ehow" (ingress, some inherited from opensrf): opensrf (default) gateway-v1 translator-v1 srfsh -- sip2 xmlrpc remoteauth apache (default mod_perl/apache mod entry point) Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-03-06 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: ACQ MARC upload barcode extraction Using "barcode" as the key, it's now possible to extract copy barcodes, in addition to price, quantity, fund, etc., during ACQ vendor MARC file upload. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-08 Dan Scott * Open-ILS/examples/opensrf.xml.example, docs/RELEASE_NOTES_2_2.txt: Remove Z39.50 server definitions from opensrf.xml.example Point to the Release Notes for a description of how to map old entries to the database tables. Maybe later someone enterprising will write up a script that parses the XML and generates reasonable default entries in the database tables. Signed-off-by: Dan Scott Signed-off-by: Ben Shum 2012-03-04 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm: Decode the string to UTF8, always Even if you know that the caller is passing you a decoded UTF8 string, you can and should decode it yourself, because some day a caller isn't going to decode it first and you're going to wind up in misery trying to figure out why you're broken. In this case, it resolves the mystery of why the unit tests failed when Vandelay seemed to be ticking along fine. As the comment in clean_marc() mentioned, "assume input is already in UTF8" - but as soon as it isn't, boom. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2012-03-04 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm, Open-ILS/src/perlmods/t/01-OpenILS-Application.t, Open-ILS/src/perlmods/t/14-OpenILS-Utils.t: Fix Unicode mangling in clean_marc function Calling s/\p{Cc}//go; before entityize() was resulting in all xFFFD entities being returned for the upper case diacritic characters, which in turn caused the new unit test to fail (yay unit tests). I added a corresponding unit tese for entityize() to ensure that the problem wasn't coming from that function. Switching the order in which the p{Cc} regex and entityize() calls resolved the corruption in the unit test. This suggests that Vandelay may be introducing significant corruption to imported records and that backporting of this commit to the inline Vandelay variants from previous releases may be warranted. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-11-09 Jason Stephenson * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm: Add clean_marc function to OpenILS::Utils::Normalize. Add a library function to clean up MARC records for how we like to store them in the biblio.record_entry table. Having this in a library will reduce code duplication. Also, replace nearly identical code in OpenILS::Application::Vandelay and OpenILS::Application::Acq::Order with calls to this new function. Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott 2012-03-02 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js , Open-ILS/xul/staff_client/server/patron/holds.js: lp944947, receipt template per hold list interface Spec as follows: Individual screens use its own settings for receipt templates There are several XUL-based holds list that are all implemented with the same holds.js file: Actions for this Record -> View Holds Patron Display -> Holds Circulation -> Browse Hold Shelf Circulation -> Pull List for Hold Requests The main Print action (from the “Print” button next to the List Actions menu) uses the same template, “holds”, for all incarnations of the interface. We will change this behavior in holds.js (specifically in the cmd_holds_print method) such that each interface variation will use its own template. The new templates will be: holds_on_bib holds_for_patron holds_shelf holds_pull_list We will keep the “holds” template for backwards compatibility and as a fallback for when these new templates have not yet been configured. These new templates will be stubbed in data.js (in the print_list_defaults method) so that they will appear in the Receipt Template Editor, but by default they will not have any defined content for their headers, footers, and line items. Instead, we will use a new field called “inherit”, and have each new template use “holds” (referring to the original template) as the value for their inherit fields. So, for example, the current default ‘holds’ template is defined like this: 'holds' : { 'type' : 'holds', 'header' : 'Welcome to %LIBRARY%!
\r\nYou have the following titles on hold:
    ', 'line_item' : '
  1. %title%\r\n', 'footer' : '

%SHORTNAME% %TODAY_TRIM%
\r\nYou were helped by %STAFF_FIRSTNAME%
\r\n
\r\n' }, The new ‘holds_for_patron’ template will be defined as a peer like this: 'holds_for_patron' : { 'type' : 'holds', 'inherit' : 'holds' }, We will modify the _print_tree method in list.js and the post_init method in print_list_template_editor.js such that they will react to any value in a template’s inherit field and allow it to redirect them to use the contents of the inherited template. For this particular use-case, we only need to support one level of indirection, but we may opt to support chains of inheritance for future use. We will modify the save_template method in print_list_template_editor.js so that the inherit field for a given template will be cleared if that specific template is saved, breaking the link and associating the displayed (and possibly edited) header, footer, and line item with the template. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-02 Jason Etheridge * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Remove Browse Unfulfilled Holds interface Which never left Admin->For Developers and doesn't work as advertised Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-02 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/patron/holds.js: lp945091 save columns independently for hold lists Teaches util.list.init a new parameter, columns_saved_under, which effectively replaces the tree/list id attribute when used to construct a filename for saving and retrieving column settings. Use this technique with holds.js so that each XUL-based hold list interface can save column configurations independently. Specifically, these interfaces: Actions for this Record -> View Holds Patron Display -> Holds Circulation -> Browse Hold Shelf Circulation -> Pull List for Hold Requests Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-04 Dan Scott * Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2: Restore autofocus to the searchbar in TPAC The switch to autosuggest gave us great functionality, but we lost autofocus for effortless initial searching. Restore it, with and without Dojo. For the latter case, just use HTML5's autofocus attribute to begin with; later on we can use something like Modernizr to detect browsers that don't support this attribute and prop them up with additional JavaScript, but let's not let that prevent us from getting a good bang for our attribute buck in the short term. Note the slightly painful workaround required to get the cursor to position itself at the end of the input value of the Dojo autosuggest widget on page load. This is what we get for stepping back into the world of JavaScript :) Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-02-14 Bill Erickson * Open-ILS/web/js/ui/default/acq/common/li_table.js: Refresh PO activatable state after all prices entered After all lineitems within a PO have a price, re-test whether the PO can be activated. This allows the activation of PO's without having to refresh the page after the last price is entered. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-03-06 Dan Scott * Open-ILS/web/css/skin/default/opac/style.css: Give copy table in search results some style Bold text with grey background for headers, and some space above and below. Signed-off-by: Dan Scott Signed-off-by: Ben Shum 2012-03-06 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0680.schema.autosuggest-big_data-speedu p.sql: Speed up autosuggest in large data environments The autosuggest infrastructure was assuming the the Postgres query planner would be able to cope with large datasets without any additional fiddling. Unfortunately, that proved to be untrue. We also needed a few indexing changes. * At the suggestion of Ben Shum, ignore the identifier search class for autosuggest. * Added indexes to all joined columns of metabib.browse_entry_def_map. * Switched from GIST to GIN indexing of metabib.browse_entry.index_vector because GIN, being an inverted index, is /much/ better for prefix matching which, in turn, is extremely important for browse and autosuggest. * Apply some reasonable sanity-checking limits on suggest queries. This means you can't use autosuggest as a reporting tool -- but that's OK because it's not one. Signed-off-by: Mike Rylander Signed-off-by: Lebbeous Fogle-Weekley 2012-03-06 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xu l, Open-ILS/xul/staff_client/chrome/skin/media/images/licenses.txt: lp948051 new tab button Adds a new tab button to the right of the last tab in the main window. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-02-14 Ben Shum * Open-ILS/xul/staff_client/defaults/preferences/prefs.js: Add default preference for max tabs in staff client. By default, this is set to 0 for unlimited tabs. Including this setting will allow staff client packagers to more easily assign a limit if desired. Some reasons for adding a tab limit include: 1) avoiding memory exhaustion - opening too many tabs can be bad 2) preserving staff sanity - do not have too many tabs open at once Signed-off-by: Ben Shum Signed-off-by: Thomas Berezansky 2012-03-05 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Add locale-aware menu sort, use it for admin menu Sort function can do recursive sorting and is menuseparator aware, sorting within blocks defined by menuseparators. Note: If a menu item has forceFirst set as an attribute it will be put in front of the current sort group. So far this is only used to keep the operator change menu item at the top of the admin menu. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2012-02-10 Bill Erickson * Open-ILS/tests/datasets/patrons100.sql, Open-ILS/tests/datasets/users_patrons_100.sql: Rename sample patron file for clarity/consistency We now have users_patrons_* and users_staff_* Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-10 Bill Erickson * Open-ILS/tests/datasets/users_staff_134.sql: Sample staff user data 134 staff users * Each user has 1 address and one card * Barcodes take the form 99999 + 6 random digits * Usernames == lowercase(work_org_shortmae + first initial + last name) * Passwords = lowercase(firstname + last initial + 1234) * There are 2 staff for each can_have_users org unit for each staff profile, minus Global Admin. * There are two Global Admin staff in total, at orgs 4 and 6 See also LP #926281 Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-02-09 Bill Erickson * Open-ILS/tests/datasets/patrons100.sql: Sample patron data 100 Patron users * Each user has 1 address and one card * Barcodes take the form 99999 + 6 random digits * Usernames == barcodes * Passwords = lowercase(firstname + last initial + 1234) * Home org units were randomly set. Each can_have_users org unit should have several patrons See also LP #926281 Signed-off-by: Bill Erickson Signed-off-by: Thomas Berezansky 2012-03-06 Jason Etheridge * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/search_result.js: lp948012 double-clicking on list rows Teaches util.list how to handle double-clicks, and Patron Search to use double-clicks for patron retrieval, and Holdings Maintenance to use double-clicks for item editing. Signed-off-by: Jason Etheridge Signed-off-by: Thomas Berezansky 2012-03-04 Dan Scott * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0679.schema.autosuggest.search-normaliz e.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.autosuggest.search-normaliz e.sql: Number the autosuggest normalization upgrade script Signed-off-by: Dan Scott 2012-03-04 Dan Scott * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.autosuggest.search-normaliz e.sql: Address "bouyancy" typo (should be "buoyancy") Let us avoid a typo making it into a major release and condemning us to the hell of having to remember to misspell this thing until we can break backwards compatibility... Drop metabib.suggest_browse_entries() in the upgrade script, as the OUT parameters have changed and a mere "CREATE OR REPLACE" will not suffice. Signed-off-by: Dan Scott 2012-02-29 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/AutoSuggest.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.autosuggest.search-normaliz e.sql: AutoSuggest: suggest "josé" when the user types "jose" "josé" will serve as my example of a term with diacritics in it. I don't mean that there is special handling just for the word "josé" per se. Before now, the user could type "josé" and see suggestions containing exactly that. You could not type "jose" and expect to see "josé". Now you can. In other words, typing "jose" and "josé" should now produce the exact same set of suggestions. Only the version you actually typed will be *highlighted* in the suggestions, however. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Scott 2012-03-04 Dan Scott * README: Add the CC-BY-SA license footer from the Release Notes Making sure everything is consistent on the documentation licensing front. Signed-off-by: Dan Scott 2012-01-22 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1.1-2.1.2-upgrade-db.sql: Fix sorting by pubdate for records migrated to 2.1 The 'pubdate' attribute is necessary for sorting by publication date to work correctly. It was not populated in the 2.0-2.1 upgrade script, so populate it now based on the 'date1' attribute. Signed-off-by: Dan Scott Signed-off-by: Michael Peters 2012-01-05 Bill Erickson * Open-ILS/src/templates/opac/login.tt2, Open-ILS/src/templates/opac/parts/goog_analytics.tt2, Open-ILS/src/templates/opac/parts/header.tt2, Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/src/templates/opac/password_reset.tt2, Open-ILS/src/templates/opac/record.tt2, Open-ILS/src/templates/opac/results.tt2: TPac: load config.tt2 from header.tt2 Instead of loading config.tt2 on an as-needed basis, load it globally within header.tt2, since it's used on every page. Removed a redundant "USE POSIX" import while I was in there. Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2012-03-04 Dan Scott * README: Remove reference to CentOS and RHEL from the README Until we have a known working install for CentOS and RHEL in Makefile.install again, let's not advertise a known non-working install. Signed-off-by: Dan Scott 2012-03-04 Dan Scott * README: Default to table of contents & numbering for README A tiny decrease in the legibility of the raw text format of the README is traded off for consistent output formatting. Signed-off-by: Dan Scott 2012-03-04 Dan Scott * README: Be more precise about Ubuntu Precise in the README Avoid ambiguous references to Ubuntu when there is a need to distinguish between Lucid and Precise. Signed-off-by: Dan Scott 2012-01-11 Jason Stephenson * Open-ILS/src/extras/Makefile.install, README: Update PGSQL 9.1 server install for Debian/Ubuntu. Use install_pgsql_server_backport_debs_91 on Debian. Use install_pgsql_server_debs_91 on Ubuntu. Update the README to reflect this. Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott 2012-01-11 Jason Stephenson * Open-ILS/src/extras/Makefile.install: Add Business::OnlinePayment::PayPal CPAN dependency in Makefile.install. Add it to FEDORA_CPAN, CPAN_MODULES, and CPAN_MODULES_PRECISE, to install it everywhere but Centos and RHEL 5. I'm not certain about Centos because it may need a force on that platform as AuthorizeNet does. Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott 2012-01-10 Dan Scott * Open-ILS/src/extras/Makefile.install: Proceed with caution on the Squeeze backport repo When installing on Debian Squeeze, use the same "-P" flag to prompt for removal of the PostgreSQL 8.* packages now that we're pointing at the 9.1 backport. Create a new target to avoid trampling on Precise Pangolin's nice, clean 9.1 target. Signed-off-by: Dan Scott 2012-01-10 Mike Rylander * Open-ILS/src/extras/Makefile.install: Use Postgres 9.1 on Debian Squeeze, as it is now available via backports Signed-off-by: Mike Rylander Signed-off-by: Dan Scott 2012-01-05 Dan Scott * README: Improve Fedora instructions in README A few steps required for successful installation on Fedora 16 were missing from the README; in particular, pointing to /etc/httpd in the Apache configuration files and initializing the PostgreSQL database cluster. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-03 Dan Scott * Open-ILS/src/perlmods/t/19-OpenILS-WWW-EGCatLoader.t: Add tests for TPAC Perl modules Just basic tests, but they should catch syntax problems at least. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-03 Dan Scott * Open-ILS/src/extras/Makefile.install: Add perl-Locale-Codes to Fedora prereq installer Locale::Country isn't bundled in Fedora's core Perl modules so add it to the RPM list. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-26 Thomas Berezansky * Open-ILS/src/templates/opac/parts/record/subjects.tt2: TPac: Make subjects less confusing The mdash can (and has) been interpreted as being a splitter between fully unrelated subjects. Change it to a gt to make the relationship obvious. Credit goes to other MassLNC members for the suggestion. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-01-26 Thomas Berezansky * Open-ILS/src/templates/opac/results.tt2: TPac: Make view changing more patron-friendly Instead of calling them "Detailed View" and "Simple View" label them as "Show More Details" and "Show Fewer Details", to make it obvious that clicking will change the view. Credit goes to other MassLNC members for the initial idea, and those in IRC for hashing out the wording. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-03-02 Michael Peters * Open-ILS/web/css/skin/default/opac/style.css: Improve the readability of the rdetail_extras headers in TTPAC The previous version included green text, on a light green background, which was very difficult to read, especially for visually impaired patrons. This commit serves to change the header background to a darker green, along with a high contrast white text. Signed-off-by: Michael Peters Signed-off-by: Jason Stephenson Signed-off-by: Dan Wells 2012-01-09 Thomas Berezansky * Open-ILS/src/sql/Pg/upgrade/0663.schema.archive_circ_stat_cats.sql: Speed up 0663 upgrade script Move update to the end This ensures most of the rest goes without error first Disable triggers on the table before doing update This speeds the update up significantly as we don't need to re-calc the additional column's new data. Allow new column to be null (at first) with no default This allows the column to be added *without* re-writing every row. We still re-write every row with the update, but at least we aren't doing that *twice* this way. And add the not null/default to new column and re-enable triggers as our last action. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson 2012-02-28 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0678.data.vandelay-default-merge-profil es.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-merge-profil es.sql: Stamping default-merge-profiles upgrade script Signed-off-by: Mike Rylander 2012-01-19 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-merge-profil es.sql: Default Vandelay merge profiles Adds 2 default vandelay merge profiles, in part so users will have some useful sample data, but also so the community can have some basic/consistent profiles for documentation purposes. 1. Match-Only Merge This is a no-op merge. It's only purpose is to allow Vandelay, which requires a profile of some sort to do anything, to find matching records. This is useful for importing holdings when the MARC from the source record is not desired. It will also be useful in the (forthecoming) Vandelay-driven Acquisitions lineitem linking (LP pending). The target/incumbent record is not affected. 2. Full Overlay Used for overlaying an entire inbound MARC record over its target record. The target/incumbent record is completely replaced by the inbound record. For both, 901c is used because it's automatically updated on the target record to match the internal ID, regardless of any field preservation/stripping. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2011-12-19 Bill Erickson * Open-ILS/src/templates/vandelay/inc/toolbar.tt2, Open-ILS/src/templates/vandelay/vandelay.tt2, Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: refresh upload and inspect queue pages Vandley sub-pages are currently managed as hidden divs that come into view when the requested tab is selected. This creates two types of problems in the interface. The first is that newly created data (e.g. a new queue) is not available in the UI, because it's not getting re-fetched from the server when the tab is opened (or added to local data stores). Second, certain form elements misbehave when the form is re-rendered without a refresh. Elements, typically checkboxes, will appear to be selected when they are not. (Or, perhaps they are, and the method to detect their selection is not sufficient). The simplest solution to both problems is to simply reload the page.... This patch changes the tabs for Import Records and Inspect Queue so that they reload the page (focused on the selected tab) instead of just showing the hidden div. These pages were chosen because they are the only interfaces that don't automatically refresh their own data and (for Import Record) have forms that need refreshing. Additionally, since the user may spend more time loading Vandelay pages, this also fixes the long-standing annoyance of seeing the Vandelay UI partially render while waiting for the page to load. Now, it all remains hidden, except for a brief "Loading..." message. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-28 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0677.schema.circ_limits.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.circ_limits.sql: Stamping circ limits upgrade script Signed-off-by: Mike Rylander 2012-02-07 Thomas Berezansky * docs/circ_limits.txt: Asciidoc documentation for circ limits Because crappy documentation is better than no documentation ;) Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-07 Thomas Berezansky * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.circ_limits.sql, Open-ILS/src/templates/conify/global/config/circ_limit_group.tt2, Open-ILS/src/templates/conify/global/config/circ_limit_set.tt2, Open-ILS/src/templates/conify/global/config/circ_matrix_matchpoint. tt2, Open-ILS/web/js/ui/default/conify/global/config/circ_limit_set.js, Open-ILS/web/js/ui/default/conify/global/config/circ_matrix_matchpo int.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: New Circ Limits Replace the old "Circ Mod Test" limit system with a more flexible system. In addition to circ modifiers this system supports "Limit Groups" that are automatically applied (by default) to any circulation checking them. This can be overidden by setting the "Check Only" flag when linking a Limit Group to a Limit Set. Both the limit groups and circ modifiers are linked to "Limit Sets" that act similarly to rules. Each Set can be attached to 0 or more circulation matchpoints. Each Limit set supports a number of items out (0 replaces infinite), depth in the org tree to start counting at (0 for up to the top, 1 for 1 below, etc), and a global flag (to check everywhere below the depth point, rather than just those circulations that happend at ancestors/descendants). When a Limit Set is linked to a Circulation Matchpoint it can be made inactive and has a fallthrough flag. When the fallthrough flag is enabled the Limit Set will be used whenever the matchpoint is involved with making a decision. When it is disabled the Limit Set will only be used when the matchpoint is the most specific matchpoint used in making the decision. Limit Groups management can be found on the server administration menu. Limit Sets management can be found on the local administration menu. Limit Set -> Matchpoint linking is done via editing Circulation Policies. The upgrade script does not remove the old tables in case something goes wrong with migrating the information contained within them. Conflicts: Open-ILS/web/opac/locale/en-US/lang.dtd Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-01-31 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Fix inability to suspend holds The hold status code was being used for "has the hold been captured", but the value for "frozen" was after the cutoff being assumed for "captured". So check for the suspended code specifically in the if, and don't return the suspended code if there is a capture time. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-02-24 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Correctly quote regexp-y characters in phrase quoting helper There was one extra character that caused the use of quotemeta() to not actually happen. This broke two things: 1) phrase searching when the phrase had certain special characters in it -- test case: "c++" 2) use of relevance bumps in the same situation Signed-off-by: Mike Rylander 2012-02-15 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/web/js/ui/default/actor/user/register.js: Re-enable use of BAR_PATRON and UNBAR_PATRON perms If you aren't allowed to bar/unbar at the patron's home library then: 1 - Disable the checkbox as appropriate 2 - Disallow on the backend too The frontend only checks on page load. The backend checks the old patron on update and the new patron on create. This does not stop "change home library to me, bar/unbar, change back" if otherwise able to change the patron's home library. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-30 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Stop targeter crash on empty metarecord with holds By checking for 1 or more records before looking them up. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum Signed-off-by: Mike Rylander 2012-02-15 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Update pickup lib from holds shelf status test repair When determining whether a hold is getting updated while already on the holds shelf, it's important to also treat hold status 5 as an on-shelf status. Status 5 comes into play when the circ.hold_shelf_status_delay org unit setting is activated and acts as a virtual status indicating the item is physically en route to the shelf. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2011-11-02 Lebbeous Fogle-Weekley * Open-ILS/src/templates/acq/invoice/receive.tt2, Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/invoice/receive.js: Acq: minor usability improvements to receiving copies from invoice 1) Show an "X out of Y copies received" message near the top of the display. 2) Provide a button to return to the primary interface for invoice view. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-02-20 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0676.schema.bib_autosuggest.sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.bib_autosuggest.sql: Stamping autosuggest upgrade script Signed-off-by: Mike Rylander 2012-02-13 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/AutoSuggest.pm: AutoSuggest: prevent building a bad tsquery when user types leading spaces The problem used to bubble up and manifest as an Apache 500 error for the user. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-02-13 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js: AutoSuggest: more UI tweaks regarding typing after selecting Avoid highlighting text in the textbox part of the autosuggest widget, so that if the user wants to type more after selecting a suggestion with the arrow keys, s/he doesn't clobber the existing part. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-02-13 Lebbeous Fogle-Weekley * Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js: AutoSuggest: Make directly clicking a suggestion initiate search Formerly, I thought it best not to do this, so that users could choose a suggestion and refine their search term further, but that put the widget's behavior at odds with that of certain ubiquitous search engines. Users can still highlight a suggestion and press tab to modify their search further before submitting, if they wish (and if they know this or figure it out somehow). Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-01-27 Lebbeous Fogle-Weekley * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/WWW/AutoSuggest.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.bib_autosuggest.sql, Open-ILS/src/templates/opac/parts/base.tt2, Open-ILS/src/templates/opac/parts/header.tt2, Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/src/templates/opac/parts/qtype_selector.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/js/dojo/openils/AutoSuggestStore.js, Open-ILS/web/js/dojo/openils/Util.js, Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js, Open-ILS/web/opac/skin/default/css/layout.css, Open-ILS/web/opac/skin/default/js/search_bar.js, docs/TechRef/AutoSuggest/README: AutoSuggest Get an autocompleting dialog underneath basic search boxes. If activated, the dialog appears in both the JavaScript OPAC and the Template Toolkit OPAC. Mike Rylander and Bill Erickson largely designed and spec'ed out this feature, especially at the database level. Lebbeous Fogle-Weekley and Mike Rylander did the programming. How it works, for site administrators ------------------------------------- Once the code is installed, including database stored procedures, (re)ingesting your bibliographic records will populate two new tables needed by AutoSuggest: metabib.browse_entry and metabib.browse_entry_def_map. Yes, for now this means that the size of your database in per-record terms will be greater. The browse_entry data we generate is extremely similar to facet data, so it's possible that in the future we can blend them into the same thing at the database level, and save some space. To control what gets indexed in the metabib.browse_* tables, set the boolean 'browse_field' column for each row in config.metabib_field as desired Numbers 15 (keyword|keyword) and 16 (subject|complete) should generally be set to false. The config.metabib_class table has a new 'bouyant' column. Setting this to true means that when a user is typing in the OPAC search box with a search class selector set to, say, 'Subject', and the cmc row for 'Subject' has 'bouyant' set to true, the top suggestions will definitely come from the Subject fields of MARC records (if any). 'restrict' is like 'bouyant', only stronger. In that case suggestions /only/ come from the selected class. This is the idea behind the 'restrict' column (in both the config.metabib_class table and the config.metabib_field table): For any given class or field, if restrict is true AND the user at the OPAC has selected that same class or field from the search class dropdown, then autosuggestions will only come from that class or field in the record. You never want this column to be true for keyword, because we don't index keywords for browse/autosuggest purposes (we would get giant blobs of information as autosuggestions, and you don't want that (really)). You don't really want it to be true for most classes and fields. If the user sets the dropdown to "subject" and start typing "harry potter", the user really wants matches from the "title" class too (although other things being equal, matches from the "subject" class will rise to the top). If you have a speciality index, you *may* want to set restrict to true for that particular field. For a song title index, for example. To take advantage of this, you would also have to customize your OPAC to have an entry in the search class dropdown for 'title|songtitle' (or whatever's appropriate for your specialty index). This is easy to do and should be covered somewhere in documentation for both the JSPAC and the TPAC. The order of suggestions otherwise has mostly to do with how well what users have typed matches what's in your bib records, and the value of the weight column of the relevant config.metabib_field row. Examine the code if you're curious to know more or want to make adjustments. The master on/off switch for AutoSuggest is a new row in in config.global_flag named 'opac.use_autosuggest'. Set its 'enabled' column to false to turn off AutoSuggest. If you don't want your suggestions to be limited to whatever's OPAC visible at the search org, set the 'value' column to anything that does not contain the string 'opac_visible'. This could be a good idea if AutoSuggest seems slow on a large site. Turning this on means introducing Dojo in your TPAC. I tried to keep it minimal, for load time's sake. There's no fieldmapper or IDL stuff play. For now, turning this feature off will avoid loading Dojo in your TPAC. Managing the little stuff ------------------------- CSS classes that affect the look of suggestions are in this file for the TPAC: Open-ILS/web/css/skin/default/opac/style.css and in this file for the JSPAC: Open-ILS/web/opac/skin/default/css/layout.css At bottom, autosuggest is shaped by PostgreSQL's Full Text Search features. Some of the arguments that are passed to TS_RANK_CD() and TS_HEADLINE() are expoposed via options to the openils.widget.AutoSuggest and openils.AutoSuggestStore modules, which have comments. You can customize your OPAC files to invoke these with your desired options without touching much actual code. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-02-14 Dan Wells * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata.txt: Correct special winter handling in predictions The current serials prediction code has an exception for handling cases where 'Winter 2010' is followed by 'Spring 2010' rather than 'Spring 2011'. This exception assumed the more common case of a combined subfield $y, e.g.: $yps21,22,23,24 In doing so, it incorrectly handled less common cases where the $y is listed separately: $yps21$yps22$yps23$yps24 This change (with test data) ensures we only check the first $y for our 'early winter' exception. Signed-off-by: Dan Wells Signed-off-by: Mike Rylander 2012-02-16 Dan Scott * build/i18n/scripts/fieldmapper.py, build/i18n/tests/data/testidl.ent, build/i18n/tests/data/testidl.po: Escape content when generating DTD for fieldmapper Noticed by Thomas Berezansky, if a translation in a PO or POT file contains an unescaped left angle bracket, a DTD will be generated that contains the unescaped left angle bracket - and that isn't valid. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2012-02-14 Lebbeous Fogle-Weekley * Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js: Vandelay record match sets: fix bug loading some trees Reported to me by Bill Erickson. The Vandelay Record Match Sets interface was failing to load some simple trees of match set points. Example: http://pastesite.com/31643 The proximate symptom was this error message: Error: dojo.data.ItemFileReadStore: Invalid item argument. Source File: http://dev198.esilibrary.com/js/dojo/dojo/dojo.js Line: 119 but the root cause was a problem in dojoize_match_set_tree(), which was failing to generate unique identifiers for each item in the data store it's responsible for generating. Since that function is only ever used to deal with trees where all the nodes come from the database and have actual IDs, that function now uses the database IDs as is rather than attempting to generate new ones. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2012-02-14 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Fix typos in lp820006 that broke clean schema creation Backslashes to escape single quotes in SQL aren't cool. Also, lists of rows to insert need commas as delimiters. Also, needed a trailing "]" on the 90-day lost notice template. Signed-off-by: Dan Scott 2012-02-14 Dan Scott * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Fix up 3-day courtesy notice with better title / author too Use the helper function to get better quality title/author out of the target copy for pre-due notices. Signed-off-by: Dan Scott 2011-08-02 Steven Callender * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/version-upgrade/1.6.1-2.0-upgrade-db.sql: LP#820006: Action trigger notices fixes Cleaned up action triggers a little bit. 1. Added the editor param to the auto lost, because triggers will fail without this. 2. Also removed the use of simple_records in some of the notices and changed it to something more efficient. 3. Changed the use of total money owed to balance owed. Signed-off-by: Steven Callender Signed-off-by: Dan Scott 2012-01-04 Bill Erickson * Open-ILS/src/templates/opac/parts/config.tt2, Open-ILS/src/templates/opac/parts/result/facets.tt2: TPac: facet display filtering and sorting Provides the ability (via config.tt2) to define which facets should display and the order of facet display. The behavior is consistent with the openils.widget.FacetSidebar Dojo class, used in JSPAC. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander 2012-02-01 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Booking.pm: Booking: make pick up interface show resources captured for reservation ... ... even beyond the first day of the reservation. I can think of no reason why this limitation existed in the first place. Also, just replace naive_start_of_day() with "today" Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2011-10-17 Mike Rylander * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/support-scripts/hold_targeter.pl: Stream results from targetable holds list retrieval Tested and slightly modified patch from Mike R. to improve multi-session hold targeting. This patch includes an update to the targetable holds API call to stream results instead of returning them in 1 big chunk, which has been known to result in messages too large for jabber (max_stanza_size). hold_targer.pl is updated to handle the stream. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton 2012-02-08 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0675.schema.usr_visible_circ_copies_row _estimates.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usr_visible_circ_copies_row _estimates.sql: Stamping upgrade for LP#928896 Signed-off-by: Bill Erickson 2012-02-08 Galen Charlton * Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usr_visible_circ_copies_row _estimates.sql: LP#928896 improve row estimate for action.usr_visible_circ_copies() Fixes problem where use of this function by the tagging circs in search results feature can result in sequential scans of asset.call_number. Thanks to Mike Rylander for the suggestion. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson 2012-01-27 Lebbeous Fogle-Weekley * Open-ILS/web/Makefile.am: JSON_v0 has been superseded, and it has insidious bugs anyway. For example, you cannot round-trip this through JSON2js() and js2JSON() in IE8: http://paste.lisp.org/display/127338 Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2012-02-02 Michael Peters * Open-ILS/src/templates/opac/parts/topnav.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tweak the opac-button elements to avoid blending with backgrounds Signed-off-by: Michael Peters Signed-off-by: Dan Wells 2012-02-02 Michael Peters * Open-ILS/web/css/skin/default/opac/style.css: Tweak style.css to bring facet headers into sync with color scheme Signed-off-by: Michael Peters Signed-off-by: Dan Wells 2012-02-01 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm: Fix HoldIsAvailable validator Depending on the environment some things may be ids or references. Comparisons should try and use the IDs only, so pull the IDs out. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-02-01 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPAC: Avoid hold placement problems à la 80d5c4a4 A commit written in October and merged quickly (80d5c4a4) was designed to avoid problems with a middle layer method that sometimes returns hash refs and sometimes returns array refs. A commit written in September but not merged until January (a663dfed) affected neighboring code, but was not aware of the other code to dance around hash refs and array refs (just read the commit messages of each to see what I mean, with attention to the changes in WWW/EGCatLoader/Account.pm). Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Thomas Berezansky 2012-01-30 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Re-teach the clear shelf process "one copy" It got lost when fetching holds was abstracted out. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-31 Lebbeous Fogle-Weekley * 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/0674.config.copy_status.restrict_copy_d elete.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.config.copy_status.restrict_copy_d elete.sql: Upgrade script finalization, adding new perm to database Signed-off-by: Lebbeous Fogle-Weekley 2012-01-05 Jason Etheridge * Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: remove this old speedbump, which now lies Signed-off-by: Jason Etheridge Signed-off-by: Lebbeous Fogle-Weekley 2012-01-05 Jason Etheridge * Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_buckets.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/circ/copy_status.js: Improve COPY_DELETE_WARNING event handling Make it overridable in copy buckets, and let Cancel on perm denied dialog fail gracefully. Signed-off-by: Jason Etheridge 2012-01-05 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm: Use the restrict_copy_delete field on copy status to determine when to throw a COPY_DELETE_WARNING event Signed-off-by: Jason Etheridge 2011-10-12 Jason Stephenson * Open-ILS/src/sql/Pg/upgrade/XXXX.config.copy_status.restrict_copy_d elete.sql: Add upgrade script for config.copy_status.restrict_copy_delete. Adds the column to the config.copy_status table. Updates the "magical" statues (1,3,6,8) to have restrict_copy_delete set to TRUE. Signed-off-by: Jason Stephenson Signed-off-by: Jason Etheridge 2011-10-12 Jason Stephenson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/config.p m, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Add restrict_copy_delete field to config.copy_status. Add the column definition in 002.schema.config.sql. Add the field to the class ccs in fm_IDL.xml. Set the restrict_copy_delete column to true for the "magical" statuses (1,3,6,8) in 950.data.seed-values.sql. Add restrict_delete as essential column to config.copy_status in OpenILS::Application::Storage::CDBI::config Signed-off-by: Jason Stephenson Signed-off-by: Jason Etheridge 2012-01-19 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Handle search timeouts more gracefully Another tweak courtesy of berick Returns 0 results if open-ils.storage timeouts instead of a nasty uncaught undefined ARRAY exception resulting in an OPAC "spinning wheel of death" (formerly the "green knight rider bar of death". Note that in the event of storage timeouts, you should tune and/or beef-up your database. Signed-off-by: Jason Etheridge Signed-off-by: Lebbeous Fogle-Weekley 2011-11-23 Bill Erickson * Open-ILS/examples/evergreen-rsyslog.conf: Example Evergreen rsyslog configuration file This differs from the OpenSRF sample configuration by adding a log file for Postgres and by changing the log path to /var/log/evergreen Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2012-01-23 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPac: Avoid long-running, unintended empty searches If a page that executes a search is accessed with no viable search query, cut the search short to avoid meaningless, long-running searches. This primarily affects direct links to record detail pages. For example: http://example.org/eg/opac/record/123 The RD page attempts to load the currrently active search (for paging) and, if there is no query, will search for strings like 'site(BR1) depth(2)', which are unintended and quite slow, which delays page rendering. --- While we're in there, let's silence the following Apache error log warning by ensuring that int() gets a value. Use of uninitialized value in int at /usr/local/share/perl/5.10.1/OpenILS/WWW/EGCatLoader/Search.pm line 192. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2012-01-23 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: TPac: avoid SMS org setting check for non-SMS pages Avoid an unnecessary org unit setting lookup on a large swath of (mostly myopac) pages. Instead, check to see if the current page is the SMS page in question and the lookup is necessary before making the lookup. This change also inserts the physical location as the first org unit to use in the org setting test. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2012-01-31 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/002.schema.config.sql: Missed increment in 002.schema.config.sql for last commit Signed-off-by: Lebbeous Fogle-Weekley 2011-10-20 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0673.data.acq-cancel-reason-cleanup.sql: ACQ: remove piles of unused cancel_reasons There is a large set of of acq.cancel_reason's in Evergreen that come from the EDI spec and will never be used in practice. Since there are scenarios where cancel reasons are manually chosen by staff, let's remove all of the extras so the process of selecting a cancel reason is not so fraught with "Poultry" and "Airline attendants", etc. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2012-01-22 Dan Scott * Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Cleaner title display in simple and detailed views The TPAC uses a simple 245a display for the "simple view" in search results, so records like the concerto.sql "Violin concerto no. 3 in G, K. 216 ;" display with a trailing semicolon that is rather disconcerting. Similarly, the subfields in the extended title as displayed in the record detail view was simply concatenating subfields together. This resulted in titles like: Violin concerto no. 3 in G, K. 216 ;Sinfonia ... rather than: Violin concerto no. 3 in G, K. 216 ; Sinfonia ... This commit strips trailing punctuation that suggests a continuation (:;/) from the brief title and joins the subfields with a space for the extended title. Also, enable the detailed view in search results to display the complete title. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley 2012-01-30 Michael Peters * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/locale/en-US/opac.dtd: Increase the year in copyright statements to 2012 Signed-off-by: Michael Peters Signed-off-by: Lebbeous Fogle-Weekley 2012-01-24 Thomas Berezansky * Open-ILS/examples/fm_IDL.xml, Open-ILS/examples/fm_IDL.xsd: Fix fm_IDL.xml validation errors From 80+ errors to 0! Remove empty permacrud blocks (and pcrud controllers). Adds missing attributes, updates xsd to include in-use attributes. Fixes incomplete attribute names and the occasional typoed name. Also re-orders some chunks that are controlled by xs:sequence. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley 2012-01-22 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Fix "prefered_language" typo that blocked preferred language "preferred_language" is used everywhere else, but in the crucial core of metabib.pm the "prefered_language" variant is used to check on the value - hence, nothing other than the default "eng" is being used. Fix that. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-30 Jason Stephenson * Open-ILS/xul/staff_client/chrome/content/cat/opac.js: Fix "Add Volumes" entry in "Actions for this Record" menu A typo in Open-ILS/xul/staff_client/chrome/content/cat/opac.js (cbdObj instead of cbsObj) led to the exception "Reference error: cbdObj is not defined" being thrown any time the "Add Volumes" entry was chosen. Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott 2012-01-30 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Fix "Clear Shelf Expired Holds" checkin modifier By not looking up empty arrays there either. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-30 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Fix SIP2 "unavailable holds" check If no IDs, don't look up an empty array of IDs. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-20 Michael Peters * Open-ILS/src/templates/opac/parts/homesearch.tt2, Open-ILS/src/templates/opac/parts/topnav_logo.tt2, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css: Modifications to the TTPac color scheme to be more with logo guidelines Tweaked the buttons, gradients, etc. in TTPac to eradicate the blue/grey elements. Began with the Evergreen Logo's official color (Pantone 340 as found at http://www.georgialibraries.org/lib/pines/evergreenlogo/) and complimented the colors accordingly, replacing dark blues with dark greens, light blues with light greens, etc. This also adds two new selectors in styles.css to control the logo placement. Logos were also centered on the page, rather than being crowded into neighboring elements. Fixed Conflicts: Open-ILS/web/css/skin/default/opac/semiauto.css Open-ILS/web/css/skin/default/opac/style.css Signed-off-by: Michael Peters Signed-off-by: Dan Wells 2012-01-09 Jason Etheridge * Open-ILS/xul/staff_client/server/circ/util.js: Fix self-fetching callnumber columns The callnumber (and related) columns from circ.util.columns() is meant to retrieve call number objects if given call number id's instead of objects, but there was a bug preventing that. This fixes LP#906523, no call number information in billing interface Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-12-07 James Fournie * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm: Acq fix for LP#901378 Proratable invoice charges do not have a fund_debit, we need to check for this before attempting to delete the charge. If there's no fund_debit we can generally assume that there's no corresponding debit to this charge and skip trying to delete it. Signed-off-by: James Fournie Signed-off-by: Bill Erickson 2012-01-20 Bill Erickson * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0671.schema.copy_location_alert.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.copy_location_alert.sql: Stamping upgrade for copy_location_alert Signed-off-by: Bill Erickson 2012-01-18 Thomas Berezansky * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm , Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.copy_location_alert.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/copy_locations.js, Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml, Open-ILS/xul/staff_client/server/circ/util.js: Add Checkin Alert to Copy Locations If enabled bring up a ROUTE TO prompt for the location at reshelving time. Also, while at it, add Prefix/Suffix to the "new" section of the editor. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-20 Bill Erickson * README: Remove RELEASE_NOTES reference from README ...pending further discussion Signed-off-by: Bill Erickson 2011-12-23 Dan Scott * docs/RELEASE_NOTES_2_2.txt: Release Notes: Add CC-BY-SA 3.0 license to footer Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-12-23 Dan Scott * docs/RELEASE_NOTES_2_2.txt: Release notes: document copy location display option Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-12-21 Dan Scott * docs/RELEASE_NOTES_2_2.txt: Release notes: document new reporting views Introduce 'Last Circulation or Creation Date' and 'Hold/Copy Ratio per Bib and Pickup Library' reporting sources. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-12-20 Dan Scott * README, RELEASE_NOTES, docs/RELEASE_NOTES_2_2.txt: Move RELEASE_NOTES into the docs subdirectory We will begin maintaining release notes inside the source directory, with one RELEASE_NOTES.txt file per major release series (2.2, 2.3, etc). The release notes will primarily consist of an overview of new features and important behaviour changes in that particular release series, as well as a cumulative list of bugs that have been fixed in the point releases for that series. Also, mention the existence of the release notes in the top-level README. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-12-05 Dan Scott * RELEASE_NOTES: Release notes: "cbs prevents records from having copies" The new "can_have_copies" column on config.bib_source prevents associated records from having copies or MFHD records attached via the staff client. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-11-29 Dan Scott * RELEASE_NOTES: Note located URI changes in Release Notes Located URIs now define what org unit and below in the hierarchy will be matched for a given search scope, rather than the copy-like behaviour from before; for example, a located URI at BR1 will no longer be found in a SYS1 search scope; rather, a located URI at SYS1 will be found with either a SYS1 or a BR1 search scope. Put some info and rough suggested fix into the release notes. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-01-10 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/display.js: Make Delete User failure overridable Make mrpeter's new ACTOR_USER_DELETE_OPEN_XACTS event overridable to preserve existing functionality (the delete user code will wipe out all transactions if allowed to, and will leave copy statuses as "Checked Out" if needed, which is okay in EG even if there aren't corresponding circ records--some libraries migrate data like this if the information available is sparse). So if you want to be able to do this without a super user, you'll need to create an ACTOR_USER_DELETE_OPEN_XACTS.override perm and assign it to perm groups and/or users. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2012-01-10 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/display.js: whitespace Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-10-12 Michael Peters * Open-ILS/src/extras/ils_events.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/display.js: LP872862, delete user function and open xacts Prevent deletion of a user with open circulations or unpaid bills Link up an error message on attempt to delete a patron with open xacts Signed-off-by: Michael Peters Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2012-01-19 Dan Wells * Open-ILS/src/templates/opac/parts/result/table.tt2: Prevent extra closing tag in TPAC results list Trivial change to prevent an extra yet currently harmless closing tag from appearing when ChiliFresh is enabled. Signed-off-by: Dan Wells 2012-01-08 Dan Scott * Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Regular justification of columns in search result The search results page was constituted via a table, enclosing one table per row for each result, enclosing one further table per result for the attributes such as call number / publisher / edition that have been chosen to be displayed in the simple and detailed views. The column widths for each search result row were being calculated per result, with the effect that title columns were starting at different offsets - a rather unpolished effect. By eliminating the middle table, we can let the widths be determined by all of the search result rows together, providing a normalized result as the HTML deities intended. We also move some inline CSS into style.css. Note that IE 7, at least, ignores the :nth-child() usage to deliver the borders; because we no longer wrap the set of rows (including optional Content Cafe and ChiliFresh rows) in an intermediate table, we had to switch to a border-top attribute. We could have gone with a straight "tr > td" approach, but that would have added a line at the top of the first result, which looked weird. Still an option if one really wants to. Signed-off-by: Dan Scott Signed-off-by: Dan Wells 2012-01-08 Dan Scott * Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Simply record summary navigation markup Currently we have the next / previous links on the far right side of the record summary page, whereas the "Showing item # of #" is on the left hand side of the page. On wide screens, this leads to a large gap between the two informational elements. In addition, as the elements are floated, the vertical alignment is thrown off if you attempt to bring them together. The solution is to group the elements inside a SPAN with inline-block displays for the embedded DIVs. This enables the elements to reflow appropriately on mobile sized screens while keeping the alignment clean. In addition, some inline style gets moved to style.css and some unnecessary elements are removed. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-01-08 Dan Scott * Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2: TPAC: Improve copy display in record summary In the copy counts, offer a link to display the copies at parent libraries that have available copies. For example, if you are browsing at BR1 and there are no available copies, but you see that SYS1 has available copies, clicking "(Show)" beside the SYS1 available copy count will change the search scope to SYS1 and display the copies for BR1 and BR2. Also, avoid displaying the copy table header if there are no physical copies to display (for example, if there are located URIs that make the copy show up in search results). Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-01-08 Dan Scott * Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/src/templates/opac/parts/record/subjects.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2: Prevent expand and cnoffset params from propagating The expand and cnoffset params in record summary might result in unexpected behaviour if allowed to propagate by default, as mkurl() enables, so stop them in their tracks. Also, fix an overenthusiastic URI-encoding of subjects that led to a space getting doubly-encoded (and thereby breaking searches). Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-01-05 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/parts/anon_list.tt2, Open-ILS/src/templates/opac/parts/myopac/prefs_base.tt2, Open-ILS/src/templates/opac/parts/preserve_params.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/results.tt2: TPAC: Preserve loc, query, qtype, and sort params In some cases, mkurl() is not enough to preserve our desired CGI params - such as when redirects are triggered from within a Perl module, or forms are submitted. Accordingly, the following changes address these cases where the chosen location / query / query type was being dropped: * Switching between account preferences * Creating / deleting / sharing / editing bookbags * Moving items from temporary list to bookbags * Adding notes to items in a bookbag * Placing holds The primary mechanism for forms is the "preserve_params.tt2" block that can accept a "params" list of the CGI params that you want to preserve, but which defaults to location/query/qtype/sort. Similarly, we add the same preservation steps to the OpenILS::WWW::EGCatLoader::Account module for most actions. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2011-12-29 Dan Scott * Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/src/templates/opac/myopac/circ_history.tt2, Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/myopac/hold_history.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/parts/myopac/base.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/opac/parts/topnav.tt2: TPAC: Propagate CGI params via mkurl() Fix many instances where params such as "loc" are dropped during a normal workflow, resulting in unexpected changes to the user's chosen search scope. mkurl() preserves the existing CGI params by default and passes them on to the created URL; for now we err on the side of caution (preserving all params) rather than filtering any out. Manual testing suggests this does not introduce any problems, and resolves many. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson 2012-01-17 Thomas Berezansky * Open-ILS/web/opac/skin/default/js/myopac.js: Don't show estimated wait for negative estimates JSPac code was just checking for the truth of the estimated_wait return, but the estimated_wait return can be -1 under some circumstances. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-17 Bill Erickson * Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js: Repaired JS syntax errors in nls/selfcheck.js Fixed errors introduced by a727a91b26716a0df36c93c7962240bec231c180 Signed-off-by: Bill Erickson 2012-01-14 Thomas Berezansky * Open-ILS/src/templates/opac/parts/record/copy_table.tt2: TPac: Easy access to item status Change item barcodes into item status links in TPac listings. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-09-20 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/parts/place_hold_result.tt2, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml: Allow choice of placing hold despite age protect This alters the backend to watch when so much as one copy failed only due to age protection. If so, a flag is set and returned back up the calling tree for examination. In JSPac when the flag is set an alternate confirm message is shown. In TTPac when the flag is set the failure message is changed and override is always allowed for the hold in question. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-12-08 James Fournie * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: P898427 Get holdings_xml.retrieve to flesh URIs properly Flesh URIs when requested with the -uris or -full feed type. This was broken when commit f2b822f8 fixed authority browsing. holdings_xml-full never appeared to retrieve URIs properly, so that has been added. This also makes holdings_xml-uris behave in the new manner of URIs as per git commit ba47ecc61, retrieving URIs for ancestors rather than descendants. Signed-off-by: James Fournie Signed-off-by: Dan Scott 2012-01-11 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/main/main.js, Open-ILS/xul/staff_client/components/clh.js: Support auto-login in staff client By adding three new command line parameters: -ILSuser - Username to log in with -ILSpassword - Password to use -ILShost - hostname to use If, and only if, all three are specified *and* we think we have an already registered workstation for the hostname do we trigger an auto login. Otherwise we just fill everything in and wait for the user. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2012-01-11 Lebbeous Fogle-Weekley * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Move csp definitions from 002 to 950, so they can use i18n. I don't /think/ there's a point in having an upgrade script to go along with this, but someone who understands oils_18n_gettext() better should weigh in. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Thomas Berezansky 2012-01-11 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Utils/BadContact.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.mark-email-and-phone-invalid. sql, Open-ILS/web/js/ui/default/actor/user/register.js: Use org_depth for INVALID penalties * Honor the org_depth setting on the penalties when applied * Default to org_depth 0 (i.e. global) penalty application for invalid penalties * Use the patrons' home_ou as the penalty org unit for patron reg invalidate actions. Signed-off-by: Bill Erickson 2011-12-27 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/BadContact.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.mark-email-and-phone-invalid. sql, Open-ILS/src/templates/actor/user/register.tt2, Open-ILS/web/js/dojo/openils/Util.js, Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul, Open-ILS/xul/staff_client/server/patron/display_overlay.xul, Open-ILS/xul/staff_client/server/patron/standing_penalties.js, Open-ILS/xul/staff_client/server/patron/util.js, Open-ILS/xul/staff_client/server/skin/patron_display.css: Mark email addresses and phone numbers invalid This comes from an idea from Jeff Godin. For staff to indicate an email address or phone number "invalid," for whatever definition of "invalid" has meaning at the institution (as in invalid addresses today), there is now a UI control in the patron editor. This UI control invokes a middle layer method that will clear the email (or phone) field from actor.usr, and create a corresponding standing penalty against the user, for staff to notice next time they bring up said patron in the staff client. Such penalties will be archived whenever that patron's email address or phone number is updated again. The middle layer method is a wrapper around a method that may take different parameters (like an email address instead of a patron ID) to potentially support future uses such as invalidating email addresses automatically in batch. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Bill Erickson 2011-12-19 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/util/print.js: Receipt Template Non-String Protection Don't try to replace on things that aren't strings. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2012-01-10 Jason Etheridge * Open-ILS/web/opac/locale/en-US/lang.dtd: Relabel Force Context in receipt template editor Signed-off-by: Jason Etheridge 2011-12-20 Thomas Berezansky * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/util/print.js, Open-ILS/xul/staff_client/server/cat/copy_buckets.js, Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js , Open-ILS/xul/staff_client/server/circ/print_list_template_editor.xu l, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/patron/bill2.js: Add Context to Receipt Templates By default the print context is used, but this enabled each template to be assigned a specific printer context that it is intended for. This means that things that normally use "Default" can be forced to, say, "Receipt" and such easily. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2011-12-19 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/util/print.js: Make Reprint Last printing context aware Allows for re-use of previous printer context and all settings thereof. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge 2012-01-10 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/hold_details.js: Remove 'boo' alert in hold details interface Willing to let any surprises here be natural. :-) We can re-bug if there are issues. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2012-01-10 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/0666.schema.sms_carriers.sql: fix breakage from recent merges Also, a good argument for keeping all perm additions in the same INSERT in the 950 file, since git would have reported a merge conflict against master had I done that instead of simply appending the upgrade script to the file. Signed-off-by: Jason Etheridge 2012-01-10 Mike Rylander * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0669.data.recall_and_force_holds.sql: Terminology adjustment to reduce conflicts with the term "recall" Signed-off-by: Mike Rylander 2012-01-10 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0669.data.recall_and_force_holds.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.copy_holds.sql: Stamping force and recall hold permission addition script Signed-off-by: Mike Rylander 2011-10-06 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.copy_holds.sql: Completing Force/Recall Holds Add support for the Force and Recall hold types to be something other than just aliases of Copy holds. Both holds are made to cut in line over *all* other holds and both ignore all hold rules, including copy, location, and status holdable flags. Recall holds, when they reach their destination, will be flagged to be sent to cataloging. In addition, to place either kind of hold you need a new permission at the copy's circulation library: COPY_HOLD_FORCE for force holds COPY_HOLD_RECALL for recall holds Also, some re-ordering of logic should result in a fix for issues with capturing holds as transits and/or suppressing holds and the hold shelf logic. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-01-10 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0668.schema.fix_indb_hold_permit.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_indb_hold_permit.sql: Stamping upgrade script for in-db hold permit fixups Signed-off-by: Mike Rylander 2012-01-10 Dan Scott * Open-ILS/xul/staff_client/server/skin/print.css, Open-ILS/xul/staff_client/server/skin/serial.css: Add customization to staff client serial and print CSS files The *_custom.css variants of these are created automatically at install time, so give the parents the ability to actually use them. Signed-off-by: Dan Scott Signed-off-by: Jason Etheridge 2011-10-06 Thomas Berezansky * Open-ILS/src/templates/opac/parts/hold_error_messages.tt2: TPac messages for item/location/status not holdable Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2011-10-06 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/Utils/PermitHold.pm, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_indb_hold_permit.sql, Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js: Fix INDB hold permit holdable checking Check Item/Status/Location holdable flags Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-01-10 Lebbeous Fogle-Weekley * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0667.schema.alerting-penalties.sql, Open-ILS/xul/staff_client/server/patron/display.js: Add a "staff_alert" column to config.standing_penalty, and ... ... consult this when deciding whether to show the stop sign page in the patron interface of the staff client, rather than explicitly checking for the id of the ALERT_NOTE config.standing_penalty. Now only show the standing penalty if the staff_alert value is true, instead of unconditionally showing it for all penalties with a block_list value. This allows staff to configure blocking penalties that do not alert. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley 2011-11-15 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/opac/parts/result/paginate.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tpac: better "HTML view" for shared lists under "my lists" From the "my lists" interface, you get a link labeled "HTML View" for any shared lists, and this link, while meant to be shared, just gives you a search results page where the only search term is simply "in the given list." This commit makes the search results page a little smarter in that case, in order to a) show you the bookbag metadata, including name, description and item notes. b) allow you to keep searching *within* your list, until you don't want to anymore, at which point there's a checkbox you can uncheck. Signed-off-by: Lebbeous Fogle-Weekley 2012-01-10 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0666.schema.sms_carriers.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.sms_carriers.sql: Stamping upgrade script for SMS notification branch Signed-off-by: Mike Rylander 2011-10-31 Jason Etheridge * Open-ILS/src/templates/opac/myopac/prefs_notify.tt2: fix existing Notification Type typo Signed-off-by: Jason Etheridge 2012-01-09 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Prevent unshared warnings in hold placement closure sub data_filler {} becomes $data_filler = sub {} Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge 2011-09-22 Jason Etheridge * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendS MS.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/SMS.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.sms_carriers.sql, Open-ILS/src/templates/conify/global/config/sms_carrier.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2, Open-ILS/src/templates/opac/parts/sms_carrier_selector.tt2, Open-ILS/src/templates/opac/parts/sms_number_textbox.tt2, Open-ILS/src/templates/opac/sms_cn.tt2, Open-ILS/web/js/ui/default/conify/global/config/sms_carrier.js, Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/holds.js, Open-ILS/xul/staff_client/server/patron/holds_overlay.xul: SMS texting For SMS functionality we're basically converting a carrier and a phone number into an email address and sending via SMTP like other email notifications. There is administrative UI for configuring these mappings: Admin -> Server Settings -> SMS Carriers The permission ADMIN_SMS_CARRIER is needed to use this interface. In a stock Evergreen installation, this is given to the Global Administrator group. In this interface, any occurance of "$number" in the Email Gateway field will change into the pertinent SMS phone number when the mapping gets used. We're not doing anything fancy here for verifying or munging phone numbers, but you could do munging in the pertinent SMS Action/Trigger templates, or better, contribute code for the OPAC templates and/or the utility method get_sms_gateway_email in Trigger/Reactor.pm. Our set of stock mappings comes from http://en.wikipedia.org/wiki/List_of_SMS_gateways There's no automated process for keeping this up-to-date, though some volunteer with a Wikipedia account could add the page to their watchlist for changes and let us know if something needs changing. Set the org unit setting "SMS: Enable features that send SMS text messages." (database name "sms.enable") to True to expose the following: * SMS notification widgets in the TT-OPAC hold placement interface (to notify when a hold is ready for pickup) * "(SMS)" links next to call numbers on the TT-OPAC record details page. The interface spawned by these links require user authentication by default, but this can be changed by setting the org unit setting "SMS: Disable auth requirement for texting call numbers." to True. The database name for that setting is "sms.disable_authentication_requirement.callnumbers". * New options in TT-OPAC My Account -> Account Preferences -> Notification Preferences (we also add in some missing prefs for holds outside of SMS) There are two pertinent Action/Trigger templates under Admin -> Local Administration -> Notifications / Action Triggers: * SMS Call Number * Hold Ready for Pickup SMS Notification Don't disable these. We rely on the sms.enable YAOUS as the master on/off switch. Also, it's probably best to have just one sms.enable for the whole consortium. If you mix and match on/off settings here, then user preferences for SMS can get blown away if the user updates their settings in the TT-OPAC at an org where SMS is disabled. Hrmm, the same would probably happen if the user jumps between the TT-OPAC and the original JS-PAC. Signed-off-by: Jason Etheridge 2011-09-29 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: flesh settings when retrieving patron by barcode Signed-off-by: Jason Etheridge 2012-01-06 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Fix shelf_expire_time closed date overlap test One-liner courtesy of berick. * Steps to test This is time and timezone sensitive, so on the server: Change your timezone to America/Los Angeles: sudo dpkg-reconfigure tzdata Stop your NTP server: sudo /etc/init.d/ntp stop Set the time to 5pm: sudo date --set 17:00:00 Stop Evergreen, Restart Postgres, Start Evergreen On the client: Make sure the timezone is set to Pacific time. 1) Change the Library Setting "Default hold shelf expire interval" in the Holds group to have a value of "7 days" (without the quotes) for org BR1 (or if there is an existing value, you can keep it). 2) Create a bib with one item: htest1 (Status of Available) 3) Place a title level hold on the bib 4) Check in htest1 (it should get captured for the hold) 5) Browse the Hold Shelf and note the Shelf Expire Time for the hold that captured htest1 (it should be a week from now, unless you already have a conflicting closed date configured) 6) Cancel the hold and re-check-in htest1 (to remove the Hold Shelf status) 7) In the Closed Dates Editor, Add Single Day Closing for the date noticed previously in the Shelf Expire Time for BR1. 8) Place a title level hold on the bib 9) Check in htest1 (it should get captured for the hold) 10) Browse the Hold Shelf and note the Shelf Expire Time for the hold that captured htest1 (now the bug is illustrated if you get the same date for Shelf Expire Time as you did before, since that day is now a Closed Date and should be skipped over. The patch should fix this.) Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander 2012-01-09 Lebbeous Fogle-Weekley * Open-ILS/web/css/skin/default.css, Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js, Open-ILS/web/js/dojo/openils/widget/nls/PCrudFilterDialog.js: Major enhancements to openils.widget.PCrudFilterDialog openils.widget.PCrudFilterDialog is (now) a dijit that allows users to define inclusionary filters based on any number of rows that specify a field from a given fieldmapper class, an operator, and a value (or range of values, for the [not] between operator). The resulting filter is suitable for use as the where clause of a pcrud search call. AutoGrid has an option, showLoadFilter, that allows you to easily provide a filter dialog in any AutoGrid-based interface, with some minor caveats (see the comments at the top of the source for openils.widget.PCrudFilterDialog). AutoGrid will also pass along the suppressFilterFields option, which works analagously to the suppressEditFields option. You can also build your own interfaces to use this dijit without AutoGrid, if desired. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-01-03 Jason Etheridge * Open-ILS/xul/staff_client/server/patron/display.js: More aggressive recalc of standing penalties In the staff client, the Refresh button in the patron display will explicitly ask the server to recalculate standing penalties for the patron. Other automatic refresh-like behavior meant to synchronize parts of the patron display will not do this. This change tweaks the logic to ask for a recalculation with all refresh-like behavior in the patron display, and will catch such things as staff changing the user's permisssion profile. An example of how you might test this: Admin -> Local Administration -> Group Penalty Thresholds New Penalty Threshold Group: Volunteers Org Unit: CONS Penalty: PATRON_EXCEEDS_FINES Threshold: 1 Save Register user with Profile of Patrons Load patron, Bills, Bill Patron, Amount: 5, Submit this Bill Edit Main (Profile) Permission Group: Volunteers, Save The interface should refresh and show a Maximum Bills penalty in the patron summary. Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-12-29 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql: SETVAL the permission.grp_tree sequence after adding pinned IDs If we do not update the associated sequence after adding pinned IDs, sites will be unable to add new permission groups until enough attempts have failed. Let's bypass that little bit of pain. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-12-29 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql: Prevent permission group conflicts in 2.1 upgrade script The 2.0-2.1 upgrade script relies on pinned IDs for permission.grp_tree entries, which might conflict with custom permission groups that a site might have added previously. A little manipulation can make life safe for the pinned IDs. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-11-15 James Fournie * Open-ILS/web/js/ui/default/actor/user/register.js: Making the user profile selector disabled rather than readonly in the case of a user editing their own account. This prevents a nasty bug whereby Dojo widgets with the readOnly flag set become labels and therefore do not correctly hold a 'value' like a normal form widget. See LP#806625 for details. Signed-off-by: James Fournie Signed-off-by: Mike Rylander 2011-11-29 Dan Scott * Open-ILS/src/support-scripts/marc_export.in: Prevent null 852 $a in marc_export 852 $a is supposed to correspond to the institution holding the item from which access is given, according to the MARC Format for Holdings Data specification. As the org unit shortnames typically don't correspond to one of the MARC Code List for Organization entries, we've assumed that users will define the --location parameter; however, if that parameter isn't defined, the empty string is used and an empty subfield is generated. This, in turn, makes other MARC-parsing tools unhappy. So, only generate an 852 $a if we have an actual value for the --location parameter. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-09 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0665.schema.placelholder.sql: Placeholder upgrade script for late-backport of a fix for 2.0 Signed-off-by: Mike Rylander 2012-01-05 Lebbeous Fogle-Weekley * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm: A/T Event Revalidation shouldn't change event states from complete to found Ideally, revalidation should be guaranteed not to change anything about the event itself at the database level, but I'm not sure we're there yet. Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander 2012-01-09 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0664.schema.hold-current-shelf-lib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-current-shelf-lib.sql: Stamping upgrade script for current_shelf_lib Signed-off-by: Mike Rylander 2011-09-26 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm: LP#845763 remote added content breaks remote added content breaks when using locally served content Signed-off-by: Jason Etheridge Signed-off-by: Dan Scott 2012-01-05 Dan Scott * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0663.schema.archive_circ_stat_cats.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.statistical_archive.sql, Open-ILS/src/sql/Pg/upgrade/XXXY.schema.statistical_archive.all_cir culation.sql: Wrap upgrade script for archivable stat cats Signed-off-by: Dan Scott 2011-09-17 Thomas Berezansky * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/action.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm , Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm , Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.statistical_archive.sql, Open-ILS/src/sql/Pg/upgrade/XXXY.schema.statistical_archive.all_cir culation.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml: Circ Statistical Archiving Copy Location Instead of only archiving the copy location with aged circs, do so with all circs, using the copy location at time of circ. This allows for running of reports on the copy location even after the item is no longer in it. Statistical Categories Add a flag to statistical categories to allow them to be archived with all circulations (at checkout). Reports can then be run on regular and aged circulations based on the contents of the statistical categories. This patch was inspired by Tim Spindler's submission to https://bugs.launchpad.net/evergreen/+bug/798255 - thanks Tim! Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-01-05 Thomas Berezansky * Open-ILS/src/templates/opac/parts/record/summary.tt2: Fix summary.tt2 openurl block The extra if was likely added to fix a problem with a missing ; The missing ; was put back, but the extra if then became a problem. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2012-01-05 Dan Scott * .gitignore: Teach .gitignore about more built locale fileso Running a complete build of locales resulted in a lot of new, unwanted files in "git status". Hide them. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-05 Dan Scott * build/i18n/Makefile, build/i18n/po/vandelay.dtd/ar-AR.po, build/i18n/po/vandelay.dtd/cs-CZ.po, build/i18n/po/vandelay.dtd/de-DE.po, build/i18n/po/vandelay.dtd/en-CA.po, build/i18n/po/vandelay.dtd/en-GB.po, build/i18n/po/vandelay.dtd/es-ES.po, build/i18n/po/vandelay.dtd/fr-CA.po, build/i18n/po/vandelay.dtd/he-IL.po, build/i18n/po/vandelay.dtd/hu-HU.po, build/i18n/po/vandelay.dtd/hy-AM.po, build/i18n/po/vandelay.dtd/oc-FR.po, build/i18n/po/vandelay.dtd/pt-BR.po, build/i18n/po/vandelay.dtd/ru-RU.po, build/i18n/po/vandelay.dtd/sv-SE.po, build/i18n/po/vandelay.dtd/tr-TR.po, build/i18n/po/vandelay.dtd/vandelay.dtd.pot: Remove vandelay.dtd from i18n Makefile and dirs Back in 46e233722f9d1ccec1bd97816bb055caa12f8096, vandelay.dtd was removed in favour of the inline Template Toolkit localizations - so pull vandelay.dtd references out of the i18n Makfile to avoid corresponding errors. Remove vandelay POT and PO files as well. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-04 Dan Scott * build/i18n/scripts/update_pofiles: Add language update script for Launchpad -> Evergreen Launchpad uses different names for locales than we do in Evergreen, and we want to only update translations that are actually new or have changed in Launchpad, so dump some intelligence into a script that can help us with that work. Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2012-01-04 Dan Scott * build/i18n/po/AutoFieldWidget.js/cs-CZ.po, build/i18n/po/AutoFieldWidget.js/de-DE.po, build/i18n/po/AutoFieldWidget.js/en-CA.po, build/i18n/po/AutoFieldWidget.js/en-GB.po, build/i18n/po/AutoFieldWidget.js/es-ES.po, build/i18n/po/AutoFieldWidget.js/fr-CA.po, build/i18n/po/AutoFieldWidget.js/hy-AM.po, build/i18n/po/AutoFieldWidget.js/oc-FR.po, build/i18n/po/AutoFieldWidget.js/pt-BR.po, build/i18n/po/AutoFieldWidget.js/ru-RU.po, build/i18n/po/AutoFieldWidget.js/tr-TR.po, build/i18n/po/Searcher.js/cs-CZ.po, build/i18n/po/Searcher.js/de-DE.po, build/i18n/po/Searcher.js/en-CA.po, build/i18n/po/Searcher.js/en-GB.po, build/i18n/po/Searcher.js/es-ES.po, build/i18n/po/Searcher.js/fr-CA.po, build/i18n/po/Searcher.js/hy-AM.po, build/i18n/po/Searcher.js/ru-RU.po, build/i18n/po/TranslatorPopup.js/cs-CZ.po, build/i18n/po/TranslatorPopup.js/de-DE.po, build/i18n/po/TranslatorPopup.js/en-CA.po, build/i18n/po/TranslatorPopup.js/en-GB.po, build/i18n/po/TranslatorPopup.js/es-ES.po, build/i18n/po/TranslatorPopup.js/fr-CA.po, build/i18n/po/TranslatorPopup.js/hy-AM.po, build/i18n/po/TranslatorPopup.js/oc-FR.po, build/i18n/po/TranslatorPopup.js/pt-BR.po, build/i18n/po/TranslatorPopup.js/ru-RU.po, build/i18n/po/TranslatorPopup.js/tr-TR.po, build/i18n/po/User.js/cs-CZ.po, build/i18n/po/User.js/de-DE.po, build/i18n/po/User.js/en-CA.po, build/i18n/po/User.js/en-GB.po, build/i18n/po/User.js/es-ES.po, build/i18n/po/User.js/fr-CA.po, build/i18n/po/User.js/hy-AM.po, build/i18n/po/User.js/oc-FR.po, build/i18n/po/User.js/pt-BR.po, build/i18n/po/User.js/ru-RU.po, build/i18n/po/User.js/tr-TR.po, build/i18n/po/XULTermLoader.js/cs-CZ.po, build/i18n/po/XULTermLoader.js/de-DE.po, build/i18n/po/XULTermLoader.js/en-CA.po, build/i18n/po/XULTermLoader.js/en-GB.po, build/i18n/po/XULTermLoader.js/es-ES.po, build/i18n/po/XULTermLoader.js/fr-CA.po, build/i18n/po/XULTermLoader.js/hy-AM.po, build/i18n/po/XULTermLoader.js/oc-FR.po, build/i18n/po/XULTermLoader.js/pt-BR.po, build/i18n/po/XULTermLoader.js/ru-RU.po, build/i18n/po/XULTermLoader.js/tr-TR.po, build/i18n/po/admin.properties/cs-CZ.po, build/i18n/po/admin.properties/de-DE.po, build/i18n/po/admin.properties/en-CA.po, build/i18n/po/admin.properties/en-GB.po, build/i18n/po/admin.properties/es-ES.po, build/i18n/po/admin.properties/fr-CA.po, build/i18n/po/admin.properties/hy-AM.po, build/i18n/po/admin.properties/oc-FR.po, build/i18n/po/admin.properties/pt-BR.po, build/i18n/po/admin.properties/ru-RU.po, build/i18n/po/auth.properties/cs-CZ.po, build/i18n/po/auth.properties/de-DE.po, build/i18n/po/auth.properties/en-CA.po, build/i18n/po/auth.properties/en-GB.po, build/i18n/po/auth.properties/es-ES.po, build/i18n/po/auth.properties/fr-CA.po, build/i18n/po/auth.properties/hy-AM.po, build/i18n/po/auth.properties/oc-FR.po, build/i18n/po/auth.properties/pt-BR.po, build/i18n/po/auth.properties/ru-RU.po, build/i18n/po/auth.properties/tr-TR.po, build/i18n/po/authority.js/cs-CZ.po, build/i18n/po/authority.js/de-DE.po, build/i18n/po/authority.js/en-CA.po, build/i18n/po/authority.js/en-GB.po, build/i18n/po/authority.js/es-ES.po, build/i18n/po/authority.js/fr-CA.po, build/i18n/po/authority.js/hy-AM.po, build/i18n/po/authority.js/oc-FR.po, build/i18n/po/authority.js/pt-BR.po, build/i18n/po/capture.js/cs-CZ.po, build/i18n/po/capture.js/de-DE.po, build/i18n/po/capture.js/en-CA.po, build/i18n/po/capture.js/en-GB.po, build/i18n/po/capture.js/es-ES.po, build/i18n/po/capture.js/fr-CA.po, build/i18n/po/capture.js/hy-AM.po, build/i18n/po/capture.js/oc-FR.po, build/i18n/po/capture.js/pt-BR.po, build/i18n/po/capture.js/ru-RU.po, build/i18n/po/cat.properties/cs-CZ.po, build/i18n/po/cat.properties/de-DE.po, build/i18n/po/cat.properties/en-CA.po, build/i18n/po/cat.properties/en-GB.po, build/i18n/po/cat.properties/es-ES.po, build/i18n/po/cat.properties/fr-CA.po, build/i18n/po/cat.properties/hy-AM.po, build/i18n/po/cat.properties/pt-BR.po, build/i18n/po/cat.properties/ru-RU.po, build/i18n/po/cat.properties/tr-TR.po, build/i18n/po/circ.properties/cs-CZ.po, build/i18n/po/circ.properties/de-DE.po, build/i18n/po/circ.properties/en-CA.po, build/i18n/po/circ.properties/en-GB.po, build/i18n/po/circ.properties/es-ES.po, build/i18n/po/circ.properties/fr-CA.po, build/i18n/po/circ.properties/hy-AM.po, build/i18n/po/circ.properties/pt-BR.po, build/i18n/po/circ.properties/ru-RU.po, build/i18n/po/common.properties/cs-CZ.po, build/i18n/po/common.properties/de-DE.po, build/i18n/po/common.properties/en-CA.po, build/i18n/po/common.properties/en-GB.po, build/i18n/po/common.properties/es-ES.po, build/i18n/po/common.properties/fr-CA.po, build/i18n/po/common.properties/hy-AM.po, build/i18n/po/common.properties/oc-FR.po, build/i18n/po/common.properties/pt-BR.po, build/i18n/po/common.properties/ru-RU.po, build/i18n/po/conify.dtd/cs-CZ.po, build/i18n/po/conify.dtd/de-DE.po, build/i18n/po/conify.dtd/en-CA.po, build/i18n/po/conify.dtd/en-GB.po, build/i18n/po/conify.dtd/es-ES.po, build/i18n/po/conify.dtd/fr-CA.po, build/i18n/po/conify.dtd/hy-AM.po, build/i18n/po/conify.dtd/pt-BR.po, build/i18n/po/conify.dtd/ru-RU.po, build/i18n/po/conify.js/cs-CZ.po, build/i18n/po/conify.js/de-DE.po, build/i18n/po/conify.js/en-CA.po, build/i18n/po/conify.js/en-GB.po, build/i18n/po/conify.js/es-ES.po, build/i18n/po/conify.js/fr-CA.po, build/i18n/po/conify.js/hy-AM.po, build/i18n/po/conify.js/pt-BR.po, build/i18n/po/conify.js/ru-RU.po, build/i18n/po/conify.js/tr-TR.po, build/i18n/po/db.seed/cs-CZ.po, build/i18n/po/db.seed/de-DE.po, build/i18n/po/db.seed/en-CA.po, build/i18n/po/db.seed/en-GB.po, build/i18n/po/db.seed/es-ES.po, build/i18n/po/db.seed/fr-CA.po, build/i18n/po/db.seed/hy-AM.po, build/i18n/po/db.seed/oc-FR.po, build/i18n/po/db.seed/pt-BR.po, build/i18n/po/db.seed/ru-RU.po, build/i18n/po/db.seed/tr-TR.po, build/i18n/po/fm_IDL.dtd/cs-CZ.po, build/i18n/po/fm_IDL.dtd/de-DE.po, build/i18n/po/fm_IDL.dtd/en-CA.po, build/i18n/po/fm_IDL.dtd/en-GB.po, build/i18n/po/fm_IDL.dtd/es-ES.po, build/i18n/po/fm_IDL.dtd/fr-CA.po, build/i18n/po/fm_IDL.dtd/hy-AM.po, build/i18n/po/fm_IDL.dtd/pt-BR.po, build/i18n/po/fm_IDL.dtd/ru-RU.po, build/i18n/po/ils_events.xml/cs-CZ.po, build/i18n/po/ils_events.xml/de-DE.po, build/i18n/po/ils_events.xml/en-CA.po, build/i18n/po/ils_events.xml/en-GB.po, build/i18n/po/ils_events.xml/es-ES.po, build/i18n/po/ils_events.xml/fr-CA.po, build/i18n/po/ils_events.xml/hy-AM.po, build/i18n/po/ils_events.xml/pt-BR.po, build/i18n/po/ils_events.xml/ru-RU.po, build/i18n/po/lang.dtd/cs-CZ.po, build/i18n/po/lang.dtd/de-DE.po, build/i18n/po/lang.dtd/en-CA.po, build/i18n/po/lang.dtd/en-GB.po, build/i18n/po/lang.dtd/es-ES.po, build/i18n/po/lang.dtd/fr-CA.po, build/i18n/po/lang.dtd/hy-AM.po, build/i18n/po/lang.dtd/pt-BR.po, build/i18n/po/lang.dtd/ru-RU.po, build/i18n/po/multiclass_search_help.html/cs-CZ.po, build/i18n/po/multiclass_search_help.html/en-CA.po, build/i18n/po/multiclass_search_help.html/en-GB.po, build/i18n/po/multiclass_search_help.html/es-ES.po, build/i18n/po/multiclass_search_help.html/fr-CA.po, build/i18n/po/multiclass_search_help.html/hu-HU.po, build/i18n/po/multiclass_search_help.html/hy-AM.po, build/i18n/po/multiclass_search_help.html/oc-FR.po, build/i18n/po/multiclass_search_help.html/pt-BR.po, build/i18n/po/multiclass_search_help.html/ru-RU.po, build/i18n/po/multiclass_search_help.html/tr-TR.po, build/i18n/po/offline.properties/cs-CZ.po, build/i18n/po/offline.properties/de-DE.po, build/i18n/po/offline.properties/en-CA.po, build/i18n/po/offline.properties/en-GB.po, build/i18n/po/offline.properties/es-ES.po, build/i18n/po/offline.properties/fr-CA.po, build/i18n/po/offline.properties/hy-AM.po, build/i18n/po/offline.properties/pt-BR.po, build/i18n/po/offline.properties/ru-RU.po, build/i18n/po/offline.properties/tr-TR.po, build/i18n/po/opac.dtd/cs-CZ.po, build/i18n/po/opac.dtd/de-DE.po, build/i18n/po/opac.dtd/en-CA.po, build/i18n/po/opac.dtd/en-GB.po, build/i18n/po/opac.dtd/es-ES.po, build/i18n/po/opac.dtd/fr-CA.po, build/i18n/po/opac.dtd/he-IL.po, build/i18n/po/opac.dtd/hy-AM.po, build/i18n/po/opac.dtd/oc-FR.po, build/i18n/po/opac.dtd/pt-BR.po, build/i18n/po/opac.dtd/ru-RU.po, build/i18n/po/opac.dtd/tr-TR.po, build/i18n/po/opac.js/cs-CZ.po, build/i18n/po/opac.js/de-DE.po, build/i18n/po/opac.js/en-CA.po, build/i18n/po/opac.js/en-GB.po, build/i18n/po/opac.js/es-ES.po, build/i18n/po/opac.js/fr-CA.po, build/i18n/po/opac.js/hy-AM.po, build/i18n/po/opac.js/oc-FR.po, build/i18n/po/opac.js/pt-BR.po, build/i18n/po/opac.js/ru-RU.po, build/i18n/po/opac.js/sv-SE.po, build/i18n/po/opac.js/tr-TR.po, build/i18n/po/patron.properties/cs-CZ.po, build/i18n/po/patron.properties/de-DE.po, build/i18n/po/patron.properties/en-CA.po, build/i18n/po/patron.properties/en-GB.po, build/i18n/po/patron.properties/es-ES.po, build/i18n/po/patron.properties/fr-CA.po, build/i18n/po/patron.properties/hy-AM.po, build/i18n/po/patron.properties/pt-BR.po, build/i18n/po/patron.properties/ru-RU.po, build/i18n/po/patron.properties/tr-TR.po, build/i18n/po/pickup_and_return.js/cs-CZ.po, build/i18n/po/pickup_and_return.js/de-DE.po, build/i18n/po/pickup_and_return.js/en-CA.po, build/i18n/po/pickup_and_return.js/en-GB.po, build/i18n/po/pickup_and_return.js/es-ES.po, build/i18n/po/pickup_and_return.js/fr-CA.po, build/i18n/po/pickup_and_return.js/hy-AM.po, build/i18n/po/pickup_and_return.js/pt-BR.po, build/i18n/po/pickup_and_return.js/ru-RU.po, build/i18n/po/pull_list.js/cs-CZ.po, build/i18n/po/pull_list.js/de-DE.po, build/i18n/po/pull_list.js/en-CA.po, build/i18n/po/pull_list.js/en-GB.po, build/i18n/po/pull_list.js/es-ES.po, build/i18n/po/pull_list.js/fr-CA.po, build/i18n/po/pull_list.js/hy-AM.po, build/i18n/po/pull_list.js/pt-BR.po, build/i18n/po/pull_list.js/ru-RU.po, build/i18n/po/register.js/cs-CZ.po, build/i18n/po/register.js/de-DE.po, build/i18n/po/register.js/en-CA.po, build/i18n/po/register.js/en-GB.po, build/i18n/po/register.js/es-ES.po, build/i18n/po/register.js/fr-CA.po, build/i18n/po/register.js/hy-AM.po, build/i18n/po/register.js/pt-BR.po, build/i18n/po/register.js/ru-RU.po, build/i18n/po/register.js/tr-TR.po, build/i18n/po/reports.dtd/cs-CZ.po, build/i18n/po/reports.dtd/de-DE.po, build/i18n/po/reports.dtd/en-CA.po, build/i18n/po/reports.dtd/en-GB.po, build/i18n/po/reports.dtd/es-ES.po, build/i18n/po/reports.dtd/fr-CA.po, build/i18n/po/reports.dtd/hy-AM.po, build/i18n/po/reports.dtd/pt-BR.po, build/i18n/po/reports.dtd/ru-RU.po, build/i18n/po/reports.dtd/tr-TR.po, build/i18n/po/reports.js/cs-CZ.po, build/i18n/po/reports.js/de-DE.po, build/i18n/po/reports.js/en-CA.po, build/i18n/po/reports.js/en-GB.po, build/i18n/po/reports.js/es-ES.po, build/i18n/po/reports.js/fr-CA.po, build/i18n/po/reports.js/hu-HU.po, build/i18n/po/reports.js/hy-AM.po, build/i18n/po/reports.js/pt-BR.po, build/i18n/po/reports.js/ru-RU.po, build/i18n/po/reports.js/tr-TR.po, build/i18n/po/reservation.js/cs-CZ.po, build/i18n/po/reservation.js/de-DE.po, build/i18n/po/reservation.js/en-CA.po, build/i18n/po/reservation.js/en-GB.po, build/i18n/po/reservation.js/es-ES.po, build/i18n/po/reservation.js/fr-CA.po, build/i18n/po/reservation.js/hy-AM.po, build/i18n/po/reservation.js/ru-RU.po, build/i18n/po/selfcheck.js/cs-CZ.po, build/i18n/po/selfcheck.js/de-DE.po, build/i18n/po/selfcheck.js/en-CA.po, build/i18n/po/selfcheck.js/en-GB.po, build/i18n/po/selfcheck.js/es-ES.po, build/i18n/po/selfcheck.js/fr-CA.po, build/i18n/po/selfcheck.js/hy-AM.po, build/i18n/po/selfcheck.js/pt-BR.po, build/i18n/po/selfcheck.js/ru-RU.po, build/i18n/po/serial.properties/cs-CZ.po, build/i18n/po/serial.properties/de-DE.po, build/i18n/po/serial.properties/en-CA.po, build/i18n/po/serial.properties/en-GB.po, build/i18n/po/serial.properties/es-ES.po, build/i18n/po/serial.properties/fr-CA.po, build/i18n/po/serial.properties/hy-AM.po, build/i18n/po/vandelay.dtd/cs-CZ.po, build/i18n/po/vandelay.dtd/de-DE.po, build/i18n/po/vandelay.dtd/en-CA.po, build/i18n/po/vandelay.dtd/en-GB.po, build/i18n/po/vandelay.dtd/es-ES.po, build/i18n/po/vandelay.dtd/fr-CA.po, build/i18n/po/vandelay.dtd/hy-AM.po, build/i18n/po/vandelay.dtd/pt-BR.po, build/i18n/po/vandelay.dtd/ru-RU.po, build/i18n/po/vandelay.dtd/tr-TR.po: Update translations from Launchpad Created using the fancy new update_pofiles script. Huzzah! Signed-off-by: Dan Scott Signed-off-by: Mike Rylander 2011-12-22 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm, Open-ILS/src/templates/opac/parts/record/summary.tt2: Resolver: Fix method signature for deleting cache entries The order of arguments was incorrect and also contained an unnecessary entry for the open-ils.resolver.delete_cached_holdings method signature. Signed-off-by: Dan Scott Signed-off-by: Art 2011-12-22 Dan Scott * Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: OpenURL resolution in TPAC - further cleanup We appear to be getting one null or empty value in the args.issns array, which was causing spurious lookups of null ISSNs, so skip the entry if it is an empty string. Also, switch from the product-specific "sfx" variable name to the product-neutral "openurls" as we have CUFTS in the mix these days. Signed-off-by: Dan Scott Signed-off-by: Art 2011-12-22 Dan Scott * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm: Make resolver HTTP timeout setting implementation neutral Rather than exposing the underlying mechanism (LWP) for the HTTP request via the "lwp_timeout" setting, use "request_timeout" so that if we switch to a different HTTP library the setting name doesn't contradict it. Also, add an example setting to opensrf.xml.example. Signed-off-by: Dan Scott Signed-off-by: Art 2011-12-14 Art Rhyno * Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm, Open-ILS/src/perlmods/lib/Template/Plugin/ResolverResolver.pm, Open-ILS/src/templates/opac/parts/misc_util.tt2: Timeout for resolver interactions These changes add some timeout options for using the resolver setup. For example: request open-ils.resolver open-ils.resolver.resolve_holdings "issn", \ "0013-0618", "http://sfx.scholarsportal.info/windsor", 10 where "10" is the number of seconds for a timeout. A default timeout can be specified in the opensrf.xml file in the ResolverResolver section as well: 30 from TPAC, a request can be also include a timeout option: [% IF openurl.enabled == 'true'; FOR issn IN args.resolver_issns; resolver = ResolverResolver.resolve_issn(issn, openurl.baseurl,20); FOR res IN resolver; %] where "20" is the number of seconds for a timeout. In working through this, I found some bugs in my resolver collection code in misc_util.tt2 for isbns which I have addressed. Signed-off-by: Art Rhyno Signed-off-by: Dan Scott Signed-off-by: Art 2011-12-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Use hold current shelf lib to determine availability : opac sorting The availability of a hold can now be determined by hold.current_shelf_lib == hold.pickup_lib. This change uses the new hold availability test to sort available holds to front/top of a patron's holds list (for the OPAC). Affects open-ils.circ.holds[.canceled|id_list].retrieve Signed-off-by: Bill Erickson 2012-01-04 Mike Rylander * Open-ILS/src/c-apps/oils_sql.c: Teach cstore et al about predicate-style truth tests in ORDER BY clauses Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson 2011-12-28 Bill Erickson * Open-ILS/xul/staff_client/server/circ/util.js: Use hold current shelf lib to determine availability : hold shelf browse The availability of a hold can now be determined by hold.current_shelf_lib == hold.pickup_lib. This change updates the staff client code to only display the "available on" value (i.e. shelf_time) in the holds list when the current_shelf_lib == pickup_lib and not just that it's captured and on a shelf. Signed-off-by: Bill Erickson 2011-12-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Use hold current shelf lib to determine availability : SIP The availability of a hold can now be determined by hold.current_shelf_lib == hold.pickup_lib. This change updates the unavailable holds count function for the patron information SIP call(s). Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm: Use hold current shelf lib to determine availability : A/T validator The availability of a hold can now be determined by hold.current_shelf_lib == hold.pickup_lib. This change updates the HoldIsAvailable action/trigger validator to use the new test. I've left the original belt-and-suspenders checks in place and marked them as redundant within the code for reference. Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Use hold current shelf lib to determine availability : opac hold count The availability of a hold can now be determined by hold.current_shelf_lib == hold.pickup_lib. This change updates the API call for open hold counts for a patron. open-ils.actor.user.hold_requests.count Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Alter hold pickup lib from shelf avoids transit When the pickup library for a hold is changed while the hold is on the shelf, we no longer put the copy into transit to the new location. Instead, we clear the shelf_expire_time (to prevent premature expiration) and leave the hold and copy otherwise untouched. This makes it possible for staff to identify items that are sitting on the holds shelf that need to be put into transit to a new pickup library. The transit will be created when the item is checked in at the originating library. Signed-off-by: Bill Erickson 2011-12-28 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/templates/opac/parts/hold_status.tt2, Open-ILS/web/opac/skin/default/js/myopac.js, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: New hold status for "Wrong Shelf" Adds a new hold status code (8) to indicate when a hold is sitting on the wrong holds shelf. In the OPAC, a hold status of 8 is displayed as in-transit. Neither waiting-for-copy or in-transit are entirely accurate. In-transit makes slightly more sense, since the copy is captured and (slowly) making its way to the correct shelf. Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Hold current_shelf_lib for shelf browse API Use the new current_shelf_lib column on hold requests to determine which copies are on a given shelf. This also removes the shelf_time filter since shelf_time is guaranteed to be set if current_shelf_lib is set. Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Hold current_shelf_lib API for setting/clearing. Sets and clears the hold.current_shelf_lib value as appropriate during hold capture, transit checkin, hold resetting, etc. Also, we now create hold transits (instead of regular transits) when a captured copy is (unexpectedly) found at the wrong branch and needs to transit to the pickup lib. This can happen if the captured copy simply transits to the wrong place (existing behavior) or the pickup lib for the hold was changed while the copy was on the shelf (new behavior). Signed-off-by: Bill Erickson 2011-12-27 Bill Erickson * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold-current-shelf-lib.sql: Hold current_shelf_lib DB and IDL Schema, upgrade, and IDL pieces for a new action.hold_request.current_shelf_lib column. The goal of the column is to track the location where a hold is currently sitting on a hold shelf. Typically, this will be the pickup library, however, if the pickup library has changed while the hold was on the shelf, the current shelf lib will be different. The upgrade script sets current_shelf_lib to match the pickup_lib for all holds that are currently active and on the shelf. Signed-off-by: Bill Erickson 2011-11-22 Dan Scott * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql: Avoid updating deleted call numbers for 2.0 -> 2.1 upgrade 25% of the call numbers on our production system are deleted, so filtering out the deleted call numbers from the update in the 2.0 -> 2.1 upgrade saves a significant amount of time. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-01-03 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/WWW/Proxy/Authen.pm: Add OpenILS::WWW::Proxy::Authen Module Enables HTTP Basic Authentication access control. Uses the OILSProxyPermissions and OILSProxyLoginType settings, but prompts are controlled by the Apache AuthName directive. This module allows things like Directory Indexing and non-perl or otherwise incompatible with the normal proxy module Response (or similar) handlers to be password-protected. It also supports the OpenILS::WWW::Proxy user/passwd CGI params to allow an easier transition between the two. For example: Options +Indexes PerlOptions +GlobalRequest PerlSetVar OILSProxyPermissions "VIEW_REPORT_OUTPUT" PerlSendHeader On AuthType Basic AuthName "Notices Login" PerlAuthenHandler OpenILS::WWW::Proxy::Authen require valid-user allow from all Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-01-03 Thomas Berezansky * Open-ILS/examples/apache/eg_vhost.conf: Change default proxy configs to Authen variant Also, because Authen causes Indexes to function, turn them off by default. Signed-off-by: Thomas Berezansky Signed-off-by: Mike Rylander 2012-01-04 Mike Rylander * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0662.schema.coded-value-map-index-norma lizer.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.coded-value-map-index-norma lizer.sql: Stamping upgrade script for coded value map index normalizer Signed-off-by: Mike Rylander 2012-01-03 Bill Erickson * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.coded-value-map-index-norma lizer.sql: Coded value map index normalizer New index normalizer which maps a coded value from the record to the display value configured in config.coded_value_map. The normalizer is applied with one parameter, the ctype of the coded_value_map to use for the mapping. E.g config.metabib_field_index_norm_map: id | field | norm | params | pos ---+-------+------+---------------+----- 57 | 31 | 17 | ["item_lang"] | -1 * pos = -1 causes this normalizer to be applied to facet_entry's This is primarily useful for facets. For example, you could create a metabib_field for language and mark it as a facet_field. Applying this index would allow the mapped language names (e.g. "French" instead of "fre") to display as facets. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander 2012-01-03 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: Revert "TPAC: Uniform search lib / depth settings" Reverting partial commit that accidentally crept in, causing TPAC breakage. This reverts commit ea71899306e026bd0c9c91180a0af76a55fbec08. Signed-off-by: Bill Erickson 2011-12-30 Thomas Berezansky * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Fix typo causing Javascript Shell to not enable DEBUG_CIENT != DEBUG_CLIENT Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-12-30 Thomas Berezansky * Open-ILS/xul/staff_client/Makefile.am: Use the FTP site for Xulrunner downloads releases.mozilla.org was causing trouble for us; the FTP site appears to be more stable. Oh, and bump the Xulrunner version slightly while we are at it. Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-12-27 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPAC: Uniform search lib / depth settings The current TPAC code uses logic embedded within the templates to determine which org unit and depth to apply to searches. This commit attempts to standardize the logic within the new OpenILS::WWWW::EGCatLoader::Util::_get_search_lib() function and sets the result as a new context variable, "search_ou". The org unit is determined as follows (first matching condition wins): * specific CGI "loc" value * logged-in user's preferred search library * logged-in user's home org unit * specific CGI "physical_loc" value The depth is set as follows (first matching condition wins): * specific CGI "depth" value * depth of the chosen org_unit As of this commit, a library that wishes to set the a default search org unit for any given user should set the "physical_loc" CGI param; after the user performs their first search, the "loc" CGI param will propagate through most interfaces. When a user clicks "Your account log in", the user's preferred search library or home org unit will be set as the new search lib. At any time after that, the user can select a different org unit from the org unit selector to explicitly set the "loc" CGI param. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-12-28 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2: TPAC: Add "preferred search location" preference setting Working towards parity with the JSPAC, give the user the ability to set their preferred search library in account preferences via the org selector. The value defaults to the user's home OU. Also set a sane default of 10 search results per page in the absence of any preference, as the default had been set to 5. While we're in there, remove some of the inline styles and weird markup in the user preference page, and refactor the O:W:EGCatLoader:Account module to accept an easily-appended list of preferences to be set. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-12-27 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: TPAC: Set search_ou context in common loader By setting the search_ou context in load_common() after checking for a valid user session, we can catch the remaining pages in TPAC in which the default search library was not being set properly. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-12-27 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPAC: Resolve conflict with master The changes for LP909111 ended up causing a conflict with this branch. Resolve! Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-12-27 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2: TPAC: Uniform search lib / depth settings The current TPAC code uses logic embedded within the templates to determine which org unit and depth to apply to searches. This commit attempts to standardize the logic within the new OpenILS::WWWW::EGCatLoader::Util::_get_search_lib() function and sets the result as a new context variable, "search_ou". The org unit is determined as follows (first matching condition wins): * specific CGI "loc" value * logged-in user's preferred search library * logged-in user's home org unit * specific CGI "physical_loc" value The depth is set as follows (first matching condition wins): * specific CGI "depth" value * depth of the chosen org_unit As of this commit, a library that wishes to set the a default search org unit for any given user should set the "physical_loc" CGI param; after the user performs their first search, the "loc" CGI param will propagate through most interfaces. When a user clicks "Your account log in", the user's preferred search library or home org unit will be set as the new search lib. At any time after that, the user can select a different org unit from the org unit selector to explicitly set the "loc" CGI param. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson 2011-12-27 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: TPac: improve search depth extraction Improves how we determine the depth of a search. The Order of operations: 1. Depth encoded within the search query, e.g. depth(2) 2. CGI depth param 3. Default is to match the depth of the searched org unit Signed-off-by: Bill Erickson Signed-off-by: Dan Scott 2011-09-29 Thomas Berezansky * Open-ILS/web/opac/locale/en-US/lang.dtd, 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/defaults/preferences/prefs.js, Open-ILS/xul/staff_client/server/cat/copy_editor.js: Reverse Copy Location picker labels via WS Setting If the setting is set then place the name before the org unit. This allows for typing of the start of the name without having to deal with the org unit shortname "eating" the start of the label (and thus type-in), but preserves the information the org unit provides. As an example, instead of having to type: CONS : St To get close to the default "Stacks" in a long list you could just type St And likely get to, or close to, Stacks. The option can be toggled from the Workstation Administration menu. Conflicts: Open-ILS/xul/staff_client/chrome/content/main/menu.js Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul Signed-off-by: Thomas Berezansky Signed-off-by: Dan Scott 2011-12-23 Dan Scott * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Display monograph parts In search results and record details, display monograph parts if associated with a copy. Uses unapi for search results and json_query for record details. Only generates the "Part" column in the copy table if that record actually has a monograph part; otherwise the column is not generated. Signed-off-by: Dan Scott Signed-off-by: Thomas Berezansky 2011-12-21 Thomas Berezansky * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm: SIP2: Fix transit home on checkin The Checkin doesn't need a destination_loc, but the item needs it set. Signed-off-by: Thomas Berezansky Signed-off-by: Sarah E. Chodrow 2011-12-22 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm, Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.js: SVF in bib record summary: extract attrs on the server This repairs a FIXME within the custom bib overlay code related to parsing metabib.record_attr stores within the JS. Instead, now we use an attr parsing utility function which compiles a regular hash so the client no longer needs to parse it. Signed-off-by: Bill Erickson 2011-12-08 Jason Etheridge * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm, Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.js: support SVF in staff client bib record summary This is in support of https://bugs.launchpad.net/evergreen/+bug/822928, re: Cat Date So for example, let's suppose you want to store a "Cat Date" in MARC tag 915, subfield a. You could do this in the database: INSERT INTO config.record_attr_definition (name,label,filter,sorter,tag,sf_list) VALUES ( 'cat_date', 'Cat Date', 'f', 't', '915', 'd' ); Add this to server/locale/en-US/cat_custom.properties (optional but recommended): staff.cat.bib_brief.cat_date.label=Cat Date: staff.cat.bib_brief.cat_date.accesskey= And then add something like this to server/skin/custom.js: try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']); prefs.setCharPref( 'oils.bib_brief.horizontal.dynamic_grid_replacement.data', js2JSON([ ["title", "edition", "editor", "cat_date"], ["author", "pubdate", "edit_date", "holds"], ["bib_call_number", "tcn", "create_date", "items"] ]) ); prefs.setCharPref( 'oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data', js2JSON([ ["title", "edition", "editor", "cat_date"], ["author", "pubdate", "edit_date", "holds"], ["call_number", "tcn", "create_date", "items"] ]) ); } catch(E) { dump('Error in custom.js trying to set oils.bib_brief.*.dynamic_grid_replacement.data: ' + E + '\n'); } Finally, re-ingest any records with tag 915d (you can simply edit the MARC via the MARC Editor for a specific record, or if the ingest.reingest.force_on_same_marc row in config.internal_flag is enabled and you're not doing this during library hours, you can re-ingest all records with UPDATE biblio.record_entry SET marc = marc;) Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson 2011-12-21 Dan Scott * 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/0661.data.yaous-opac-tag-circed-items.s ql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-opac-tag-circed-items.s ql: Wrap upgrade for "Tag previously circulated items" YAOUS Also fix a typo ("currenlty") and use the full "circulation" for easier translation. Signed-off-by: Dan Scott 2011-11-29 Bill Erickson * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-opac-tag-circed-items.s ql, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac; indicate search results previously checked out When a user is logged in to the tpac and performs a search, indicate in the results set when any of the result items were ever checked out by the logged in user. Items will only be tagged when the related org setting is enabled and the user has opted-in to circ history tracking. New org unit setting is "opac.search.tag_circulated_items" / "Tag Circulated Items in Results" In the search results, just below title/author/callnumber/copy-count, a new line is displayed that says "I have checked out this item before" with a purdy little checkmark. Signed-off-by: Dan Scott 2011-12-21 Thomas Berezansky * Open-ILS/src/templates/opac/parts/place_hold_result.tt2: TPac: Don't show part selector on hold result page Instead, duplicate the hold list's "part name in parens" display, when a part was selected. Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson 2011-12-19 Bill Erickson * Open-ILS/src/templates/opac/parts/header.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Change title tooltip in results table to useful message From dbs's original commit: The tooltip that would display when hovering over the title of a result in the results table was simply the URI-escaped version of the title text - not particularly helpful. Change this to say "Display record details" as an actual hint about what action will occur when the user clicks on a title in the results list. This modified commit changes the title to 'Display record details for ""' This commit also introduces the HTML plugin as a new loaded-by-default template plugin. Among other things, it's useful for ensuring HTML attributes are safely encoded, moresoe than |html, which does not escape quotes. https://bugs.launchpad.net/evergreen/+bug/902979 Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-12-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/opac/parts/result/copy_counts.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Split result copy counts into a separate template As Thomas Berezansky suggests, sites are likely to want to customize the display of copy counts depending on whether they're consortial sharers, how deep they want to display, whether they want to just show the matching search scope... make it easy to customize by moving the copy counts portion of the results table into a separate template. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/opac/parts/record/copy_counts.tt2, Open-ILS/src/templates/opac/parts/record/copy_table.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Improve display of holds/copy counts on record details Based on some suggestions from Thomas Berezansky in LP 906168: * Change the "Copies" header to "Available copies" * Simplify the copy language to "# copies at <library>" (we still need the noun "copies" but "available" has been factored out) * Create a "Holds" header and move the holds information under that * Put the "Available copies" and "Holds" into inline-block elements so that they can take less vertical space on a wide screen but will wrap on a narrow screen. * Fix the line spacing between LI elements In addition, break up the lengthy summary TT2 file into a few smaller parts. In particular, make a copy_counts.tt2 file as sites are very likely to customize this to, in some cases, not show the consortial counts, or in other cases to only show the consortial count and current search library. Also fix some horrible CSS issues in the header in which the "Place hold" and "Add to list" buttons were above the title / image, as well as remove some of the CSS manipulation to plain H2 elements that gave them no top margin. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-18 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Display additional levels of copy counts In line with the MassLNC TPAC suggestion, display the copy counts for search results and record details not only at the consortial level, but also at up to two additional levels of the org unit hierarchy (but no deeper than the user has chosen to search). Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-07 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/holds/edit.tt2: TPac; display mono part in account holds list/edit Part label is appended to the title, wrapped in (parens). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-10-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2: TPac: holds placement on monographic parts Ability to place holds on monographic parts. In the holds placement form, if a record has parts, a parts selector will display in the form allowing the user to optionally specificy a monographic part for the hold. If a record has no non-part copies, the user is required to select a part, because, in such cases, the hold cannot be fulfilled without selecting a part. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-11-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Conta inerCSV.pm, 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/0660.data.bib-container-csv-unapi-templ ate.sql: bookbag CSV gets bib attrs; A/T unapi method * Added a bib record unapi retrieval utility method for action/trigger templates. * Updated the bookbag CSV template to include data for the "item_type" record attribute both to have it and as an example of how the unapi retrieval works. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-12-20 Dan Scott <dscott@laurentian.ca> * Open-ILS/examples/fm_IDL.xml: Add "Last circulation date" field to new rcl view Some libraries will want the option of filtering out copies which have truly never circulated, so offering up the bare "last circulation date" field rather than coalescing it with "create date" will give report writers the ability to use an IS NOT NULL clause. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-06 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml: Last Circulation timestamp for reports Specifically intended for Weeding reports. Easily swapped out (if needed) to include legacy circ data, when available from a migration. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-06 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml: Hold ratios by pickup library for reports Specifically intended for "point in time" reports. In our case, per-library purchase alerts. Uses Hold Copy Map table to get more accurate numbers for copy/volume/part holds. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-20 Dan Scott <dan@coffeecode.net> * Open-ILS/tests/datasets/concerto.sql: Escape the backslash to avoid warning in PostgreSQL 9.0- In PostgreSQL 9.1, "standard_conforming_strings" is ON by default and there's no warning - but previous versions of PostgreSQL will see the backslash and throw a warning about how you haven't escaped the backslash. Thanks to Thomas Berezansky for noticing. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-09 Dan Scott <dscott@laurentian.ca> * Open-ILS/tests/datasets/concerto.sql: Add concerto.sql dataset with callnums, copies, and URIs Useful for testing a fresh Evergreen database, the concerto.sql dataset is an SQL file that adds 100 bib records and automatically generates assorted call numbers and copies for 3 of the branches. 50 of the records include unadorned 856 fields and 25 of them have located URIs (25 scoped at SYS1, and 10 scoped at both SYS1 and BR3). In the effort to make the one-shot load of sample bib / copy / call number data broad and realistic, delete some of the entities, add prefixes and suffixes to some of the call numbers, and include some monograph parts and conjoined items. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-20 Dan Scott <dscott@laurentian.ca> * templates_custom/opac/advanced.tt2: Remove top-level templates_custom directory This top-level directory and version of advanced.tt2 slipped into commit c9cdea869b5 and was noticed by Bill Erickson. It should not be here. Send it into oblivion. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-19 Dan Scott <dscott@laurentian.ca> * .gitignore: Add built staff client dir to .gitignore as well Thanks to Thomas Berezansky for the suggestion; you can tell what I haven't built on my system :) Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-19 Dan Scott <dscott@laurentian.ca> * .gitignore: Add a .gitignore file suitable for master "git status" is painful in a source directory in which you're built and installed Evergreen. This commit adds a .gitignore file that masks most of the files and directories that you don't want to even think about, in the hopes that the default Evergreen development experience can be mo' betta. Variations on this could be backported to rel_2_1 and rel_2_0 but take care as some of the files that used to be source files in older releases are now build from *.in files via autoconf. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0659.add_create_report_perms.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.report_perms.sql: Wrap upgrade script for CREATE_REPORT_TEMPLATE permission Permissions to create report templates will automatically be added to any group that currently has the ability to run reports as part of the upgrade process; if you want to make use of the ability to prevent some groups from creating ad-hoc reports, remove the CREATE_REPORT_TEMPLATE permission from permission.grp_perm_map for that group. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Reporter.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.report_perms.sql, Open-ILS/web/reports/oils_rpt.js, Open-ILS/web/reports/oils_rpt_folders.js: Add permission for creating report templates Because we would like people to be able to run them, but not create them. Also, allow VIEW_REPORT_OUTPUT in reporter interface, so that you can see the contents of shared output folders. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-22 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: Avoid updating deleted call numbers for 2.0 -> 2.1 upgrade 25% of the call numbers on our production system are deleted, so filtering out the deleted call numbers from the update in the 2.0 -> 2.1 upgrade saves a significant amount of time. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-08 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/myopac.js, Open-ILS/web/opac/skin/default/xml/myopac/myopac_holds.xml, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: Show Suspended holds as Suspended In the staff client and JSPac show the status of a suspended hold as Suspended rather than something like "Waiting for copy". Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-10 Jason Stephenson <jason@sigio.com> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm: Add class_for_hint function to OpenILS::Utils::Fieldmapper. Use this function to find a Fieldmapper class from the JSON hint or class id: my $class = Fieldmapper::class_for_hint('au'); print("$class\n"); Will print: Fieldmapper::actor::user Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/checkin.js: LP904915 Restore call number columns in Check In interface Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/print.js: turn objects (such as null) into empty strings when they're being treated as strings (with escape_html) during printing Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0658.schema.acn_dewey_sort_fix.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.dewey-sort-fix.sql: LP# 902667 - Wrap upgrade script for Dewey sorting Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-10 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.dewey-sort-fix.sql: Fix Dewey call number sorting Ported over Koha commit aef8358c - fix for Koha Bug 4265. Further documented in Evergreen LP # 902667 Here's the description from the commit message by Magnus Enger: C4::ClassSortRoutine::Dewey turns "306 Les" into "306_Les" for items.cn_sort and MARC-field 952$6, which results in "306.46 Les" being sorted before "306 Les" in the OPAC. With this patch, "306 Les" is turned into "306_000000000000000_Les". Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-01 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: Fix the POD in Cronscript.pm.in. I lied when I said it includes Data::Dumper, so you don't have to. It does include Data::Dumper, but if you want to use Data::Dumper in your script, you still have to use Data::Dumper. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-01 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: Make some improvements to Cronscript.pm. Allow the session method to function when called more than once with different service names. Add some useful new methods: logout: Calls open-ils.auth.session.delete if we're logged in. die_event: Causes a script to croak if the object passed in is an event, or optionally a certain named event. warn_event: Causes a script to output an error message if the object passed in is an event, or optionally a certain named event. Use OpenILS::Application::AppUtils. Default to staff login in Cronscript->authenticate method. Improve the Croncript.pm.in POD to include a better synopsis of its features. Clean up some other sections of the POD, remove the TODO section, and add some SEE ALSO entries. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: TPAC: Assume that templates are encoded in UTF-8 Per http://template-toolkit.org/docs/faq/index.html under "Why do I get rubbish for my utf-8 templates?", Template::Toolkit does not assume that templates are encoded in UTF-8, which runs counter to current assumptions circa 2011. Practically, this means that before this change any UTF8 characters used for purposes such as Unicode art or otherwise would be garbled in the generated Web page. This commit tells Template::Toolkit to assume that the templates are UTF8 without forcing us to monkey with byte-order markers. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-14 bott <bott@grpl.org> * Open-ILS/web/opac/skin/default/js/rdetail.js: Allow for the page offset when listing the "Result x of y" values. The record details page did not show the page offset correctly, so result 13 would show up as "Result 3 of ###", and result 23 would also show up as "Result 3 of ###". Signed-off-by: bott <bott@grpl.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js: Fix can_have_copies checks Bibs aren't required to have sources. Thus, adjust all appropriate locations to support a default state of "no source bibs can have copies", without erroring out. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-14 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Process still-shelved, canceled holds in clear-shelf process Holds that are canceled but still physically on the hold shelf are processed like other holds during the clear-shelf process. They will be grouped in the same manner and if a custom post-clear status is configured, copies linked to already-canceled holds will get the custom status. The only difference is already-canceled holds will not be re-canceled during the clear-shelf process. This change has the added benefit of leveraging another API call to retrieve the shelf-expired holds instead of using its own custom json-query. See https://bugs.launchpad.net/evergreen/+bug/904332 Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Clear hold shelf/shelf_expire time for pickup lib change If a hold is on the holds shelf and the pickup library changes, clear the shelf_time and shelf_expire_time, since the hold is now in transit. This is particularly important for avoiding action_trigger events for the "hold_request.shelf_expires_soon" hook for what is now an in-transit item. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-06 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2: TPAC: Add prefixes and suffixes to call number displays Call numbers can be associated with prefixes and suffixes meant for display purposes; display these with the call numbers in search results and record details. Thanks to Lebbeous and Bill for the assist in sorting out the remaining portion of the hairy json_query for the record display. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-11 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Make canceled but still on the shelf holds show up Browse Hold Shelf otherwise can't see holds canceled after the item was placed on the shelf. This also causes the expired view to show canceled but still in on the hold shelf status holds to show up. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0657.schema.address-alert.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.address-alert.sql: Stamping upgrade for LP898248: Address Alert Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/actor/user/register.tt2, Open-ILS/web/css/skin/default/register.css, Open-ILS/web/js/ui/default/actor/user/register.js: Alert addresses for patron registration : UI Add support for comparing user addresses to alert addresses. When an address is found, the address in question is styled (the header row turns red) and the configured alert message is shown along the top-right, where other warnings appear. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Alert addresses for patron registration : API Middle-layer API call for matching addresses to alert addresses open-ils.actor.address_alert.test(auth, orgid, fields) Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/conify/global/actor/address_alert.tt2, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Alert addresses for patron registration : configuration UI Conify UI for managing Alert Addresses Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.address-alert.sql: Alert addresses for patron registration : DB/IDL DB and IDL components to support configuration of alert addresses. The target use case for alert addresses is in the patron registration interface. When a patron's address matches an alert address, the staff should be notified. Alert address fields are treated as regular expressions. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-12-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/c-apps/oils_sql.c: json_query boolean function param support Solves the following problem when passing boolean parameter values to json_query functions using the 'from' construct. E.g. {"from" : ["some_func_name", true]} oils_sql.c:2568 open-ils.cstore: Error quoting key string [(null)] Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-12-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Remove more inline styles from results table Most of the inline styles are gone from the results table. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: RPAC: Remove one formatting row from results One of the table rows was being inserted into every result simply to provide a border that is better handled via CSS on the existing useful elements. Begone. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: results use floated DIVs instead of table layout Rather than a table containing a single row for the rather gross purpose of placing the facet sidebar on the left, a little bit of a divider between the facets and the results, and the results on the right, just use a floated div and a relatively positioned div for the two pertinent chunks of content. Bonus: one touch of CSS moves the facet sidebar to the right instead of the left. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Record details - inline style to classes Continue the march towards no inline styles in the record details page. Includes a small tweak for electronic resource display so that the unordered list gains a bit of space on the left-hand side from the image location. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/base.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPAC: Include Chilifresh conditionally Rather than including Chilifresh JavaScript and table cells unconditionally, only include the Chilifresh calls if an account has been defined in the Apache environment. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/advanced.tt2: TPAC: Fix styling in advanced searchbar Per Peter Lux's comment, we needed to fix the styling in the advanced search bar. Marking the DIV id with "search-box" makes it consistent with the searchbar in other interfaces. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/advanced.tt2: TPAC: Fix whitespace in advanced.tt2 Indentation was non-standard following plux's addition of the basic link in the advanced search UI; fix that up. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-09 Peter Lux <plux@upei.ca> * Open-ILS/src/templates/opac/advanced.tt2, templates_custom/opac/advanced.tt2: TPAC: Link to Basic Search from advanced page The searchbar in basic search, results, record details offers an option to get to advanced search - but advanced search doesn't offer a way to get directly back to a basic search. Now it does; however, some CSS is required to make it look consistent. Signed-off-by: Peter Lux <plux@upei.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-09 Art Rhyno <artrhyno@uwindsor.ca> * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm: Added CUFTS support in ResolverResolver This is based on the CUFTS implementation for UPEI. This is very closely modeled on the SFX implementation. opensrf.xml.example has been modified to include a <resolver_type> element for ResolverResolver; by default, SFX will be used and this shouldn't break anything else. If you use CUFTS rather than SFX, you can specify 'cufts'. Signed-off-by: Art Rhyno <artrhyno@uwindsor.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-09 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Fix record summary e-resource and copy display Electronic resources were wrapped with an ugly black line and no differentiation from the outstanding text. Give them a light background and remove the black line. Also, use an unordered list if we have more than one URI to display. Move the copy summary below the "Copies" heading that immediately follows it for a more logical grouping of elements. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-09 Chris Sharp <csharp@georgialibraries.org> * Open-ILS/src/extras/Makefile.install: Fix typo in comment in Open-ILS/src/extras/Makefile.install. Signed-off-by: Chris Sharp <csharp@georgialibraries.org> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-12-08 Jason Stephenson <jstephenson@mvlc.org> * README: Update the README for Ubuntu Precise Pangolin (12.04). Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org> 2011-12-08 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/extras/Makefile.install: Update Open-ILS/src/extras/Makefile.install for Ubuntu 12.04. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org> 2011-12-09 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/result/facets.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Remove more explicit widths from results page Refactor the facet sidebar such that headers consist of a floated span and a div with no specific width; absent a specific width, the button will float over top of text that might expand due to translation. Also remove the explicit table cell width for the results counter column and move some inline styles over to CSS. More to be done in results table but we are on our way. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-09 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: Use padding instead of explicit width for tabs Explicit widths work well for a combination of a specific font sizes and a known string; however, in the context of translation, strings may get longer than the explicit width allows. Using padding gives us more flexibility to accommodate different font sizes and variable length strings; the uniformity of the tab size will be sacrificed but perhaps that is not such a bad thing. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-16 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/HoldingCode.js, Open-ILS/web/js/ui/default/serial/list_item.js, Open-ILS/web/js/ui/default/serial/list_stream.js: Serials: be less eager to offer season dropdown in holding code mini-wizard The recent commit (ebce79a288b in master) to make the holding code mini-wizard offer a dropdown for season offers it too often, sometimes in completely inappropriate cases. This commit gets it right, and incidentally fixes two totally broken links elsewhere in alternate serials control view interfaces. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-12-01 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/src/templates/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2: Propagate search scope through advanced search interfaces If a user had a chosen search scope (via the CGI "loc" parameter), it would be lost when switching to the advanced search interfaces. Now we progagate the search scope through the advanced search interfaces. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0656.LP893315_schema.function.filter_de leted_acns_from_unapi.holdings_xml.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.LP893315_schema.function.filter_de leted_acns_from_unapi.holdings_xml.sql: Stamping upgrade for LP893315: filter_deleted_acns_from_unapi Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-25 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.LP893315_schema.function.filter_de leted_acns_from_unapi.holdings_xml.sql: LP893315: Do not return delected call numbers in holdings_xml Per LP893315, deleted call numbers were obscuring the actual active URIs associated with a given bib record in a given scope at the default limit of 5 results per record in unapi.holdings_xml. Filtering out the deleted call numbers from the results seems like a good idea, as we're generally interested in only showing the active results (at least as in-db unapi is currently used). This also addresses the problem of not showing active URIs when there are active URIs to display. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-05 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Code comments and tweaks for lost processing This commit is intended to do the following: * Fix case where MISSING status is not retained for items being sent 'home' (as it was in previous versions) * Be more explicit about when we unset the LOST status and when we do not in checkin_handle_lost() * Prevent update of the copy in checkin_handle_lost() unless we actually change the status * Restore log messages for special handling of LOST/MISSING checkins away from 'home' * Provide additional code comments to clarify intended behavior Note: Given the current restructure, MISSING item behavior is no longer affected by 'lost_immediately_available' setting. That seemed more bug than feature, and can be implemented later (perhaps as a separate setting) if required. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-11-29 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Check OILS_SETTING_LOST_IMMEDIATELY_AVAILABLE in checkin_handle_lost. Check the value of OILS_SETTING_LOST_IMMEDIATELY_AVAILABLE before changing the copy status in checkin_handle_lost. This makes the setting actually do something. Add a couple of blank lines to aid in readability. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-11-17 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Fix LP851000. Remove about 14 lines from OpenILS/Application/Circ/Circulate.pm in the checkin_handle_circ subroutine that check whether or not the checkin happens at the copy's circ_lib and the value of the circ.lost_immediately_available org unit setting. This change causes the handle_lost subroutine to run regardless of where the checkin takes place for a more consistent experience. Whether or not billings are voided, overdues restored, etc. is still determined by the copy's circ_lib. Given how the hold targeter and transit code works, it does not appear the the circ.lost_immediately_available setting could ever do what it was intended to do. Given these changes to the code it is now unnecessary. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-11-25 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: TPAC: Protect against missing 901c in legacy MARCXML Bad MARCXML to which Evergreen has been unable to add a 901c happens - particularly with legacy MARCXML. Currently, TPAC crashes hard with an ugly error if a 901c is not found when attempting to display the record in search results. In comparison, the JSPAC displays the record without a problem. This commit logs a warning and enables the TPAC to continue somewhat gracefully (the problem record is simply skipped in the search results). A more robust solution may be to teach unapi.bre to add the record ID to the results and to have the TPAC pull from that, rather than relying on the MARCXML itself to contain the record ID. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-12-05 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0655.config.bib_source.can_have_copies. sql, Open-ILS/src/sql/Pg/upgrade/XXXX.config.bib_source.can_have_copies. sql: Add versioned upgrade script for "Bib source: can have copies" Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-15 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/util.js: Refactor retrieval of cbs object into cat.util.get_cbs_for_bre_id(). Avoid code duplication. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-04 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/web/js/dojo/openils/opac/nls/opac.js, Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/skin/default/js/rdetail.js: Add can have copies check to the Add MFHD Record link in rdetail. This prevents the button from the JSPAC from being able to add MFHD records to the affected bib record. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-04 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Modify copy browser to check for bib_source.can_have_copies. Add code to server/cat/copy_browser.js. Add error string to server/local/en-US/cat.properties. Swap obj. for g. that was copied from opac.js. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/server/cat/bib_brief.js: Modify server/cat/bib_brief.js to check for source can have volumes. Copy/paste code from chrome/content/cat/opac.js. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-01 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.xul, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties: Check for bib_source.can_have_copies in cataloging. Retrieve the BRE and CBS object in the add_volumes method of opac.js. Check if the CBS can have copies, and if not, tell the user such and return. Also required adding an api entry in constants.js and a new message in offline.properties. This is the beginning of the client code changes. There are very likely to be more. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-30 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/config.p m, 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/XXXX.config.bib_source.can_have_copies. sql: Add can_have_copies field to config.bib_source. Add the column definition to config.bib_source in 002.schema.config.sql. Insert TRUE into the column for the default sources created in 950.data.seed-values.sql. Add the field definition to class id cbs in fm_IDL.xml. Teach OpenILS/Application/Storage/CDBI/config.pm about new field. Add upgrade script for config.bib_source.can_have_copies. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-01 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql: LP881774: Missing schema on function in 2.0-2.1 upgrade Although the search path is altered to include the evergreen schema at the start of the upgrade, one of the functions in the evergreen schema does not resolve when invoked without the explicit schema later in the upgrade script. We address that superficial (but failure provoking / time wasting) problem by qualifying the function with the evergreen schema in this commit, but we should also find out why the altered search path does not seem to be functioning in the upgrade script. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-12-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0654.patron_card_editor.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.patron_card_editor.sql: pin a version number for the patron card editor upgrade script Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: When editing cards, lock tab on apply changes Hopefully to prevent people from moving away before saving. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.patron_card_editor.sql: Seed values/upgrade script for card edit perms Not assigned to anyone by default. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: Check Profile Editing Perms for Card Editor Don't allow Active/Primary card changes unless you have the ability to edit the patron's primary profile group. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/actor/user/register.tt2, Open-ILS/src/templates/actor/user/register_table.tt2, Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/ui/default/actor/user/register.js: Active/Primary Editing for Patron Cards Changes "See All" into an editing interface, allowing for changing of the active and primary state of each card. Each requires a specific permission: UPDATE_PATRON_ACTIVE_CARD UPDATE_PATRON_PRIMARY_CARD Without the appropriate permission the interface will show the green check or red x instead of the editing elements. If you don't have either permission then the Apply Changes button is hidden. As the editing interface exists, also show the "See All" button when there is only one card, but not when registering a new patron. This allows for toggling the lone card's active flag, as well as replacing a card but leaving the old one active. To ensure that you can do the above, and to avoid some other errors, the new card on a patron is saved to the editCard variable, rather than using patron.card(). This both allows for "Replacing" a new non-primary card into place as well as avoiding issues with editing the primary and active states at the same time (the interface would try and update the new primary card with the old primary card's barcode). Also, when checking for duplicate barcodes, update the editCard with the barcode so the See All interface can show the new card's barcode in the list properly. Finally, included is localization for the All Cards interface headers and buttons. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-16 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tpac: ability to edit name, description of bookbags later You could already name and describe when creating them, and now you can edit that later. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-25 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql: LP896405: Address SQL upgrade issues getting to 2.2-alpha1 Martha Driscoll tried out the 2.2-alpha1 upgrade script and found a few problems noted in this thread: http://list.georgialibraries.org/pipermail/open-ils-dev/2011-November/007747.html"upgrade_log" does not exist > LINE 1: INSERT INTO config.upgrade_log (version, applied_to) VALUES . This fails because the "applied_to" column does not exist at this point in the schema upgrade. Just remove the "applied_to" column from the INSERT statement. This will probably fail because most sites won't have applied 0526 to their production server, so move the statements outside of the transaction. Also, in my own testing I ran into: public / evergreen function namespace issues we tried to address back in the 2.0(?) timeframe. New sites will have the is_json() function in the evergreen namespace, while old sites will have it in public, so we do _not_ qualify the function name and just let the searchpath handle the resolution. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-25 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/1.2.1-1.2.2-upgrade-db.sql, Open-ILS/src/sql/Pg/1.2.2.0-1.2.2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/1.2.2.1-1.2.2.2-upgrade-db.sql, Open-ILS/src/sql/Pg/1.2.2.2-1.2.2.3-upgrade-db.sql, Open-ILS/src/sql/Pg/1.2.2.3-1.2.3.0-upgrade.sql, Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql, Open-ILS/src/sql/Pg/1.4-shadow_full_rec-upgrade-db.sql, Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql, Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql, Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/2.0.3-2.0.4-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/1.6.1-2.0-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.0-2.0.1-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.1-2.0.2-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.2-2.0.3-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.3-2.0.4-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.4-2.0.5-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.5-2.0.6-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.6-2.0.7-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.7-2.0.8-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.8-2.0.9-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.0.9-2.0.10-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql, Open-ILS/src/sql/Pg/version-upgrade/2.1.0-2.1.1-upgrade-db.sql: Start collecting version-upgrade scripts in one spot Rename the upgrade scripts missing "-upgrade-db" in their name Add the 2.0.* upgrade scripts to version-upgrade Discard the really old upgrade scripts that don't necessarily match what was actually packaged and released. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-23 Ben Shum <bshum@biblio.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Fix for LP894125 - reshelving interval Update to reshelving code to utilize actor.org_unit_ancestor_setting function and properly retrieve org settings for "circ.reshelving_complete.interval" for org unit or ancestors. Signed-off-by: Ben Shum <bshum@biblio.org> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-11-22 Dan Scott <dscott@laurentian.ca> * Open-ILS/xul/staff_client/server/cat/bib_brief.xul: Enable record summary to be scrollable at larger font sizes The record summary at the top of the cataloguing interfaces appears to determine its size based on the "normal" font size at load; then, when a larger font size is applied to the page, the text gets hidden by the fixed size of the groupbox. Ideally the groupbox would adjust to accomodate the larger font size, but after trying many different approaches the best short-term approach seems to be to enable overflow so that scrollbars can appear when necessary. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-21 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/templates/opac/parts/misc_util.tt2: Limit display to 856 with ind1 = 4 and ind2 = 0 or 1. Minor modification to Open-ILS/src/templates/opac/parts/ misc_util.tt2 that limits the display of 856 urls to that have indicator 1 equal to 4 and indicator 2 equal to 0 or 1. These should be those that point directly to the resource. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2: TPac: show non-asset.uri 856 URLs on detail page Display "global" 856 URLs in record detail page. A "global" URL in this case is one that has no ownership and has not been extracted out as an asset.uri. As of right now, this is any 856 that has no $9, $w, or $n subfield data. Links are displayed directly after asset.uri links using the same style. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-21 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Avoid redundant install_cpan_force dependencies The "install" target and each of the generic distro targets in Makefile.install included install_cpan_force; make the "install" target more useful by factoring out the install_libdbi dependency so that "install" is truly common again (and we only add the install_cpan_force dependency once). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-21 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Add install_yaz dependency to debian and ubuntu Makefile.install To build SimpleServer 1.15 we need a version of yaz 4.2+, so add install_yaz as a dependency for debian and ubuntu. This should have been added in LP 872284 but was overlooked due to local testing and didn't get any further testing before being committed. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-17 Dan Wells <dbw2@calvin.edu> * Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/web/opac/skin/default/js/result_common.js: Switch to new Google Books API; make SSL friendly As implied in the title, this commit does two things. First, it switches to the new Google Books API (which is both imminent and also necessary to make SSL calls work). Though the information is scant, from what I have read and experienced, we do not need an API key to do searches and previews. I have also not hit any kind of unauthenticated limit in several days of heavy testing, so I would figure we are safe (at this point) for normal end-user OPAC browsing. Second, all Google Book requests are now done over https. This eliminates the majority of mixed content warnings when browsing securely, though you still get a warning when you actually do preview a book. In addition to possibly implementing protocol detection (rather than doing https all the time as a "lowest" common denominator), there are a few minor points where we might consider future changes. Those points are commented within the code. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-17 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0652.data.vandelay-queue-bib-bucket-typ e.sql, Open-ILS/src/sql/Pg/upgrade/0653.schema.unapi-indb-optional-org.sql , Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-queue-bib-bucket-typ e.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi-indb-optional-org.sql: Stamp upgrade scripts for both unapi update and vandelay-to-bucket Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi-indb-optional-org.sql: Default to org tree root for bre unapi funcs If the org unit ("site") parameter to unapi.biblio_record_entry_feed() or unapi.bre() is equal to "-" or NULL, default to the root of the org unit tree. In cases where the caller does not care to limit by site, determing the shortname of the root org node is one less step the client now has to take. Original patch from Mike Rylander. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/vandelay/inc/queue.tt2, Open-ILS/web/css/skin/default.css, Open-ILS/web/js/dojo/openils/vandelay/nls/vandelay.js, Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay; copy imported bib queue recs to bucket Adds a "Copy to Bucket" option within the Vandelay queue interface. User is given the option to name the bucket. If the bucket already exists, the records are added to the existing bucket. Otherwise, a new bucket is created and the records are added. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-queue-bib-bucket-typ e.sql: Vandelay; API for creating buckets from queues * Adds a new biblio record entry bucket type of "vandelay_queue" * Adds a new API call that allows callers to create new buckets (or add to existing buckets), copying imported records from a vandelay queue into the bucket. open-ils.vandelay.bib_queue.to_bucket Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0651.schema.unnest-hold-permit-upgrade- script-repair.sql: Repair errant explode_array in upgrade script. The upgrade script 0562.schema.copy_active_date.sql included 2 calls to explode_array after explode_array had been removed from the baseline schema. This upgrade just copies the contents of the action.hold_request_permit_test function from the baseline schema to repair the function for anyone following the upgrade scripts. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0650.function.copy_visibility_vs_peer_b ibs.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql: Stamping upgrade script for copy visibility vs peer-bibs fix Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql: Distinct cache_copy_visibility copy/record Because if you peer bib a copy to the bib it is on things don't like you. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-18 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP.pm: Obey renewal rules for SIP2 Checkout If local policy OR the selfcheck are set to not do renewals than don't attempt them. Also, return whether a renewal was attempted (success or failure) so that the self check on the other end has a better clue what went on. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-allocator.pl, Open-ILS/src/asterisk/pbx-daemon/eg-pbx-daemon.conf, Open-ILS/src/perlmods/lib/OpenILS/Application/JustInTime.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm: Improvement for telephony: just-in-time event revalidation One of the shortcomings with using the Action/Trigger based telephony in Evergreen until now was that while you might have overdue notices generated and sent to a system where Asterisk runs for later calling, but if the notice was generated on a Saturday night, and you have Asterisk set up not to place any calls again until Monday morning, Asterisk has no way of revalidating that call at the last minute. That is, the system could not determine whether the items that were overdue on Saturday night are still overdue on Monday morning, and whether the call should still be made. Now we have a workable solution to that. The eg-pbx-allocator.pl script, which takes call files for Asterisk from a "staging" directory and slowly drips them onto Asterisk's spool can now consult an open-ils.justintime which in turn asks open-ils.trigger whether given events, enumerated within the call files themselves, are still valid. open-ils.trigger is designed to run as a private service, so that's why we need a public service that doesn't do anything too sensitive. This open-ils.justintime service can potentially be extended to offer other just-in-time information to the allocator right before a call goes onto Asterisk's spool. For example, that might be a good time to check the time of day and make a late decision on which phone number to use for a given user (day_phone, evening_phone, other_phone). Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0649.schema.fix_full_circ_count_view.sq l, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fix_full_circ_count_view.sq l: Stamped upgrade for full circ count view fix Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-29 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/extend-reporter.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fix_full_circ_count_view.sq l: Use DISTINCT in counts to avoid dupes Otherwise you get: Legacy count + 2(normal count)(aged count) Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-29 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/extend-reporter.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fix_full_circ_count_view.sq l: Full Circ Count View Amplifies Legacy Circs The current extend_reported.full_circ_count sums the legacy circ count column, but this results in amplifying the count by the number of current circs in the system. This commit adds the legacy count to the GROUP BY instead of summing it. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Skip shelved holds at checkout auto-fill Already happened for volume/title hold, but target map checking wasn't checking to see if the current copy was shelved. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Net::Z3950::SimpleServer 1.15 should not require sedding Checking both versions of the packages listed on ftp.indexdata.dk, the hardcoded path to yaz-config does not exist in Makefile.PL - thus, we should be able to drop the "sed" instruction for 1.15. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Install yaz-4.2 and Net::Z3950::Simpleserver 1.15 Net::Z3950::Simpleserver 1.14+ requires yaz 4.2.x, as well as currently suffering from a Makefile.PL problem that involves a hard-coded path to yaz-config (https://rt.cpan.org/Public/Bug/Display.html?id=70444). Provide a sed command to resolve the latter problem and upgrade our "current version of yaz" to yaz 4.2.x. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/extras/circ/alt_holds_print.html, Open-ILS/web/opac/extras/circ/alt_holds_print.js: Fix a problem in the clear holds shelf list printer This is a "special" interface that you get to via Admin -> For Developers -> Local Administration in the staff client. The addition features to one "side" of this hackish interface of label affix and parts had caused breakage on the other "side." This fixes that. Also improve document printing, making it less likely the progress dialog itself gets printed. One day this will be replaced with something better. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0648.function.merge_record_assets_meets _acq.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.function.merge_record_assets_meets _acq.sql: Stamped upgrade for asset.merge_record_assets fix Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-13 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.function.merge_record_assets_meets _acq.sql: LP#849143 fix some gaps in bib record merging Tweaks asset.merge_record_assets such that it considers acquisition line items and user requests, serial subscriptions, booking resource types, biblio monograph parts, and biblio peer bib copy maps. I'm not handling vandelay.queued_record.imported_as or any other vandelay tables, but we may wish to do that too. We're also leaving acq.acq_lineitem_history alone. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-01 Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> * Open-ILS/xul/staff_client/server/cat/marcedit.js: Aligned the MARC editor subfields to 'start' fixes long subfield display When viewing a record in the MARC editor that has extremely long entries in a subfield, the output would align in the center of the subfield making the output hard to read. This patch adds an align: 'start' option to both the subfield, and the subfield code elements in the marcSubfield function to make the subfields align in a more readable manner. Signed-off-by: Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-23 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Acq: (un)receive w/o assets should not attempt a copy update When receiveing a lineitem for a PO that was activated without assets, avoid any attempts to update said non-existent assets. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-13 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul: LP#848945 - Hide Empty Libs checkbox The "Show Libraries With Items" button in Holdings Maintenance shows all the libs with items regardless of the library/depth filters. One problem is that when the list refreshes (whenever an item/volume is edited, deleted, or added), staff using this feature have to re-press the button, which can take a while for some bibs. This branch removes this button and replaces it with a "sticky" checkbox labelled "Hide Empty Libs". This allows you to do almost the same thing; you can set the context library to Consortium and the depth filter to the lowest depth, which would normally show all libs, but then use the checkbox to prune out the ones that have no children and no volumes(*). One possible use case that we'd lose is the ability to show a specific set of libs that don't already have volumes in addition to all the libs that do. * - Also, the test for whether to hide an org or not is very simplistic, but easy to implement. A more aggressive test would hide a library and all its descendants if none of the descendants have volumes. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/ui/default/actor/user/register.js: Patch from Jeff Davis (SITKA) fixing cardless patron updates Quoth the bug report (https://bugs.launchpad.net/evergreen/+bug/851110): On our Evergreen 2.0.8 system, it sometimes arises that a patron's card gets deleted. If it was the patron's only card, it becomes impossible to add a new card to the account via the staff client. How to reproduce: 1. Retrieve a patron record for a patron who has no associated card. 2. Click the Edit button. 3. Click Replace Barcode and enter a new barcode. 4. Click Save. This does not work - the process hangs, and if you hit Reload, you will find that your changes were not saved. I believe this happens because some code in register.js assumes the patron has at least one card. I have a potential fix that this comment box is too small to contain ... uh, that is to say, I will post it momentarily. Which he did, and I applied. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-22 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/barcode.js: Throw out non-digit barcodes for strict check Characters like "." are valid for numbers, but not the algorithm. Thus, we need to throw out "16.00" despite the check for "16.00" == Number("16.00") returning true. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-22 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/circ/copy_status.js: Don't check barcode without strict enabled Item status was, unlike other interfaces, doing the strict check, THEN looking at the checkbox and if it was checked return. This caused issues when the barcode crashes out the strict checking. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-07 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/holds.js: Fix JSPac Hold Editor Org Selector Don't wipe out all changes just because the OU was changed. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0647.data.hold-notification-cleanup-mod .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.hold-notification-cleanup-mod .sql: Stamped upgrade script for hold_notification update via A/T cleanup module Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Cleanup.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.hold-notification-cleanup-mod .sql: Hold notification creation A/T cleanup module New CreateHoldNotification Action/Trigger cleanup module that, when linked to a hold-based event_definition, adds an entry into action.hold_notification for each hold processed. The main user-facing change from this will be that the hold notification time / count in the staff client will now take A/T notices into effect in addition to manually created hold notifications. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Collections.pm: Further support for "circ.collections.exempt" setting Added support for skipping users that have the "circ.collections.exempt" setting in the API call: open-ils.collections.users_of_interest.warning_penalty.retrieve This call is an alternate entry point for finding users to consider for collections processing Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-19 Steven Callender <stevecallender@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Reshelving update. Update to the reshelving code to make it faster and utilize the new status change time field on asset.copy. Signed-off-by: Steven Callender <stevecallender@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-14 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/issues.tt2: TPac: Fix glitch in displaying received holdings Under "issues held" on the record detail page, holdings summaries for received issues are nested in an additional layer of array as compared to MFHD-based holdings, so compensate. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Clear shelf canceled holds notification fix After cancelling a batch of holds via the clear-shelf process, before we send the holds off to action/trigger for potential notification generation, re-fetch the holds from the DB to pick up the calculated cancel_time value (i.e. get a real value for "now"). Otherwise, A/T may die attempting to create a DateTime object by parsing "now". Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2, Open-ILS/src/templates/opac/parts/record/issues.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPac; hold success confirmation; redirect repairs 1. After a successful hold placement, provide feedback to the user that the hold placement succeeded. After placement, the user is taken to a page (same page for failed holds) where the title(s) are listed along with the success/failure information for each. 2. In some cases, the user may be redirected to the my account page instead of the point of origin for holds placement. This occurs generally when the user is not already logged in and is asked to log in prior to holds placement. 3. As a side effect, this change replaces one of the ornery history.go(-1) actions with a true href/URL. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/awards.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPac; reduce vertical space caused by chilifresh link CSS loaded from chilifresh forces a fixed height on the .chili_review class, which causes significant vertical space gobbling in the results and details pages. Solution is to change the chili_review container from a <div> to a <span>, where the height has no effect. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-23 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/c-apps/Makefile.am, Open-ILS/src/c-apps/idlval.c: Make idlval build, rather than be dead code The tool "idlval" contained in Open-ILS/src/c-apps can be used to check the correctness of fieldmapper definitions in files like Open-ILS/examples/fm_IDL.xml - but currently does not have a build target, nor does it compile cleanly due to the use of unspecified OpenSRF header files. This commit adds a build target, fixes the compile problems, and installs the tool in the bin directory. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-08 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/fm_IDL.xml: Add link to cbs from bre via bre.source -> cbs.id in fm_IDL.xml. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/summary.js, Open-ILS/xul/staff_client/server/patron/summary_overlay.xul, Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul: Show the patron account Create Date in both horizontal and vertical patron summary panes Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: LP887822 mint_condition/Quality not set correctly during item creation. Specifically, the Javascript object for a new item (acp) does not explicitly set the mint_condition field, leaving it null. The item attribute editor treats the null as false (which it displays as "Mediocre" for that field). The database has a not null constraint the corresponding column in asset.copy, and defaults to true. So a new item in the attribute editor will show "Mediocre", but when actually created, will become "Good". This branch just sets mint_condition to true when an item is created. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/password_reset.tt2: Tpac; repair login link after password reset After a successful password reset, the UI offers a link to "Log In to My Account". Loging in this way would ultimately redirect the user back to the password reset form. This patch updates the Log In link to point to myopac/main, which will direct the user to log in first, instead of pointing directly to /login, which, lacking any other information, will return the user to the referer after logging in. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/results.tt2: TPac; propagate query params to adv search (results link) Update the "Advanced Search" link that shows on search results pages (next to "Another Search") to propagate the current query into the advanced search page, just like the Advanced Search link just above the search bar. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/password_reset.tt2: tpac; honor password reset matching email setting If the "circ.password_reset_request_requires_matching_email" org unit setting is enable, prompt the user to enter the email address associated with the account and subsequently pass it on to the password_reset api call. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-14 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/HoldingCode.js: Serials: in the holding code mini-wizard, offer a dropdown for seasons This spares the user from having to remember the MFHD code for the season, when dealing with periodicals issued by season (21 - 24 for Spring - Winter, respectively). This also applies sets the "scrollOnFocus" attribute to false for the dijits within the mini wizard, as the jumpy behavior you get in less-than-fullscreen staff client windows is otherwise maddening. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-14 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: tpac; improve ssl and authentication redirection Create a better separation between pages the require SSL and those that also require authentication. This change has a number of beneficial side effects: 1. If a user is already logged in and is somehow redirected to the non-SSL version of a page requiring SSL (via, for example, some external link), they are simply taken to the SSL equivlent of the page first. If they are found to be logged in, we're done. If not, they are directed to the login page like usual. 2. password_reset page now requires SSL (but not auth, obviously) 3. Removed the unnecessary warning about logging out on a non-SSL connection. We now redirect the user to the SSL version of logout so, if they are in fact logged in, they can be successfully logged out. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-14 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql: Reindex is not just for non-filing indicators anymore Since we discovered the apostrophe parsing problem affects records with text containing apostrophes at any position, don't limit ourselves to non-filing indicator titles. In theory you might want to reindex any record that contains an apostrophe, but in practice we found the most confusion occurs with searching for titles - so target those in the upgrade script. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-14 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql: Add the search_normalize() variant to in-database And teach our normalizers to use search_normalize() instead of naco_normalize() across the board. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm, Open-ILS/src/perlmods/t/14-OpenILS-Utils.t, Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Create a search_normalize() variant of naco_normalize() In the quest to support searching text that contains leading articles joined by an apostrophe - for example, "l'histoire" - such that a searcher can enter either "l'histoire" or "histoire" and get results - add a variant of naco_normalize() that does not strip the apostrophe entirely, but rather replaces it with a space such that the root word can be indexed appropriately. This implementation refactors the OpenILS::Utils::Normalize code to make the differences between search_normalize() and naco_normalize() as clear as possible, but duplicates code significantly in the in-db version of the code. Someday maybe the database can rely on OpenILS::Utils::Normalize instead of inline functions :) Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql: LP825039: Add reingest logic for non-filing titles Rather than reindexing all titles that have a non-filing indicator, this upgrade handles the known problematic cases (apostrophes with leading articles). On our system that's 55K out of 2.2M records - not bad at all. We also ensure the format is set to MODS32 for title:proper, as sites might have customized it on a MARC basis and we don't want to reindex the records with NULL values due to a mix of format and XPath. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-11 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql: Add unnumbered upgrade script for non-filing titles Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/953.data.MODS32-xsl.sql, Open-ILS/xsl/MARC21slim2MODS32.xsl: Index leading articles with apostrophes correctly Titles with non-filing characters used to get separated by spaces; not a problem in English with leading articles like "The" and "A" which are followed by spaces anyway, but a significant problem for French where "L'année" is not supposed to be turned into "L' année". To combat this, we define a titleNonfiling variant in the MODS32 stylesheets that ignores the second indicator and does not wrap leading articles in the nonSort element, avoiding the injection of unwanted spaces. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-26 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Make checkin retargeting parts-aware Skip part holds on copies san parts Skip part holds for parts not on the copy Skip title holds for copies with parts Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-11 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/support-scripts/edi_pusher.pl: More filtering of characters that could end up in PO JEDI template output Backslashes cause problems too. Let's JSON encode this thing and get it right once and for all. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-10 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/HoldingCode.js, Open-ILS/web/js/ui/default/serial/subscription/issuance.js: Serials: allow freer input in holding code mini-wizard In the Subscription Details interface of the Alternate Serials Control View, under the Issuance tab, if you create a new issuance you can now enter things like "01/02" in (say) the month field to denote a combined January/February issue. All those fields are now free-form, whereas some of them used to be numeric only. Also, avoid an occasional issue where an error message about dijit.form.DateTextBox not being a constructor would appear in the JavaScript console. The problem was in a race condition among some co-dependent JavaScript files that were all being loaded at the same time. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-11-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/web/opac/common/js/RemoteRequest.js, Open-ILS/xul/staff_client/chrome/content/util/network.js: LP88653 force SSL for requests from local XUL Modifies RemoteRequest.js to convert any http:// request URL to https:// if the requesting location has a chrome:// protocol. Modifies util/network.js such that any use of util.network.request (as opposed to util.network.simple_request) will assume "secure" for the resulting request. Adds an example to the bottom of eg_vhost.conf for forcing SSL for an entire site (OPAC and everything), courtesy of Dan Wells. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-11-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install, README: Fedora 16 updates to README and Makefile.install Fedora 16 is out, we can improve the README and Makefile.install some to better support it. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds/edit.tt2: TPac; disallow certain actions for captured holds In the hold edit page, where users can update the pickup library, suspend holds, etc. disallow actions that don't make sense for holds that have already been captured. These include suspending the hold and changing the expire time. This patch also replaces the confusing "Cancel" button in the hold edit interface (which does not cancel the hold) with a "Go Back" button which returns to the holds list. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/holds.tt2: TPac; batch hold update detects suspension of captured hold If the user attempts to suspend a captured hold via batch hold update, warn that user af the update the some holds may not have been suspended and why. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/extras/ils_events.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Prevent hold suspencion for captured holds in API This codifies at the API layer the standard Evergreen practice of disallowing suspension of holds that have already been captured. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: prevent suspend in transit initial poking Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-09 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/cat/marcedit.js: XML.ignoreWhitespace causes syntax errors So remove it. Disabling pretty printing appears to be enough to fix the marc editor. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-09 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: Fix a typo that snuck through the cracks in Cronscript.pm.in. We had Opensrf::AppSession rather than OpenSRF::AppSession, which isn't caught by the simple use_ok() tests that we largely rely on for our current Perl test suite. In addition, when we manually tested the change to Cronscript.pm.in, we didn't do both configure && make to ensure that the new version of Cronscript.pm reflected the changes. Lots to learn, luckily the method wasn't being used by anything else in Evergreen yet. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-07 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/cat/marcedit.js: Fix vanishing whitespace in marc editor XML.ignoreWhitespace and XML.prettyPrinting cause whitespace to vanish. So disable them at the top of marcedit.js. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-10-31 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: lp849447: trival stylistic tweaks - rename variable avoid double-negative - avoid 'Variable declared in conditional statement' perlcritic gripe Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-08 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/xul/staff_client/chrome/content/main/constants.js: Protect against slony replication lag, LP#621448 Make open-ils.circ.captured_holds.id_list.* API calls authoritative within the staff client to avoid replication-lag related stale displays. Inspired by James Fournie at SITKA. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-11-07 Dan Scott <dscott@laurentian.ca> * README: README: Use consistent endings (none!) for titles/subtitles Most, but not all, of the titles/subtitles had colons appended. This looks really weird in the Table of Contents, so try to be consistently unweird and have no appended colons. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-07 Dan Scott <dscott@laurentian.ca> * README: Backup the existing opensrf config files before copying Per a suggestion from Wolf Halton <wolf.halton@gmail.com>, create backup versions of the opensrf configuration files when we're copying the Evergreen example versions over, so that we can retrieve the Jabber user names and passwords and domains from the backups (if necessary). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/body.tt2: TPac; detail page "Search Results" page correction On the detail page, when the user selects the "Search Results" link to return the original search results, return to the correct page in the search. The correct page will be the page where the currently viewed record sits within the search. Normally, this is the last viewed results page. However, if the user does some paging within the detail page, enough to cross a page boundry, "Search Results" will take them to the new page (i.e. the page w/ the current record). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-11-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac; sort items out list by due date, oldest first Sort items most in need of return (i.e. oldest due date) to top. This is done by replacing the call to "open-ils.actor.user.checked_out", which does a lot more than we need, in a way that does not support sorting/paging, with a simple json_query. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-28 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/main/menu.js: Close All Tabs shortcut Enable CTRL+Click on the close tab "X" to close all tabs. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-27 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/skin/default/js/holds.js: LP#860845 hold placement UI can break hold placement UI can break and give misleading error on Submit Adds some defensive coding, but since I don't quite grok everything going on here, may not be the best fix. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-13 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Skip forced targeting of frozen holds Otherwise a frozen hold can be manually retargeted by staff and captured. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js: Acq: List provider code in lineitem lists Along with selection list and purchase order, when an item is attached to a purchase order, also show the provider code Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/misc_util.tt2: TPac; improved UPC extraction Handle the case where a record has multiple UPC's. When this occurs, use the first UPC as the value for added content lookups as necessary. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-11-01 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm: This prevents the acq unified_search method from returning anything other than the objects of the expected type. This is to address LP 884991 in which Acq users get a perm error for each result of a search that they don't have access to retrieve. They shouldn't even know about the existence of anything they don't have access to retrieve. Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-11-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/hold_error_messages.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2: Tpac; hold error message 18n string extraction repairs Make it possible for xgettext.pl (using Locale::Maketext::Extract::Plugin::TT2) to extract hold error message strings for translation. The plugin is not quite smart enough to extract wholly dynamic values from the templates, since it (presumably) only parses the templates and does not execute them. The solution is to wrap the strings in l() where they are defined. Add an example for the EVENT_MSG_MAP for the event PATRON_EXCEEDS_FINES. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-11-04 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshad ow.sql: Correct oversight: replace old with new approach to upgrade script versioning Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-20 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshad ow.sql: Previously invisible copies showed as beige in the staff client, they stopped doing this in 2.0 This is because in 2.0 the copy counts logic was moved from open-ils.storage.biblio.record_entry.copy_count.staff to an in-database function wrapped in open-ils.search.biblio.record.copy_count.staff. Both methods returned various counts including an 'unshadow' count, however the 'unshadow' in the new database function was not completed and it has only been returning a simple copy count rather than a count of opac visible copies as it should be to replicate the old behaviour. Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-06 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/common/li_table.js: Acq: better error message if trying to create PO without provider or agency Before now, if you leave either the provider or ordering agency fields blank in the "Create Purchase Order" dialog, you get a nonsensical warning about prepayment. This fixes that. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-03 Liam Whalen <lwhalen@nrcan-rncan.gc.ca> * Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql: Modified authority.indexing_ingest_or_delete to update MARC data The authority.indexing_ingest_or_delete trigger in the update script was missing a call to authority.propagate_changes which is responsible for updating the MARC data of records affected by an auhtority merge. This patch adds the call to authority.propagate_changes as it appears in the authority.indexing_ingest_or_delete trigger from the file 999.functions.global.sql. Signed-off-by: Liam Whalen <lwhalen@nrcan-rncan.gc.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/conify/global/vandelay/match_set.tt2: Repair Vandelay match_set_tree link ctx.base_path includes the "/eg" portion of the path, so no need to duplicate that in the template. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-06 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/acq/search/unified.js: Acq: fix a bug that sometimes prevents the general search page from loading Within Acquisitions General Search, javascript included from one file in the <head> relies on the variable "localeStrings" being initialized by javascript included from a file in <body>. Sometimes the wrong javascript wins the race, you get an error about localeStrings being undefined in the Javascript console, and the page stops loading. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-11-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/support-scripts/fine_generator.pl: Fine generator; raise multi-session mode recv timeout When fetching the batch of overdue circ IDs to process for fine generation, wait a little longer for the data to arrive, since it is a longer running DB query than most. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-11-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: forgot to update upgrade_log Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0645.schema.null_svf_protection.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.null_svf_protection.sql: pin upgrade version number Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.null_svf_protection.sql: Protect SVF normalizers against NULL values Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-11-01 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Amazon.pm: Force Amazon AC requests to use 10-digit ISBNs Inspired by a patch submitted by Ian Bays <ian.bays@ptfs-europe.com> via https://bugs.launchpad.net/evergreen/+bug/870171, this patch takes the incoming key and, if it is longer than 10 characters (a 10-digit ISBN or Amazon ID), attempts to normalize it and return a 10-digit ISBN. We don't normalize all incoming keys because some sites are horribly abusing the 020 MARC field to include an Amazon ID instead of an ISBN - but that works in practice and we'd rather not break working installations if we can avoid it. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Use ne on line 631 of Actor.pm. This is so that we stop getting errors like Argument "1319057146.8881216485.4819607085" isn't numeric in numeric ne (!=) at /usr/local/share/perl/5.10.1/OpenILS/Application/Actor.pm line 630. in /openils/var/log/open-ils.actor_stderr.log Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-11-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Tpac; bookbag MARC retrieved via unapi Make sure the bookbag interface has access to metabib.record_attr's by retrieving and parsing the marcxml via unapi (get_records_and_facets). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-31 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: Trivial whitespace touchup to Cronscript.pm.in Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-31 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: OpenILS::Utils::Cronscript can have only 1 session. Work around the above limitation by using OpenSRF::AppSession to create a session for open-ils.auth in the authenticate method. Also requires us to manually check if we're bootstrapped, since we can't rely on OpenILS::Utils::Cronscript->session to do it for us. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-31 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Cronscript.pm.in: Add authentication capability to OpenILS::Utils::Cronscript. This allows the client script to call authenticate with a hash ref of user information so that the user can login and get an authtoken if needed. It also stores the authtoken and authtime values for later retrieval. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-31 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/opac/parts/result/lowhits.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tpac: show staff saved searches on no-results page Not having it there is awkward for the user who relies on the feature and enters a search term that gets no results. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/templates/opac/parts/staff_saved_searches.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tpac: staff saved searches expand/collapse, use right ou context for setting 1) Display staff saved searches collapsed by default. This makes the facet display right underneath it more accessible in the case of long search histories. 2) When checking the org unit setting for the limiting number of searches to save, use the user's ws_ou as the context, since this is a staff-client feature. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-27 Michael Peters <mrpeters@library.in.gov> * Open-ILS/examples/apache/eg.conf: A tweak to eg.conf to prevent against the BEAST exploit in TLS/SSL Based on recommedation from https://community.qualys.com/blogs/securitylabs/2011/10/17/mitigating-the-beast-attack-on-tls Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-10-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds/edit.tt2: Tpac: fix the doubly wrapped holds editor For some reason it must have made since in the past to wrap this interface in both parts/base.tt2 and myopac/parts/base.tt2, but nowadays that results in having extra headers and footers around the actual page contents, so the layout looks broken. This fixes that. No other interfaces were doing this double wrapping. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Redirect.pm: Tpac: Rename orig_loc to physical_loc, for clarity's sake. This is an OPAC parameter not so much meant for use by patrons at home, but for users at machines physically located in libraries. In conjunction with OpenILS::WWW::Redirector, it helps those machines "remember" what branch they're in. Anyway, the name orig_loc doesn't make the parameter's meaning quite as clear as it could whne you encounter it in code. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Tpac: clear the per-process cache of org-unit settings on each page load Any time saved is not worth the confusion of changes to org unit settings not taking effect in the TPAC without an apache restart, or worse, taking effect for some page loads but not others. Actually authored by Bill. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-28 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0644.data.YAOUS-target-when-closed.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.YAOUS-target-when-closed.sql: Stamping upgrade script for YAOUS-target-when-closed Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.YAOUS-target-when-closed.sql: Add and use two YAOUS to allow hold targeting on copies at closed OUs One YAOUS completely ignores the closedness of the circ lib of the copy being tested for potential targeting. The other YAOUS ignores the closedness of the circ lib IFF the circ lib of the copy being tested matches the pickup lib of the hold request. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds/edit.tt2: Tpac; holds edit page format icon improvements * Fixed the image path to the format_icon * Use the format_label as the title for the format_icon image Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/coded_value_selector.tt2: TPac; sort coded value maps by label alphabetically Affects languages, formats, and audience. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/circs.tt2: Tpac; style due-date red/error for overdue items In the patrons items out list, if an item is overdue, style the due date as "error" (i.e. bold red). Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-27 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/checkin.js: LP#860685 List Actions and Print List fix List Actions and Print List broken in Check In interface when not using "Fast Entry (Asynchronous)", due to the way we're using list.refresh_row. This fixes the internal list state for tracking retrieved versus un-retrieved list rows. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/actor/user/register.js: LP874597 password from phone # when cloning users Patron: password from phone # does not work when cloning users Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm: Z39.50 service filter repairs Do not attempt to filter out Z39.50 services by permission when retrieveing the services in a non-authenticate manner (i.e. from within the Z39.50 code). Otherwise, the code will die on $e->requestor->id, because there is no requestor. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-10-05 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Z39.50 local catalog fetch-more repairs Fixes the following problem: When paging through local catalog results in the Z39.50 interface, paging off then end of the local results would result in an unknown server error caused by trying to retrieve an empty list of records. $list->{count} in this context is the overall hit count, not the counts in the current page of results. Note also if {count} is zero, the list of IDs will be undef, so we use both. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-26 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkout.pm: SIP2 Checkout "no-code" failure fix Instead of assuming that code exists on a response do more checks. Specifically, a response code can be empty but not zero when there is no defined event code for the failure code. An easily tested case of this is standing penalties. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-26 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0643.data.populate_authority_simple_hea ding.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.populate_authority_simple_hea ding.sql: Stamping Upgrade script to populate authority.simple_heading Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-26 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.data.populate_authority_simple_hea ding.sql: Upgrade script to populate authority.simple_heading Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-06 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Avoid a possible bug in selection list deletion This particularly matters for the "ephemeral," unnamed selection list that Acquisitions General Search uses to hold bib records represented as lineitems, as that list is deleted for the next run of that kind of search. It's possible to get lineitems onto that list that are in a state other than "new". Code that deletes this list first deletes the lineitems that belong to it, but that code formerly assumed that there are two types of lineitems. "new" ones (that should be deleted) and ones that belong to purchase orders (that should be deatched). That doesn't necessarily cover all possible lineitems on the picklist, so deletion ultimately fails. This fixes that. [update: now this bugfix incorporates a bugfix, the need for which was detected by Ben Shum. See LP #869581] Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-25 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Provide a QP modifier for sorting NULLS FIRST in the core SQL Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/src/templates/opac/myopac/lists.tt2: Tiny bookbag improvements Bookbag feed item sort order now defined Bookbag list sort order on the "My Lists" page is now less agressively propagated Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/hold_history.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2: TPac; holds format icon follow-up fix 'bre' is no longer available to the templates. use bre_id instead. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/hold_history.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2: Tpac; repair format icon display in holds lists * Fetch MARC XML from unapi to pick up metabib::record_attr's for each record. * Update format icon code in holds list to use new-style precompiled format_icon Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Create a meaningful bookbag class Combine two meaningless opac-auto classes into a single bookbag class. Also give a max-width to the bookbag description to prevent action buttons from sprawling off to the right side of the screen. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/lists.tt2: TPAC: Remove unused HTML from bookbags page A number of "hide_me" nodes were being kept on the page, only one of which is actually referenced anywhere (to be displayed as help for sharing). The rest are not invoked anywhere, so we delete them to reduce the clutter and page size. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Strip inline styles from bookbags page Also use a margin instead of width percentage to keep bookbag action buttons closer to the bookbag title; with a full-width layout the buttons were almost disassociated from the bookbag title. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPAC: avoid problem with HOLD_EXISTS event in hold placement If you place a hold on something that generates a HOLD_EXISTS event (and no other events?) you get a 500 error from Apache and an error in the logs saying "not a hash reference" about $result in the lines I've changed here. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/hold_history.tt2: TPac; use canned get_hold_status call for history UI For consistency, use the same get_hold_status BLOCK to determine holds status display in the holds history UI. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: LP875819: Fix SRU and Z39.50 default search index failures Per http://www.loc.gov/standards/sru/specs/cql.html : All parts of CQL are case insensitive [...] If any case insensitive part of CQL is specified with both upper and lower case, it is for aesthetic purposes only. So fold the SRU qualifier and relation to lower case. This then matches the srw.serverchoice entry that we already have in config.metabib_search_alias so that default searches will successfully point to the keyword index. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac; Fetch authoritative user object in my-account Since user data changes in my-account, any time we fetch the fleshed user object, fetch it within a transaction to avoid retrieval from a (potentially lagging) DB replica. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: Search text box is weird in Firefox The span border was conflicting with the input border for the text input box. Also addresses the text box being jammed against the "for" word. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: Restore a width to search bar elements Use em's instead of pixels to better handle relative fonts at some distant point in the future. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * README: Fix README issues Martha Driscoll <driscoll@noblenet.org> noted that the create_database.sql script wasn't actually targeted by the psql command, and also that there was an extraneous <code> tag in the OpenSRF start command. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/contentslider.css: TPAC: Delete contentslider.css as it is not being used Nothing references contentslider.css, it is noise. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css: TPAC: Remove unused CSS from semiauto.css Ran a script that essentially did the equivalent of: for i in "semiauto.css definitions"; do echo -n $i; echo -n " : "; ack -c -h "$i" Open-ILS/src/templates/opac Where there were no hits, I deleted the entry from semiauto.css. Now things are getting manageable... Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/anon_list.tt2: TPAC: Localize the "move to bookbag" string Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/myopac/prefs.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Bring used CSS definitions over from semiauto.css Convert ".red" class to ".alert", delete classes that were defined in semiauto.css as being verified as being in use that are actually no longer in use, and merge the remainder to style.css. This will avoid one more HTTP request as well as a huge mess of CSS to have to worry about carrying around. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm: CStoreEditor batch_retrieve repairs 1. If the caller provides additional cstore params, like flesh, flesh_fields, etc. make sure we only use the first component of the search (the list of identifier values) for the cstore search. 2. Determine the identifier field from the class being retrieved instead of hard-coding it to be "id" Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css: add some 1em margins just to avoid text against the left edge Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, 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/0642.data.acq-worksheet-hold-count.sql: ACQ: Add open holds count to lineitem worksheet Includes a generic bre_open_holds_count reactor utility method Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: Remove most egregious fixed-width style attributes Attacking the most obvious width elements in style.css gives us a usable TPAC display, albeit with some remaining cleanup in extremely limited widths. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/opac/parts/anon_list.tt2: Tiny follow up to previous commit regarding sorting bookbag items Do the same thing to the sorter for the anonymous list Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-18 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/src/templates/opac/results.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac: Put staff saved searches in same div as facets on the results page And on the record page, make them less ugly. We need to get rid of this 974-px-wide business. It's ridiculous, and it keeps us busy fighting CSS just to keep a silly grey margin on the right side of the display, and it keeps us from using all available space. We need to simplify the CSS greatly, in fact. Let's bite that bullet sooner than later. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-18 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/parts/filtersort.tt2: remove the Sort by Relavance option from the bookbag sort options Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-18 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: add a couple semicolons Not strictly required, but may as well save a picosecond of grief for the next person who adds to this code. Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-09-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Create events for hold_request.cancel.patron When a patron cancels his/her own hold, create events for the (already-existing) hold_request.cancel.patron A/T hook. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-10-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Re-fetch hold for cancel notify to correct timestamp Re-fetch the cancelled hold from the DB before passing it off to action/trigger for notification processing. Otherwise, A/T attempts to perform date math on "now" instead of a valid timestamp and subsequently croaks. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm: Cache open-ils.fielder results by locale The problem was particularly visible in search facets, but existed before: the cache key used for fielder results did not take locale into account, so on a multi-locale system the first locale won and populated the cache for all other locales. Use a session locale if provided, otherwise default to the locale set in opensrf.xml Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-18 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/templates/opac/myopac/lists.tt2: Add a view-in-catalog link to bookbags Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-14 Sarah E. Chodrow <sarah.chodrow@bibliotheca-itg.com> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Initial patch from Sarah Chodrow on LP bug 849447. Also check for standing penalties and expired cards when checking if it is ok for the patron to checkout, charge_ok. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. Signed-off-by: Sarah E. Chodrow (sarah.chodrow@bibliotheca-itg.com) Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Sarah E. Chodrow (sarah.chodrow@bibliotheca-itg.com) Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Sarah E. Chodrow (sarah.chodrow@bibliotheca-itg.com) Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-10-18 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0641.schema.org_unit_setting_json_check .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_setting_json_check .sql: Stamping upgrade script for LP#847973 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_unit_setting_json_check .sql: LP#847973 ensure JSON values for org settings I don't believe you can violate this constraint via the Library Settings UI, but this will catch speedy-admins mucking directly in the database. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-17 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac: Describe bookbags mo' semantically Rather than "big-strong", use a heading (H2, as the previously used H2 headings got bumped to H1) and wrap the description in a styled DIV rather than just dumping it after a <br /> and wrapping it in <em>. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-14 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/parts/anon_list.tt2, Open-ILS/src/templates/opac/parts/filtersort.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac: bookbags - stop trying to show everything at once Go back to displaying one bookbag at a time (not counting the temporary list, when that is populated) This hopefully constitutes a usability improvement. While it doesn't provide paging of bookbags themselves or of the items therein, it should make that easier to do. Showing all bookbags and all their items made it nonobvious how paging would even be expected to behave. This also provides the same sorting for the items in the temporary list as in real bookbags. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-17 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/opac/locale/en-US/lang.dtd: Typo: It's MARC, not Marc. Sheesh. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/cat/marc_new.xul: Save MARC Default Template per-server In case you use multiple servers with different template lists Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/marc_new.xul, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Remember MARC Template selection Implement both a workstation default and "last used" for the MARC template selector. Workstation default is set with a new "Set Workstation Default" button. "Last used" will override the workstation default, and is updated every time you load a template. It is forgotten when you close the client. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-04 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/adv_global.js: Add "submit on enter" to all advanced search boxes Instead of just the one with an ID specified. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-14 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0640.schema-acs-nfi.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema-acs-nfi.sql: Stamped upgrade scrip fro authorities-indb-with-nfi Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql: Move the NACO normalization script to earlier in the baseline schema installation process, as it is now used in the authority schema Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema-acs-nfi.sql: Wrapper functions in the baseline schema that were missed in the upgrade script Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema-acs-nfi.sql: Address regression causing main headings to be null because the thesaurus code we not being extracted as it was before Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-21 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/aut hority.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema-acs-nfi.sql, Open-ILS/xul/staff_client/server/cat/marcedit.js: New in-db search and browse of authorities with non-filing-indicator support Upon authority ingest, record simple authority headings for searching, browsing and sorting. Respect non-filing indicators, if configured (configuration is the nfi field on authority.control_set_authority_field). Provide a full suite of search/browse top/center alpha/rank functions based on authority tag, bib tag or browse axis at the database layer. Provide functions to find the main-only and full tag list, and ref-variant versions of the previously defined functions. Teach OpenILS::WWW::SuperCat (responsible for RESTful feed-generating interfaces) to use new OpenILS::Application::SuperCat methods that in turn use the database methods. The change should be transparent to users of SuperCat web APIs. Carry indicators over from authority main entries to bibs, when applying them in the marc editor. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/bill2.js: LP873614 print_init error printing bill history xulG.url_prefix needs to be present for anything using util/print.js and the Mozilla print strategy. Alternately, we could duplicate the logic behind url_prefix and bundle it into print.js :-/ Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/support-scripts/settings-tester.pl: settings-tester.pl - add TPac required modules Keep up with the TPac requirements in settings-tester.pl Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/support-scripts/settings-tester.pl: Add MARC::Record 2.0.1 minimum test to settings-tester.pl Wrap the use_ok() tests in a BEGIN block, per the recommendation of the Test::More perldoc. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/support-scripts/settings-tester.pl: Settings-tester.pl whitespace Might as well complete the conversion of the file into modernity. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/support-scripts/settings-tester.pl: Remove oils_web.xml test from settings-tester.pl In master, oils_web.xml is no more, replaced instead by Apache configuration. Awww yeah. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/support-scripts/settings-tester.pl: Modernize settings-tester.pl a bit * Add a section that checks for Evergreen services in opensrf_core.xml * Ignore the qstore database credentials, as qstore is unused currently * Split things off into subroutines for easier reading Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-22 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Fixes for SIP2 Fee Payment. Skip negative or zero bill balance when paying multiple bills. Log amount paid, bill id, balance, and amount remaining when paying multiple bills. Use sprintf("%.2f") to avoid floating point errors. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-13 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0639.schema.asset_merge_record_assets.s ql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset_merge_record_assets.s ql: Stamping upgrade for asset.merge_record_assets fix from dbs Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-13 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset_merge_record_assets.s ql: Fix located URI merging in action.merge_record_assets() Perhaps due to the unexpected results of the XPath expression, which returns a count of nodes for subfields, etc, rather than just a count of the number of 856 datafields, NULL was being concatenated onto a string - which of course made the string NULL. Use COALESCE() to prevent the NULLness from spreading and enable action.merge_record_assets() to do the right thing. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-27 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/acq/invoice/view.tt2, Open-ILS/src/templates/acq/lineitem/findbib.tt2, Open-ILS/src/templates/acq/lineitem/related.tt2, Open-ILS/src/templates/acq/lineitem/worksheet.tt2, Open-ILS/src/templates/acq/picklist/brief_record.tt2, Open-ILS/src/templates/acq/picklist/list.tt2, Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/src/templates/acq/po/view.tt2, Open-ILS/src/templates/acq/search/unified.tt2, Open-ILS/src/templates/actor/user/register.tt2, Open-ILS/src/templates/circ/selfcheck/main.tt2, Open-ILS/src/templates/conify/global/action_trigger/event_definitio n_data.tt2, Open-ILS/src/templates/conify/global/asset/copy_location_order.tt2, Open-ILS/src/templates/conify/global/config/barcode_completion.tt2, Open-ILS/src/templates/conify/global/config/circ_matrix_matchpoint. tt2, Open-ILS/src/templates/conify/global/config/coded_value_map.tt2, Open-ILS/src/templates/vandelay/inc/progress.tt2, Open-ILS/src/templates/vandelay/inc/queue.tt2, Open-ILS/src/templates/vandelay/inc/upload.tt2, Open-ILS/web/conify/global/actor/org_unit.html, Open-ILS/web/conify/global/admin.html, Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js, Open-ILS/web/js/dojo/openils/widget/TranslatorPopup.js, Open-ILS/web/reports/oils_rpt.xhtml, Open-ILS/web/reports/oils_rpt_builder.xhtml, Open-ILS/web/reports/oils_rpt_editor.xhtml, Open-ILS/web/reports/oils_rpt_folder_window.xhtml, Open-ILS/web/reports/oils_rpt_param_editor.xhtml, Open-ILS/xul/staff_client/server/admin/cash_reports.xhtml, Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml, Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml, Open-ILS/xul/staff_client/server/admin/hold_pull_list.xhtml, Open-ILS/xul/staff_client/server/admin/hold_pull_list_classic.xhtml , Open-ILS/xul/staff_client/server/admin/non_cat_types.xhtml, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml, Open-ILS/xul/staff_client/server/patron/ue.xhtml, Open-ILS/xul/staff_client/server/patron/user_edit.xhtml: More self-closing cleanup All div and span tags in tt2, js, html, and xhtml files. Ignored .xml files, as they are not (to my knowledge) served as text/html. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint. tt2, Open-ILS/src/templates/vandelay/inc/attrs.tt2, Open-ILS/src/templates/vandelay/inc/queue.tt2: Replace self-closing divs with open/close divs XML != HTML Traditionally, Vandelay templates were parsed as XML on the server for DTD replacement. With the advent of locale::maketext for templates, Vandelay no longer needs to be parsed as XML. However, not parsing as XML leaves any self-closing divs (<div/>) intact in the final source, which are treated as opening divs in text/html. This patch replaces self-closing divs with open/close pairs. https://bugs.launchpad.net/evergreen/+bug/860676 Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-26 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP.pm: Verify session before trying any transactions in SIP->pay_fee. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-12 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/lists.tt2: TPac: One prefers to download CSV, not to display it For the "Download CSV" operation in the TPac "My Lists" interface, provoke the user's browser to download the file, rather than displaying the file in a new tab/window. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/xul/staff_client/server/index.xhtml: Give OrgTree.js a locale, always We started generating locale-specific OrgTree.js files many moons ago, and now no longer provide a "default" locale in the root of the common/js directory. The result was that the index.xhtml page for the staff client was throwing an "_l is undefined" exception; largely meaningless, as it seems that the OrgTree isn't even used on that page, but noise that doesn't need to be in the JavaScript console. Here we correct that exception by providing a locale, and hopefully prevent any further copy/paste mistakes. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/c-apps/oils_auth.c: Authentication block logging * Login too-many-auth-failures message at Info level instead of Internal * Log the username getting blocked Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-10-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0638.schema.unapi.sitem-fix.sql: Fix cut-paste-o in unapi.sitem, re stream and unit subobjects~ Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0637.schema.renewal_checkout_counting.s ql: Incorrect version number in the upgrade script Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0636.data.grace_period_extend.sql: copy-paste-o from the seed data Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Fix z39.50 import isbn and issn searches on local catalog. Make cat_search_z_style_wrapper do identifier searches for isbn and issn. Modify the_quest_for_knowledge to accept identifier searches for isbn and issn. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-16 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/server/cat/z3950.js, Open-ILS/xul/staff_client/server/cat/z3950.xul: Add Show In Catalog button to Z39.50 Import. Changes to z3950.xul: Add show_in_catalog command. Add button next to Mark for Overlay button. Changes to z3950.js: Enable/disable Show In Catalog button whenever Mark for Overlay button is enabled/disabled. Add code for show_in_catalog to open the record detail screen in a new tab. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-12 Dan Scott <dscott@laurentian.ca> * README: README: For master, focus on PostgreSQL 9.1 Given that the backports for Debian and Ubuntu already offer PostgreSQL 9.1, and Fedora 16 (out in a few weeks) comes with 9.1, focus on 9.1 where it is available. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-12 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/extras/Makefile.install, README: Add instructions/targets for Ubuntu/Debian PG9.1 No Fedora/RHEL/CentOS changes due to my lack of test environment. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-12 Thomas Berezansky <tsbere@mvlc.org> * README: Fix README for 9.1+ DB creation instructions Also fix 9.0 typo of - instead of _ in filename. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-11 Dan Scott <dscott@laurentian.ca> * README: README: Minor whitespace cleanup Just to get the indentation standardized on second and subsequent lines of bullets. No big whoop. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-11 Ben Shum <bshum@biblio.org> * README: Change PostgreSQL 9 source for Ubuntu Lucid users. Currently, Ubuntu Lucid does not have backport options for PostgreSQL 9. Instead, most community members who use Lucid have been using Martin Pitt's PPA as an external repository source. Signed-off-by: Ben Shum <bshum@biblio.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-11 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: TPac: Use workstation to determine staff Instead of user agent, which may be set easily by anyone, use the presence of a workstation ID to determine "staff" use of the TPac. This is much less likely to be spoofed or incorrect due to things like previous use of the extension version of the client in Firefox. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/advanced/global_row.tt2: TPac; repairs to advanced search query propagation In some cases, TPac will duplicate components of an advanced search query into the advanced search rows. This patch fixes that with better array handling, particularly with CGI param search components that do not have corresponding analogs at a given array position (i.e. starting out with arrays of different sizes) Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-07 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Protect against undefined value as ARRAY reference We should not assume that the caller is going to supply an array (empty or not) of addresses or cards in the input values for the open-ils.actor.patron.update method. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-09-25 Galen Charlton <gmc@esilibrary.com> * Open-ILS/tests/datasets/edi_scratch/baker_taylor.ordrsp.jedi.pl: fix another POD glitch Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-25 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/bib lio.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/ModsParser.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Redirect.pm, Open-ILS/src/perlmods/xt/author/pod.t: fix up POD - avoids some noise when building the Perl modules for distributions that check for correctness when converting POD to man pages - add a an author test, taken straight from the Test::Pod documentation, for POD correctness Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Give CentOS / RHEL a chance at installing PostgreSQL 9.0 Evergreen 2.1 requires PostgreSQL 9.0, and we accordingly updated the package names back in the summer to point at PostgreSQL 9.0, but nobody running CentOS / RHEL brought to our attention that the repo target needed to be updated as well. This, although untested, at least gives CentOS / RHEL users a fighting chance of installing Evergreen master / 2.1 on their system. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-10-10 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/extras/Makefile.install: Fix broken Net::Z3950::SimpleServer 1.14 install Pin the install of Net::Z3950::SimpleServer to the known-to-work-with yaz 3.0.x version, 1.12. 1.14 introduced dependencies on yaz 4.1.x that can't be easily worked around. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/extras/Makefile.install: Correct varname for PostgreSQL RPMs On Fedora, Red Hat, and CentOS, we were still trying to install the set of PostgreSQL RPMs for PostgreSQL 8.4 using PGSQL_84_RPMS. This had been updated to PGSQL_90_RPMS to match the updated database version - using the right varname resolves the problem (at least on Fedora). Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-10-10 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: Stamping baseline schema for previous commit Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-10 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/upgrade/0637.schema.renewal_checkout_counting.s ql: Fix, as provided by Doug Kyle, for LP#822918 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-10 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0636.data.grace_period_extend.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.grace_period_extend.sql: Stamped upgrade script for Grace Period Closed-Date Extension features Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.grace_period_extend.sql: Grace period auto extension and backdate awareness Grace period auto extension: Default is "grace periods don't auto extend". OU setting turns on grace period auto extension. By default they only do so when the grace period ends on a closed date, but there are two modifiers to change that. The first modifier causes grace periods to extend for all closed dates that they intersect. This is "grace periods are only consumed by open days." The second modifier causes a grace period that ends just before a closed day, with or without extension having happened, to include the closed day (and any following it) as well. This is mainly so that a backdate into the closed period following the grace period will assume the "best case" of the item having been returned after hours on the last day of the closed date. Backdate grace period awareness: By moving grace period calculations into a shared location backdating can check the grace period, including extensions. If it finds that the backdate is within the grace period (before or after extension) then instead of voiding the fines for after the backdate it instead voids all fines for the circulation. This emulates what would have happened (no fines) if the item had been checked in at the time the backdate was made to take effect. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-07 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/templates/conify/global/config/coded_value_map.tt2: trival typo fix Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-10-07 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/skin/custom.js.example: control client dump statements through pref Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-10-07 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPac: Jump-to-details on first result page only When activated, jump-to-record-details-on-1-hit should only come into play on the first page of results. In other words, if page 2 of a search has 1 item, do not jump to the record details page for that item. Instead, show page 2 of the search results. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/result/facets.tt2: TPac; start new facet "search" on page 0 When selecting a facet, thereby appending it to the current search, start the search over at the first page. In other words, don't drop into page X of a new search, since there may be no page X of the new search. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-06 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/c-apps/oils_auth.c: fix authentication failure Ensure that the auth_limit values are read when open-ils.auth initializes, not during oilsAuthInit(). This solves a problem observed on brick-based setups where authentication could incorrectly fail because the drone that processes open-ils.auth.authenticate.complete didn't have the the block count value initialized yet. Also fixed type nit when compare the fail count to the block limit. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-30 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/patron/place_hold.js: Fix "0 holds created" message on successful hold Caused by results not always being an array. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm: TPac: My List add/remove page anchor fix Removed /g modifier from URL anchor regex to prevent URLs with multiple page #-anchors. This change primarily affects IE which includes #-anchors in the referer header. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-04 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/acq/common/li_table_pager.js, Open-ILS/web/js/ui/default/acq/search/unified.js: Really add *entire* selection list to a purchase order, when desired, and generally do what a user would expect when, in Acq, the user executes an operation on "all items". This addresses LaunchPad bug #810030. The fundamental issue is that an AcqLiTable, which is used in several different ways in different interfaces, may be representing items on a selection list (for example), but it doesn't necessarily know all of the items that belong to that selection list. It only knows what it has drawn. This addresses that deficiency by teaching the getSelected() method some new tricks so that it can consult the server in the various ways appropriate to getting a list of /all/ the items on a selection list, a purchase order, a virtual PO, a set of search results, etc. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-05 Dan Scott <dscott@laurentian.ca> * README: Fix copy-paste-o: "su - postgres" to become postgres Thanks to sal_ in IRC who caught this nugget! Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-05 Dan Scott <dscott@laurentian.ca> * README: README: Explicitly identify accounts for commands Add a preamble to the beginning listing all of the accounts referenced in the instructions (Linux accounts, PostgreSQL accounts, Evergreen administrator accounts). Also move the Developer Instructions to the start to follow the natural order of operations. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-05 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Avoid collecting facet data for non-facet fields If a config.metabib_field (Admin -> Server Admin -> MARC Search/Facet Fields) starts out as a facet field but is later changed, data for that facet can still bubble up since it has already been extracted. This patch prevents facets for config.metabib_field entries whose facet_field=false from getting collected/cached for search results. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, 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/0635.data.opac.jump-to-details-setting. sql: TPac: jump to details page on single hit When enabled, any time an OPAC search yields 1 result, the user will be redirected to the record detail page for that result. This change adds 2 new org unit settings, one to control the behavior in the staff client, the other to control the public catalog. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-04 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/opac/locale/en-US/lang.dtd: Fix typo in lang.dtd: "instantenous" Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-04 Dan Scott <dscott@laurentian.ca> * build/i18n/po/lang.dtd/es-ES.po: i18n: Fix es-ES illegal use of '%' in lang.dtd The '%' character is used to include previously defined blocks in DTD files; would be nice if translate-toolkit gave a more obvious error to alert us to this rather than saying the en-US doesn't validate and dying. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-04 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-04 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> 2011-08-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.security_lockdown.sql: Unwrapped upgrade script for security lockdown Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-15 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-12 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-10-04 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-10-04 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.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 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-12 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql: Unwrapped upgrade script for print.custom_js_file Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, 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 <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-10-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0632.data.username-limit-settings.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql: Stamped upgrade script for username limit settings Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-26 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql: Unwrapped, badly named upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/opac/myopac/update_username.tt2, Open-ILS/web/opac/locale/en-US/opac.dtd: Wording change on username error Add that they may be restricted by policy. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/templates/opac/myopac/prefs.tt2, Open-ILS/web/opac/skin/default/js/myopac.js: Username Change Limits Default is "Only allowed to change username if it looks like a barcode". There is a "Lock Username Changes" option to disallow username changing via the OPAC entirely, useful if syncing usernames to an outside source. There is also a username change limit disabling option that, if enabled and the Lock option is disabled, allows the previous behaviour of unlimited username changes. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/templates/opac/myopac/update_username.tt2, Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/opac/skin/default/js/myopac.js: Username Rules In TPac, enforce the "username can't look like a barcode" rule. Add new setting for username validation. If set, usernames must match. Add patron registration checks for usernames: No spaces If set, can look like a barcode (initial/no username picked) If set, can look like a username If both set, must look like one of them Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/update_email.tt2, Open-ILS/src/templates/opac/myopac/update_username.tt2, 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 and TPac. Add handling for said form elements where needed. Add handling for "incorrect password" events in TPac. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac: Default Password Strength Rule Every other password interface seems to have it. Implemented as a single regex in this case. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-01 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-30 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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 <lebbeous@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-10-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: Make sure baseline schema is up to date Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-10-03 Dan Scott <dscott@laurentian.ca> * build/tools/update_db.sh: Fix update_db.sh to set eg_version correctly psql wants --set=VARNAME=VALUE, we had -set VARNAME=VALUE; tested this fix and it works with PostgreSQL 9.0. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/searchbar.tt2: TPAC: Fix searchbar typo by closing div Nesting of divs was thrown off, resulting in the footer appearing in the wrong place in search results / record display / etc, with the result that the footer inherited the 974px width instead of full 100% width. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-10-03 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: No need for a 26px padding on the header bottom 26px on the bottom of the header was giving a bit too much space to the header. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-03 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/topnav.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Replace dashboard images with CSS Also gets rid of a number of tables and a bunch of CSS definitions with hard-coded widths that will cause trouble when longer translated terms get dropped into place. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-10-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/result/facets.tt2: Tpac: expand facet display fix When only one facet is collapsed, make sure we can expand it. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-30 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/src/templates/opac/parts/result/facets.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac: Facets on results page Show search facets along the left side of the results page. Clicking on a facet re-runs the current search with the new facet appeneded. Selected facets are styled to indicate they are selected. Clicking on a selected facet removes that facet from the set of selected facets (i.e. it backs out the facet). TODO: update CSS to match default Evergreen skin Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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 <lebbeous@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-10-03 Michael Peters <mrpeters@library.in.gov> * Open-ILS/web/css/skin/default/opac/style.css: Tweak the tab shape in TT OPAC A slight modification to the "tab" elements throughout the OPAC to make them look more like tabs on a file folder. I found the rounded off bottoms less attractive, so I flattened them out to flow more evenly with the rest of the page. Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-03 Michael Peters <mrpeters@library.in.gov> * Open-ILS/src/templates/opac/parts/footer.tt2, Open-ILS/src/templates/opac/parts/homesearch.tt2, Open-ILS/src/templates/opac/parts/topnav_logo.tt2: Have TTPac utilize gradient friendly, transparent PNG files for the Evergreen logo Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-10-02 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/footer.tt2, Open-ILS/src/templates/opac/parts/topnav.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Simple CSS gradients for the header/footer Firefox, Safari, Chrome, Opera, and the Android browser support gradients. Use them. iOS 5 will support gradients. IE does not, naturally, but support is promised for IE 10. Including better IE support. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-20 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/src/templates/opac/cnbrowse.tt2, Open-ILS/src/templates/opac/home.tt2, Open-ILS/src/templates/opac/login.tt2, Open-ILS/src/templates/opac/mylist.tt2, Open-ILS/src/templates/opac/parts/myopac/base.tt2, Open-ILS/src/templates/opac/place_hold.tt2, Open-ILS/src/templates/opac/record.tt2, Open-ILS/src/templates/opac/results.tt2: TPAC: Remove the printnav bar from all screens Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-20 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css: Revamp the search bar to a narrative, single-line style Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/summary.tt2: Add the remaining extras back to the record details Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/authors.tt2, Open-ILS/src/templates/opac/parts/record/series.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2: TPAC: and then there were series Also, tighten up spacing considerably. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/style.css: Move the copies up higher Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/authors.tt2, Open-ILS/src/templates/opac/parts/record/extras.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/style.css: Remove "Expand all extras" as there are fewer extras to expand Cleaner. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-19 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/authors.tt2, Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/src/templates/opac/parts/record/extras.tt2, Open-ILS/src/templates/opac/parts/record/subjects.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/style.css: Going for the Jungle skin feel (like Amazon) Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-30 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/advanced/global_row.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2: TPac: propagate searches to advanced search page The link that takes users to the advanced searc page now propagates any existing (well, all) search URL params. The change required some minor augmentation to the code that builds the advanced search form. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-29 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/opac/skin/default/js/rdetail.js: LP740320: Make <enter> 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 <dscott@laurentian.ca> 2011-08-26 James Fournie <jfournie@sitka.bclibraries.ca> * 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 <jfournie@sitka.bclibraries.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-26 James Fournie <jfournie@sitka.bclibraries.ca> * 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 <jfournie@sitka.bclibraries.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-26 James Fournie <jfournie@sitka.bclibraries.ca> * 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 <jfournie@sitka.bclibraries.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-02 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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/ar-AR.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 Armenian (hy-AM) translation from Launchpad Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-29 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-16 Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> * 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 <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-29 Bill Erickson <berick@esilibrary.com> * 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 <berick@esilibrary.com> 2011-09-28 Dan Scott <dscott@laurentian.ca> * 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? Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/base.tt2, Open-ILS/src/templates/opac/parts/goog_analytics.tt2, Open-ILS/src/templates/opac/parts/js.tt2: TPac: move google analytics import to head Google Analytics documention recommends loading the JS in the page <head>. http://www.google.com/support/googleanalytics/bin/answer.py?answer=174090Use as directed by default. Also, moved the JS loading chunk to its own template to ease override by those who do not wish to use as directed. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-28 Michael Peters <mrpeters@library.in.gov> * Open-ILS/src/templates/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 <mrpeters@library.in.gov> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-28 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> 2011-09-22 Dan Scott <dscott@laurentian.ca> * 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 <meta charset='utf-8'> in the output HTML to tell the browser directly. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-27 Dan Wells <dbw2@calvin.edu> * 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 <dbw2@calvin.edu> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-27 Mike Rylander <mrylander@gmail.com> * build/tools/update_db.sh: Teach update_db.sh to find the currently installed version number via eg_config and supply that when applying updates Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/support-scripts/marc_stream_importer.pl: Read STDIN up to record separator then stop The initial (and only known) target for the importer is OCLC Connexion exports, which export 1 record at a time, with each record ending with the standard record separator. There is no end-of-file / end-of-transmission indicator, so the while() loop always blocks and fails on the timeout alarm after the first record is read. Until a more flexible solution is in place, roll back support for reading multiple records via STDIN. The original commit was 679506975f0efb6e2f6f17b0c19e3c53c5bfda44 Note, the feature being rolled back was not actually necessary to implement the feature in the commit (file-based imports). It was just an added bonus. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-23 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-09-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: Removed old vandelay config from sample apache config Bye, bye xmlent Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-26 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/opac/parts/org_selector.tt2: TPac: Respect OU opac_visible flags Unless we appear to be in staff mode. Then continue to ignore them. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/opac/myopac/update_email.tt2, Open-ILS/src/templates/opac/myopac/update_username.tt2: TPac: Fix bolding of bad email/username HTML filter the variable, not the entire language string. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2: TPac: Hide CC Payment info when not enabled Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/templates/opac/parts/myopac/main_base.tt2: TPac Fixes - Missing Quotes Start off real easy, add some missing quotes. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-26 Dan Wells <dbw2@calvin.edu> * 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/0630.data.suppress_transits.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.suppress_transits.sql: Stamping Upgrade Script for Suppress Transits In addition to stamping, this commit also makes a few trivial wording changes. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-09-14 Jeff Godin <jgodin@tadl.org> * .mailmap: Create git .mailmap file for Evergreen This is an initial .mailmap file for Evergreen. The .mailmap file is used by git-shortlog to "coalesce together commits by the same person". In the output of git-shortlog, this eliminates duplicate entries such as the username@UUID entries from the svn to git migration. Compare "git shortlog -nes" with and without this .mailmap Signed-off-by: Jeff Godin <jgodin@tadl.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-23 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.suppress_transits.sql: Unwrapped Suppress Transits upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-09-13 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Suppress Transits Add two new OU settings: circ.transit.suppress_hold circ.transit.suppress_non_hold If a transit would be generated between the current library and another and the appropriate setting is set for both end with the same value the transit will be suppressed. If either end is set to an empty string then transit suppression will be disabled, even if both ends are set to an empty string. In addition, transits from other locations will be received when their destination shares suppression with the current library. circ.transit.suppress_hold will cause holds to go to the hold shelf instead of into transit when in effect. Non-hold transits should not check it. This should be useful when multiple parts of a library share a hold shelf, but are split on the org tree. circ.transit.suppress_non_hold will cause items to reshelve instead of going into transit. Hold transits should not check it. This should be useful when multiple parts of a library are in the same building and have no need to transit items before reshelving/cataloging. In order to suppress *all* transits both settings need to be set. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-09-26 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/js.tt2: TPAC: Fix for staff UI with multiple MFHD records XUL's JavaScript doesn't mind trailing commas on an array, but really doesn't like an array in which the elements aren't separated by commas :) Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/web/js/ui/default/opac/staff.js: TPac: MFHD staff client actions integration Populdate the necessary window.mfhdDetails data for the staff client and fire the mfhdDrawn event Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-26 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> 2011-09-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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 <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-14 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/js/ui/default/opac/staff.js: TPac: Page through search results on details page Consistent with jspac, when you land on a record details page and you got there from doing a search, let the user page through the search results directly on the record detail page. This also includes the necessary JS callbacks to support paging in the staff client. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/extras/Makefile.install: perl-parent prerequisite for RHEL. hope it's fine for centos :) Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-18 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/record/issues.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPAC: Add some style to MFHD holdings summaries Simple grey background for the holdings summary header for each record; add a TBODY element to the holdings table for validity; offset the MFHD type by 1em to group entries under each holdings location. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-18 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: TPAC: Give MFHD summaries OU / depth awareness Rather than returning all results and filtering on the client-side, as we're currently doing in the JSPAC, teach the open-ils.search.serial.record.bib.retrieve method to accept optional OU & OU depth arguments and do the filtering in the query; cuts down on network traffic and should be generally more efficient. Note that in the absence of an explicit "depth" CGI param, EGCatLoader/Record currently defaults to a depth of "0"; we could teach it to look up & cache the depth of the "loc" param for the sake of convenience & arguably more accuracy. Also note that the sub/dist serial approach probably needs to be taught similar method-side filtering, but I hope more knowledgeable brains will work out what should happen with ssub.holding_lib / sdist.owning_lib. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-18 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/templates/opac/parts/record/extras.tt2, Open-ILS/src/templates/opac/parts/record/issues.tt2: TPAC: tentative MFHD display steps Retrieve and display MFHD records in the TPAC, piggybacking on the "Issues" twisty section. TODO: Take org_unit & depth into account when deciding which MFHD records to display. Right now we're just showing all of them. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-25 Galen Charlton <gmc@esilibrary.com> * 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 <gmc@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: silent macro updates Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: we need %mbts_xact_start% for both the bills_current and bills_historical receipt templates Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-20 Jeff Godin <jgodin@tadl.org> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/server/circ/print_list_template_editor.js: Fix bills_current template to use mbts_id macro Fix bills_current template to use mbts_id macro instead of non-existant id macro. Also update sample data so that receipt preview displays correctly with respect to mbts_id macro. Fixes https://bugs.launchpad.net/evergreen/+bug/811175 Signed-off-by: Jeff Godin <jgodin@tadl.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-21 Jeff Godin <jgodin@tadl.org> * 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 <jgodin@tadl.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-20 Jeff Godin <jgodin@tadl.org> * 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 <jgodin@tadl.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-22 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/main.tt2: TPac: repair IE check-all action on transaction list IE does not respond to 'onchange' for checkboxes? Use onclick instead... Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-22 Bill Erickson <berick@esilibrary.com> * 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 <berick@esilibrary.com> 2011-09-19 James Fournie <jfournie@sitka.bclibraries.ca> * 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 <jfournie@sitka.bclibraries.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-22 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/main/constants.js: The tpac should be SSL inside the staff client Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-22 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> 2011-09-22 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/myopac/main_pay.tt2, Open-ILS/src/templates/opac/myopac/main_payment_form.tt2: TPac: credit card payment bug fixes / cleanup * Repaired bug with paying multiple transactions * Replaced JS-based back/cancel navigation with a's * Added some debug logging Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-22 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/header.tt2: Tpac: better param array detection in mkurl() Avoid propagating empty arrays as "ARRAY(JUNK)" Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-22 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0627.data.patron-password-reset-msg.sql , Open-ILS/src/sql/Pg/upgrade/XXXX.data.patron-password-reset-msg.sql: Password resets: avoid run-on subjects The password reset template had a space on the first blank line after the Subject: which lead to the first paragraph being tacked onto the Subject line. Get rid of the space, and create an upgrade script ready to roll. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/opac/password_reset.tt2, Open-ILS/web/css/skin/default/opac/style.css: TPac: password reset honors success/error style Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.patron-password-reset-msg.sql , Open-ILS/src/templates/opac/parts/login/form.tt2, Open-ILS/src/templates/opac/password_reset.tt2: TPac: integrated patron password reset Port the existing password reset functionality into TPac. This allows us to leverage the TPac innards for localization. It also means there's one less moving part. (and, incidentally, no more dojo for the form). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: Tpac: longer timeout for marc "expert" search Since MARC searches can take a while, raise the default timeout from 1 minute to 2, with the option (at the API layer) of raising it to 5. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-21 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/index.xhtml: Add Toggle option to portal for TPac use In testing I didn't have to restart the staff client, but as constants.js is loaded pretty much everywhere I have no clue where the URL array may be stale. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-21 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/defaults/preferences/prefs.js: Create preference for opac used in staff client If enabled use the TPac. Otherwise JSPac. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-21 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: TPAC: Make "Sort by" select box match style of search bar The "Sort by" select box in search results had a native widget style, compared to the search widget styles of the search bar. A simple CSS tweak makes it consistent. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-21 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/results.tt2, Open-ILS/web/css/skin/default/opac/style.css: Group "Sort by" and sort select box together The sort select box was weirdly way over on the right. Fix that. Also address slightly weird vertical alignment of some elements of the results header bar. Also use <label> to group the "sort by" with the select box; a bit better for screen reasers. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-21 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/main/bindings.xml: properties in chrome:// return XHR status 0 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-21 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-20 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-30 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/holds.js: fix Show in Catalog for part holds Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-09 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/fm_IDL.xml: make it obvious that Request Type is required in Create Request dialog Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/display.xul, Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul, Open-ILS/xul/staff_client/server/patron/display_overlay.xul: acq user requests link from patron display Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/acq/picklist/user_request.js: show acq user requests action from lineitems in lists Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/web/js/ui/default/acq/picklist/user_request.js: wire up Create Request action in acq user requests UI Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/picklist/user_request.js: context filters for acq user requests UI Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/web/js/ui/default/acq/picklist/user_request.js: copy/paste-o's, remove (near) duplicate code Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-20 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: Do not overwrite controlmap entries, but extend them (Floating Subdivisions!) Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-25 Bill Erickson <berick@esilibrary.com> * 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 <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-19 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0625.data.opac_staff_saved_search_size. sql, Open-ILS/src/sql/Pg/upgrade/0626.schema.bookbag-goodies.sql, Open-ILS/src/sql/Pg/upgrade/XYXY.data.opac_staff_saved_search_size. sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.bookbag-goodies.sql: Take care of some missed db upgrade script numbers Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-19 Galen Charlton <gmc@esilibrary.com> * Open-ILS/web/js/ui/default/acq/common/li_table.js: lp854084: fix catalog link in line item table when using TT-OPAC Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/login.tt2, Open-ILS/src/templates/opac/parts/config.tt2, Open-ILS/src/templates/opac/parts/login/form.tt2: TPAC: Enable password resets - crude, for now Use the existing crude password reset form to enable password resets. Slightly longer term, we need to destroy the existing form and pull it into TPAC proper (including such good stuff as real localization and getting rid of Dojo / Dijit), but this works for now. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-16 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XYXY.data.opac_staff_saved_search_size. sql, Open-ILS/src/templates/opac/parts/staff_saved_searches.tt2, Open-ILS/src/templates/opac/record.tt2, Open-ILS/src/templates/opac/results.tt2, Open-ILS/web/css/skin/default/opac/style.css: Staff saved searches when browsing catalog in staff client By default, show a user's ten most recent searches to them on the left side of the results and record details pages. Configurable by org unit setting 'opac.staff_saved_searches.size' Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/templates/acq/invoice/receive.tt2, Open-ILS/src/templates/acq/invoice/view.tt2, Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/invoice/receive.js, Open-ILS/web/js/ui/default/acq/invoice/view.js: It's a lineitem detail (copy) batch receiver You can get to it via a button in the upper right-hand corner of the view-invoice interface, assuming you're looking at an invoice that's already been created/saved (and which has acqlid objects in a receivable state), not one you're just now creating. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Conta inerCSV.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat/Feed.pm, Open-ILS/src/sql/Pg/070.schema.container.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.bookbag-goodies.sql, Open-ILS/src/templates/opac/myopac/list/print.tt2, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/filtersort.tt2, Open-ILS/web/css/skin/default/opac/style.css: Bookbag enhancements in TTOPAC Bookbags have descriptions now (and they're reflected in feeds). Bookbag item notes are editable. Bookbags can now be sorted by title or author using QP tricks. You can export a bookbag as CSV. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/results.tt2: TPAC: PROCESS config.tt2 needed in results.tt2 If the values in config.tt2 are not available to the results page, then all of them are false - so Google Analytics, Resolver, etc, won't work in the results page. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-07-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/refworks.tt2: Set refworks default org to match org tree root Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/extras.tt2: TPac: clicking on open "extras" tab closes the tab In record detail page, if a tab (e.g. Subjects) is open, clicking on the tab header again will close the tab. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/record/extras.tt2: TPac: display table of contents on record details Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0624.data.fix_marc_conf_cont.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_marc_conf_cont.sql: Stamping db upgrade script for Fixed Field Cont/Conf typo/thinko Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_marc_conf_cont.sql: In-DB suffered from Cont/Conf issues as well Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/dojo/MARC/FixedFields.js: Fix Fixed Fields Editor Conf and Cont Conf was defined with Cont's fields Cont was missing Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-16 Galen Charlton <gmc@esilibrary.com> * 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 <gmc@esilibrary.com> 2011-09-16 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-09-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0622.data.YAOUS-i18n-update.sql, Open-ILS/src/sql/Pg/upgrade/0623.schema.YAOUS-log-table.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.YAOUS-i18n-update.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.YAOUS-log-table.sql: pin down upgrade script version numbers 2011-09-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.YAOUS-log-table.sql: add in the org setting history triggers Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-08 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.YAOUS-i18n-update.sql, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: CLEANUP ALL THE COUST and fix history view Move all COUST seed values to the same insert statement in 950.data.seed-values.sql Make data upgrade file do *all* the changes that happen in the seed values Add groups to some of the new settings since Joseph looked at the list Make history view escape &, <, and > before showing values to prevent HTML from being parsed Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/800.fkeys.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/9999.data-seed-values-group update.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.YAOUS-i18n-update.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.YAOUS-log-table.sql: Cleanup, yay! Give YAOUS logging table a surrogate pkey and upgrade script; clean up some typos; position the existing upgrade script correctly Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-07 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Added the following features/imporovements suggested by the community: * Sort history by date descending. * Add revert button to history. * Search after pause. * Dynamically adjust amount of time message is shown by its length. * Fix a bug about things not being shown in history after delete. * Fix a problem with user not being shown change if they make a change in a context that isn't currently shown. * Do i18n on everything. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-20 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/800.fkeys.sql: Fixed my database errors (although some still exist, I can't tell if they are mine or not, I'm going to test the master and see if they exist there...) Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-17 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql: Cleaned up so it shouldn't ruin the database creation (hopefully). Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-15 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/9999.data-seed-values-group update.sql: Fixed the non i18n settings for oust. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-15 Joseph Lewis <joehms22@gmail.com> * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Got rid of old bug (pre me) that existed when an autowidget was used then canceled and the next setting wasn't an autowidget. The autowidget would continue to appear because it was never destroyed. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-15 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/9999.data-seed-values-group update.sql, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Changed text in seed values to reflect addition of groups, added an update script for groups, fixed org_unit_settings.js so the dojo grid would correctly alphabetize with the additon of groups and the removal of groups from the labels themselves. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-15 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0550.data.seed_values_ous_groups.sql: Remove duplicates due to groups in seed-values.sql, and include groups in seed-values; delete seed values upgrade patch. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-14 Joseph Lewis <joehms22@gmail.com> * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Updated so that the history shows the org-unit shortname rather than the id. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-14 Joseph Lewis <joehms22@gmail.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Convert buttons to toobar cleaning up page a lot. Added new notification system. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-13 Joseph Lewis <joehms22@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Added revision logging to oust, updated fm_IDL.xml to reflect that and changed org_unit_settings.js and org_unit_settings.xhtml to add some functionality of revisions. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0549.data.seed_values_admin_cleanup.sql , Open-ILS/src/sql/Pg/upgrade/0550.data.seed_values_ous_groups.sql, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Updated the staff_client code to be much better at searching, renamed the sql upgrade script b/c 0549 was just snatched up! Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Joseph Lewis <joehms22@gmail.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Finished import/export of settings. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-08 Joseph Lewis <joehms22@gmail.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml, Open-ILS/xul/staff_client/server/locale/en-US/common.properties: Updated to include search. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-07 Joseph Lewis <joehms22@gmail.com> * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: Added Tags support in the org_unit_settings display page. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0549.data.seed_values_admin_cleanup.sql: Whoops, typed in the wrong number. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0549.data.seed_values_admin_cleanup.sql: Forgot to put in the logging information :) Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Joseph Lewis <joehms22@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0549.data.seed_values_admin_cleanup.sql: Added seed values for the "tags" of the settings in org unit settings. Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-15 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> 2011-09-14 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/BibTemplate.js: Make sure we only render the most recent request to the canvas, so a laggy network does not cause double rendering or stale display Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-14 Galen Charlton <gmc@esilibrary.com> * 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 <gmc@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-13 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> 2011-09-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/acq/fund/list.tt2: Update find view link in fund list UI to reflect relocated template Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/startup.pl: Remove unused reference to oils_web.xml in startup.pl TODO: give EGCatLoader child_init-like functionality to connect to opensrf to address the (unlikely) case that EGWeb/EGCatLoader are the first/only mod_perl handlers loaded on an Evergreen Apache server. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: Further updates to eg_vhost for tpac * Comment out locale handlers that do not have translations by default. Otherwise, Apache will log the error in the error log. * Added some additional configuration comments Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-13 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0621.data.opac_payment_history_age_limi t.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.opac_payment_history_age_limi t.sql: Stamped upgrade for opac_payment_history_age_limit ...which is a new org setting defining how far back to reach for payments to display in the payments history page in tpac. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Dan Scott <dscott@laurentian.ca> * : Delete a set of images that are no longer used Given the switch to CSS-styling instead of images, many of the images in the repository are no longer used and can be deleted. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/myopac/prefs_base.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSS-ize account preference sub-tabs Same old, same old. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/holds/edit.tt2: Fix mislabelling of Cancel button as Submit As funny as it was to give people two options: Submit, or Submit, one could imagine that it would be confusing. Also, remove the alt / title attributes now that we're using meaningful markup that stands on its own. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/circ_history.tt2, Open-ILS/src/templates/opac/myopac/hold_history.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSS-ize holds and holds history tabs From images to CSS-styled links. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/results.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSS-ize the search results control bar Along with the standard "swap images with fancy CSS links", we also bring some style to the rather drab "Detailed View" link in the search results control bar. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/circ_history.tt2, Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSS-ize current circ and circulation history tabs More accessible. More win. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/myopac/base.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSSize fine/payment tabs on My Account page More consolidation of CSS is a win for making changes in one place. More accessibility as well. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/myopac/base.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSS versions of the main MyOPAC tabs We can reuse much of the advanced search tab CSS (imagine that!), so not only are we getting accessibility and HTTP request wins, we're cutting down on the size of the CSS to deal with to skin this cat(alogue). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/topnav.tt2, Open-ILS/web/css/skin/default/opac/style.css: CSSize the My OPAC login / logout buttons Use the same relative positioning as the surrounding blocks and things look relatively (hah) clean. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: 5% radius for subtly rounded corners 15% was too much, especially on long thin blocks; it looked like space-time was being warped. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/web/css/skin/default/opac/style.css: Add some Web 1.5-ishness with rounder corners for tabs 5% radius is a lot more subtle. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/web/css/skin/default/opac/style.css: Style the advanced search tabs with CSS We could go further and disable the link on the active advanced search tab, but for now we're just replacing what was there with a reasonable visual approximation. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/parts/topnav.tt2: Turn the login button into a CSS "button" It's just a fancy link; treat it as such with some fancy CSS. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: TPac: Default to en_us if no locales are configured Code will create an en_us handler that falls through to the strings in the templates. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/login/form.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css: opac-button is more general than submit-button Didn't make sense to use a class of submit-button for reset buttons. So... Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/extras/Makefile.install: Added TPac perl dependencies for deb distros Template::Plugin::POSIX Locale::Maketext::Lexicon (via liblocale-maketext-lexicon-perl) Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/login/form.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/style.css: Use SUBMIT buttons instead of IMAGE buttons With a bit of CSS, we can replace <input type="image"> buttons with <input type="submit"> buttons. The payoff is directly translatable values and better semantics for screen readers, etc, rather than having to set up a process of generating buttons in your colour & languages of choice - as well as fewer HTTP requests for images over the network. Note that we also replace some of the JavaScript-dependent reset / cancel links with <input type="reset"> buttons. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/parts/hold_status.tt2: TPac: repaired hold status display bug Pipe dynamic text through |html inside the hold_status block instead of piping the output, since the block returns HTML. Repaired faulty </div> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/qtype_selector.tt2: TPac: Do not URI-escape index class/names in search dropdown id|bibcn, for example, through the |uri filter turns into "id%7Cbibcn" in the option value. Pipe through |html instead, just to be safe. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/authors.tt2: TPac: repaired undefiend 'loc' var in author 'extras' link Ported the bare href to mkurl() while I was in there Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Dan Scott <dscott@laurentian.ca> * Open-ILS/src/Makefile.am: Can't install oils_web.xml.example if it does not exist Just remove the entry from Makefile.am and we're happy. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/oils_web.xml.example, README: Removed sample oils_web.xml; removed from README Thanks for the suggestion, Dan. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/base.tt2, Open-ILS/src/templates/vandelay/vandelay.tt2: Remove no-longer-necessary DTD override in vandelay Also, since vandelay was the only code using this hacked-in override option, remove the option from the base template. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/vandelay/inc/attrs.tt2, Open-ILS/src/templates/vandelay/inc/export.tt2, Open-ILS/src/templates/vandelay/inc/import_errors.tt2, Open-ILS/src/templates/vandelay/inc/marchtml.tt2, Open-ILS/src/templates/vandelay/inc/matches.tt2, Open-ILS/src/templates/vandelay/inc/progress.tt2, Open-ILS/src/templates/vandelay/inc/queue.tt2, Open-ILS/src/templates/vandelay/inc/queueselect.tt2, Open-ILS/src/templates/vandelay/inc/toolbar.tt2, Open-ILS/src/templates/vandelay/inc/upload.tt2, Open-ILS/src/templates/vandelay/vandelay.tt2, Open-ILS/web/opac/locale/en-US/vandelay.dtd: Vandelay: import strings from DTD Using the new template-style embedded string localizer: [% l('...') %] Removed vandelay.dtd. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: repaired URL path to embedded match set editor Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/acq/currency_type/list.tt2, Open-ILS/src/templates/acq/financial/list_currency_types.tt2, Open-ILS/src/templates/acq/financial/list_funding_sources.tt2, Open-ILS/src/templates/acq/financial/list_funds.tt2, Open-ILS/src/templates/acq/financial/view_fund.tt2, Open-ILS/src/templates/acq/financial/view_funding_source.tt2, Open-ILS/src/templates/acq/financial/view_provider.tt2, Open-ILS/src/templates/acq/fund/list.tt2, Open-ILS/src/templates/acq/fund/view.tt2, Open-ILS/src/templates/acq/funding_source/list.tt2, Open-ILS/src/templates/acq/funding_source/view.tt2: TPac: template path cleanup Rearrange the few templates that relied on the now-defunct oils_web.xml handler path/template mapping. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: TPac: deprecate oils_web.xml Configuration values are now loaded from Apache configuration. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/oils_web.xml.example, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: TPac: locale handling improvements Allow Locale::Maketext to fall through to parent locales (superordinate) when the a translation for a string in the given locale is not present. Locale::Maketext suppports arbitrary-length locale tags, so it's possible to create locale hierarchies. For example, you could create branch-specific translations that fall through to system, then full locale, then base locale, then the default template strings. en_us_systemA_branchX => en_us_systemA => en_us => en => <template strings> Each template string that needs translating will be tried against each locale in order until it finds a translation. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/templates/opac/parts/record/summaryplus.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2: TPac: Review & More content cafe option on results page Links to a new top-level page. Also cleaned up some bare &'s in the content cafe url. added a ctx->proto = http / https var. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/parts/hold_status.tt2, Open-ILS/src/templates/opac/parts/misc_util.tt2: TPac: move hold status chunk to separate template ...for easier local overrideing of text that dislays for hold status Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/extras.tt2: TPac: Push subject extras tab to top of extras Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/record/extras.tt2: TPac: toggle expandy arrow image to down-arrow on expanded record extras tabs Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/templates/opac/parts/result/table.tt2: TPac: on-fly-list management improvements * implemented remove-from-list function * After add or remove from list on results page, direct user back to the context record via page anchor Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/update_email.tt2, Open-ILS/src/templates/opac/myopac/update_password.tt2, Open-ILS/src/templates/opac/myopac/update_username.tt2: TPac: avoid 1995-esque "Submit Query" for form submission On the update username, email, and password pages, use "Submit" instead of relying on the browser "Submit Query" label Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-09 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-08 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-10 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-10 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-10 Dan Scott <dscott@laurentian.ca> * 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 <dscott@laurentian.ca> 2011-09-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.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 penalty visiblity issue Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-09 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-09 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2: TPac: minor i18n string repairs Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/Makefile.am: Repair makefile.am: install template dirs that were previously under /default/ Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/lists.tt2: Make bookbag title/author links Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-08 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0619.schema.au_last_update_time.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.au_last_update_date.sql: Stamping for LP821404 au last_update_time Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-05 Michael Peters <mrpeters@library.in.gov> * Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/summary.js, Open-ILS/xul/staff_client/server/patron/summary_overlay.xul: Also add "Last Update" to the patron summary Typo in row id value Need to use obj.patron.last_update_date not obj.patron.update_date Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.au_last_update_date.sql: fire last_update_time trigger on user insert in addition to update Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.au_last_update_date.sql, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/util.js: change column name from last_update_date to last_update_time Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-05 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.au_last_update_date.sql: upgrade script for actor.usr.last_update_date Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-05 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/util.js: Add an actor.usr.last_update_date column Though should we call it edit_date, like on asset.copy? :) Also added trigger, and some display definitions in the staff client. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/summary.js: a CSS hook in case folks want to hide this If you'd like to hide usr_summary stat cats in the patron info pane, add this to server/skin/patron_summary_custom.css: .stat_cat_summary_row { display: none; } Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-12 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/patron/summary.js: Stat Cat Summary Display Fixes 1 - Suppress sip field and format in horizontal interface 2 - Make "show in summary" work for vertical interface Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/auth/controller.js, Open-ILS/xul/staff_client/chrome/content/main/main.js: Support server/id for server name Strip off the /id part to get the real server name. Each /id gets a different workstation registration. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql: tweak description for "Patron: password from phone #" setting Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0618.data.org-setting-phone_pw.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.phone_pw.sql: lp#794153 stamping upgrade script for phone pw Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.phone_pw.sql: Unwrapped upgrade script for descripition changes Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Seed data update for regex descriptions Mention capture group stuff in day_phone Add note about day_phone to generic phone Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-13 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: Regex check for "last 4 digits of phone number" If the day_phone regex (direct or from generic phone) has a capture group use it as the "last 4 digits". For example, you might configure this for day_phone regex: [2-9]\d{2}-\d{3}-(\d{4})( x\d+)? With this patch the extension will be ignored for the last 4 digits. Note: Does not require that the "last 4 digits" capture group actually contain 4 digits. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-07 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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 <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0617.schema.add-reservation-email-notif y.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-reservation-email-notif y.sql: Stamping upgrade script for reservation capture notification~ Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-30 Jeff Davis <jdavis@sitka.bclibraries.ca> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Booking.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm, Open-ILS/src/sql/Pg/095.schema.booking.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-reservation-email-notif y.sql, Open-ILS/web/js/dojo/openils/booking/nls/reservation.js, Open-ILS/web/js/ui/default/booking/reservation.js, Open-ILS/web/templates/default/booking/reservation.tt2: Email notification of reservation capture When a reserved resource is captured, Evergreen does not notify the patron that the resource is ready for pickup. (As far as I am aware this is true of all versions of Evergreen that include bookings.) This could give rise to situations where the patron goes to pick up the resource at the specified time, only to find that it hasn't been captured and is currently unavailable. This change gives you a checkbox to enable email notification when creating the reservation, and adds a hook, reactor, and validator so that you can create an action trigger to send the emails. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-07 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-31 Jason Etheridge <jason@esilibrary.com> * 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. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/dojo/openils/XUL.js, Open-ILS/web/js/ui/default/vandelay/vandelay.js: Add CSV filetype filter options Vandelay CSV export Includes generic support for specifying default filename, extension, and new filter types for the XUL NsIFilePicker wrapper Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-07 Dan Scott <dan@coffeecode.net> * 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 <dscott@laurentian.ca> 2011-08-19 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-07 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-30 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0616.schema.actor_org_unit_trigger_prox _update.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.schema.actor_org_unit_trigger_prox _update.sql: Stamping the upgrade script for in-db OU proximity update Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-29 Steven Callender <stevecallender@esilibrary.com> * Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.schema.actor_org_unit_trigger_prox _update.sql: LP#836768 Proximity update trigger Update org proximity automatically when parent org unit is changed to avoid the need to use the autogen -u parameter, by means of a trigger on the actor.org_unit table and a new function. Signed-off-by: Steven Callender <stevecallender@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-30 Jason Stephenson <jstephenson@mvlc.org> * 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 <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-31 James Fournie <jfournie@sitka.bclibraries.ca> * 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 <jfournie@sitka.bclibraries.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-26 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-09-07 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm: 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 <dbw2@calvin.edu> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-09-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0615.schema.generic-mapping-index-norma lizer.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.generic-mapping-index-norma lizer.sql: Stamp upgrade for generic mapping index normalizer Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.generic-mapping-index-norma lizer.sql: Generic mapping index normalizer Useful for mapping values extracted for SVF (metabib.record_attr.attrs) attributes to alternate values. For example, you can map collections of MARC Audience codes into groups of codes for to create audience groups. This normalizer takes a text parameter (in addition to the extracted value) that defines a simple mapping between input and output. Each mapping consists of one or more comma separated strings on the left of a separator (called the source group), a separator, and a alphanumeric string to the right of the separator (called the mapping target). The format of a mapping is: {string}[,{string}][..]=>{non-whitespace-string} For example: a,b,c=>X Multiple mappings can be supplied, separated by whitespace. Each mapping itself is not sensitive to most whitespace. For instance, the following are all equivalent: a,b,c=>X a, b, c => X a , b , c => X In each, "a", "b" and "c" are mapped to "X", and anything else is returned without mapping. Additionionally, whitespace within a string in the source group is tolerated. Given a mapping of: a e i o u, y, w => V The string "a e i o u", "y" or "w" will return "V". In addition to explicit mapping, an empty source group will produce a default mapping, where anything not matching another mapping will return the mapping target. For instance, given the following: =>X a,b,c=>Y An input of "b" will return "Y" and an input of "k" will return "X". The Default mapping target may be the same as the mapping target with an explicit source group. For instance, the following can be interperated as "map a, b and c to X, map 1, 2, 3 and anything we don't know about to Y": a,b,c=>X 1,2,3=>Y =>Y As a practical example, simplifying the audience values in MARC fixed fields to three groups and using those values in a new coded value map would allow one to create a dynamically populated search interface that uses more patron- friendly terms. For instance: a,b,j=>K c,d=>T a=>A =>A g=>E The above makes the assumption that Unknown, Specialized and Not Coded should be lumped in with Audult, just to be safe, and General is for (E)veryone. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-06 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/advanced/search.tt2: TPac: first try audience_group SVF for audience maps Allow for configuration of an "audience_group" config.record_attr_definition for collecting MARC audience codes into more human-friendly groups. This allows the TPac to behave more like the current OPAC, which groups audience values into simpler collections. As with "mattype", if no "audience_group" configuration exists, fall back to the traditional, long-form "audience" attribute. For future referene, here's an example setup using an "audience_group" attribute. -- Can be done in MARC Record Attributes admin UI INSERT INTO config.record_attr_definition (name, label, description, fixed_field, filter) VALUES ('audience_group', 'Audience Group', 'Audience Group', 'Audn', TRUE); -- Can be done in MARC Coded Value Maps admin UI INSERT INTO config.coded_value_map (ctype, code, value, description) VALUES ('audience_group', 'A', 'Adult', 'Adult Audience'), ('audience_group', 'T', 'Teen', 'Teen Audience'), ('audience_group', 'C', 'Children', 'Children Audience'); -- No UI currently INSERT INTO config.record_attr_index_norm_map (attr, norm, params) VALUES ('audience_group', ( SELECT id FROM config.index_normalizer WHERE func = 'generic_map_normalizer' ), '["=>A g,e,f=>A a,c,j,b=>C d=>T"]' ); Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-06 Bill Erickson <berick@esilibrary.com> * 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 <berick@esilibrary.com> 2011-09-01 Dan Wells <dbw2@calvin.edu> * 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 <dbw2@calvin.edu> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: TPac: Multiple holds in staff client place-holds session Leave the patron_barcode cookie in place after holds placement succeeds from the embedded catalog so that the next hold request will use the same patron. This allows for multiple hold request to take place within one session. The negative is that the cookie sticks around even after a patron session is closed. This is normally not a problem, because each new patron sesion will update the cookie. (And when the cookie is not updated, staff still have the option to /not/ place a hold for the pre-selected user). However, it would be nice to have the staff client clear the cookie at the right time. Will look at that too. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: TPac: MARC expert search bug fixes - Allow for searching on tags w/o specifying subfield - Protect against empty search queries - Cleanup: Avoid some of the manual osrf session management by using $U->simplereq, which does all of that for us. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/parts/filtersort.tt2, Open-ILS/src/templates/opac/results.tt2, Open-ILS/web/js/ui/default/opac/simple.js: TPac: Submit search on sort/limit change By popular demand, when the user changes the search sort or limit-to-available options, the form is immediately resubmitted via JavaScript. Fails gracefully in the absence of JS. Minor JS cleanup. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-02 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> 2011-09-02 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-09-01 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> 2011-09-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/opac/myopac/prefs.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/parts/anon_list.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/web/css/skin/default/opac/semiauto.css: TPac: more template scrubbing and cleaning Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/admin/printer_settings.js: LP#838969 Silent print cannot be unselected Thanks Bill! Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-09-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: Tpac: Support for skinning via Apache configuration More generally, support for augmenting the Template Toolkit template path list to allow for per-vhost template paths. For example, a 3-tier consortium could do something like this: <VirtualHost ...> [...] PerlAddVar OILSTemplatePath "/openils/var/templates_branch_abc" PerlAddVar OILSTemplatePath "/openils/var/templates_system_xyz" PerlAddVar OILSTemplatePath "/openils/var/templates_shared" </VirtualHost> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: Don't prepend / to relative template paths Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/templates/acq/common/claim_dialog.tt2, Open-ILS/src/templates/acq/common/final_claim_dialog.tt2, Open-ILS/src/templates/acq/common/info.tt2, Open-ILS/src/templates/acq/common/inv_dialog.tt2, Open-ILS/src/templates/acq/common/jubgrid.tt2, Open-ILS/src/templates/acq/common/li_table.tt2, Open-ILS/src/templates/acq/common/li_table_pager.tt2, Open-ILS/src/templates/acq/common/notes.tt2, Open-ILS/src/templates/acq/financial/claim_eligible.tt2, Open-ILS/src/templates/acq/financial/list_currency_types.tt2, Open-ILS/src/templates/acq/financial/list_funding_sources.tt2, Open-ILS/src/templates/acq/financial/list_funds.tt2, Open-ILS/src/templates/acq/financial/view_fund.tt2, Open-ILS/src/templates/acq/financial/view_funding_source.tt2, Open-ILS/src/templates/acq/financial/view_provider.tt2, Open-ILS/src/templates/acq/invoice/view.tt2, Open-ILS/src/templates/acq/lineitem/findbib.tt2, Open-ILS/src/templates/acq/lineitem/history.tt2, Open-ILS/src/templates/acq/lineitem/related.tt2, Open-ILS/src/templates/acq/lineitem/search.tt2, Open-ILS/src/templates/acq/lineitem/worksheet.tt2, Open-ILS/src/templates/acq/picklist/bib_search.tt2, Open-ILS/src/templates/acq/picklist/brief_record.tt2, Open-ILS/src/templates/acq/picklist/from_bib.tt2, Open-ILS/src/templates/acq/picklist/list.tt2, Open-ILS/src/templates/acq/picklist/upload.tt2, Open-ILS/src/templates/acq/picklist/user_request.tt2, Open-ILS/src/templates/acq/picklist/view.tt2, Open-ILS/src/templates/acq/po/create.tt2, Open-ILS/src/templates/acq/po/edi_messages.tt2, Open-ILS/src/templates/acq/po/events.tt2, Open-ILS/src/templates/acq/po/history.tt2, Open-ILS/src/templates/acq/po/item_table.tt2, Open-ILS/src/templates/acq/po/search.tt2, Open-ILS/src/templates/acq/po/view.tt2, Open-ILS/src/templates/acq/receiving/process.tt2, Open-ILS/src/templates/acq/search/unified.tt2, Open-ILS/src/templates/acq/settings/li_attr.tt2, Open-ILS/src/templates/actor/user/register.tt2, Open-ILS/src/templates/actor/user/register_table.tt2, Open-ILS/src/templates/actor/user/trigger_events.tt2, Open-ILS/src/templates/base.tt2, Open-ILS/src/templates/booking/capture.tt2, Open-ILS/src/templates/booking/pickup.tt2, Open-ILS/src/templates/booking/pull_list.tt2, Open-ILS/src/templates/booking/reservation.tt2, Open-ILS/src/templates/booking/return.tt2, Open-ILS/src/templates/cat/authority/list.tt2, Open-ILS/src/templates/circ/selfcheck/audio_config.tt2, Open-ILS/src/templates/circ/selfcheck/banner.tt2, Open-ILS/src/templates/circ/selfcheck/circ_page.tt2, Open-ILS/src/templates/circ/selfcheck/fines.tt2, Open-ILS/src/templates/circ/selfcheck/holds_page.tt2, Open-ILS/src/templates/circ/selfcheck/main.tt2, Open-ILS/src/templates/circ/selfcheck/patron_login.tt2, Open-ILS/src/templates/circ/selfcheck/payment.tt2, Open-ILS/src/templates/circ/selfcheck/summary.tt2, Open-ILS/src/templates/conify/global/acq/cancel_reason.tt2, Open-ILS/src/templates/conify/global/acq/claim_event_type.tt2, Open-ILS/src/templates/conify/global/acq/claim_policy.tt2, Open-ILS/src/templates/conify/global/acq/claim_policy_action.tt2, Open-ILS/src/templates/conify/global/acq/claim_type.tt2, Open-ILS/src/templates/conify/global/acq/distribution_formula.tt2, Open-ILS/src/templates/conify/global/acq/edi_account.tt2, Open-ILS/src/templates/conify/global/acq/exchange_rate.tt2, Open-ILS/src/templates/conify/global/acq/fund_tag.tt2, Open-ILS/src/templates/conify/global/acq/invoice_item_type.tt2, Open-ILS/src/templates/conify/global/acq/invoice_payment_method.tt2 , Open-ILS/src/templates/conify/global/acq/lineitem_alert.tt2, Open-ILS/src/templates/conify/global/acq/lineitem_marc_attr_def.tt2 , Open-ILS/src/templates/conify/global/acq/provider.tt2, Open-ILS/src/templates/conify/global/action/survey.tt2, Open-ILS/src/templates/conify/global/action/survey/edit.tt2, Open-ILS/src/templates/conify/global/action_trigger/event_definitio n.tt2, Open-ILS/src/templates/conify/global/action_trigger/event_definitio n_data.tt2, Open-ILS/src/templates/conify/global/asset/copy_location_order.tt2, Open-ILS/src/templates/conify/global/asset/copy_template.tt2, Open-ILS/src/templates/conify/global/biblio/monograph_part.tt2, Open-ILS/src/templates/conify/global/booking/resource.tt2, Open-ILS/src/templates/conify/global/booking/resource_attr.tt2, Open-ILS/src/templates/conify/global/booking/resource_attr_map.tt2, Open-ILS/src/templates/conify/global/booking/resource_attr_value.tt 2, Open-ILS/src/templates/conify/global/booking/resource_type.tt2, Open-ILS/src/templates/conify/global/cat/authority/browse_axis.tt2, Open-ILS/src/templates/conify/global/cat/authority/browse_axis_auth ority_field_map.tt2, Open-ILS/src/templates/conify/global/cat/authority/control_set.tt2, Open-ILS/src/templates/conify/global/cat/authority/control_set_auth ority_field.tt2, Open-ILS/src/templates/conify/global/cat/authority/control_set_bib_ field.tt2, Open-ILS/src/templates/conify/global/cat/authority/thesaurus.tt2, Open-ILS/src/templates/conify/global/config/acn_prefix.tt2, Open-ILS/src/templates/conify/global/config/acn_suffix.tt2, Open-ILS/src/templates/conify/global/config/actor_sip_fields.tt2, Open-ILS/src/templates/conify/global/config/asset_sip_fields.tt2, Open-ILS/src/templates/conify/global/config/barcode_completion.tt2, Open-ILS/src/templates/conify/global/config/billing_type.tt2, Open-ILS/src/templates/conify/global/config/circ_matrix_matchpoint. tt2, Open-ILS/src/templates/conify/global/config/circ_matrix_weights.tt2 , Open-ILS/src/templates/conify/global/config/circ_modifier.tt2, Open-ILS/src/templates/conify/global/config/coded_value_map.tt2, Open-ILS/src/templates/conify/global/config/global_flag.tt2, Open-ILS/src/templates/conify/global/config/hard_due_date.tt2, Open-ILS/src/templates/conify/global/config/hard_due_date_values.tt 2, Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint. tt2, Open-ILS/src/templates/conify/global/config/hold_matrix_weights.tt2 , Open-ILS/src/templates/conify/global/config/idl_field_doc.tt2, Open-ILS/src/templates/conify/global/config/metabib_field.tt2, Open-ILS/src/templates/conify/global/config/org_unit_setting_type.t t2, Open-ILS/src/templates/conify/global/config/record_attr_definition. tt2, Open-ILS/src/templates/conify/global/config/rule_age_hold_protect.t t2, Open-ILS/src/templates/conify/global/config/rule_circ_duration.tt2, Open-ILS/src/templates/conify/global/config/rule_max_fine.tt2, Open-ILS/src/templates/conify/global/config/rule_recurring_fine.tt2 , Open-ILS/src/templates/conify/global/config/standing_penalty.tt2, Open-ILS/src/templates/conify/global/config/usr_setting_type.tt2, Open-ILS/src/templates/conify/global/config/weight_assoc.tt2, Open-ILS/src/templates/conify/global/config/z3950_source.tt2, Open-ILS/src/templates/conify/global/permission/grp_penalty_thresho ld.tt2, Open-ILS/src/templates/conify/global/vandelay/match_set.tt2, Open-ILS/src/templates/conify/global/vandelay/match_set_tree.tt2, Open-ILS/src/templates/default/acq/common/claim_dialog.tt2, Open-ILS/src/templates/default/acq/common/final_claim_dialog.tt2, Open-ILS/src/templates/default/acq/common/info.tt2, Open-ILS/src/templates/default/acq/common/inv_dialog.tt2, Open-ILS/src/templates/default/acq/common/jubgrid.tt2, Open-ILS/src/templates/default/acq/common/li_table.tt2, Open-ILS/src/templates/default/acq/common/li_table_pager.tt2, Open-ILS/src/templates/default/acq/common/notes.tt2, Open-ILS/src/templates/default/acq/financial/claim_eligible.tt2, Open-ILS/src/templates/default/acq/financial/list_currency_types.tt 2, Open-ILS/src/templates/default/acq/financial/list_funding_sources.t t2, Open-ILS/src/templates/default/acq/financial/list_funds.tt2, Open-ILS/src/templates/default/acq/financial/view_fund.tt2, Open-ILS/src/templates/default/acq/financial/view_funding_source.tt 2, Open-ILS/src/templates/default/acq/financial/view_provider.tt2, Open-ILS/src/templates/default/acq/invoice/view.tt2, Open-ILS/src/templates/default/acq/lineitem/findbib.tt2, Open-ILS/src/templates/default/acq/lineitem/history.tt2, Open-ILS/src/templates/default/acq/lineitem/related.tt2, Open-ILS/src/templates/default/acq/lineitem/search.tt2, Open-ILS/src/templates/default/acq/lineitem/worksheet.tt2, Open-ILS/src/templates/default/acq/picklist/bib_search.tt2, Open-ILS/src/templates/default/acq/picklist/brief_record.tt2, Open-ILS/src/templates/default/acq/picklist/from_bib.tt2, Open-ILS/src/templates/default/acq/picklist/list.tt2, Open-ILS/src/templates/default/acq/picklist/upload.tt2, Open-ILS/src/templates/default/acq/picklist/user_request.tt2, Open-ILS/src/templates/default/acq/picklist/view.tt2, Open-ILS/src/templates/default/acq/po/create.tt2, Open-ILS/src/templates/default/acq/po/edi_messages.tt2, Open-ILS/src/templates/default/acq/po/events.tt2, Open-ILS/src/templates/default/acq/po/history.tt2, Open-ILS/src/templates/default/acq/po/item_table.tt2, Open-ILS/src/templates/default/acq/po/search.tt2, Open-ILS/src/templates/default/acq/po/view.tt2, Open-ILS/src/templates/default/acq/receiving/process.tt2, Open-ILS/src/templates/default/acq/search/unified.tt2, Open-ILS/src/templates/default/acq/settings/li_attr.tt2, Open-ILS/src/templates/default/actor/user/register.tt2, Open-ILS/src/templates/default/actor/user/register_table.tt2, Open-ILS/src/templates/default/actor/user/trigger_events.tt2, Open-ILS/src/templates/default/base.tt2, Open-ILS/src/templates/default/booking/capture.tt2, Open-ILS/src/templates/default/booking/pickup.tt2, Open-ILS/src/templates/default/booking/pull_list.tt2, Open-ILS/src/templates/default/booking/reservation.tt2, Open-ILS/src/templates/default/booking/return.tt2, Open-ILS/src/templates/default/cat/authority/list.tt2, Open-ILS/src/templates/default/circ/selfcheck/audio_config.tt2, Open-ILS/src/templates/default/circ/selfcheck/banner.tt2, Open-ILS/src/templates/default/circ/selfcheck/circ_page.tt2, Open-ILS/src/templates/default/circ/selfcheck/fines.tt2, Open-ILS/src/templates/default/circ/selfcheck/holds_page.tt2, Open-ILS/src/templates/default/circ/selfcheck/main.tt2, Open-ILS/src/templates/default/circ/selfcheck/patron_login.tt2, Open-ILS/src/templates/default/circ/selfcheck/payment.tt2, Open-ILS/src/templates/default/circ/selfcheck/summary.tt2, Open-ILS/src/templates/default/conify/global/acq/cancel_reason.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_event_type.t t2, Open-ILS/src/templates/default/conify/global/acq/claim_policy.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_policy_actio n.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_type.tt2, Open-ILS/src/templates/default/conify/global/acq/distribution_formu la.tt2, Open-ILS/src/templates/default/conify/global/acq/edi_account.tt2, Open-ILS/src/templates/default/conify/global/acq/exchange_rate.tt2, Open-ILS/src/templates/default/conify/global/acq/fund_tag.tt2, Open-ILS/src/templates/default/conify/global/acq/invoice_item_type. tt2, Open-ILS/src/templates/default/conify/global/acq/invoice_payment_me thod.tt2, Open-ILS/src/templates/default/conify/global/acq/lineitem_alert.tt2 , Open-ILS/src/templates/default/conify/global/acq/lineitem_marc_attr _def.tt2, Open-ILS/src/templates/default/conify/global/acq/provider.tt2, Open-ILS/src/templates/default/conify/global/action/survey.tt2, Open-ILS/src/templates/default/conify/global/action/survey/edit.tt2 , Open-ILS/src/templates/default/conify/global/action_trigger/event_d efinition.tt2, Open-ILS/src/templates/default/conify/global/action_trigger/event_d efinition_data.tt2, Open-ILS/src/templates/default/conify/global/asset/copy_location_or der.tt2, Open-ILS/src/templates/default/conify/global/asset/copy_template.tt 2, Open-ILS/src/templates/default/conify/global/biblio/monograph_part. tt2, Open-ILS/src/templates/default/conify/global/booking/resource.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr. tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr_ map.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr_ value.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_type. tt2, Open-ILS/src/templates/default/conify/global/cat/authority/browse_a xis.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/browse_a xis_authority_field_map.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set_authority_field.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set_bib_field.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/thesauru s.tt2, Open-ILS/src/templates/default/conify/global/config/acn_prefix.tt2, Open-ILS/src/templates/default/conify/global/config/acn_suffix.tt2, Open-ILS/src/templates/default/conify/global/config/actor_sip_field s.tt2, Open-ILS/src/templates/default/conify/global/config/asset_sip_field s.tt2, Open-ILS/src/templates/default/conify/global/config/barcode_complet ion.tt2, Open-ILS/src/templates/default/conify/global/config/billing_type.tt 2, Open-ILS/src/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/src/templates/default/conify/global/config/circ_matrix_wei ghts.tt2, Open-ILS/src/templates/default/conify/global/config/circ_modifier.t t2, Open-ILS/src/templates/default/conify/global/config/coded_value_map .tt2, Open-ILS/src/templates/default/conify/global/config/global_flag.tt2 , Open-ILS/src/templates/default/conify/global/config/hard_due_date.t t2, Open-ILS/src/templates/default/conify/global/config/hard_due_date_v alues.tt2, Open-ILS/src/templates/default/conify/global/config/hold_matrix_mat chpoint.tt2, Open-ILS/src/templates/default/conify/global/config/hold_matrix_wei ghts.tt2, Open-ILS/src/templates/default/conify/global/config/idl_field_doc.t t2, Open-ILS/src/templates/default/conify/global/config/metabib_field.t t2, Open-ILS/src/templates/default/conify/global/config/org_unit_settin g_type.tt2, Open-ILS/src/templates/default/conify/global/config/record_attr_def inition.tt2, Open-ILS/src/templates/default/conify/global/config/rule_age_hold_p rotect.tt2, Open-ILS/src/templates/default/conify/global/config/rule_circ_durat ion.tt2, Open-ILS/src/templates/default/conify/global/config/rule_max_fine.t t2, Open-ILS/src/templates/default/conify/global/config/rule_recurring_ fine.tt2, Open-ILS/src/templates/default/conify/global/config/standing_penalt y.tt2, Open-ILS/src/templates/default/conify/global/config/usr_setting_typ e.tt2, Open-ILS/src/templates/default/conify/global/config/weight_assoc.tt 2, Open-ILS/src/templates/default/conify/global/config/z3950_source.tt 2, Open-ILS/src/templates/default/conify/global/permission/grp_penalty _threshold.tt2, Open-ILS/src/templates/default/conify/global/vandelay/match_set.tt2 , Open-ILS/src/templates/default/conify/global/vandelay/match_set_tre e.tt2, Open-ILS/src/templates/default/footer.tt2, Open-ILS/src/templates/default/header.tt2, Open-ILS/src/templates/default/menu.tt2, Open-ILS/src/templates/default/opac/advanced.tt2, Open-ILS/src/templates/default/opac/cnbrowse.tt2, Open-ILS/src/templates/default/opac/home.tt2, Open-ILS/src/templates/default/opac/login.tt2, Open-ILS/src/templates/default/opac/mylist.tt2, Open-ILS/src/templates/default/opac/myopac/circ_history.tt2, Open-ILS/src/templates/default/opac/myopac/circs.tt2, Open-ILS/src/templates/default/opac/myopac/hold_history.tt2, Open-ILS/src/templates/default/opac/myopac/holds.tt2, Open-ILS/src/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/default/opac/myopac/lists.tt2, Open-ILS/src/templates/default/opac/myopac/main.tt2, Open-ILS/src/templates/default/opac/myopac/main_pay.tt2, Open-ILS/src/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/src/templates/default/opac/myopac/main_payments.tt2, Open-ILS/src/templates/default/opac/myopac/prefs.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_print.tt2, Open-ILS/src/templates/default/opac/myopac/update_email.tt2, Open-ILS/src/templates/default/opac/myopac/update_password.tt2, Open-ILS/src/templates/default/opac/myopac/update_username.tt2, Open-ILS/src/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/src/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/default/opac/parts/advanced/search.tt2, Open-ILS/src/templates/default/opac/parts/anon_list.tt2, Open-ILS/src/templates/default/opac/parts/base.tt2, Open-ILS/src/templates/default/opac/parts/chilifresh.tt2, Open-ILS/src/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/src/templates/default/opac/parts/config.tt2, Open-ILS/src/templates/default/opac/parts/filtersort.tt2, Open-ILS/src/templates/default/opac/parts/footer.tt2, Open-ILS/src/templates/default/opac/parts/header.tt2, Open-ILS/src/templates/default/opac/parts/hold_error_messages.tt2, Open-ILS/src/templates/default/opac/parts/homesearch.tt2, Open-ILS/src/templates/default/opac/parts/js.tt2, Open-ILS/src/templates/default/opac/parts/login/form.tt2, Open-ILS/src/templates/default/opac/parts/login/help.tt2, Open-ILS/src/templates/default/opac/parts/login/password_hint.tt2, Open-ILS/src/templates/default/opac/parts/misc_util.tt2, Open-ILS/src/templates/default/opac/parts/myopac/base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/main_refund_policy .tt2, Open-ILS/src/templates/default/opac/parts/myopac/prefs_base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/prefs_hints.tt2, Open-ILS/src/templates/default/opac/parts/org_selector.tt2, Open-ILS/src/templates/default/opac/parts/place_hold.tt2, Open-ILS/src/templates/default/opac/parts/place_hold_result.tt2, Open-ILS/src/templates/default/opac/parts/printnav.tt2, Open-ILS/src/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/src/templates/default/opac/parts/record/authors.tt2, Open-ILS/src/templates/default/opac/parts/record/awards.tt2, Open-ILS/src/templates/default/opac/parts/record/body.tt2, Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/src/templates/default/opac/parts/record/extras.tt2, Open-ILS/src/templates/default/opac/parts/record/issues.tt2, Open-ILS/src/templates/default/opac/parts/record/refworks.tt2, Open-ILS/src/templates/default/opac/parts/record/series.tt2, Open-ILS/src/templates/default/opac/parts/record/subjects.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/src/templates/default/opac/parts/record/summaryplus.tt2, Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/default/opac/parts/result/lowhits_purchase.t t2, Open-ILS/src/templates/default/opac/parts/result/paginate.tt2, Open-ILS/src/templates/default/opac/parts/result/table.tt2, Open-ILS/src/templates/default/opac/parts/searchbar.tt2, Open-ILS/src/templates/default/opac/parts/tips.tt2, Open-ILS/src/templates/default/opac/parts/topnav.tt2, Open-ILS/src/templates/default/opac/parts/topnav_links.tt2, Open-ILS/src/templates/default/opac/parts/topnav_logo.tt2, Open-ILS/src/templates/default/opac/place_hold.tt2, Open-ILS/src/templates/default/opac/record.tt2, Open-ILS/src/templates/default/opac/results.tt2, Open-ILS/src/templates/default/serial/list_item.tt2, Open-ILS/src/templates/default/serial/list_stream.tt2, Open-ILS/src/templates/default/serial/list_subscription.tt2, Open-ILS/src/templates/default/serial/print_routing_list_users.tt2, Open-ILS/src/templates/default/serial/subscription.tt2, Open-ILS/src/templates/default/serial/subscription/caption_and_patt ern.tt2, Open-ILS/src/templates/default/serial/subscription/distribution.tt2 , Open-ILS/src/templates/default/serial/subscription/issuance.tt2, Open-ILS/src/templates/default/vandelay/inc/attrs.tt2, Open-ILS/src/templates/default/vandelay/inc/export.tt2, Open-ILS/src/templates/default/vandelay/inc/import_errors.tt2, Open-ILS/src/templates/default/vandelay/inc/item_attrs.tt2, Open-ILS/src/templates/default/vandelay/inc/marchtml.tt2, Open-ILS/src/templates/default/vandelay/inc/matches.tt2, Open-ILS/src/templates/default/vandelay/inc/profiles.tt2, Open-ILS/src/templates/default/vandelay/inc/progress.tt2, Open-ILS/src/templates/default/vandelay/inc/queue.tt2, Open-ILS/src/templates/default/vandelay/inc/queueselect.tt2, Open-ILS/src/templates/default/vandelay/inc/toolbar.tt2, Open-ILS/src/templates/default/vandelay/inc/upload.tt2, Open-ILS/src/templates/default/vandelay/vandelay.tt2, Open-ILS/src/templates/footer.tt2, Open-ILS/src/templates/header.tt2, Open-ILS/src/templates/menu.tt2, Open-ILS/src/templates/opac/advanced.tt2, Open-ILS/src/templates/opac/cnbrowse.tt2, Open-ILS/src/templates/opac/home.tt2, Open-ILS/src/templates/opac/login.tt2, Open-ILS/src/templates/opac/mylist.tt2, Open-ILS/src/templates/opac/myopac/circ_history.tt2, Open-ILS/src/templates/opac/myopac/circs.tt2, Open-ILS/src/templates/opac/myopac/hold_history.tt2, Open-ILS/src/templates/opac/myopac/holds.tt2, Open-ILS/src/templates/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/opac/myopac/lists.tt2, Open-ILS/src/templates/opac/myopac/main.tt2, Open-ILS/src/templates/opac/myopac/main_pay.tt2, Open-ILS/src/templates/opac/myopac/main_payment_form.tt2, Open-ILS/src/templates/opac/myopac/main_payments.tt2, Open-ILS/src/templates/opac/myopac/prefs.tt2, Open-ILS/src/templates/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/opac/myopac/receipt_email.tt2, Open-ILS/src/templates/opac/myopac/receipt_print.tt2, Open-ILS/src/templates/opac/myopac/update_email.tt2, Open-ILS/src/templates/opac/myopac/update_password.tt2, Open-ILS/src/templates/opac/myopac/update_username.tt2, Open-ILS/src/templates/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/opac/parts/advanced/global_row.tt2, Open-ILS/src/templates/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/opac/parts/advanced/search.tt2, Open-ILS/src/templates/opac/parts/anon_list.tt2, Open-ILS/src/templates/opac/parts/base.tt2, Open-ILS/src/templates/opac/parts/chilifresh.tt2, Open-ILS/src/templates/opac/parts/coded_value_selector.tt2, Open-ILS/src/templates/opac/parts/config.tt2, Open-ILS/src/templates/opac/parts/filtersort.tt2, Open-ILS/src/templates/opac/parts/footer.tt2, Open-ILS/src/templates/opac/parts/header.tt2, Open-ILS/src/templates/opac/parts/hold_error_messages.tt2, Open-ILS/src/templates/opac/parts/homesearch.tt2, Open-ILS/src/templates/opac/parts/js.tt2, Open-ILS/src/templates/opac/parts/login/form.tt2, Open-ILS/src/templates/opac/parts/login/help.tt2, Open-ILS/src/templates/opac/parts/login/password_hint.tt2, Open-ILS/src/templates/opac/parts/misc_util.tt2, Open-ILS/src/templates/opac/parts/myopac/base.tt2, Open-ILS/src/templates/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/opac/parts/myopac/main_refund_policy.tt2, Open-ILS/src/templates/opac/parts/myopac/prefs_base.tt2, Open-ILS/src/templates/opac/parts/myopac/prefs_hints.tt2, Open-ILS/src/templates/opac/parts/org_selector.tt2, Open-ILS/src/templates/opac/parts/place_hold.tt2, Open-ILS/src/templates/opac/parts/place_hold_result.tt2, Open-ILS/src/templates/opac/parts/printnav.tt2, Open-ILS/src/templates/opac/parts/qtype_selector.tt2, Open-ILS/src/templates/opac/parts/record/authors.tt2, Open-ILS/src/templates/opac/parts/record/awards.tt2, Open-ILS/src/templates/opac/parts/record/body.tt2, Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2, Open-ILS/src/templates/opac/parts/record/extras.tt2, Open-ILS/src/templates/opac/parts/record/issues.tt2, Open-ILS/src/templates/opac/parts/record/refworks.tt2, Open-ILS/src/templates/opac/parts/record/series.tt2, Open-ILS/src/templates/opac/parts/record/subjects.tt2, Open-ILS/src/templates/opac/parts/record/summary.tt2, Open-ILS/src/templates/opac/parts/record/summaryplus.tt2, Open-ILS/src/templates/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/opac/parts/result/lowhits_purchase.tt2, Open-ILS/src/templates/opac/parts/result/paginate.tt2, Open-ILS/src/templates/opac/parts/result/table.tt2, Open-ILS/src/templates/opac/parts/searchbar.tt2, Open-ILS/src/templates/opac/parts/tips.tt2, Open-ILS/src/templates/opac/parts/topnav.tt2, Open-ILS/src/templates/opac/parts/topnav_links.tt2, Open-ILS/src/templates/opac/parts/topnav_logo.tt2, Open-ILS/src/templates/opac/place_hold.tt2, Open-ILS/src/templates/opac/record.tt2, Open-ILS/src/templates/opac/results.tt2, Open-ILS/src/templates/serial/list_item.tt2, Open-ILS/src/templates/serial/list_stream.tt2, Open-ILS/src/templates/serial/list_subscription.tt2, Open-ILS/src/templates/serial/print_routing_list_users.tt2, Open-ILS/src/templates/serial/subscription.tt2, Open-ILS/src/templates/serial/subscription/caption_and_pattern.tt2, Open-ILS/src/templates/serial/subscription/distribution.tt2, Open-ILS/src/templates/serial/subscription/issuance.tt2, Open-ILS/src/templates/vandelay/inc/attrs.tt2, Open-ILS/src/templates/vandelay/inc/export.tt2, Open-ILS/src/templates/vandelay/inc/import_errors.tt2, Open-ILS/src/templates/vandelay/inc/item_attrs.tt2, Open-ILS/src/templates/vandelay/inc/marchtml.tt2, Open-ILS/src/templates/vandelay/inc/matches.tt2, Open-ILS/src/templates/vandelay/inc/profiles.tt2, Open-ILS/src/templates/vandelay/inc/progress.tt2, Open-ILS/src/templates/vandelay/inc/queue.tt2, Open-ILS/src/templates/vandelay/inc/queueselect.tt2, Open-ILS/src/templates/vandelay/inc/toolbar.tt2, Open-ILS/src/templates/vandelay/inc/upload.tt2, Open-ILS/src/templates/vandelay/vandelay.tt2: Remove /default/ from template paths The original goal of having a /default/ component to the template path was to support alternate skins. However, Template Toolkit supports alternate skins through a more elegant mechanism of providing template overlays via template path configuration. In other words, skin files will be differentiated by the location of their root path and not because they live in a different skin directory inside the main template root. Because of this, the /default/ component in the template path serves no purpose and generally just gets in the way. As a part of this, EGWeb.pm no longer inserts the skin name into the template file path. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-09-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/strings/ex.ttk, Open-ILS/src/templates/strings/perm.ttk: Removed (very) old, unused template files Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/src/templates/default/opac/parts/record/extras.tt2, Open-ILS/src/templates/default/opac/parts/record/issues.tt2, Open-ILS/src/templates/default/opac/parts/record/series.tt2, Open-ILS/src/templates/default/opac/parts/record/subjects.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css: TPac: more cleanup of unused IDs and files Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/default/opac/parts/record/authors.tt2, Open-ILS/src/templates/default/opac/parts/record/awards.tt2: Tpac: more unused ID cleanup; parts/record Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-31 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/upgrade/0613.schema.vandelay_isxn_normalization .sql: Address LP#837517, Vandelay ISxN matching Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-31 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0612.schema.authority_overlay_protectio n.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.authority_overlay_protectio n.sql: Add the forgotten script-numbering to previous commit (db756e623a9) Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-30 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.authority_overlay_protectio n.sql: Address LP#837522, bib-killing authority overlay generation bug Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/default/opac/parts/advanced/search.tt2: Tpac: removed unused code and IDs in advanced search parts Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * : 20 0 Open-ILS/web/js/dojo/openils/AuthorityControlSet.js 11 6 Open-ILS/web/opac/skin/default/js/authbrowse.js 13 1 Open-ILS/xul/staff_client/server/cat/marcedit.js 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/templates/default/opac/myopac/prefs.tt2: Tpac: Support for adding/editing pending addresses Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/misc_util.tt2: Tpac: show hold/copy count summary in holds status Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/myopac/holds.tt2: TPac: apply the select-all JS to holds list Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/config.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2: Tpac: config option for record detail jacket size Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0611.data.magic_macros.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.magic_macros.sql: pin upgrade version number for magic macros Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-23 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/list.js: Expose sort values from lists Specifically useful for things like receipt templates. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-23 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.magic_macros.sql: Five initial OU settings for %INCLUDE()% use header_text footer_text notice_text alert_text event_text None are really restricted to a specific purpose. Names are more of a hint than a requirement. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-21 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Receipt Macros: %INCLUDE()% Takes a single parameter: The name of the include. Each include is an OU setting: circ.staff_client.receipt.<name> The includes are done as the first substitution. This has the benefit of allowing other substitutions within them (including additional calls to %INCLUDE()%) and the downside of not allowing dynamic includes. Because an include can contain includes the code keeps track of all includes already done, skipping those already included. This prevents infinite loops when A includes B and B includes A, or longer variants thereof. Primary intended use would be for libraries to place frequently changed notices and such in their templates. Instead of having to edit every template on every workstation they use the %INCLUDE()% macro and edit the org unit settings. At the next login the updated text appears on every workstation. Due to the includes being processed first a library could use them to centrally administer templates by using an include for each piece of each template. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-19 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Receipt Macros: %SORT()% Added to line item templates. Takes one or more comma separated parameters: field AS type ASC/DESC AS type is optional ASC/DESC is optional Field is the field name without % signs. Type is DATE, INT, FLOAT, NUMBER, LOWER, or UPPER DATE will sort based on wrapping both sides in "new Date" INT will sort based on wrapping both sides in parseInt FLOAT and NUMBER will sort based on wrapping both sides in parseFloat LOWER will apply .toLowerCase to both sides UPPER will apply .toUpperCase to both sides ASC (default) will sort in ascending order. DESC will sort in descending order. Can be specified more than once: %SORT(a,b)% %SORT(c)% Would sort by a, then b, then c. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-30 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkout.pm: Add SIP2 chargeable loan support. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Michael Peters <mrpeters@library.in.gov> * 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 <mrpeters@library.in.gov> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-25 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/main/main.xul: Add IDs to offline import/export buttons Ensures that the import one, at least, can be found and disabled when pending transactions exist. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-22 Atom Edoceo <atom@helium.edoceo.lan> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/main.js, Open-ILS/xul/staff_client/chrome/content/main/main.xul: Add a new visible alert to the main client screen alerting about pending transactions Signed-off-by: Edoceo <code@edoceo.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0610.data.acq-copy-creator-from-receive r.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq-copy-creator-from-receive r.sql: Stamped upgrade script for acq-copy-creator-from-receiver Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq-copy-creator-from-receive r.sql: Option to set copy creator value to ACQ receiver YAOUS to support updating the asset.copy.creator value to match the staff user that marked the ACQ-copy (acq.lineitem_detail) as received. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0609.schema.acq-lineitem-detail-receive r.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-lineitem-detail-receive r.sql: Stamped upgrade script for acq-lineitem-detail-receiver Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/templates/default/acq/common/li_table.tt2: Show copy receiver in ACQ copy grid Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-lineitem-detail-receive r.sql: Column to track ACQ copy (lineitem_detail) receiver Creates acq.lineitem_detail.receiver column, set to the staff that marked the copy as received. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-24 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-24 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Use unphrases in SQL generation Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-24 Mike Rylander <mrylander@gmail.com> * 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 <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-23 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Ignore empty atoms in query decomposition Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-23 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/lineitem/related.js, Open-ILS/web/templates/default/acq/lineitem/related.tt2: Add to existing PO (by ID) from related items page In the View/Place orders page for a bib record, it's now possible to add a lineitem representing the bib record to an existing purchase order. Includes a new general API call for adding a LI to a PO. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-23 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js: Support labelFormat for read-only AutoFieldWidget's Previously only worked with edit widgets (e.g. drop-downs). This also takes into account the fact that different instances of AutoFieldWidget for the same class and value may have different labelFormat's One user-visible result of this change is the ACQ read-only fund display in purchase orders. Funds will now show the code and year for funds in the copy grid before and after the data is rendered read-only. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/xul/staff_client/server/patron/bill2.js: Branchify patch from Steven Chan on LP bug #821640. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-06-23 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/oils_ctl.sh: Really stop the z39.50 daemon when a client is connected. Send a SIGTERM instead of SIGINT from do_action when the action is stop in oils_ctl.sh. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-22 Dan Scott <dan@coffeecode.net> * Open-ILS/examples/oils_z3950.xml.example: Enhance sample Z39.50 config file Make "expose holdings" the default; use specific indexes for ISBN and ISSN; show how to scope results to a part of the org tree; and show that multiple database configs can be specified in the same file. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-10 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/oils_ctl.sh, Open-ILS/examples/oils_yaz.xml.example, Open-ILS/examples/oils_z3950.xml.example, Open-ILS/src/Makefile.am: Make some oils_ctl.sh improvements. Add start|stop|restart commands for z39.50 to oils_ctl.sh. Use LOCALSTATEDIR and SYSCONFDIR configuration variables in oils_ctl.sh. Modify the existing SIP2 commands in oils_ctl.sh to use these configuration variables. Modify src/Makefile.am to replace LOCALSTATEDIR and SYSCONFDIR variables in oils_ctl.sh when installing. Add example/default xml configurations for z39.50: Open-ILS/examples/oils_yaz.xml.example Open-ILS/examples/oils_z3950.xml.example Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-07-03 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Menu item for "portal" To return a tab to "new" state without close/reopen Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-03 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/index.xhtml: Make portal name its tab. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-23 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0608.data.vandelay-export-error-match-i nfo.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-export-error-match-i nfo.sql: Stamped upgrade script for LP#825245 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-export-error-match-i nfo.sql: Vandelay: added some info to print/csv bib output Added bib match count, import error, and error detail to print and CSV queued record export. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: show record match counts in record queue UI Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-23 Mike Rylander <mrylander@gmail.com> * 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: master-stamped upgrade script for LP#816131 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-22 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-11 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.oua_force_order.sql: Unwrapped upgrade script for oua_force_order Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-11 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-11 Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> * 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 <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-06 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/templates/default/conify/global/booking/resource.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr. tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr_ map.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr_ value.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_type. tt2: Adds org unit selectors to Admin -> Server Admin -> Booking menu items, also modifies the IDL to give context-field based pcrud perms instead of 'require global' This makes the booking module more org-unit scopable Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-19 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Fix "Retarget Local Holds" for non-holdable copies Specificially: Wrap holdable check in is_true Add check for current copy status holdable Add check for current copy location holdable The latter stores the fetched location for later use. The one later use I found updated to check if the location is a reference. The update copy code already checks if location is a reference and deals with it properly. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/queue.tt2, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: Vandelay: Insufficient Quality Fall-Thru Merge Profile When a user selects "Merge On Single Match" or "Merge On Best Match" and apply a minimum quality ratio, the fall-through profile will be used in a secondary merge attempt for any records that fail the initial merge due to insufficient record quality. This allows the user to choose 2 different outcomes based on record quality. For example, you may wish to do a full overlay for all high-quality records, but only extract subjects or other information from lower quality records. This also allows users to do record+copy imports for high-quality records and copy-only imports for low quality records (using a no-op merge profile like "replace 901c"). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/extras/Makefile.install: Branchify patch from LP bug #802523. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-23 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/place_hold_result.tt2: UI cleanup for batch-holds from lists * Handle hold placement override with a single form and checkboxes instead of a series individual forms * Added a cancel button on the override page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/js/ui/default/opac/simple.js, Open-ILS/web/templates/default/opac/results.tt2: Make the sort-by and limit-to-available controls appear after adv search This is hackish and suboptimal until we leverage the parsed queries soon to be returned by QP. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-22 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0606.schema.czs_use_perm_column.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.czs_use_perm_column.sql: stamp an upgrade version for the czs use_perm feature Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-22 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/800.fkeys.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.czs_use_perm_column.sql: use_perm column for config.z3950_source The idea is that if a permission code is specified for a given source, then staff will need that permission to use that source in the staff client z39.50 interface. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/place_hold_result.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2: TPac: batch holds from on-the-fly lists and bookbags * Enable the 'Place Hold' action in the drop-down for bookbag and on-the-fly list items * Place hold form now support lists of targets and will report error conditions for each target * Batch and individual hold overrides supported where appropriate Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-19 Jason Etheridge <jason@esilibrary.com> * 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 <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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 <option> elements in Internet Explorer 8. Use the disabled attribute. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-20 Dan Scott <dan@coffeecode.net> * Open-ILS/src/Makefile.am: Remove cache-generator.sh from Makefile.am In a previous commit, we removed cache-generator.sh. Now we remove the remaining reference to it in the Makefile.am that was generating an error (reported by Ben Webb). Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-08-19 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/myopac/main_refund_policy .tt2: T-PAC: Localize payment refund policy message The policy in all likelihood will differ from library to library anyway, but we might as well ensure that it can be translated. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-19 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/chilifresh.tt2, Open-ILS/src/templates/default/opac/parts/config.tt2, Open-ILS/src/templates/default/opac/parts/js.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/src/templates/default/opac/parts/result/table.tt2: Disable Google Analytics in T-PAC by default The option to enable Google Analytics has been turned into a config setting in parts/config.tt2 for now, with a place to set the GA account code. Also, get consistent with foo.enabled instead of a mix of foo.enable / foo.enabled in config.tt2. Also, be a bit more careful about whitespace and hide comments in the HTML source about things that are disabled (such as ChiliFresh and Google Analytics) until they are enabled. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: repair item attr context org selector 1. Prevents resetting the context selector to the workstation org unit each time it's changed. 2. Prevent the unintentional pileup of dojo.connect() events, which can lead to exponential growth in the number of server calls to fetch import-item-attribute-definitions with each change of the context org selector. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-02 Ben Shum <bshum@biblio.org> * Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm: #LP801961, error when running edi_fetcher.pl This patch addresses an error encountered when running edi_fetcher.pl. The method "is_dir" should be just plain "dir" in RemoteAccount.pm file. Signed-off-by: Ben Shum <bshum@biblio.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: Branchify second patch from James Fournie on LP bug #791941. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js: Branchify the first patch from James Fournie on LP bug #791941. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Robert Soulliere <robert.soulliere@mohawkcollege.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Branchify patch from LP bug #809478 and forward port to master. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Tpac: fetch bib record piles non-atomicly to avoid large messages Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Tpac: fetch bib record piles non-atomicly to avoid large messages Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Tpac: stream bookbag entry retrieval to reduce msg size Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Tpac: stream bookbag entry retrieval to reduce msg size Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-16 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/0605.schema.lp826844_org_unit_parent_pr otect_fix.sql: Stricter order for actor.org_unit_parent_protect() actor.org_unit_parent_protect() may not work due to the fact that 'IF' conditions in PL/pgSQL are not necessarily processed in the order written. This line: "IF TG_OP = 'INSERT' OR NEW.parent_ou IS DISTINCT FROM OLD.parent_ou THEN" may fail because the 'IS DISTINCT FROM' happens before the 'INSERT' check, and and that fails because there is no 'OLD' variable for INSERTs. This commit may not be the optimal style for this circumstance in this language, but it works. It also appears to change more than it really does due to a loss of one level of indentation in the structure. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-16 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/005.schema.actors.sql: Whitespace Only Changes Files uses primarily tabs, function used both spaces and tabs. It now uses all tabs. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-18 Dan Scott <dan@coffeecode.net> * 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 <dscott@laurentian.ca> 2011-08-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/myopac/holds.tt2, Open-ILS/web/css/skin/default/opac/style.css: Tpac: style inactive holds w/ grey bground Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/holds.tt2: Tpac: style inactive holds w/ grey bground Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-18 Thomas Berezansky <tsbere@mvlc.org> * 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 <tsbere@mvlc.org> 2011-08-18 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/footer.tt2, Open-ILS/web/opac/skin/default/xml/footer.xml: T-PAC: Point the Basic Catalog link to the T-PAC Now that the T-PAC provides the base functionality (and more!) required by the HTML-only basic catalog, but in a more extensible / skinnable fashion, replace the link from the JSPAC to the Basic Catalog with a link to the T-PAC - and add a reciprocal link from the T-PAC back to the JSPAC, in case anybody wants to go that route. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-18 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/record/summary.tt2: TPAC: Remove one more KCLS reference KCLS probably doesn't want us to link to their libraries from every Evergreen instance... Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-15 Dan Scott <dan@coffeecode.net> * 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 <dscott@laurentian.ca> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-15 Dan Scott <dan@coffeecode.net> * 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 <dscott@laurentian.ca> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-15 Dan Scott <dan@coffeecode.net> * 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 <dscott@laurentian.ca> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/searchbar.tt2: Tpac: repaired propagator casulaty; using mkurl instead Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: TPAC: Strip the "page" GET param from author searches mkurl() generates a URL that, by default, retains all of the parameters that the currnt query string includes - useful for retaining library search scope, etc. However, searches for authors that are launched by clicking on the author's name in the search results page / record details were failing in many cases because the "page" parameter came along with it - and if there weren't five pages of results for page=5, for example, then no hits would be shown. This commit removes the page param from the URL. In other places, all of the params are stripped (see cnbrowse) but as I assume we want to retain search scope and potentially other parameters, we'll start with the smallest possible change. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/results.tt2: Mark a string for i18n support in the TPAC Even alt strings deserve translation support... Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2, Open-ILS/web/templates/default/opac/myopac/update_username.tt2: Escape TPAC "myopac" output to protect against XSS attacks We're using the Template::Toolkit html and uri filters to ensure that the usual suspects are escaped at output time to prevent trivial XSS attacks. berick: did some merge cleanup Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: Assume username, not barcode, in TPAC login In the absence of a barcode regex OU setting (opac.barcode_regex), the TPAC was assuming that the entered value was a barcode. However, the default JSPAC assumption was that the entered value was a username. This commit makes the TPAC continue to function with the same assumptions as the default JSPAC in the absence of a barcode regex OU setting. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/src/templates/default/opac/parts/result/table.tt2: TPAC: Strip the "page" GET param from author searches mkurl() generates a URL that, by default, retains all of the parameters that the currnt query string includes - useful for retaining library search scope, etc. However, searches for authors that are launched by clicking on the author's name in the search results page / record details were failing in many cases because the "page" parameter came along with it - and if there weren't five pages of results for page=5, for example, then no hits would be shown. This commit removes the page param from the URL. In other places, all of the params are stripped (see cnbrowse) but as I assume we want to retain search scope and potentially other parameters, we'll start with the smallest possible change. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/record/summary.tt2: TPac: Removed errant 'html' almost-filter Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/record/authors.tt2, Open-ILS/src/templates/default/opac/parts/record/awards.tt2, Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/src/templates/default/opac/parts/record/issues.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/src/templates/default/opac/parts/record/summaryplus.tt2: Tpac: more html output sanitizing Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TPac: Removed errant 'html' almost-filter Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/authors.tt2, Open-ILS/web/templates/default/opac/parts/record/awards.tt2, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/record/issues.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2: Tpac: more html output sanitizing Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/results.tt2: Mark a string for i18n support in the TPAC Even alt strings deserve translation support... Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/default/opac/parts/result/table.tt2: Tpac: more html output scrubbing Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Tpac: more html output scrubbing Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/myopac/circ_history.tt2, Open-ILS/src/templates/default/opac/myopac/circs.tt2, Open-ILS/src/templates/default/opac/myopac/hold_history.tt2, Open-ILS/src/templates/default/opac/myopac/holds.tt2, Open-ILS/src/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/default/opac/myopac/lists.tt2, Open-ILS/src/templates/default/opac/myopac/main.tt2, Open-ILS/src/templates/default/opac/myopac/main_pay.tt2, Open-ILS/src/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/src/templates/default/opac/myopac/main_payments.tt2, Open-ILS/src/templates/default/opac/myopac/prefs.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_print.tt2, Open-ILS/src/templates/default/opac/myopac/update_email.tt2, Open-ILS/src/templates/default/opac/myopac/update_username.tt2: Escape TPAC "myopac" output to protect against XSS attacks We're using the Template::Toolkit html and uri filters to ensure that the usual suspects are escaped at output time to prevent trivial XSS attacks. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/anon_list.tt2, Open-ILS/src/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/src/templates/default/opac/parts/org_selector.tt2, Open-ILS/src/templates/default/opac/parts/place_hold.tt2, Open-ILS/src/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/src/templates/default/opac/parts/topnav.tt2, Open-ILS/src/templates/default/opac/results.tt2: TPac: more aggressive dynamic output filtering Making heavier user of html/uri filters to prevent accidental or malicious rendering of html from dynamic data. More to follow. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/anon_list.tt2, Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/web/templates/default/opac/parts/org_selector.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/results.tt2: TPac: more aggressive dynamic output filtering Making heavier user of html/uri filters to prevent accidental or malicious rendering of html from dynamic data. More to follow. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: Assume username, not barcode, in TPAC login In the absence of a barcode regex OU setting (opac.barcode_regex), the TPAC was assuming that the entered value was a barcode. However, the default JSPAC assumption was that the entered value was a username. This commit makes the TPAC continue to function with the same assumptions as the default JSPAC in the absence of a barcode regex OU setting. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-17 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: don't clear item import profile when creating new queue This avoids the problem of: enter import-profile in the UI => enter name for new queue => profile is cleared. Import profile is still cleared/set when an existing queue is selected, since existing queues already have an item import profile set. Part II of 90a7bde48a6ef5f7be73375612b5db88f8b31c95 Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-16 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/misc_util.tt2, Open-ILS/src/templates/default/opac/parts/result/table.tt2: Address ISBN issues in T-PAC A few problems fixed here: * Refer to args.isbns (plural) consistently; at times we were referring to args.isbn which did not exist * Grab the textContent of the SFX ISBN node rather than the raw XML::LibXML Element * Use an assignment operation when regex'ing the SFX ISBN, as the in-place was interpreted as a "print me" stmt and displaying the raw SFX ISBN. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-16 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/default/opac/parts/result/table.tt2: T-PAC: Do not display a call number if we don't have one Electronic records might not have a call number, so don't try to display one if there isn't one (in search results). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/misc_util.tt2: TTPac: another merge casulty -> title_extended attribute Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-16 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates_kcls/default/opac/myopac/main_refund_policy. tt2, Open-ILS/src/templates_kcls/default/opac/parts/footer.tt2, Open-ILS/src/templates_kcls/default/opac/parts/homesearch.tt2, Open-ILS/src/templates_kcls/default/opac/parts/login/help.tt2, Open-ILS/src/templates_kcls/default/opac/parts/myopac/prefs_hints.t t2, Open-ILS/src/templates_kcls/default/opac/parts/printnav.tt2, Open-ILS/src/templates_kcls/default/opac/parts/result/lowhits_purch ase.tt2, Open-ILS/src/templates_kcls/default/opac/parts/topnav_links.tt2, Open-ILS/src/templates_kcls/default/opac/parts/topnav_logo.tt2: Delete templates_kcls from core The KCLS templates, while a useful demonstration of how to skin the T-PAC, should be maintained outside of the core repository as they contain branding elements, etc, that are specific to KCLS. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/opac/parts/record/series.tt2, Open-ILS/src/templates/default/opac/parts/result/paginate.tt2, Open-ILS/web/templates/default/opac/parts/record/series.tt2, Open-ILS/web/templates/default/opac/parts/result/paginate.tt2: TTPac: move some templates into the right place Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-16 Dan Scott <dan@coffeecode.net> * Open-ILS/src/python/Makefile.am: LP 799719: Pass the DESTDIR variable to python installer Based on Ben Webb's patch, but using the same triple-slash to avoid any possibility of confusion about the installation location (see also the same adjustment made to OpenSRF). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-08-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0602.schema.lp790329_opac_copy_count.sq l: Opps ... use the correct number Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0603.schema.lp790329_opac_lasso_counts. sql, Open-ILS/src/sql/Pg/upgrade/0604.schema.lp790329_staff_opac_lasso_c ounts.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lp790329_opac_lasso_counts.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lp790329_staff_opac_lasso_counts.s ql: Stamped upgrade scripts for LP#790329 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-28 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lp790329_opac_lasso_counts.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lp790329_staff_opac_lasso_counts.s ql, Open-ILS/web/opac/skin/default/js/result_common.js: LP#790329 org_lasso search is broken Fix the JavaScript error when we attempt to create a feed for the shortname of the org_unit_lasso (lassos have no shortname) - which lets the request hit the backend Perl module, which in turn chokes on a test for OU that only allows two conditions: either all digits is treated as a numeric ID for an org unit, or it is a shortname. Of course, lassos are negative integers, so we have to modify the test slightly to make it happier. There was no depth for org lasso copy counts, and this was handled correctly in the main case by the asset.opac_lasso_record_copy_count() function and its staff variant, but when a copy was not found at a given org_unit in the lasso a request was made for the non-existent depth and the function would error out. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0602.schema.lp790329_opac_copy_count.sq l: Placeholder for 2.0-only LP#790329 fix Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: Vandelay: don't clear match-set when creating new queue This avoids the problem of: enter match set in the UI => enter name for new queue => match set is cleared. Match set is still cleared/set when an existing queue is selected, since existing queues already have a match set. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-16 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/edi_translator/edi_webrick.bash: Keep the logging output of the EDI translator by default There is valuable troubleshooting information there that is otherwise hard to find. This particularly matters when the output of an EDI Action/Trigger template (JEDI) doesn't successfully get translated to EDIFACT for nonobvious reasons. In production environments, you might instead pipe to logger so that you can collect output with syslog, rather than in a flat file. As long as output goes *somewhere.* Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js: LP#820409 fix org unit admin UI This reverts part of 17e659eec3e23caf5d301b33aa5019b672ecd0e8, which was tightening checks against null and '' to avoid implicit type-casting. This line var modified_ou = new aou().fromStoreItem( current_ou ); was producing a fieldmapper object where certain fields were being set to contain the string "undefined" rather than a null. The update method would take isdeleted == "undefined" as True. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0600.schema.fix_cat_default_class_looku p.sql, Open-ILS/src/sql/Pg/upgrade/0601.schema.fix_aous_lookup.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_aous_lookup.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_cat_default_class_lookup.sql: Stamped upgrades for LP#825303 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_aous_lookup.sql: return only the one applicable OU setting value Correct actor.org_unit_ancestor_setting so that it returns at most one setting value, rather than the entire set of values defined for the OU and its ancestors. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_cat_default_class_lookup.sql: lp#825303: fix cat.default_classification_scheme lookup Fixes a bug where the wrong default classification scheme could be chosen when adding a new volume whose classification scheme was not explicitly set. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/paginate.tt2: TTPac: Hide pagination for 1-page hits Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: TTpac: added simple/detailed record view option to results page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/paginate.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTPac: move results pageing chunk to new template table.tt2 and paging are complex enough and will likely result in much local customization. Break them up into 2 page to simplify. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTpac: show page range in results paging display Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/searchbar.tt2: TTPac: change default any-format to 'All Formats' Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2: TTpac: option to override no-choice label in coded value selector Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-15 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTpac: Chilifresh reviews panel occupies the width of the table Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0599.data.fix_author_other_index.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_author_other_index.sql: Stamped upgrade script for "lp 823496: do not fail to index personal names that have relators" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_author_other_index.sql: lp 823496: don't fail to index personal names that have relators The default definition for the author|other index inadvertantly excluded names from 600, 700, 720, and 800 fields that have relator values ($e) or codes ($4). Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/upgrade/0598.schema.vandelay_one_match_per.sql: Vandelay: capture one match per catalog record When searching for matches to existing catalog records (biblio.record_entry's), Vandelay can in some cases result in multiple like matches for the same record (with the same match score). This trims it down to 1 match per record. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-04 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Add some additional logging in SIP/Transaction/Feepayment.pm. This should help with debugging, etc. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-04 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Msg.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Add OILS_SIP_MSG_BILL_ERR for when an error occurs getting bills. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-14 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Add event textcode as alternative to descr in FeePayment.pm. Some events have no descr, it seems. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-13 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Bail from fee payment if no bills are found. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-30 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/oils_sip.xml.example, Open-ILS/src/perlmods/lib/OpenILS/SIP.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Msg.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm: Add SIP2 fee payment, the 37/38 message/response pairs. * Pay individual bill if a fee id is given by the SC. * Pay multiple bills in batch so if one fails the whole transaction is aborted and a failure response is sent to the SC. * Reject payments outright if the SC sends an overpayment. * Add constants for bill not found and overpayment messages. * Whole lotta logging goin' on (maybe too much). Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-12 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Don't escape_html numbers in util/print.js Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-10 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Escape HTML characters in template subs This prevents injection of random HTML from various sources. Like bad bib records, org unit settings, patron info, etc. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-10 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Use openDialog to make go_print workaround vanish By passing params and the go_print function into openDialog we get to ignore race conditions, as the window is created with the passed in arguments. Oh, and we can stop using js2JSON and such. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-10 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/window.js: Add openDialog to window class Uses window.openDialog instead of window.open. https://developer.mozilla.org/en/DOM/window.openDialog Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/skin/cat.css: No more lightpink for disabled copy editor Folks can still provide custom CSS against those class hooks if desired Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-11 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/skin/cat.css, Open-ILS/xul/staff_client/server/skin/global.css: in lieu of Ready Item Editor We're trying to prevent folks from using the item attribute editor in the unified interface when the volume pane is still updating its information (i.e. building the copies to feed to the attribute editor), so that a given editing widget isn't ripped out from under staff while its being used. This change removes the heavy-handed Ready Item Editor button and instead tries to more gracefully manage the editor state based on change and keypress events. Also change the color scheme for a disabled editor from red to light pink. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0597.schema.vandelay.bib_match_isxn_cas eless.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.vandelay.bib_match_isxn_cas eless.sql: Stamped upgrade script for "For vandelay bib matching, make 020, 022, 024 tags case-insensitive" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.vandelay.bib_match_isxn_cas eless.sql: For vandelay bib matching, make 020, 022, 024 tags case-insensitive For user convenience. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0594.schema.acp_status_date_changed.sql: Removed errant '-' causing sql syntax failure Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTpac: minor i18n and other cleanup Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTpac: removed last bits of propagator; minor cleanup Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: Added Expand/Collaps all 'extras' tabs in detail page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: more use of mkurl() and general cleanup Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/web/templates/default/opac/parts/header.tt2: Force-encode CGI param values to prevent decode errors CGI.pm decode()'s parameter values, so if it encounters a value that is already decoded, it will croak and kill the page. Proactively encode paramter values so decode() won't fail. The better solution may be to determine how we get such data, but until then, let's allow the t-pac to work on funky data. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: start using mkurl(); more todo.. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-11 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2: TTopac: cgi-based replacement for url 'propagator' Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: show MARC callnumber in record detail page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: option to view larger sets of copies on record page On record details page, added a "Show More Copies" option to show more (50) copies per page of copies than the default (10). Also added a "Show Fewer Copies" option to return to the default copy page size. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: TTpac: show full 245 for title on record details page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: TTpac: Capture and show all ISBNs on record details page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/subjects.tt2: Show more subject data in the expanded ttopac subjects display Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/series.tt2: Added support for series display in ttopac record details Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2: Accommodate multiple 520a's in tt-opac summary display MARC args.summary is now an array of summary entries. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/network.js: Tweak Override Dialog so that the text can wrap Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: Tweak wording for Checkout's Override Once feature Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-27 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: Add note that overrides will stay for the session Same way other overrides get an additional note. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-18 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/network.js, Open-ILS/xul/staff_client/server/circ/checkout.js: Allow "override once per patron" at checkout Specifically for patron-derived overrides: PATRON_EXCEEDS_OVERDUE_COUNT PATRON_BARRED PATRON_EXCEEDS_CHECKOUT_COUNT PATRON_EXCEEDS_FINES This is done by: Adding support for a list of "reported" overrides to util/network.js Using that in Checkout to build an auto-override list for the current patron Passing that list in at Checkout Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Stream records to ML for Vandelay queue export Since queued records, with their marcxml blobs, are fairly large, avoid fetching them atomically when possible. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0596.schema.vandelay-item-import-error- detail.sql: Granular invalid data detection for Vandelay item import When an import item contains any data for a field, the code now verifies the data is valid for the selected field. When the data is not valid, we capture information on which field is invalid and what data was used for the field (import_error, error_detail) so it can be reported in the interface. This adds new import_errors: import.item.invalid.status import.item.invalid.price import.item.invalid.deposit_amount import.item.invalid.owning_lib import.item.invalid.circ_lib import.item.invalid.copy_number import.item.invalid.circ_as_type Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2: Show copy status/location names in Vandelay items grid Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-09 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0595.data.org-setting-ui.patron_search. result_cap.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.patron_search. result_cap.sql: Stamping upgrade scripts for LP#818740 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.patron_search. result_cap.sql, Open-ILS/xul/staff_client/server/patron/search_result.js: Org setting for the result cap for Patron Search Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/display.js: Fix stop sign page race condition with checkout This would happen most often when retrieving multiple patrons at the same time from patron search--the stop sign page would show but then get trampled by the checkout interface, which normally loads first. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/myopac.js: Tell OPAC to use checkin date, not stop_fines date The column is labeled "Date Returned", not "Date we stopped generating fines". This does lead to "(fines accruing)" for an item that has hit max fines, or stopped fines for some other reason. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js: username login for web selfcheck Changes the behavior for the patron-login component (after staff login) to match the OPAC. By default, it assumes you are logging in with a usrname, but if the org unit setting 'opac.barcode_regex' is enabled and the incoming value matches, then it gets treated as a library card barcode instead. If usrname is used, then the card referenced by actor.usr.card is checked in lieu of a specified barcode. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/items.js, Open-ILS/xul/staff_client/server/patron/items_overlay.xul: action for marking items claimed never checked out Menu action in Patron Items Out for marking items as Claimed Never Checked Out. Note that this action behaves differently than Claimed Returned, in that the item is actually checked in and the transaction closed, and will not continue to show up in Items Out for the patron. If decide later to provide an option for making the two actions consistent, there is code in the original working branch, collab/phasefx/claimed_never_cko, which modifies the patron display and the .checked_out methods to look for open CLAIMSNEVERCHECKEDOUT transactions. Some cleanup would be needed to avoid merge conflicts. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0593.data.org-setting-circ.offline.skip _foo_if_newer_status_changed_time.sql, Open-ILS/src/sql/Pg/upgrade/0594.schema.acp_status_date_changed.sql , Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ.offline.skip _foo_if_newer_status_changed_time.sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.acp_status_date_changed.sql: Stamped upgrade scripts for LP#797409 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-08 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/YYYY.schema.acp_status_date_changed.sql: Ign Reshelving->Available for status_changed_time This solves a complication when wanting to check status_changed_time against offline xact_time when processing offline transactions. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/offline/offline.pl: Robustify SKIP_ASSET_CHANGE functionality by skipping status_changed_time test if a barcode has been encountered in prior offline transaction within a given session. Also return the SKIP_ASSET_CHANGE event for a given barcode if a prior test resulted in SKIP_ASSET_CHANGE Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/extras/ils_events.xml, Open-ILS/src/offline/offline.pl, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ.offline.skip _foo_if_newer_status_changed_time.sql: Offline checkin & renewal checks, & ou settings Augmented edoceo's patch for checking an offline checkout against an item's Status Changed Time and throwing a SKIP_ASSET_CHANGED event if warranted as follows: 1) include checkin and renewal transactions 2) add org unit settings for each, and a corresponding upgrade script 3) removed the description from the payload and created a dedicated ils_event However, there are two issues affecting this functionality, even before my meddling: 1) the Reshelving -> Available rollover updates an item's Status Changed Time, and can thus trigger this event 2) if an item is manipulated more than once in an offline session, then its Status Changed Time can be updated as the transactions are being processed, causing related transactions after the initial transaction to fail Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-01 Atom Edoceo <atom@helium.edoceo.lan> * Open-ILS/src/offline/offline.pl, Open-ILS/src/support-scripts/test-scripts/offline.pl: LP#797409: Offline Transaction - Option to Skip Old Records Skip Copy with later Status Change Time on offline checkout import Requires the following option in offline-config.pl $main::config{skip_late} = 1; Signed-off-by: David Busby <code@edoceo.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-05 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Whoops. Do that availability test regard of whether hold_boundaries are used. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-05 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: In a middle-layer method for returning holdable formats on a metarecord, Do a better test of copy holdability than we were doing previously. We can't do a perfect test: we don't really know what patron we're doing this for, and even if we did, from here it's nontrivial to figure out whether we're doing indb holds or script-based, much less run the tests. Still, we can test whether a copy's in a holdable status, a holdable location, and is itself not explicitly marked unholdable. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-05 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: Speed up t-pac record details copy retrieval Using JOIN filters instead of WHERE clauses, drastically speed up paged/sorted copy retrieval, particularly for items with many copies, in the record details page. Thanks for the suggestions, Mike. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-05 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXY.data.config.metabib_field.lccn.sql: This doesn't need to be lying around any more Its purpose was superceded by another upgrade script in master. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-04 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/items.js: mrpeters caught this; wrong variable fed to error dialog Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Repaired copy private/public note vandelay bug Previously, all copy notes imported through vandelay were coming in as public copy notes. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-04 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Revert "remove the unfinished id_as_barcode functionality" This reverts commit 5fa01d69f7374c0c8710db4a951edb80ed5ae733. Bit too soon, actually. Staff client still uses the function to verify credentials. Maybe I skipped this the first time on purpose. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: remove the unfinished id_as_barcode functionality remove the unfinished id_as_barcode setting for open-ils.actor and remove unused open-ils.actor.user.retrieve_id_by_barcode_or_username method Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0592.data.ACQ_INVOICE_REOPEN-perm.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lp818311.sql: Stamped upgrade script for ACQ_INVOICE_REOPEN permission addition Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.lp818311.sql: Upgrade script for LP818311 branch. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Michael Peters <mrpeters@library.in.gov> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: LP#818311: ACQ_INVOICE_REOPEN is missing This patch adds the missing ACQ_INVOICE_REOPEN to the Acquisitions Administrator user. Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Speed up holds history retrieval Consistent w/ circ history retrieval, use the longer column 'transform' stored proc invocation to limit retrieval to historical holds IDs instead of entire objects, which are later fetched/fleshed anyway. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-29 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, build/i18n/scripts/dojo_resource.py: Fix i18n build Two problems thrown at the i18n build: * $$ quoting is not understood by db-seed-i18n.py; simple approach is to use standard single-quote escaping of the single-quote in 950.data.seed-values.sql (warning: this might lead to other problems with the regular expression in db-seed-i18n.py) * authority.js includes Unicode values (shock!) and so we must treat the incoming strings as unicode() instead of plain old str() Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: Faster T-pac circ history retrieval * Take advantage of the new default sorting behavior of action.usr_visible_circs to perform limit/offset within the DB instead of fetching the whole circ history in the mod_perl code and sorting through it. * Also use the more powerful/verbose column transform syntax for calling stored procedures to retrieve only the historical circ IDs instead of the full circ objects, since we are re-fetching fleshed circ objects later in the code. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-03 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/holds.js: Fix staff client Clear Expired Hold Shelf action Accomodate an API change. FIXME: See if can remove some of the redundant and/or un-needed data being sent over the wire. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-28 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/cat/marcedit.js: Only update MARC on full entry of fixed fields AKA: Lang is 3 characters long. Entering 1 character would cause focus to leave. MARC would also update incorrectly. This only triggers the update when the full 3 characters are entered. This not only prevents issues with catalogers editing multi-character fixed fields but also makes it less likely they accidentally corrupt the records. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0591.schema.circ_holds_history_repairs. sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.circ_holds_history_repairs. sql: Stamped upgrade script for schema.circ_holds_history_repairs Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.circ_holds_history_repairs. sql: Repair holds history func; sort circ history desc. Update holds history to use oils_json_to_text instead of oils_json_to_string, which does not exist. Sort circ history newest to oldest by default. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/filtersort.tt2: Fix title/author sort. Use SVF 'titlesort'/'authorsort' Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-04 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: Repaired qtype bug introduced w/ bool searching Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-03 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Cast needed Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/holds/edit.tt2: Speed up hold editing by only fetching hold to edit Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/org_selector.tt2: Repaired bug in t-pac org selector value propagation Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0590.schema.more_cache_visibility_break age.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.more_cache_visibility_breakage.sql: Stamped upgrade script for more_cache_visbility_breakage Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.more_cache_visibility_breakage.sql: Unwrapped upgrade script for more_cache_visbility_breakage Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/999.functions.global.sql: Extraneous semicolons break SQL Remove them so that cache_copy_visibility can function. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: Fix overzealous template application The idea was that we'd track templates if they were applied prior to copies actually being specified in the unified interface, and then apply them "for real" once copies were entered. But these remembered templates kept applying themselves whenever changes were made in the volume/copy creator portion of the interface (possibly overriding tweaks made by staff). So now we delete the list of tracked templates once they're applied to actual copies. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/util/widgets.js, Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/skin/global.css: robustify (and klunkify) unified volume copy creator Disable/style the Item Editor while changes in the volume/item pane are being considered, and require an explicit press of a Ready Item Editor button to enable the interface. This reduces the chance of editing widgets in the item editor from being ripped out from under you (for example, if you try to go straight from editing a call number to editing an item attribute). Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-21 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: lp#792595: Don't allow pre-cats into record buckets via Item Status -> Actions for Catalogers Alerts with the number of pre-cat records skipped prior to invoking the title bucket dialog. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-28 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/web/conify/global/actor/org_unit.html, Open-ILS/web/conify/global/actor/org_unit.js, Open-ILS/web/opac/locale/en-US/conify.dtd: This adds a SAN box to the org unit editor's address editor pane. Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0589.money.materialized_summary_payment -triggers.sql: Upgrade script for a patch from Steven Callender addressing payment types in money.materialized_summary_payment Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-20 Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Deleted a line the removed single quotes (') from search strings The multiclass_query function replaces single quotes with spaces (') ( ). This causes a problem when toggling between Advanced and Basic search. If a search is conducted with a ' in it, that quote appears in the basic search box displayed above the results. However, if the user then clicks the 'Advanced' button to toggle to the advanced search the single quote is missing from the search term. By removing the line $query =~ /s/'/ /go; from Biblio.pm this problem is resolved. Signed-off-by: Liam Whalen <lwhalen@evergreen-dev.catalogue.nrcan.gc.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql: 2.0-2.1 upgrade integration of a patch from Steven Callender addressing payment types in money.materialized_summary_payment Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: Upgrade script for a patch from Steven Callender addressing payment types in money.materialized_summary_payment Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-28 Steven Callender <stevecallender@esilibrary.com> * Open-ILS/src/sql/Pg/080.schema.money.sql, Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql: A fix so that the last payment types will be cash_payment and check_payment rather than bnm_payment for cash and check payments. Signed-off-by: Steven Callender <stevecallender@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/templates/default/conify/global/cat/authority/browse_a xis.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/browse_a xis_authority_field_map.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set_authority_field.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/control_ set_bib_field.tt2, Open-ILS/src/templates/default/conify/global/cat/authority/thesauru s.tt2, Open-ILS/src/templates/default/conify/global/vandelay/match_set.tt2 , Open-ILS/src/templates/default/conify/global/vandelay/match_set_tre e.tt2, Open-ILS/src/templates/default/opac/cnbrowse.tt2, Open-ILS/src/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/src/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/src/templates/default/opac/parts/hold_error_messages.tt2, Open-ILS/src/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/src/templates/default/opac/parts/record/summaryplus.tt2, Open-ILS/src/templates/default/vandelay/inc/import_errors.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/browse_a xis.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/browse_a xis_authority_field_map.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set_authority_field.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set_bib_field.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/thesauru s.tt2, Open-ILS/web/templates/default/conify/global/vandelay/match_set.tt2 , Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2, Open-ILS/web/templates/default/opac/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/web/templates/default/opac/parts/hold_error_messages.tt2, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2: More template moving from 'web' to 'src'. These are the templates that have been added since the initial Great Migration from Open-ILS/web/templates to Open-ILS/src/templates. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-02 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Quote container id param for safety Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-02 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Fixed some syntax errors, but getting no results when I'd expect some I searched with this container(bre,bookbag,12,$authtoken) where $authtoken is substituted with an actual live authtoken for the user that owns that container, and here is the example generated query that returns no results: SELECT * FROM search.query_parser_fts( 4::INT, 2::INT, $core_query_3553$SELECT m.source AS id, ARRAY_ACCUM(DISTINCT m.source) AS records, 1.0/((AVG( (1) ) * COALESCE( NULLIF( FIRST(mrd.attrs @> hstore('item_lang', $_3553$eng$_3553$)), FALSE )::INT * 5, 1)))::NUMERIC AS rel, 1.0/((AVG( (1) ) * COALESCE( NULLIF( FIRST(mrd.attrs @> hstore('item_lang', $_3553$eng$_3553$)), FALSE )::INT * 5, 1)))::NUMERIC AS rank, FIRST(mrd.attrs->'date1') AS tie_break FROM metabib.metarecord_source_map m JOIN metabib.record_attr mrd ON (m.source = mrd.id) JOIN ( SELECT ci.target_biblio_record_entry AS container_item FROM container.biblio_record_entry_bucket_item ci JOIN container.biblio_record_entry_bucket c ON (c.id = ci.bucket) WHERE c.btype = $_3553$bookbag$_3553$ AND c.id = 12 AND (c.pub IS TRUE OR c.owner = 1)) container ON (container.container_item = mrd.id) WHERE 1=1 AND (TRUE) GROUP BY 1 ORDER BY 4 ASC NULLS LAST, 5 DESC NULLS LAST, 3 DESC LIMIT 10000 $core_query_3553$::TEXT, $${}$$::INT[], $${}$$::INT[], NULL::INT, 1000::INT, 10000::INT, 'f'::BOOL, 't'::BOOL ); Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-02 Joseph Lewis <joehms22@gmail.com> * Open-ILS/web/Makefile.am, Open-ILS/web/opac/skin/craftsman/css/default.css, Open-ILS/web/opac/skin/craftsman/css/layout.css, Open-ILS/web/opac/skin/craftsman/js/rdetail.js, Open-ILS/web/opac/skin/craftsman/js/result_common.js, Open-ILS/web/opac/skin/craftsman/js/search_bar.js, Open-ILS/web/opac/skin/craftsman/js/sidebar.js, Open-ILS/web/opac/skin/craftsman/xml/advanced/adv_global_row.xml, Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml, Open-ILS/web/opac/skin/craftsman/xml/body.xml, Open-ILS/web/opac/skin/craftsman/xml/common/altcanvas.xml, Open-ILS/web/opac/skin/craftsman/xml/common/cn_browse.xml, Open-ILS/web/opac/skin/craftsman/xml/common/css_common.xml, Open-ILS/web/opac/skin/craftsman/xml/common/fonts.xml, Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml, Open-ILS/web/opac/skin/craftsman/xml/common/libselect.xml, Open-ILS/web/opac/skin/craftsman/xml/common/login.xml, Open-ILS/web/opac/skin/craftsman/xml/common/logo.xml, Open-ILS/web/opac/skin/craftsman/xml/common/orgtree.xml, Open-ILS/web/opac/skin/craftsman/xml/common/searchbar.xml, Open-ILS/web/opac/skin/craftsman/xml/common/sidebar.xml, Open-ILS/web/opac/skin/craftsman/xml/common/statusbar.xml, Open-ILS/web/opac/skin/craftsman/xml/common/tips.xml, Open-ILS/web/opac/skin/craftsman/xml/footer.xml, Open-ILS/web/opac/skin/craftsman/xml/home/homesearch.xml, Open-ILS/web/opac/skin/craftsman/xml/home/index_body.xml, Open-ILS/web/opac/skin/craftsman/xml/page_cnbrowse.xml, Open-ILS/web/opac/skin/craftsman/xml/page_myopac.xml, Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml, Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml , Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_copyinfo.xml, Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml, Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml, Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml, Open-ILS/web/opac/skin/craftsman/xml/result/result_info.xml, Open-ILS/web/opac/skin/craftsman/xml/result/result_lowhits.xml, Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml, Open-ILS/web/opac/theme/craftsman/css/colors.css: Remove craftsman skin. Via LP: https://bugs.launchpad.net/evergreen/+bug/820010 And this email thread: http://libmail.georgialibraries.org/pipermail/open-ils-dev/2010-August/006269.html Signed-off-by: Joseph Lewis <joehms22@gmail.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-02 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Actually JOIN the VALUES list; syntax copy/paste-o; use the correct field for bre containers Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Add cointainer() and record_list() filters to QueryParser The container() filter takes 3 or 4 positional params: - class (bre, acn, acp, au) - type (bookbag, etc -- btype of the container) - id (container id) - token (authtoken, optional, for checkin ownership of non-public containers) The record_list() filter takes a list of record ids to restrict the search by. These are bib ids by default, but are treated as metarecord ids in the presence of the #metabib (aka #metarecord) modifier. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-02 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Actually JOIN the VALUES list; syntax copy/paste-o; use the correct field for bre containers Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-08-02 Galen Charlton <gmc@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/print.js: lp758945: make receipt template macros repeatable Patch from Jason Boyer to allow macros to be used more than once in a section; prior to this patch, only the first occurrence was replaced with the substitation value. Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-24 Dan Scott <dan@coffeecode.net> * README: Format an unordered list appropriately The list of developer prereqs was munged inline rather than as a list. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-21 Dan Scott <dan@coffeecode.net> * README: Provide Fedora-friendly instructions for the DBD libraries We had only provided the Debian / Ubuntu location of the libdbi-libdbd libraries, so add the Fedora location as well. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-21 Dan Scott <dan@coffeecode.net> * README: Bring more of the wiki docs over to the README Document Perl prerequisites for a standalone PostgreSQL server. Include a section on starting Evergreen and basic troubleshooting. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-21 Dan Scott <dan@coffeecode.net> * README: Update the README to include database installation instructions A long time ago, the database server was installed by default. Nowadays, installing the database server is a separate step reserved for whatever machine you want to devote to PostgreSQL. Not that you can't put it on the same machine as the rest of Evergreen and OpenSRF... Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/vandelay.dtd: Fixed typo in vandelay UI Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0588.schema.replace_field-default-value .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.replace_field-default-value .sql: Stamped upgrade script for user/miker/replace_field_fix Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-02 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.replace_field-default-value .sql: Have replace_field return input XML when no replace rule is provided Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/conify/global/config/record_attr_def inition.tt2: Avoid xml_transform retrieval in record attr def editor config.xml_transform stores large chunks of XML. Fetching it angers Ejabberd on my test system. All we need is the name, so use the new AutoFieldWidget.searchOptions param to do just that. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-08-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xu l: Add the new patron retrieval to the toolbar Specifically, in the little list of things that shows up when you use the arrow next to patron search. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties: Label tweaks re: Database ID vs Record ID, etc. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/locale/en-US/offline.properties: Add "Retrieve patron via Database ID" menu entry Add "Retrieve patron via Database ID" menu entry to top-level Search menu Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: Allow advanced search bool selectors to size down ... to avoid unnecessary horizontal screen gobbling Tested in Chrome, FF, and IE Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm: calculate penalties when letting Mark Item Damaged add bills Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-08-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Fix oils_i18n_gettext id numbers config.metabib_field ids 29/30 had 28 for translation id. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: Support for boolean operators in advanced search Implements a new column with And/Or selectors. Terms are grouped from top to bottom in the UI as left to right in the compiled query. A && B || C && D => ((A && B) || C) && D Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: maketext filter must be registered as a dynamic filter to properly handle arguments Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js: AutoFieldWidget support for augmenting pcrud search options Adds a new searchOptions attribute to AutoFieldWidget for specifying additional parameters to pcrud when retrieving linked objects. The initial use case is for supporting a "select" list to allow AutoFieldWidget to retrieve only the display column of a linked object and not the whole object. Example: // fetch 'remote_field_name' on the remote objects instead of // fetching the entire object myGrid.overrideWidgetArgs.some_field = {searchOptions : {"select":{"some_hint":["remote_field_name"]}}}; Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2: Remove KCLS mattype SQL seed data comment Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-08-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/I18NFilter.pm, Open-ILS/web/templates/default/opac/parts/header.tt2: Bypass install_filter mem leak via direct insertion See https://rt.cpan.org/Ticket/Display.html?id=46691 On the one hand we have a memory leak, on the other we have a bug caused by the fix to the memory leak. Bypass this altogether and insert the filter manually into the template environment using Template's FILTER configuration argument. This has the added bonus of simplifying the i18n filter code. Since the filter is manually inserted, it's not necessary (and possibly counter-productive) to USE the filter directly in the template. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/spine_labels.js: use isNaN here, since NaN == NaN => false Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: Changed opac-auto-079 in semiauto.css to warning_box in templates/default/opac/myopac/hold_history.tt2, templates/default/opac/myopac/circ_history.tt2, templates/default/opac/myopac/circs.tt2, templates/default/opac/myopac/holds.tt2 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2: Changed opac-auto-097b in semiauto to item_list_padding in templates/default/opac/parts/anon_list.tt2, templates/default/opac/myopac/lists.tt2, templates/default/opac/myopac/circs.tt2 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2: Changed opac-auto-179 in semiauto.css to selector_actions_for_list and opac-auto-179-inner-option to selector_actions_for_list_inner_option in templates/default/opac/parts/anon_list.tt2 and templates/default/opac/myopac/lists.tt2 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2: Changed opac-auto-017 in semiauto to adv_global_filter_sort in templates/default/opac/parts/advanced/search.tt2 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2: Changed opac-auto-012 in semiauto to adv_global_input_container in /default/opac/parts/advanced/search.tt2 2011-07-30 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: changed opac-auto-078 in semiauto to qtype_selector_margin in /default/opac/parts/advanced/global_row.tt2 2011-07-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Clean up OpenSRF::AppSession objects after use These things need ->kill_me called on them after we're done using them. (note to self: check to see if we can just add a DESTROY sub to that package) Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.t t2, Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purch ase.tt2: Fix incorrect search advice on the no-results page. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2: advanced/cnbrowse label tweak Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Prevent undef warnings on org unit lookup Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/web/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2: cnbrowse tweaks Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2: Direct entry point into the call number browser Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: If there's no sort org unit, just fall back to the usual sorting Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2: Don't build image tags for non-existing mattype icons Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: Sort copies on record detail page with copies belonging to "sort org unit" first "sort org unit" needs to eventually be an abstract concept that could either refer to "orig_loc" or to "loc" or perhaps be skipped altogether, depending on some future configuration. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhd.t: Fix broken builds due to test that can't find its data LP 817699 reports a problem that began with commit e9cd992fa4dbf1013346336193cb7469ecee10a8, reintroducing a problem that had previously been resolved with commit f017d1261c369b9b5cc3c9cfc4f50d3cdf12a445. In short, tests can and are run from different directories, but a new test opened a file without making any allowance that the test might be run from anything other than the /test/ directory. This fix uses the dirname(__FILE__) approach to provide the appropriate relative directory for the test data, and enables the tests to be processed without dying. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: item_barcode had broken the rest of numeric search but now it's fixed Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: Minor code cleanup of unused code; avoids Apache warning Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/results.tt2: Avoid server-error on barcode search when barcode not found Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/acq/nls/acq.js, Open-ILS/web/js/ui/default/acq/common/li_table.js: Make users confirm they really want to delete lineitems from POs... ... when they've already been ordered. There's really no reason to ever make such a deletion this that I can think of, but I use a confirm() instead of stricter measures in case I'm missing something. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0587.maintain_control_numbers_with_OCLC _awareness.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.maintain_control_numbers_with_OCLC _awareness.sql: Stamped upgrade for user/dbs/oclcnumbers Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-21 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.maintain_control_numbers_with_OCLC _awareness.sql: Prevent control numbers from duplicating In maintain_control_numbers(), if you have more than one 001 or 003, and at least one is the correct one, you will end up duplicating the correct number every time the record is saved. For example, if the incoming record was record ID # 12345, and the record contained: 001: 12345 001: ocm10202 ... then after maintain_control_numbers() ran, the record would contain: 001: 12345 001: 12345 Also, clean up some leftovers from the refactor I suggested in the previous commit. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-07-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/xxxx.maintain_control_numbers_with_OCLC _awareness.sql: Add an unwrapped upgrade script for OCLC-aware control numbers The upgrade script creates the SCN and LCCN search indexes and populates them using metabib.full_rec as a source; cheating, but the normalized values will work for non-exact search purposes. Sites can reingest all of their bibs if they want exact search to work. Also, refactor maintain_control_numbers() using a suggestion by Dan Wells to eliminate some duplicate code. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Treat OCLC numbers specially in maintain_control_numbers For some reason, many records that come with OCLC numbers in the 001 field are not populated with a 003 field. This resulted in the OCLC number being thrown away entirely, rather than being moved into the 035, as there was no corresponding control number identifier field. However, given that we know that control numbers starting with "ocm" or "ocn" are special OCLC numbers, we can generate the 035 accordingly even in the absence of a 003. This update to maintain_control_numbers() teaches it to do the right thing for OCLC numbers. In addition, add an identifier search index so we can easily find records by their system control numbers (035 $a subfields). Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Bill Erickson <berick@esilibrary.com> * 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/0587.data.config.metabib_field.lccn.sql: Revert "Add lccn field to the identifier search class" This change will be absorbed when merging working/user/dbs/oclcnumbers, which I will do pronto... This reverts commit 94f69d21b6759dc43c151c7796dafee74083f62c. 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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/0587.data.config.metabib_field.lccn.sql: Add lccn field to the identifier search class Facilitates easily searching by LCCN (010 ‡a). Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Redirect.pm: Redirector support for T-pac Includes new Apache configuration option: PerlSetVar OILSRedirectTpac "true" "Original location" is tracked initially as a URL param (orig_loc), but is ultimately absorbed into a cookie (eg_orig_loc) since the URL param would otherwise have to be propagated to every page. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/js/ui/default/opac/simple.js, Open-ILS/web/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2: You can now have multiple rows in your MARC Expert Search Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/advanced/expert.tt2: MARC expert search working This just needs the JS row cloning so you can search on multiple terms at a time. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/results.tt2: It's ugly and hacky, but numeric search fully works (item barcode included) Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/oils_sip.xml.example, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm: SIP2 support for checkin local holds as transits Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul, Open-ILS/xul/staff_client/server/skin/circ.css: Capture local holds as transits checkin modifier Capture holds (not already on hold shelf) as transits instead. Use cases may include: New material being cataloged before it is "released". If captured normally before release the shelf expire time would start ticking and notices would go out. Checking items in on a closed day. Can capture holds to avoid them being on a pull list and set them aside to avoid "ready for pickup" notices and ticking shelf expire clock. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul, Open-ILS/xul/staff_client/server/skin/circ.css: Auto-retarget local holds on "new" copy checkin When a new item is checked in local holds will be searched and re-targeted. The search and retarget stops when a hold is found locally that the item can fill. Already-captured holds will not be retargeted. "New" is (currently) defined as "In progress" at checkin Retarget occurs: Only if the copy's circ library is the checkin library Only if the checkin is an actual checkin (not a renewal) Only if the checkin is capturing holds and transits Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul, Open-ILS/xul/staff_client/server/skin/circ.css: Clear Shelf Expired Hold on Checkin Only if modifier is set and at the pickup library. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/cat/bibs_abreast.js, Open-ILS/xul/staff_client/server/cat/marc_new.xul, Open-ILS/xul/staff_client/server/cat/record_buckets.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/z3950.js, Open-ILS/xul/staff_client/server/index.xhtml, Open-ILS/xul/staff_client/server/patron/holds.js, Open-ILS/xul/staff_client/server/patron/items.js: move query params into the constants to better support current opac and TT-opac Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: Metarecord list on results page Added a new ?metarecord=<mrid> param to opac/results page to list records associated with a given metarecord ID. This is used as page 2 of the (pending) metarecord search process as well 'show in catalog' for embedded staff client metarecord holds. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXY.data.config.metabib_field.lccn.sql , Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/parts/advanced/expert.tt2, Open-ILS/web/templates/default/opac/parts/advanced/numeric.tt2: Numeric search mostly works (except for item barcode) Expert search is next Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/search.tt2: minor I18N text wrapping Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-27 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: Don't show users who are already logged in a login form; that's confusing Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2: Confirm CC payments with another page load, not confirm() popup This does something gross. Your CC card number is rendered in a hidden field on the last confirmation page. At least it's all SSL only. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css: Show most up-to-date email address in update-email interface plus cosmetic change to payment mini table Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_pay.tt2: CC payment improvements: Link from receipt after payment back to account summary. Error reporting Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_pay.tt2: Better to tell the user something rather than nothing Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/extras/ils_events.xml: Add missing INVALID_USER_XACT_ID event Code introduced in c5d36d2a99e45b9a02d00a1e795b66a38c271b43 (SVN r17079) can generate this event. The description I gave it is meant to be kind of user-oriented, since patrons might see it in the OPAC. A somewhat more informative description in available in the commit I named above. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2: Remove ? icon by "Security Code" in payment form It can go back in later if we want to make it actually do something. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2: Give the patrons the opportunity to see and change their e-mail address... ... before they submit fine payments. This way they have a better chance of getting a receipt e-mailed to them. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0586.data.persistent_login_default_perm .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.persistent_login_default_perm .sql: Stamped upgrade script for persistent_login_default_perm Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.persistent_login_default_perm .sql: Add the PERSISTENT_LOGIN permission to the system, and ... ... make it belong to Users (which includes Staff and Patrons) by default. This doesn't mean that all logins are persistent (long-lived) by default, it just means that users do have the permission to request a long-lived auth session by default. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/login/form.tt2: Persistent logins are more of a "stay logged in" feature than a "remember me" Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/util/browser.js, Open-ILS/xul/staff_client/server/cat/spine_labels.js, Open-ILS/xul/staff_client/server/patron/display.js: Load embedded OPAC via SSL by default, w/ override option * url_prefix option for using/forcing SSL. * oils.secure_opac preference for doing such with the embedded OPAC -------- To use the preference, you may want to include something like this in server/skin/custom.js: // Force non-SSL for the OPAC try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);if (!prefs.prefHasUserValue('oils.secure_opac')) { prefs.setBoolPref('oils.secure_opac',false); } } catch(E) { alert('Error in custom.js trying to set oils.secure_opac preference to false: ' + E + '\n'); } Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-26 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2: Links to return to payment history from receipt print/email pages Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-25 Dan Scott <dan@coffeecode.net> * Open-ILS/src/extras/Makefile.install: Ubuntu Lucid needs MARC::Record from CPAN As Ubuntu Lucid ships with MARC::Record 2.0.0, and Serials requires 2.0.1 or greater, we must install MARC::Record from CPAN or face failing open-ils.search requests. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-07-25 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/js/ui/default/opac/simple.js, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2: Select-all checkboxes for fine payment In the process, had to change the checkbox/cgi param name of the misc fees to xact_misc and tell the middle layer to lump xact together with xact_misc. Should test carefully. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-21 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/standing_penalties.js: Correctly populate certain columns in the patron Messages interface When applying penalties, the csp's referenced by the ausp's are fleshed. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0585.checkout_fills_related_hold_exact_ match.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.checkout_fills_related_hold_exact_ match.sql: Stamped upgrade script for checkout_fills_related_hold_exact_match Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.checkout_fills_related_hold_exact_ match.sql: Unwrapped Upgrade Script for Checkout Fills Related Hold modifications Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Checkout Fills Related Hold modifications Two changes: 1 - Check hold_copy_map for related holds This removes the "Title or Volume hold only" restriction, allowing any hold type to fill. This check happens first whenever the option is enabled. 2 - Add new option for *only* checking hold_copy_map. This allows for non-holdable copies to not fill Title or Volume holds on checkout. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0584.data.org-setting-ui.circ.billing.u ncheck_bills_and_unfocus_payment_box.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.circ.billing.u ncheck_bills_and_unfocus_payment_box.sql: Stamped upgrade script for uncheck_bills_and_unfocus_payment_box Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-ui.circ.billing.u ncheck_bills_and_unfocus_payment_box.sql, Open-ILS/xul/staff_client/server/patron/bill2.js, Open-ILS/xul/staff_client/server/patron/bill2.xul: GUI: Uncheck bills by default in the patron billing interface Org unit setting and behavior. Also defaults the focus to the Uncheck All button instead of the Payment Received field in that interface. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-25 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_payments.tt2: Empty case for payment history Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Add support for Holds and Items counts in dynamic staff Record Summary (use 'holds' and 'items' with your oils.bib_brief.*.dynamic_grid_replacement.data customizations) Also make the Bib Call # retrieval asynchronous and dependent on the field being configured for display. This branch has merged in (and depends on) the changes from collab/phasefx/dynamic_bib_brief Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-21 Michael Peters <mrpeters@library.in.gov> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CopyLocations.pm: LP#813151 Copy Location sort order in Advanced Search This patch addresses the unintuitive copy location sort order in Advanced Search when searching at a specific branch. Thanks to Dan Wells for the code suggestion which changes the order in the listbox to alphabetical sort by asset.copy_location.name. Tested, and confirmed working in 2.0.4 test and production environments. Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-25 Robin Isard <robin.isard@algomau.ca> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2: Changed opac-auto-004 to rdetail_print_details_cn_spacer in file cn_details.tt2 2011-07-25 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.opac_payment_history_age_limi t.sql: YAOUS to limit OPAC payment history display to configured interval Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/css/skin/default/acq.css, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/templates/default/acq/common/li_table.tt2: Lineitem copies page layout changes Move the Distribution Formula selector above the batch editor widgets mainly so the batch editor widgets sit closer to batch edit target copy grid. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-10 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml, Open-ILS/web/opac/skin/default/xml/result/result_table.xml: NOVELIST/CHILIFRESH include statements missing a hash which was causing (none) errors. Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/css/skin/default/acq.css, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/templates/default/acq/common/li_table.tt2: Show LI summary in copies display page Using the new, self-contained Lineitem.fetchAndRender, show a full LI summary along the top of the LI copies edit page. Includes some minor layout smoothing Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/patron/util.js: adjust legacy xul column definitions for dates/timestamps to ensure correct sorting Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/theme/default/css/colors.css: Manage parts holds warning (and removal) w/ CSS Use add/removeCSSClass to apply and remove holds parts selector warning instead of inline style.border management, which (when using 'auto') causes problems in IE. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul, Open-ILS/xul/staff_client/chrome/content/util/sound.js, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/skin/custom.js.example: more sound hooks during check-in for transits, holds, etc. Adds util.sound.special which can be used like this: util.sound.special('foo'); and looks for a URL constant matching this: urls['AUDIO_special_foo'] Also give util.sound a more programmable delay via custom.js: var _sound_delay_interval = 50000; Here are the new hooks for check-in and how you might use them: urls['AUDIO_special_checkin.cataloging'] = '/xul/server/skin/media/custom/cataloging.wav'; urls['AUDIO_special_checkin.error'] = '/xul/server/skin/media/custom/error.wav'; urls['AUDIO_special_checkin.hold_capture_delayed'] = '/xul/server/skin/media/custom/hold_capture_delayed.wav'; urls['AUDIO_special_checkin.hold_shelf'] = '/xul/server/skin/media/custom/hold_shelf.wav'; urls['AUDIO_special_checkin.no_change'] = '/xul/server/skin/media/custom/no_change.wav'; urls['AUDIO_special_checkin.not_found'] = '/xul/server/skin/media/custom/not_found.wav'; urls['AUDIO_special_checkin.reservation_shelf'] = '/xul/server/skin/media/custom/reservation_shelf.wav'; urls['AUDIO_special_checkin.success'] = '/xul/server/skin/media/custom/success.wav'; urls['AUDIO_special_checkin.transit'] = '/xul/server/skin/media/custom/transit.wav'; urls['AUDIO_special_checkin.transit_for_hold'] = '/xul/server/skin/media/custom/transit_for_hold.wav'; Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/util.js: sort hold Queue Position column correctly in xul lists Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-25 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/holds.js: Comment out line that breaks holds placement in IE auto is not a valid option for a border, and IE faults on it. Other browsers seem to ignore it, as far as I can tell. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Add cointainer() and record_list() filters to QueryParser The container() filter takes 3 or 4 positional params: - class (bre, acn, acp, au) - type (bookbag, etc -- btype of the container) - id (container id) - token (authtoken, optional, for checkin ownership of non-public containers) The record_list() filter takes a list of record ids to restrict the search by. These are bib ids by default, but are treated as metarecord ids in the presence of the #metabib (aka #metarecord) modifier. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2: More better call number browser, uses supercat directly, doesn't use mvr Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2: Also was missing the author search link Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2: Call number shelf browser: fix prev/next links, wrong argument order in... ... call to open-ils.search.callnumber.browse (count and offset mixed up) Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/cn_browse.tt2, Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2: Shelf browser! Needs improvements: can't find jacket images by UPC yet Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-20 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/hold_error_messages.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: More power to present friendly messages when hold placement fails This area could use a little cleanup, elegance, but it can give end users better messages for a diverse set of reasons why hold placement failed. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-20 Michael Peters <mrpeters@library.in.gov> * Open-ILS/xul/staff_client/server/circ/checkout.js: LP#647121 Event handling on override abort Discussed on IRC, phasefx discovered that several events were not being properly handled when they were empty strings. Tested and working on Evergreen 2.0.4. Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-07-20 evergreen <evergreen@squeeze.debian> * : according to git i've made changes to 950.data.seed-values.sql 2011-07-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/admin/transit_list.js, Open-ILS/xul/staff_client/server/admin/work_log.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_buckets.js, Open-ILS/xul/staff_client/server/cat/copy_summary.xul, Open-ILS/xul/staff_client/server/cat/record_buckets.js, Open-ILS/xul/staff_client/server/cat/z3950.js, Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/circ/copy_details.xul, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/circ/in_house_use.js, Open-ILS/xul/staff_client/server/circ/renew.js, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/patron/hold_details.js, Open-ILS/xul/staff_client/server/patron/holds.js, Open-ILS/xul/staff_client/server/patron/items.js, Open-ILS/xul/staff_client/server/serial/manage_dists.js, Open-ILS/xul/staff_client/server/serial/manage_items.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js: remove circ.util.std_map_row_to_columns; default to the one provided by list.js Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/circ/util.js: Better sort support for xul lists (see launchpad bug ://bugs.launchpad.net/evergreen/+bug/751745) Example of supplying a sort_value function for item Create Date, and automatic sort_value for fm_columns-generated timestamp and money column definitions. Need to provide more such functions, and eventually move everything over to fm_columns Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-17 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Make inactive cards/patrons "not exist" via SIP2 And make sure if we do get a deleted patron for some reason they are ignored too. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-19 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0583.schema.aging_circ_view.sql: rerun DB update 0582 to avoid upgrade problem This implements the same update as 0582.schema.aging_circ_view.sql, and exists purely the the sake of avoid a potential upgrade glitch for somebody who's upgrading from 2.0.8+ that includes a version of this fix that's not compatible with with 2.1+. Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-19 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhd.t, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata2.txt: MFHD compressed holding fixes 1. Add new utility method to MFHD.pm: holdings_by_caption(): return all holdings attached to a given caption 2. Add 'passthru_open_ended' option to get_decompressed_holdings() Previously, attempts to decompress an open-ended holding would error out. Now, in the absence of this option, open-ended holdings are discarded and you get a warning (since they cannot logically be decompressed), while if this option is 'true' they are passed back unaffected 3. compressed_to_last() on an open-ended holding now more correctly returns 'undef' rather than the unaltered holding 4. get_compressed_holdings() will now honor an open-ended holding by treating it as "infinite", and thus absorbing any holdings which would follow 5. Overloaded comparison operator now correctly detects "swap" cases (where only the second operand is a holding) 6. Overloaded comparison operator now consistently treats open-ended holdings as "greater-than" a single or closed holding which has the same starting point 7. Fix 2 thinkos in comparison operator for overlapping compressed holdings 8. Add new compressed_end() method to Holding.pm which can add or set a new ending to a holding, making compressed if needed 9. Correctly recognize partially compressed holdings If a holding is defined as: 863 40 $81.1 $a1 $b2-10 this actually means: 863 40 $81.1 $a1-1 $b2-10 so let's make sure to treat it that way. 9. Expand the MFHD test suite to better cover the improvements in this commit There is also the beginnings of a _get_truncated_holdings() method for handling odd cases where an open-ended holding is followed by a single/closed holding, but it is currently commented out, pending further design consideration. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-07-18 Steven Callender <stevecallender@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/display.js: lp#812550: Removed nulls from showing for patron penalties when no note attached to penalty. Signed-off-by: Steven Callender <stevecallender@esilibrary.com> Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-18 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/xul/staff_client/server/patron/holds.js: Fix the wrongish way we were doing staff-assisted holds Now the patron that a staff user wants to place a hold for is passed around as a cookie It's a little unclear when is best from a workflow perspective to kill said cookie... hrmmm.... Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-18 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: Alert or block holds on available copy at same pickup lib This improves upon the earlier commit that attempted to deal with what to do when either of these org_unit settings are true: circ.holds.hold_has_copy_at.alert circ.holds.hold_has_copy_at.block The correct use of these settings are that when /any/ type of hold is attempted at a given pickup lib, if either of those settings are true in the context of said pickup lib, and there are copies in an available status at the pickup lib already, inform the user before placing the hold. In the alert case, the user can place the hold anyway with another click. In the block case, there's an end on't. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-18 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Remove extraneous COMMIT message in 950 seed data The extra COMMIT message didn't hurt when creating a new schema, but did result in a warning message that could cause confusion. So, get rid of it to avoid that. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-07-06 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/bib_brief.xul, Open-ILS/xul/staff_client/server/cat/bib_brief_vertical.xul, Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js, Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Item Status->Alternate View support for the dynamic Record Summary For now, you could put something like this in server/skin/custom.js to re-configure the display: try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);prefs.setCharPref( 'oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data', js2JSON([ ['title', 'edition', 'editor'], ['author', 'pubdate', 'edit_date'], ['call_number', 'tcn', 'create_date'] ]) ); } catch(E) { dump('Error in custom.js trying to set oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data: ' + E + '\n');} Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: dynamic Record Summary layout based on preference For now, you could add something like this to server/skin/custom.js to re-configure the display: try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);prefs.setCharPref( 'oils.bib_brief.horizontal.dynamic_grid_replacement.data', js2JSON([ ['title', 'edition', 'editor'], ['author', 'pubdate', 'edit_date'], ['bib_call_number', 'tcn', 'create_date'] ]) ); } catch(E) { dump('Error in custom.js trying to set oils.bib_brief.horizontal.dynamic_grid_replacement.data: ' + E + '\n'); } Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.xul, Open-ILS/xul/staff_client/server/cat/bib_brief_vertical.xul: some refactoring in prep for dynamic Record Summary layout Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.xul: in staff Record Summary (bib brief) pane, stretch the column for title, author, and bib call # Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-18 Dan Scott <dan@coffeecode.net> * Open-ILS/xul/staff_client/server/cat/spine_labels.js: Address minor code formatting consistency The rest of the code has spaces around the conditional clause in an if() statement, so do likewise here. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-06 James Fournie <jfournie@sitka.bclibraries.ca> * Open-ILS/xul/staff_client/server/cat/spine_labels.js: Spine label editor assumes LC as reported in LP #780665. This patch encapsulates the LC-assuming code in an IF block which considers the asset.call_number.volume.label_class. If that is equal to 3, it will use the LC formatting. Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-07-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/bill2.js: fix bill ui display update bug where total owed and total checked were not updated if the total owed as paid off in full Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0582.schema.aging_circ_view.sql, Open-ILS/src/sql/Pg/upgrade/XXX.schema.aging_circ_view.sql: Stamping upgrade script for "Bad join condition all_circulation view" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/XXX.schema.aging_circ_view.sql: Bad join condition in secondary (physical) address lookup, causing terrible performance of circ aging Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-13 mrpeters-isl <mrpeters@library.in.gov> * Open-ILS/xul/staff_client/server/cat/copy_browser.js: LP795032 Fix cursor rendering and dropdown position in holdings maintenance OU dropdown Signed-off-by: mrpeters-isl <mrpeters@library.in.gov> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0581.schema.opac_renewal_reuse_circ_lib .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.opac_renewal_reuse_circ_lib.sql: Stamping upgrade script for "Opac Renewal at original circ library" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.opac_renewal_reuse_circ_lib.sql: Default to existing behaviour for the new circ-behaviour global flag Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-05 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Cache global flag at first use This way only the first opac renewal per backend has to ask the database for the global flag. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-05 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.opac_renewal_reuse_circ_lib.sql: Unwrapped upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Opac Renewal at original circ library Fixes multiple potential issues: 1 - Bad home ou on patron breaks circ rules Ex. Patron edited while editor would let you pick bad home ou 2 - Item not allowed to circ at patron home ou Ex. Patron went to where they were allowed to pick it up 3 - Fines change to patron home ou fine rules Ex. Patron's home ou doesn't charge fines but circ lib does Ex. Circ lib doesn't charge fines but Patron's home ou does Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0580.schema.aou_parent_protec.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.aou_parent_protect.sql: Stamping upgrade script for "Prevent OU loops at DB level" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.aou_parent_protect.sql: Unwrapped upgrade script for ou loop protect May need to be split into "create function" and "add trigger" pieces. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/005.schema.actors.sql: Prevent OU loops at DB level Database trigger to prevent actor.org_unit from being parent of self Actually detects any loops, even those above the current point Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-07 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search.pm: Make spell-checking case insensitive As it stands, if you search for a proper noun using lower case, but manage to trigger the "did you mean" functionality, all the words are 'corrected' even if just the case is wrong. However, we are stripping out the best correction precisely because it is the same word, different case. It is a bit confusing to explain, but here is an example: daniel potatoe gets corrected to: Daniela potato This happens because the current spell check is case sensitive, so 'daniel' is spelled wrong, but then we remove 'Daniel' from the list of corrections (presumably to avoid possibly suggesting terms which would yield the same exact result set). So, we either need to make the spell-check itself case insensitive, or stop removing the re-cased corrections. Since the catalog search itself is already case-insensitive, I think it makes sense that the spell check should follow suit. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0579.schema.fix_checkout_overrides.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_checkout_overrides.sql: Stamping upgrade script for "INDB Circ Matrix + Checkout Overrides Fix" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-07 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix_checkout_overrides.sql: Unwrapped upgrade script for checkout overrides Replace the function. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-06 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/100.circ_matrix.sql: INDB Circ Matrix + Checkout Overrides Fix Move most failures to after matchpoint lookup. This prevents "no duration rule" errors on overridable errors. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0578.schema.part_holds_bib_report.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.part_holds_bib_report.sql: Stamping upgrade script for "Fix part holds in reporter.hold_request_record" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.part_holds_bib_report.sql: Unwrapped upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-15 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/reporter-schema.sql: Fix part holds in reporter.hold_request_record Specifically, make them show a bib id, instead of null. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-15 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/parts/org_selector.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: Allow overriding some hold events when permissions apply Works fine now for HOLD_EXISTS and HOLD_ITEM_CHECKOUT_OUT, at least But this was also supposed to work with these org settings: circ.holds.hold_has_copy_at.alert circ.holds.hold_has_copy_at.block which are supposed to define behavior when the user wants to place a (copy- or volume-level only?) hold on an item at a branch that's not his home_ou but his home_ou has an available copy. Anyway, the open-ils.circ.title_hold.is_possible method is supposed to return information about whether local copies are available to support such a function, but it doesn't seem to do so. I think. Will revisit. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0577.schema.vandelay-item-import-copy-l oc-ancestors.sql: Vandelay item import copy location inheritance When importing items that have a copy location configured and no such location exists at the copy's owning/circ lib, Vandelay will now use copy locations from ancestor org units as appropriate. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-14 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/skin/default/js/holds.js: Corrected the logic of format string building for metarecord holds and... made hold possiblity checking for metarecord holds respect the format string (so you can't place holds on formats for which there will never be anything targetable) Made possible by much concerted effort from Mike Rylander Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-14 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Correct CDBI thinko -- search_where is smart about wantarray, search is not Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-13 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/templates/default/opac/parts/org_selector.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/xul/staff_client/server/patron/holds.js: Preset correct default pickup lib for staff placing holds for patrons Also, for hold placement, only enable org unit selection where can_have_vols is true. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-12 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Remove deprecated, conflicting version of vandelay.match_bib_record from base schema. Thanks, Galen Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0576.fix_maintain_901_quoting.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.fix_maintain_901_quoting.sql: pin an upgrade version for fix_maintain_901_quoting Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-12 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.fix_maintain_901_quoting.sql: upgrade script for bugfix for lp#809540 Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-12 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/002.functions.config.sql: lp#809540: quote replacement values properly in maintain_901() Prevents a failure if, for example, the tcn_value of a bib to be added or updated contains the string '\1'. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/advanced.js, Open-ILS/web/opac/skin/default/xml/common/sidebar.xml: alert the user when the OPAC's Quick Search->Item Barcode function returns a pre-cataloged item Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-07-12 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: copy and volume level holds for staff Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/z3950.js, Open-ILS/xul/staff_client/server/cat/z3950.xul: "Mark Local Result as Overlay Target" action in z39.50 client Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Removing errant comma spotted by Thomas Berezansky Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-11 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: When coming from staff client patron interface, pre-populate the patron barcode text box by which staff places a hold for a patron. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: Staff can now place title-type holds for patrons Still need to put in copy, volume and issuance (and parts? maybe later) -type holds. Still need to deal with overridable events. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Galen Charlton <gmc@esilibrary.com> * Open-ILS/web/js/ui/default/acq/common/li_table.js: append line items to table in specified order Prior to this patch, the order that line items were displayed in (e.g.) a purchase order view was effetively randomized based on the amount of time it would take for async calls to fetch additional line item details to return. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0575.schema.authority-control-sets.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.authority-control-sets.sql: Stamping Mike's upgrade script for authority control sets Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.authority-control-sets.sql: Unstamped upgrade script for Authority Control Sets ... with additional fixes from Lebbeous Fogle-Weekley Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/999.functions.global.sql: Merge/rebase cleanup -- remove useless/incorrect versions of the MARC flattener for different record types Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Merge/rebase cleanup -- authority template by id is needed Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-05 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/default/js/authbrowse.js: Make search by authority ID actually work on the first try and also show an odd number of authority record results so that there can actually be a "middle." Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-07-05 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/templates/default/conify/global/cat/authority/browse_a xis.tt2: Provide sorters for browse axes Make the default bib result sorter 'titlesort' for every browse axis, which is what makes sense if you think about it. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Create facet for going right to records linked to a given authority record Still need an upgrade script, of course, but so does this whole branch Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/opac/skin/default/xml/page_authbrowse.xml: attempted to add sanity to paging, but not really there yet Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/default/js/authbrowse.js: Make linking to bib records work better by saying any format will do. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/skin/default/css/layout.css, Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/opac/skin/default/xml/page_authbrowse.xml: working! with paging and linking to bibs, except: ... my new facet thingy doesn't seem to work. here's what I did sql-wise: INSERT INTO config.metabib_field ( id, field_class, name, label, xpath, format, search_field, facet_field ) VALUES ( 28, 'identifier', 'authority_id', 'Authority Record ID', '//marc:datafield/marc:subfield[@code=''0'']', 'marcxml', false, true ); INSERT INTO config.metabib_field_index_norm_map (field, norm) VALUES (28, 5); Yet after re-ingesting my bibs I have nothing new in metabib.facet_entry. So the "show related bibliographic holdings" links don't quite work (I believe they /would/, though, if I had the facet thingy right). Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-29 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/MARC/Record.js, Open-ILS/web/opac/skin/default/css/layout.css, Open-ILS/web/opac/skin/default/js/authbrowse.js: Finally starting to get somewhere: record display Record display kind of works. Need paging and links to bibs. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/opac/skin/default/xml/common/js_common.xml: Closer to being able to get authority control set from thesaurus code Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/web/opac/skin/default/js/authbrowse.js: towards using fielder in openils.AuthorityControlSet Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/web/opac/skin/default/js/advanced.js, Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/opac/skin/default/xml/common/sidebar.xml, Open-ILS/web/opac/skin/default/xml/page_authbrowse.xml: working on an auth browser Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: Add function to set Control Set by Thesaurus Code Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/FixedFields.js: Normalize fixed field names to OCLC values where they exist (what catalogers are used to) Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-23 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/Makefile.am, Open-ILS/web/js/ui/default/cat/authority/list.js, Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/advanced.js, Open-ILS/web/opac/skin/default/js/authbrowse.js, Open-ILS/web/opac/skin/default/xml/common/js_common.xml, Open-ILS/web/opac/skin/default/xml/common/sidebar.xml, Open-ILS/web/opac/skin/default/xml/page_authbrowse.xml, Open-ILS/web/opac/skin/default/xml/setenv.xml, Open-ILS/web/templates/default/conify/global/cat/authority/thesauru s.tt2, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: config ui trivial improvements, scratching out a place for a browse UI 2011-06-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/conify/global/cat/authority/control_ set_authority_field.tt2: Fix minor glitch when trying to create new authority fields The Autogrid can handle empty arrays as values for acsaf.bib_fields and acsaf.axis_maps, but can't handle undefined. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/cat/authority/common.js, Open-ILS/web/js/ui/default/conify/global/cat/authority/common.js, Open-ILS/web/templates/default/cat/authority/browse_axis.tt2, Open-ILS/web/templates/default/cat/authority/browse_axis_authority_ field_map.tt2, Open-ILS/web/templates/default/cat/authority/control_set.tt2, Open-ILS/web/templates/default/cat/authority/control_set_authority_ field.tt2, Open-ILS/web/templates/default/cat/authority/control_set_bib_field. tt2, Open-ILS/web/templates/default/cat/authority/thesaurus.tt2, Open-ILS/web/templates/default/conify/global/authority/authority_fi eld.tt2.old, Open-ILS/web/templates/default/conify/global/authority/bib_field.tt 2.old, Open-ILS/web/templates/default/conify/global/authority/control_set. tt2.old, Open-ILS/web/templates/default/conify/global/authority/thesaurus.tt 2.old, Open-ILS/web/templates/default/conify/global/cat/authority/browse_a xis.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/browse_a xis_authority_field_map.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set_authority_field.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/control_ set_bib_field.tt2, Open-ILS/web/templates/default/conify/global/cat/authority/thesauru s.tt2, Open-ILS/xul/staff_client/chrome/content/main/menu.js: Move the authority control set config interfaces back into conify Really, that's where they make sense. And they're done. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/authority/nls/authority.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/templates/default/cat/authority/browse_axis.tt2, Open-ILS/web/templates/default/cat/authority/browse_axis_authority_ field_map.tt2, Open-ILS/web/templates/default/cat/authority/control_set_authority_ field.tt2, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Axis-field map editor and editor for the axes themselves The editor for the axes themselves is accessed directly from staff client menu. Everything else is reached indirectly from the control set editor. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/authority/nls/authority.js, Open-ILS/web/js/ui/default/cat/authority/common.js, Open-ILS/web/templates/default/cat/authority/control_set_authority_ field.tt2, Open-ILS/web/templates/default/cat/authority/control_set_bib_field. tt2, Open-ILS/web/templates/default/cat/authority/thesaurus.tt2: Add bib field editor. Also make all the editors written so far... ... for authority control sets-related objects do the right thing to help users create/edit new child objects linked to the right parent table without extra effort. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-22 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm, Open-ILS/web/js/ui/default/cat/authority/common.js, Open-ILS/web/templates/default/cat/authority/control_set.tt2, Open-ILS/web/templates/default/cat/authority/control_set_authority_ field.tt2, Open-ILS/web/templates/default/cat/authority/thesaurus.tt2: Ability to return to specific authority.control_set or to specific authority.control_set_authority_field from a child table. Other improvements heading toward finishing authority control set config UI Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-21 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/cat/authority/control_set_authority_ field.tt2: Editor for authority fields Due to time constraints (and AutoGrid limitations) a click-through UI with separate pages for separate objects used by the new authority control sets feature is necessary for now rather than a comprehensive interface with multiple grids on the same page. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-21 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/authority/nls/authority.js, Open-ILS/web/templates/default/cat/authority/control_set.tt2, Open-ILS/web/templates/default/cat/authority/thesaurus.tt2: Thesauri editor 2011-06-21 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/authority/control_set.tt2, Open-ILS/web/templates/default/cat/authority/control_set.tt2, Open-ILS/xul/staff_client/chrome/content/main/menu.js: moving stuff where it goes 2011-06-21 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm, Open-ILS/web/js/dojo/openils/authority/nls/authority.js, Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/templates/default/authority/control_set.tt2, Open-ILS/web/templates/default/conify/global/authority/authority_fi eld.tt2, Open-ILS/web/templates/default/conify/global/authority/authority_fi eld.tt2.old, Open-ILS/web/templates/default/conify/global/authority/bib_field.tt 2, Open-ILS/web/templates/default/conify/global/authority/bib_field.tt 2.old, Open-ILS/web/templates/default/conify/global/authority/control_set. tt2, Open-ILS/web/templates/default/conify/global/authority/control_set. tt2.old, Open-ILS/web/templates/default/conify/global/authority/thesaurus.tt 2, Open-ILS/web/templates/default/conify/global/authority/thesaurus.tt 2.old, 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/chrome/locale/en-US/offline.properties: conify type interfaces in progress. not completely deleting old unfinished ones yet; there are probably things to salvage Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-15 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Put thesaurus-z handling back in Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/templates/default/conify/global/authority/authority_fi eld.tt2, Open-ILS/web/templates/default/conify/global/authority/bib_field.tt 2, Open-ILS/web/templates/default/conify/global/authority/control_set. tt2, Open-ILS/web/templates/default/conify/global/authority/thesaurus.tt 2: Beginnings of the config interfaces Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-30 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Move RULE down so that the named tables actually exist Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-29 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Switch authority startwith index back to the pre-checking-deletedness version Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-28 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql: correcting template generation; filter out subfields that we do not use in the authority record Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-28 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/xul/staff_client/server/cat/marcedit.js: Minor bug fixes (alignment of fm classes, etc); Do not check deletedness, just remove the afr data upon "delete" of an authority; We still need the non-tpo index on afr.value Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/xul/staff_client/server/cat/marcedit.js: Heading normalization bug; Use CStoreEditor, not Editor; syntax-y bugs Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/js/dojo/MARC/FixedFields.js, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: General bug fixes and formatting cleanup Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-26 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Repaired syntax errors in SuperCat.pm Signed-off-by: berick <berick@esilibrary.com> 2011-05-26 berick <berick@esilibrary.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/xul/staff_client/server/cat/marcedit.js: Repaired syntax errors and thinkos * Syntax in AuthorityControlSet.js * Protect against empty kwargs hash * marcedit.js fixes: Load dojo class before use; Load in my_init(), before which dojo is not defined Signed-off-by: berick <berick@esilibrary.com> 2011-05-26 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/Authority.pm: Protect against empty lists of linked bib searches Instead of returning undef when passed an empty list of bibs, always return an array from open-ils.cat.authority.records.count_linked_bibs Apart from consistency, this prevents JS errors in the Manage Authorities UI. Signed-off-by: berick <berick@esilibrary.com> 2011-05-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql: SQL typo cleanup Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/ui/default/cat/authority/list.js, Open-ILS/web/templates/default/cat/authority/list.tt2: Use the configured set of authority browse axes in the authority browse interfaces 2011-05-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Use the new singular methods that accept an axis as a param for browse and startwith 2011-05-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Add method for returning valid authority browse axes 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Browse axis based browse and startswith methods; minor documentation corrections 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/xul/staff_client/server/cat/marcedit.js: Use ACS utility functions instead of hard-wired mapping 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: Fetch ACS stuff up front; enhance inter-object mapping per IDL; utility functions 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml: Add axis_maps virtual field to control set authority field 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Adding tables for browse axis mapping 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/xul/staff_client/server/cat/marcedit.js: Use MARC.FixedFields.setFixedField and validate by startwith search against simple_normalized_heading 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: Function to find authority records matching a MARC field 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm: adjust parameters and documentation note 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm: use the new transformed-value starwith operator 2011-05-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/c-apps/oils_sql.c: add a special startwith op for use with transformed values (cannot do it another way currently) 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm: Methods for searching by marcxml, constrained (or not) by control set 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/800.fkeys.sql: Add an index using authority.simple_normalize_heading for search 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Variant of authority.normalize_heading which ignores thesaurus for comparing slim auth records generated from bibs 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/openils/AuthorityControlSet.js: functions for converting bibs to authorities based on ACS 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/AuthorityControlSet.js, Open-ILS/web/js/dojo/openils/AuthorityControlSet.js, Open-ILS/xul/staff_client/server/cat/marcedit.js: Move the AuthorityControlSet module into openils -- it loads data from the server 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/AuthorityControlSet.js: Utility methods 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/FixedFields.js, Open-ILS/web/js/dojo/MARC/Record.js: Bug fixes; Add a method for setting fixed fields; Set the Type FF when rtype=AUT 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql: Move the function to before its first use 2011-05-09 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/AuthorityControlSet.js: Only load control sets once, set the default to the first (for now... YAOUS later) 2011-05-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/AuthorityControlSet.js: Add some logic for fetching stored controlsets and switching amongst them 2011-05-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/FixedFields.js, Open-ILS/xul/staff_client/server/cat/marcedit.js: Initial move of fixed-field manipulation out to the MARC Dojo module 2011-05-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/javascript/backend/catalog/fixed_fields.js: bring backend version up to date with the marc-editor embedded version 2011-05-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/js/dojo/MARC/AuthorityControlSet.js: Stub of a new Dojo module for manipulating ACSs 2011-05-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/020.schema.functions.sql: Use unicode escape instead of raw bytes, for ease of maintenance 2011-04-21 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/020.schema.functions.sql: replace the perlish authority.normalize_heading with a nearly-equiv plpgsql version that understands control sets 2011-04-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Fix XPath in tracing links view; Replace authority overlay template building function with a PLPGSQL + SQL/XML version that is control set aware 2011-04-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Add See From tracings to LoC authority control set 2011-04-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Use control sets to drive the tracing links view 2011-04-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml: Add pcrud controller to control set classes; realign IDL to match tables 2011-04-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/999.functions.global.sql: Trigger to map from thesaurus to control set 2011-04-10 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql: Actually use authority.rec_descriptor, populating it with RecStat, ELvl and Subj (aka Thesaurus) 2011-04-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: figure out non-authoritive fields to search based on the main_entry field on subordinate fields 2011-04-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Seed data for Authority Control Sets -- LoC 2011-04-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Reworking tables a bit to include subfield list on controlling tags, specify hierarchy of tags (main-entry pointers for non-main fields), and remove unneeded name/description on bib fields 2011-04-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/999.functions.global.sql: Fieldmapper additions for Authority Control Set tables/classes 2011-04-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/011.schema.authority.sql: Initial schema changes for Authority Control Sets; some whitespace cleanup 2011-07-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/js.tt2, Open-ILS/web/templates/default/opac/parts/record/awards.tt2: Wrapped up Novelist integration support Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/chilifresh.tt2: Load Chilifresh content after page load Execute the CF JS after other inline JS has run. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/extras.tt2: Removed duplicate 'extras' tab Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2: Avoid mixed content warnings on embedded content cafe Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2: Support for embedded Content Cafe on details page Added support for two new Apache environment variables OILS_CONTENT_CAFE_USER and OILS_CONTENT_CAFE_PASS. If set, a Content Cafe pane will be loaded (via iframe) directly into a new "Summaries & More" section on the record details page of the TT-pac, when the section is expanded. In addition to the C. Cafe content, we also show the 520 bib summary in the same pane. "Summaries & More" is only visible if either there is 520 data or there is a suitable identifier (isbn or upc) and the content cafe configuration is in place. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.p m: Correct CDBI field name on biblio::peer_bib_copy_map Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-07 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Ignore part-mapped copies for mr/title/volume holds Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi .pm: Add Class::DBI linking for monograph parts (and some for conjoined items AKA peer bibs) Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: Correct a documentation comment Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Filter out copies that have a monograph part designator when the hold is a non-P hold Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml: Suggest parts selection on failed parts-capable hold When a title has copy parts and the user does not select a specific part for the hold, treat it as a regular title hold. If the title hold fails, suggest to the user that he/she should select a specific part, since that opens the door to a new set of potentially capturable copies, which allow the hold to be successfully placed. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-07 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0574.data.hold_pull_list_template.sql, Open-ILS/src/sql/Pg/upgrade/xxx.data.hold_pull_list_template.sql: Stamped DB version for hold_pull_list_template w/ parts Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/xxx.data.hold_pull_list_template.sql, Open-ILS/web/opac/extras/circ/alt_holds_print.html, Open-ILS/web/opac/extras/circ/alt_holds_print.js: Add "parts" to Print Full Pull List and Print Full Pull List (Alternate strategy) Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-07 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0573.schema.staff_search_find_no_copies .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.staff_search_find_no_copies.sql: Stamping upgrade version number for staff_search_find_no_copies branch Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-06 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.staff_search_find_no_copies.sql: Unwrapped upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-06 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/300.schema.staged_search.sql: Allow staff search to find bibs sans copies AKA, no call number OR no call numbers with copies Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-17 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: in unified vol/copy editor disallow editing of item attributes when no copies except via templates Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0572.schema.vandelay-record-matching-an d-quality.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.vandelay-record-matching-and-quali ty.sql: Stamped DB version Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-07-06 Bill Erickson <berick@squeeze.localnet> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/800.fkeys.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.vandelay-record-matching-and-quali ty.sql: Seed data and schema cleanup for merge * Updated A/T event-def ID in seed data to match master * Move schema elements into the correct order in the baseline files (mike) Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Logic error fixes in Vandelay * When counting import failures, also count records that have no import items attached * Fixed problem w/ not setting import time/as on newly imported records Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.vandelay-record-matching-and-quali ty.sql, Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: Repaired typo on schema and upgrade SQL ARRAY_ACUM is not a defined function. Per Dan Scott, replaced with ARRAY_AGG instead of the correctly spelled ARRAY_ACCUM, since we'll be using that function in place of ARRAY_ACCUM going forward. Thanks, Dan. Minor syntax/cleanup repairs Remove tmp seed data file. T'was replaced with upgrade script Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-26 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.vandelay-record-matching-and-quali ty.sql: Correct regression that was held over due to massive moving of functions upgrade script cleanup Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-26 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: seed data for vandlelay export templates 2011-05-26 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.vandelay-record-matching-and-quali ty.sql: Initial upgrade script for vandelay improvements TODO: * Set up the ALTER TABLE statements * Further review * Testing 2011-05-24 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/vandelay/inc/queue.tt2: repair selector column width (move to width attr) to free up space in queue display 2011-05-24 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: disable sorting on selector column in queue grid 2011-05-23 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: avoid pile-up of dojo-attached event handlers for queue upload inputs 2011-05-23 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: set imported_as / import_time on import items after successful import 2011-05-23 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js: Yet more Vandelay fixes * Remove the deprecated .nomatch API call. no-match is now a runtime option * Re-fetch queued record after auto-import to avoid clobbering imported_as as set by the DB during auto import 2011-05-21 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Spacing and code comments to keep future-miker from becoming confused again by the lack thereof Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-20 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js, Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: Show the "match score," a hopefully clearer term for match point quality, in the expression tree UI Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: Add items-imported to VL queue summary Added total_items_imported value to queue summary API call. Displaying value in vandelay queue summary area. 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Track import time and target copy on import items Added import_time and imported_as columns to vandelay.import_item For you branch trackers: ALTER TABLE vandelay.import_item ADD import_time TIMESTAMP WITH TIME ZONE; ALTER TABLE vandelay.import_item ADD imported_as BIGINT REFERENCES asset.copy (id) DEFERRABLE INITIALLY DEFERRED; 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: more delineation of quality vs. score in match set config 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: Match set point quality terminology change Change "Quality" in the context of a match set point to "Match Score Value" to avoid overriding the term "quality". 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/vandelay/inc/upload.tt2: Return to dijit.form.Button for VL upload form Otherwise the form is not correctly POSTed 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: show activity dialog on vandelay item export 2011-05-20 berick <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: More Vandelay text and style cleanup * More consistent use of the word "match" * Make upload input more obvious w/ a border * Move some strings into DTD 2011-05-19 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Flexible TCN match configuration If users do not want records with duplicate TCN values imported, users should rely on match-sets to enforce this policy instead of a hard-coded duplicate tcn block. This is done by automatically calling the 'override' version of bib XML import. The only tcn-related failure that can now occur is if no free, non-dupe TCN value can be extracted from the record. 2011-05-19 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/opac/locale/en-US/vandelay.dtd: Vandelay import improvements / bug fixes * Allow for quality ratio control during import-on-1match * Allow for 901c matching when no match-set is selected * Tidy up some display strings * Numerous small bug fixes 2011-05-19 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Clean up match_set data on delete Delete via cascade match_set_point's and match_set_quality entries for a given match_set on delete 2011-05-19 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/vandelay/inc/profiles.tt2: Display org shortname in merge profile editor ...instead of org unit ID 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: return after Email sent alert 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: This function also gets used with authority queues, so don't assume import_items() 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: email template for import items export 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: tweak formatting for CSV export templates, and add headers 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: CSV template for import items export 2011-05-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: robustify exportHandler, assume response of 1 is success for email methods, and make import_item export methods atomic 2011-05-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: toward Import Item templates for export. May want to consider providing IDL links for some of these fields so we can flesh them in the environment 2011-05-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml: Remove excised field from IDL 2011-05-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: fix variable name for Import Items Export 2011-05-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: change the group field for these templates, though they weren't breaking anything before (these are called with fire_object_event and instead of create_events_for_hook, if that makes a difference) 2011-05-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: templates for exporting authority queues, but needs testing. blockers here include importing authority records being broken, and possibly selection of an authority queue to inspect being broken 2011-05-12 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql: email template for queued bib records 2011-05-11 senator <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: In the event that a bib queue is not using a match_set, bail out of... ... match_set_test_marcxml() early. Needs tested. Also may need special check for non-null but empty match_sets. 2011-05-11 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/renumber_me.sql, Open-ILS/web/js/ui/default/vandelay/vandelay.js: CSV template and file saving worked out 2011-05-11 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/upgrade/renumber_me.sql, Open-ILS/web/js/ui/default/vandelay/vandelay.js: first template and supporting code, printing queued bib records 2011-05-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: remove .atomic. from these method names 2011-05-10 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: add .atomic to the end of the queue export API calls where it belongs 2011-05-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: wire in the event firing, though we still need the templates. Put streaming back in for the print/csv/email export methods, since we can respond_complete for email and it to doesn't hurt the other two. 2011-05-09 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: register the methods we're expecting for the print/csv/email exports in Vandelay, and remove limit/offset options for such methods, and expectation of streaming 2011-05-06 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2: initial export drop-down for items UI 2011-05-06 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: initial export drop-down for queue UI 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: more import error tracking and reporting bug fixes 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: run zz_match_bibs_trigger before update/insert so NEW.quality:= will work 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/matches.tt2, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: expose new import options to queue interface importer dialog; mucho import bug fixes in the middle layer code; expose queued rec quality in matches interface 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/profiles.tt2: added edit support for lwm_ratio on merge_profile; default ratio to that of the merge profile if selected and if a ratio is set on the profile 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml: added missing lwm_ratio field to vandelay.merge_profile 2011-05-05 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: record import error handling improvements 2011-05-04 senator <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js, Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: the vandelay match set editor now does quality metrics too 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/matches.tt2, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: Best Match w/ quality ratio merging * Mew Best Match option in merge/overlay * support for upload time minimum record quality ratio * We now /only/ create new records if no matches exist and the user selected a match-free import * Selecting a match-free import no longer trumps other merge imports. They both work together now. TODO: find out why queued record quality is not getting set at queued rec creation time. 2011-05-04 senator <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js, Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: working in quality metric editor 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: grab attr value from vandelay.extract_rec_attrs hstore to compare to configured value 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: repaired copy/paste error in match_bib_record 2011-05-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Allow different quality measures for different values on the same tag+sf/svf 2011-05-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Save incumbent record quality in bib_match.quality, incoming in queued_record.quality 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: initial support for selecting merge-on-best-match and setting minimum quality ratio 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/matches.tt2: show match score/quality in VL record match grid 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml: added missing bib_match.match_score field to IDL 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/matches.tt2: slight mods to vandelay match set page to sync w/ updated bib/auth match table layout 2011-05-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/999.functions.global.sql: Give authority flattening the same treatment as biblio flattening 2011-05-04 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Only ingest bibs and items and run matches /before/ we import a bib 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/vandelay.dtd: more vandelay menubar slimming 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: don't match on deleted bib records 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml: also remove matched_set from IDL 2011-05-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Clean up uses of vandelay.incoming_record_quality to provide all required params; Remove matched_set on matches, just look at the match_set for the queue of the vandelay record in question 2011-05-03 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Add MARC::Charset dance to the remaining plperlu function 2011-05-03 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: match set selection support in vl uploage UI, part 1 2011-05-03 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: delete match_set_point's starting with leaf nodes to avoid foreign key constraints on nodes w/ children 2011-05-03 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/attrs.tt2, Open-ILS/web/templates/default/vandelay/inc/toolbar.tt2, Open-ILS/web/templates/default/vandelay/vandelay.tt2: create an embedded view of the vandelay match-set admin ui inside of vandelay (as one of the tabs) 2011-05-03 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: added support for viewing all import-items related to a queue, with a filter to limit to those that failed import 2011-05-02 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: added view for all failed item imports for a queue; next up is export options 2011-05-02 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js: added support for 'limit records to those with any import errors' in vandelay queue display 2011-05-02 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: added 'with_import_error' option to queued record retrieval; returns recs with either a record or item import failure (or both) 2011-05-02 berick <berick@esilibrary.com> * Open-ILS/web/css/skin/default/vandelay.css, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/upload.tt2: Vandelay file upload page cleanup * Separate data configuration parameters from import actions * Since import item profile is linked to queue, show the profile for the selected queue and dissallow changing the profile for existing queues in the UI (which has no effect) 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/web/css/skin/default/vandelay.css, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/opac/locale/en-US/vandelay.dtd, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: added new stub actions for limit-to-import-errors and show all item import errors; displaying new summary info; much rearrangement to bettet fit the UI pieces 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: add error and item import/error summary info to queue summary api call 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/vandelay/inc/queue.tt2: No longer limit to non-imported items by default in queue display 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/web/js/ui/default/vandelay/vandelay.js: hide item import error grid when not in use misc. bug fixes 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/web/css/skin/default/vandelay.css, Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2: show rec summary and import failure reason when appropriate 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2, Open-ILS/web/templates/default/vandelay/vandelay.tt2: show item import error counts and rec import error as link to error page; initial error page 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/web/js/ui/default/vandelay/vandelay.js, Open-ILS/web/templates/default/vandelay/inc/queue.tt2: record / item import failures summar links 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml: added virtual field for import_items to queued record 2011-04-25 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: added option to flesh import items on queued record retrieval 2011-04-23 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Make sort order of imported item retrieval stable 2011-04-22 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: added api call open-ils.vandelay.import_item.queue.retrieve for fetching import-items by queue, w/ optional has-import-failure filter 2011-04-22 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: added with_rec_import_error and with_item_import_error filters to records-by-queue retrieval 2011-04-22 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: rec import bug error capturing bug fixes 2011-04-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: remove unused match_attr and actually capture eg_record into eg_id 2011-04-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Secondary sort by quality ratio (higher means incoming is more "good" than existing) instead of simple incoming quality, which is a no-op (all the same) 2011-04-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: functions for performing queue-wide vandelay.auto_overlay_bib_record_with_best 2011-04-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: match_score column for recording matchiness; functions for auto-overlay based on "bestness"; low-water-mark boundary for best-auto-overlay 2011-04-22 senator <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Bugfix for negative matches 2011-04-22 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js: some changes in the UI to reflect DB side changes Negation and quality are now ignored for operator nodes, and are not settable in the UI. Also in the UI, you can no longer replace the root node of the tree with a non-op node, meaning the root of a tree is always AND or OR. This is due to some bug that hangs the UI now when you try to save a single-non-op-node tree, and it's not worth debugging: just remove the feature. 2011-04-22 senator <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Replace vandelay.match_bib_record() with the new tree-y version 2011-04-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: We don't have a matched_attr column anymore, because we're using the fancy expression tree, so test for 901c match directly 2011-04-22 berick <berick@commidore64.esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql: initial cut of capturing bib/auth import errors 2011-04-21 berick <berick@commidore64.esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: initial item-import-failure reporting; needs testing 2011-04-21 berick <berick@commidore64.esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: previous cast solution didn't work. casting inline instead 2011-04-21 berick <berick@commidore64.esilibrary.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql: repaired some thinko's in vandelay.match_bib_record stored proc 2011-04-21 berick <berick@commidore64.esilibrary.com> * Open-ILS/examples/fm_IDL.xml: cleaned out some non-existent fields from vandelay classes 2011-04-18 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Working ML method to update a tree 2011-04-18 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js, Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2: Terminology change, more consitent with existing crad editor 2011-04-18 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js: make the "Your Expression" preview more accurate by showing "NOT (a OR b OR c)" instead of "(a NOR b NOR c)". This really only matters in the case of a single clause inside the negated expression: Now such a thing shows up as "NOT (a)" versus "(a)" 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Admin -> Server Administration -> Import Match Sets That's where you'll find the interface for the match set expression editor in the staff client. 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/conify/global/vandelay/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/conify/global/vandelay/match_set.tt2 , Open-ILS/web/templates/default/conify/global/vandelay/match_set_tre e.tt2, Open-ILS/web/templates/default/vandelay/match_set.tt2, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: move parts to conify namespace 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/dojo/openils/vandelay/TreeStoreModel.js, Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: UI perfection. it previews. it saves... (or if it would if the ML method were done, but it will be easy now) I just need to move things to the conify path and add staff client menu entries 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/ui/default/vandelay/match_set.js: Match Set Tree editor improvements/cleanup You can now replace the root node of the tree with anything, and the children will be automatically deleted. This makes it easier to create a single-node tree with no operators, if the user should so desire. comment cleanup, etc 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: make sure user can only add reasonbly valid match points to the tree 2011-04-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/dojo/openils/vandelay/TreeStoreModel.js, Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: 1) implemented working replace mode 2) autocreate new tree on launch if needed 2011-04-14 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/dojo/openils/vandelay/TreeStoreModel.js, Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: lots of things here, but nearly last big UI todo is... to implement openils.vandelay.TreeDndSource._is_replaceable() and then make the changes to itemCreator 2011-04-14 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: Ability to delete nodes from working tree. Show metadata about match_set. 2011-04-13 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/templates/default/vandelay/match_set.tt2, Open-ILS/web/templates/default/vandelay/match_set_tree.tt2: Add an autogrid-based interface for CRUD ops on vms objects, with links to the tree editor 2011-04-12 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Corrected merge from trunk 2011-04-08 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js, Open-ILS/web/js/dojo/openils/vandelay/TreeDndSource.js, Open-ILS/web/js/dojo/openils/vandelay/TreeStoreModel.js, Open-ILS/web/js/dojo/openils/vandelay/nls/match_set.js, Open-ILS/web/js/ui/default/vandelay/match_set.js, Open-ILS/web/templates/default/vandelay/match_set.tt2: Initial vmsp tree editor __ notes __ now we can retrieve a tree from the server and use it as the basis of our dijit.Tree widget. Still work to be done. Can't save anything yet. Note to self: borrow dojo dnd's "copy" operation (as opposed to move) to mean replacing a node in the tree, rather than adding to the tree. Re the permissions I changed, actual users of Evergreen hate having as much granularity as there was before, and it just confuses people trying to figure out what perms to give to whom. Note to self 2: add ADMIN_IMPORT_MATCH_SET to ppl Usability 1) the tree editor will only let bool_op nodes have children 2) you can't put the unset "dummy" node from the leftside onto the tree incidentally, gave fm objects a toString method that identifies their classname hint, as an aid to debugging in general 2011-03-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/012.schema.vandelay.sql: Structure match set points as a tree 2011-03-14 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Protect bib matching from 901$c which has no corresponding incumbent record; also, boost the quality of an exact match 2011-03-14 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: SQL schema cleanup 2011-03-14 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Add table and columns for tracking current import/overlay errors per object 2011-03-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql: Mostly, new function(s) for bib matching based on SVF and tag+subfield; also, goodly amounts of moving things around 2011-03-11 Mike Rylander <mrylander@gmail.com> * Open-ILS/examples/fm_IDL.xml: Teach fieldmapper about the new vandelay classes 2011-03-10 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql: moving functions around; tables for configuring match points and quality metrics 2011-06-16 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Delete protection - Ensure you can touch group Same protection editing a user seems to get: If you don't have the right group_application.user perm, reject Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-16 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: Delete protection - Ensure you can touch group Same protection editing a user seems to get: If you don't have the right group_application.user perm, reject Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-07-05 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Can't use 0 in true/false, use defined instead This allows for setting renewals/grace period to 0 by force Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/circ/copy_status.xul, Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul: Attempt at providing a per bib invocation of the unified vol/copy editor from Item Status, but it's very capable of exercising the bugs referenced below: https://bugs.launchpad.net/evergreen/+bug/787561 https://bugs.launchpad.net/evergreen/+bug/787563 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-07-02 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Fix checkout on alternate patron barcode Specifically, when a non-primary patron barcode is used. Such as via SIP2. NOTE: This does not change the behavior of inactive cards, nor will stock Evergreen usage produce a situation where this fix comes into play. --miker Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-05 Dan Scott <dan@coffeecode.net> * Open-ILS/src/templates/password-reset/request-form.tt2, Open-ILS/src/templates/password-reset/reset-form.tt2: LP805971: Specify UTF8 encoding in password reset templates As reported by Liam Whalen in Launchpad bug 805971: "The file /openils/var/template/password-reset/reset-form.tt2 does not display utf-8 characters. I modified it to include '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />' inside the <head> tag, and the fr-CA version of the page now displays correctly." I duplicated the problem in Firefox 5 and confirmed that the addition of the META tag corrects the problem. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-07-01 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0571.schema.facet_normalizer.sql: Normalize facet values Spotted by Lebbeous Fogle-Weekley, facet values were not being normalized. This is due to changes in how facets are stored in 2.1+. This alternate implementation mirrors the way search_field index definitions work, which is a bit cleaner than inserting normalization into the field extraction process. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-07-01 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0570.schema.fix-authsort.sql, Open-ILS/src/sql/Pg/upgrade/0yyy.schema.fix-authsort.sql: Stampping upgrade for authorsort fix from Lebbeous Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-30 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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/0yyy.schema.fix-authsort.sql: Fix the SVF authorsort field (metabib.record_attr->'authorsort') It's important not to include things like $0 that we wouldn't want in there. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-29 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkout.pm: Use open-ils.circ.checkout.full in SIP2. Change the SIP2 checkout code to use a single call to open-ils. circ.checkout.full instead of doing the whole checkout.permit checkout dance. Further simplify the checkout logic in O::SIP::Transaction::Checkout. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-30 Dan Scott <dan@coffeecode.net> * Open-ILS/examples/oils_web.xml.example, Open-ILS/src/Makefile.am, Open-ILS/src/templates/base.tt2, Open-ILS/src/templates/default/acq/common/claim_dialog.tt2, Open-ILS/src/templates/default/acq/common/final_claim_dialog.tt2, Open-ILS/src/templates/default/acq/common/info.tt2, Open-ILS/src/templates/default/acq/common/inv_dialog.tt2, Open-ILS/src/templates/default/acq/common/jubgrid.tt2, Open-ILS/src/templates/default/acq/common/li_table.tt2, Open-ILS/src/templates/default/acq/common/li_table_pager.tt2, Open-ILS/src/templates/default/acq/common/notes.tt2, Open-ILS/src/templates/default/acq/financial/claim_eligible.tt2, Open-ILS/src/templates/default/acq/financial/list_currency_types.tt 2, Open-ILS/src/templates/default/acq/financial/list_funding_sources.t t2, Open-ILS/src/templates/default/acq/financial/list_funds.tt2, Open-ILS/src/templates/default/acq/financial/view_fund.tt2, Open-ILS/src/templates/default/acq/financial/view_funding_source.tt 2, Open-ILS/src/templates/default/acq/financial/view_provider.tt2, Open-ILS/src/templates/default/acq/invoice/view.tt2, Open-ILS/src/templates/default/acq/lineitem/findbib.tt2, Open-ILS/src/templates/default/acq/lineitem/history.tt2, Open-ILS/src/templates/default/acq/lineitem/related.tt2, Open-ILS/src/templates/default/acq/lineitem/search.tt2, Open-ILS/src/templates/default/acq/lineitem/worksheet.tt2, Open-ILS/src/templates/default/acq/picklist/bib_search.tt2, Open-ILS/src/templates/default/acq/picklist/brief_record.tt2, Open-ILS/src/templates/default/acq/picklist/from_bib.tt2, Open-ILS/src/templates/default/acq/picklist/list.tt2, Open-ILS/src/templates/default/acq/picklist/upload.tt2, Open-ILS/src/templates/default/acq/picklist/user_request.tt2, Open-ILS/src/templates/default/acq/picklist/view.tt2, Open-ILS/src/templates/default/acq/po/create.tt2, Open-ILS/src/templates/default/acq/po/edi_messages.tt2, Open-ILS/src/templates/default/acq/po/events.tt2, Open-ILS/src/templates/default/acq/po/history.tt2, Open-ILS/src/templates/default/acq/po/item_table.tt2, Open-ILS/src/templates/default/acq/po/search.tt2, Open-ILS/src/templates/default/acq/po/view.tt2, Open-ILS/src/templates/default/acq/receiving/process.tt2, Open-ILS/src/templates/default/acq/search/unified.tt2, Open-ILS/src/templates/default/acq/settings/li_attr.tt2, Open-ILS/src/templates/default/actor/user/register.tt2, Open-ILS/src/templates/default/actor/user/register_table.tt2, Open-ILS/src/templates/default/actor/user/trigger_events.tt2, Open-ILS/src/templates/default/base.tt2, Open-ILS/src/templates/default/booking/capture.tt2, Open-ILS/src/templates/default/booking/pickup.tt2, Open-ILS/src/templates/default/booking/pull_list.tt2, Open-ILS/src/templates/default/booking/reservation.tt2, Open-ILS/src/templates/default/booking/return.tt2, Open-ILS/src/templates/default/cat/authority/list.tt2, Open-ILS/src/templates/default/circ/selfcheck/audio_config.tt2, Open-ILS/src/templates/default/circ/selfcheck/banner.tt2, Open-ILS/src/templates/default/circ/selfcheck/circ_page.tt2, Open-ILS/src/templates/default/circ/selfcheck/fines.tt2, Open-ILS/src/templates/default/circ/selfcheck/holds_page.tt2, Open-ILS/src/templates/default/circ/selfcheck/main.tt2, Open-ILS/src/templates/default/circ/selfcheck/patron_login.tt2, Open-ILS/src/templates/default/circ/selfcheck/payment.tt2, Open-ILS/src/templates/default/circ/selfcheck/summary.tt2, Open-ILS/src/templates/default/conify/global/acq/cancel_reason.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_event_type.t t2, Open-ILS/src/templates/default/conify/global/acq/claim_policy.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_policy_actio n.tt2, Open-ILS/src/templates/default/conify/global/acq/claim_type.tt2, Open-ILS/src/templates/default/conify/global/acq/distribution_formu la.tt2, Open-ILS/src/templates/default/conify/global/acq/edi_account.tt2, Open-ILS/src/templates/default/conify/global/acq/exchange_rate.tt2, Open-ILS/src/templates/default/conify/global/acq/fund_tag.tt2, Open-ILS/src/templates/default/conify/global/acq/invoice_item_type. tt2, Open-ILS/src/templates/default/conify/global/acq/invoice_payment_me thod.tt2, Open-ILS/src/templates/default/conify/global/acq/lineitem_alert.tt2 , Open-ILS/src/templates/default/conify/global/acq/lineitem_marc_attr _def.tt2, Open-ILS/src/templates/default/conify/global/acq/provider.tt2, Open-ILS/src/templates/default/conify/global/action/survey.tt2, Open-ILS/src/templates/default/conify/global/action/survey/edit.tt2 , Open-ILS/src/templates/default/conify/global/action_trigger/event_d efinition.tt2, Open-ILS/src/templates/default/conify/global/action_trigger/event_d efinition_data.tt2, Open-ILS/src/templates/default/conify/global/asset/copy_location_or der.tt2, Open-ILS/src/templates/default/conify/global/asset/copy_template.tt 2, Open-ILS/src/templates/default/conify/global/biblio/monograph_part. tt2, Open-ILS/src/templates/default/conify/global/booking/resource.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr. tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr_ map.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_attr_ value.tt2, Open-ILS/src/templates/default/conify/global/booking/resource_type. tt2, Open-ILS/src/templates/default/conify/global/config/acn_prefix.tt2, Open-ILS/src/templates/default/conify/global/config/acn_suffix.tt2, Open-ILS/src/templates/default/conify/global/config/actor_sip_field s.tt2, Open-ILS/src/templates/default/conify/global/config/asset_sip_field s.tt2, Open-ILS/src/templates/default/conify/global/config/barcode_complet ion.tt2, Open-ILS/src/templates/default/conify/global/config/billing_type.tt 2, Open-ILS/src/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/src/templates/default/conify/global/config/circ_matrix_wei ghts.tt2, Open-ILS/src/templates/default/conify/global/config/circ_modifier.t t2, Open-ILS/src/templates/default/conify/global/config/coded_value_map .tt2, Open-ILS/src/templates/default/conify/global/config/global_flag.tt2 , Open-ILS/src/templates/default/conify/global/config/hard_due_date.t t2, Open-ILS/src/templates/default/conify/global/config/hard_due_date_v alues.tt2, Open-ILS/src/templates/default/conify/global/config/hold_matrix_mat chpoint.tt2, Open-ILS/src/templates/default/conify/global/config/hold_matrix_wei ghts.tt2, Open-ILS/src/templates/default/conify/global/config/idl_field_doc.t t2, Open-ILS/src/templates/default/conify/global/config/metabib_field.t t2, Open-ILS/src/templates/default/conify/global/config/org_unit_settin g_type.tt2, Open-ILS/src/templates/default/conify/global/config/record_attr_def inition.tt2, Open-ILS/src/templates/default/conify/global/config/rule_age_hold_p rotect.tt2, Open-ILS/src/templates/default/conify/global/config/rule_circ_durat ion.tt2, Open-ILS/src/templates/default/conify/global/config/rule_max_fine.t t2, Open-ILS/src/templates/default/conify/global/config/rule_recurring_ fine.tt2, Open-ILS/src/templates/default/conify/global/config/standing_penalt y.tt2, Open-ILS/src/templates/default/conify/global/config/usr_setting_typ e.tt2, Open-ILS/src/templates/default/conify/global/config/weight_assoc.tt 2, Open-ILS/src/templates/default/conify/global/config/z3950_source.tt 2, Open-ILS/src/templates/default/conify/global/permission/grp_penalty _threshold.tt2, Open-ILS/src/templates/default/footer.tt2, Open-ILS/src/templates/default/header.tt2, Open-ILS/src/templates/default/menu.tt2, Open-ILS/src/templates/default/opac/advanced.tt2, Open-ILS/src/templates/default/opac/home.tt2, Open-ILS/src/templates/default/opac/login.tt2, Open-ILS/src/templates/default/opac/mylist.tt2, Open-ILS/src/templates/default/opac/myopac/circ_history.tt2, Open-ILS/src/templates/default/opac/myopac/circs.tt2, Open-ILS/src/templates/default/opac/myopac/hold_history.tt2, Open-ILS/src/templates/default/opac/myopac/holds.tt2, Open-ILS/src/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/src/templates/default/opac/myopac/lists.tt2, Open-ILS/src/templates/default/opac/myopac/main.tt2, Open-ILS/src/templates/default/opac/myopac/main_pay.tt2, Open-ILS/src/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/src/templates/default/opac/myopac/main_payments.tt2, Open-ILS/src/templates/default/opac/myopac/prefs.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/src/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/src/templates/default/opac/myopac/receipt_print.tt2, Open-ILS/src/templates/default/opac/myopac/update_email.tt2, Open-ILS/src/templates/default/opac/myopac/update_password.tt2, Open-ILS/src/templates/default/opac/myopac/update_username.tt2, Open-ILS/src/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/src/templates/default/opac/parts/advanced/search.tt2, Open-ILS/src/templates/default/opac/parts/anon_list.tt2, Open-ILS/src/templates/default/opac/parts/base.tt2, Open-ILS/src/templates/default/opac/parts/chilifresh.tt2, Open-ILS/src/templates/default/opac/parts/cn_browse.tt2, Open-ILS/src/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/src/templates/default/opac/parts/config.tt2, Open-ILS/src/templates/default/opac/parts/filtersort.tt2, Open-ILS/src/templates/default/opac/parts/footer.tt2, Open-ILS/src/templates/default/opac/parts/header.tt2, Open-ILS/src/templates/default/opac/parts/homesearch.tt2, Open-ILS/src/templates/default/opac/parts/js.tt2, Open-ILS/src/templates/default/opac/parts/login/form.tt2, Open-ILS/src/templates/default/opac/parts/login/help.tt2, Open-ILS/src/templates/default/opac/parts/login/password_hint.tt2, Open-ILS/src/templates/default/opac/parts/misc_util.tt2, Open-ILS/src/templates/default/opac/parts/myopac/base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/main_base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/main_refund_policy .tt2, Open-ILS/src/templates/default/opac/parts/myopac/prefs_base.tt2, Open-ILS/src/templates/default/opac/parts/myopac/prefs_hints.tt2, Open-ILS/src/templates/default/opac/parts/org_selector.tt2, Open-ILS/src/templates/default/opac/parts/place_hold.tt2, Open-ILS/src/templates/default/opac/parts/printnav.tt2, Open-ILS/src/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/src/templates/default/opac/parts/record/authors.tt2, Open-ILS/src/templates/default/opac/parts/record/awards.tt2, Open-ILS/src/templates/default/opac/parts/record/body.tt2, Open-ILS/src/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/src/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/src/templates/default/opac/parts/record/extras.tt2, Open-ILS/src/templates/default/opac/parts/record/issues.tt2, Open-ILS/src/templates/default/opac/parts/record/refworks.tt2, Open-ILS/src/templates/default/opac/parts/record/subjects.tt2, Open-ILS/src/templates/default/opac/parts/record/summary.tt2, Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/src/templates/default/opac/parts/result/lowhits_purchase.t t2, Open-ILS/src/templates/default/opac/parts/result/table.tt2, Open-ILS/src/templates/default/opac/parts/searchbar.tt2, Open-ILS/src/templates/default/opac/parts/tips.tt2, Open-ILS/src/templates/default/opac/parts/topnav.tt2, Open-ILS/src/templates/default/opac/parts/topnav_links.tt2, Open-ILS/src/templates/default/opac/parts/topnav_logo.tt2, Open-ILS/src/templates/default/opac/place_hold.tt2, Open-ILS/src/templates/default/opac/record.tt2, Open-ILS/src/templates/default/opac/results.tt2, Open-ILS/src/templates/default/serial/list_item.tt2, Open-ILS/src/templates/default/serial/list_stream.tt2, Open-ILS/src/templates/default/serial/list_subscription.tt2, Open-ILS/src/templates/default/serial/print_routing_list_users.tt2, Open-ILS/src/templates/default/serial/subscription.tt2, Open-ILS/src/templates/default/serial/subscription/caption_and_patt ern.tt2, Open-ILS/src/templates/default/serial/subscription/distribution.tt2 , Open-ILS/src/templates/default/serial/subscription/issuance.tt2, Open-ILS/src/templates/default/vandelay/inc/attrs.tt2, Open-ILS/src/templates/default/vandelay/inc/export.tt2, Open-ILS/src/templates/default/vandelay/inc/item_attrs.tt2, Open-ILS/src/templates/default/vandelay/inc/marchtml.tt2, Open-ILS/src/templates/default/vandelay/inc/matches.tt2, Open-ILS/src/templates/default/vandelay/inc/profiles.tt2, Open-ILS/src/templates/default/vandelay/inc/progress.tt2, Open-ILS/src/templates/default/vandelay/inc/queue.tt2, Open-ILS/src/templates/default/vandelay/inc/queueselect.tt2, Open-ILS/src/templates/default/vandelay/inc/toolbar.tt2, Open-ILS/src/templates/default/vandelay/inc/upload.tt2, Open-ILS/src/templates/default/vandelay/vandelay.tt2, Open-ILS/src/templates/login.tt2, Open-ILS/src/templates_kcls/default/opac/myopac/main_refund_policy. tt2, Open-ILS/src/templates_kcls/default/opac/parts/footer.tt2, Open-ILS/src/templates_kcls/default/opac/parts/homesearch.tt2, Open-ILS/src/templates_kcls/default/opac/parts/login/help.tt2, Open-ILS/src/templates_kcls/default/opac/parts/myopac/prefs_hints.t t2, Open-ILS/src/templates_kcls/default/opac/parts/printnav.tt2, Open-ILS/src/templates_kcls/default/opac/parts/result/lowhits_purch ase.tt2, Open-ILS/src/templates_kcls/default/opac/parts/topnav_links.tt2, Open-ILS/src/templates_kcls/default/opac/parts/topnav_logo.tt2, Open-ILS/web/templates/base.tt2, Open-ILS/web/templates/default/acq/common/claim_dialog.tt2, Open-ILS/web/templates/default/acq/common/final_claim_dialog.tt2, Open-ILS/web/templates/default/acq/common/info.tt2, Open-ILS/web/templates/default/acq/common/inv_dialog.tt2, Open-ILS/web/templates/default/acq/common/jubgrid.tt2, Open-ILS/web/templates/default/acq/common/li_table.tt2, Open-ILS/web/templates/default/acq/common/li_table_pager.tt2, Open-ILS/web/templates/default/acq/common/notes.tt2, Open-ILS/web/templates/default/acq/financial/claim_eligible.tt2, Open-ILS/web/templates/default/acq/financial/list_currency_types.tt 2, Open-ILS/web/templates/default/acq/financial/list_funding_sources.t t2, Open-ILS/web/templates/default/acq/financial/list_funds.tt2, Open-ILS/web/templates/default/acq/financial/view_fund.tt2, Open-ILS/web/templates/default/acq/financial/view_funding_source.tt 2, Open-ILS/web/templates/default/acq/financial/view_provider.tt2, Open-ILS/web/templates/default/acq/invoice/view.tt2, Open-ILS/web/templates/default/acq/lineitem/findbib.tt2, Open-ILS/web/templates/default/acq/lineitem/history.tt2, Open-ILS/web/templates/default/acq/lineitem/related.tt2, Open-ILS/web/templates/default/acq/lineitem/search.tt2, Open-ILS/web/templates/default/acq/lineitem/worksheet.tt2, Open-ILS/web/templates/default/acq/picklist/bib_search.tt2, Open-ILS/web/templates/default/acq/picklist/brief_record.tt2, Open-ILS/web/templates/default/acq/picklist/from_bib.tt2, Open-ILS/web/templates/default/acq/picklist/list.tt2, Open-ILS/web/templates/default/acq/picklist/upload.tt2, Open-ILS/web/templates/default/acq/picklist/user_request.tt2, Open-ILS/web/templates/default/acq/picklist/view.tt2, Open-ILS/web/templates/default/acq/po/create.tt2, Open-ILS/web/templates/default/acq/po/edi_messages.tt2, Open-ILS/web/templates/default/acq/po/events.tt2, Open-ILS/web/templates/default/acq/po/history.tt2, Open-ILS/web/templates/default/acq/po/item_table.tt2, Open-ILS/web/templates/default/acq/po/search.tt2, Open-ILS/web/templates/default/acq/po/view.tt2, Open-ILS/web/templates/default/acq/receiving/process.tt2, Open-ILS/web/templates/default/acq/search/unified.tt2, Open-ILS/web/templates/default/acq/settings/li_attr.tt2, Open-ILS/web/templates/default/actor/user/register.tt2, Open-ILS/web/templates/default/actor/user/register_table.tt2, Open-ILS/web/templates/default/actor/user/trigger_events.tt2, Open-ILS/web/templates/default/base.tt2, Open-ILS/web/templates/default/booking/capture.tt2, Open-ILS/web/templates/default/booking/pickup.tt2, Open-ILS/web/templates/default/booking/pull_list.tt2, Open-ILS/web/templates/default/booking/reservation.tt2, Open-ILS/web/templates/default/booking/return.tt2, Open-ILS/web/templates/default/cat/authority/list.tt2, Open-ILS/web/templates/default/circ/selfcheck/audio_config.tt2, Open-ILS/web/templates/default/circ/selfcheck/banner.tt2, Open-ILS/web/templates/default/circ/selfcheck/circ_page.tt2, Open-ILS/web/templates/default/circ/selfcheck/fines.tt2, Open-ILS/web/templates/default/circ/selfcheck/holds_page.tt2, Open-ILS/web/templates/default/circ/selfcheck/main.tt2, Open-ILS/web/templates/default/circ/selfcheck/patron_login.tt2, Open-ILS/web/templates/default/circ/selfcheck/payment.tt2, Open-ILS/web/templates/default/circ/selfcheck/summary.tt2, Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2, Open-ILS/web/templates/default/conify/global/acq/claim_event_type.t t2, Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2, Open-ILS/web/templates/default/conify/global/acq/claim_policy_actio n.tt2, Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2, Open-ILS/web/templates/default/conify/global/acq/distribution_formu la.tt2, Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2, Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2, Open-ILS/web/templates/default/conify/global/acq/fund_tag.tt2, Open-ILS/web/templates/default/conify/global/acq/invoice_item_type. tt2, Open-ILS/web/templates/default/conify/global/acq/invoice_payment_me thod.tt2, Open-ILS/web/templates/default/conify/global/acq/lineitem_alert.tt2 , Open-ILS/web/templates/default/conify/global/acq/lineitem_marc_attr _def.tt2, Open-ILS/web/templates/default/conify/global/acq/provider.tt2, Open-ILS/web/templates/default/conify/global/action/survey.tt2, Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 , Open-ILS/web/templates/default/conify/global/action_trigger/event_d efinition.tt2, Open-ILS/web/templates/default/conify/global/action_trigger/event_d efinition_data.tt2, Open-ILS/web/templates/default/conify/global/asset/copy_location_or der.tt2, Open-ILS/web/templates/default/conify/global/asset/copy_template.tt 2, Open-ILS/web/templates/default/conify/global/biblio/monograph_part. tt2, Open-ILS/web/templates/default/conify/global/booking/resource.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr. tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr_ map.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_attr_ value.tt2, Open-ILS/web/templates/default/conify/global/booking/resource_type. tt2, Open-ILS/web/templates/default/conify/global/config/acn_prefix.tt2, Open-ILS/web/templates/default/conify/global/config/acn_suffix.tt2, Open-ILS/web/templates/default/conify/global/config/actor_sip_field s.tt2, Open-ILS/web/templates/default/conify/global/config/asset_sip_field s.tt2, Open-ILS/web/templates/default/conify/global/config/barcode_complet ion.tt2, Open-ILS/web/templates/default/conify/global/config/billing_type.tt 2, Open-ILS/web/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/web/templates/default/conify/global/config/circ_matrix_wei ghts.tt2, Open-ILS/web/templates/default/conify/global/config/circ_modifier.t t2, Open-ILS/web/templates/default/conify/global/config/coded_value_map .tt2, Open-ILS/web/templates/default/conify/global/config/global_flag.tt2 , Open-ILS/web/templates/default/conify/global/config/hard_due_date.t t2, Open-ILS/web/templates/default/conify/global/config/hard_due_date_v alues.tt2, Open-ILS/web/templates/default/conify/global/config/hold_matrix_mat chpoint.tt2, Open-ILS/web/templates/default/conify/global/config/hold_matrix_wei ghts.tt2, Open-ILS/web/templates/default/conify/global/config/idl_field_doc.t t2, Open-ILS/web/templates/default/conify/global/config/metabib_field.t t2, Open-ILS/web/templates/default/conify/global/config/org_unit_settin g_type.tt2, Open-ILS/web/templates/default/conify/global/config/record_attr_def inition.tt2, Open-ILS/web/templates/default/conify/global/config/rule_age_hold_p rotect.tt2, Open-ILS/web/templates/default/conify/global/config/rule_circ_durat ion.tt2, Open-ILS/web/templates/default/conify/global/config/rule_max_fine.t t2, Open-ILS/web/templates/default/conify/global/config/rule_recurring_ fine.tt2, Open-ILS/web/templates/default/conify/global/config/standing_penalt y.tt2, Open-ILS/web/templates/default/conify/global/config/usr_setting_typ e.tt2, Open-ILS/web/templates/default/conify/global/config/weight_assoc.tt 2, Open-ILS/web/templates/default/conify/global/config/z3950_source.tt 2, Open-ILS/web/templates/default/conify/global/permission/grp_penalty _threshold.tt2, Open-ILS/web/templates/default/footer.tt2, Open-ILS/web/templates/default/header.tt2, Open-ILS/web/templates/default/menu.tt2, Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/mylist.tt2, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2, Open-ILS/web/templates/default/opac/myopac/update_password.tt2, Open-ILS/web/templates/default/opac/myopac/update_username.tt2, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/chilifresh.tt2, Open-ILS/web/templates/default/opac/parts/cn_browse.tt2, Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/web/templates/default/opac/parts/config.tt2, Open-ILS/web/templates/default/opac/parts/filtersort.tt2, Open-ILS/web/templates/default/opac/parts/footer.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/homesearch.tt2, Open-ILS/web/templates/default/opac/parts/js.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/login/help.tt2, Open-ILS/web/templates/default/opac/parts/login/password_hint.tt2, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_refund_policy .tt2, Open-ILS/web/templates/default/opac/parts/myopac/prefs_base.tt2, Open-ILS/web/templates/default/opac/parts/myopac/prefs_hints.tt2, Open-ILS/web/templates/default/opac/parts/org_selector.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/printnav.tt2, Open-ILS/web/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/web/templates/default/opac/parts/record/authors.tt2, Open-ILS/web/templates/default/opac/parts/record/awards.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/issues.tt2, Open-ILS/web/templates/default/opac/parts/record/refworks.tt2, Open-ILS/web/templates/default/opac/parts/record/subjects.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.t t2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/tips.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/parts/topnav_links.tt2, Open-ILS/web/templates/default/opac/parts/topnav_logo.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2, Open-ILS/web/templates/default/serial/list_item.tt2, Open-ILS/web/templates/default/serial/list_stream.tt2, Open-ILS/web/templates/default/serial/list_subscription.tt2, Open-ILS/web/templates/default/serial/print_routing_list_users.tt2, Open-ILS/web/templates/default/serial/subscription.tt2, Open-ILS/web/templates/default/serial/subscription/caption_and_patt ern.tt2, Open-ILS/web/templates/default/serial/subscription/distribution.tt2 , Open-ILS/web/templates/default/serial/subscription/issuance.tt2, Open-ILS/web/templates/default/vandelay/inc/attrs.tt2, Open-ILS/web/templates/default/vandelay/inc/export.tt2, Open-ILS/web/templates/default/vandelay/inc/item_attrs.tt2, Open-ILS/web/templates/default/vandelay/inc/marchtml.tt2, Open-ILS/web/templates/default/vandelay/inc/matches.tt2, Open-ILS/web/templates/default/vandelay/inc/profiles.tt2, Open-ILS/web/templates/default/vandelay/inc/progress.tt2, Open-ILS/web/templates/default/vandelay/inc/queue.tt2, Open-ILS/web/templates/default/vandelay/inc/queueselect.tt2, Open-ILS/web/templates/default/vandelay/inc/toolbar.tt2, Open-ILS/web/templates/default/vandelay/inc/upload.tt2, Open-ILS/web/templates/default/vandelay/vandelay.tt2, Open-ILS/web/templates/login.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/main_refund_policy. tt2, Open-ILS/web/templates_kcls/default/opac/parts/footer.tt2, Open-ILS/web/templates_kcls/default/opac/parts/homesearch.tt2, Open-ILS/web/templates_kcls/default/opac/parts/login/help.tt2, Open-ILS/web/templates_kcls/default/opac/parts/myopac/prefs_hints.t t2, Open-ILS/web/templates_kcls/default/opac/parts/printnav.tt2, Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purch ase.tt2, Open-ILS/web/templates_kcls/default/opac/parts/topnav_links.tt2, Open-ILS/web/templates_kcls/default/opac/parts/topnav_logo.tt2: Move templates out of a web-served directory It has always been dicey to keep templates in the web-served /openils/var/web directory; with the rise of config.tt2 it is past time to get the templates out of there. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-14 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/print.js: when using params.data keys as print macros, render bare numbers correctly, and treat nulls as empty strings Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-13 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/server/cat/bib_brief_overlay.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul: add Print button and associated template for Holdings Maintenance wire up List Actions for Holdings Maintenance * give List Actions support for nested rows in trees * give util.list.print support for nested rows in trees * we can leverage bib_brief_overlay to populate params.data for printing instead of fleshing out DOM Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-30 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/config.tt2: More config docs for SFX resolver TTOPAC bits Helpful to let people know that they need to enable open-ils.resolver in opensrf.xml as it is the one service that is not enabled by default. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-09 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: Hold Notes column New column in holds list UIs that allows staff to see at a glance the (initial) text content of attached hold notes. In some cases, this helps avoid the need to open the dedicated notes UI. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-29 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul, Open-ILS/xul/staff_client/server/cat/copy_buckets.js, Open-ILS/xul/staff_client/server/cat/copy_buckets.xul, Open-ILS/xul/staff_client/server/cat/copy_buckets_overlay.xul, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/circ/copy_status.xul, Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul, Open-ILS/xul/staff_client/server/locale/en-US/patron.properties, Open-ILS/xul/staff_client/server/patron/holds.js, Open-ILS/xul/staff_client/server/patron/place_hold.js, Open-ILS/xul/staff_client/server/patron/place_hold.xul: Staff UI for batch holds on items. "Request Item" action in Holdings Maintenance, Item Status, and Copy Buckets is the entry-point. Works on selected items in the first two interfaces and all items in the bucket for the latter. UI allows you to place Copy type, Recall type, or Force type holds. It reports the # of successes and breaks down the failures by failure event. You can retry failures (optionally changing some of the request parameters like Pickup Library) or "override" them. Clicking the hyperlink for a set of failures will show the items involved in a new Item Status tab. More technical blurbs from squashed commits: * "open-ils.circ.holds.test_and_create.batch" Takes an argument hash and a list of targets. All the holds created will be identical except for the targets. * retrieve and display Recall and Force holds like Copy holds * give the Item Status UI an inefficient way to handle being passed copy id's (via xulG) in addition to barcodes * wire-up item hold request ui * place hold UI Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-29 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2: Current master creates XPath of volumes/volume/uris/uri In the master integration template-toolkit branch, we can correct the XPath to match reality. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-29 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: Don't include non-existent elements in search results It does not make sense to clutter HTML output with table rows that are destined to remain hidden and empty of any data; therefore, instead of setting the class to "hide_me" when there is no value to display, just do not display the row at all. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-29 Rick Scott <rick@shadowspar.dyndns.org> * Open-ILS/web/templates/default/opac/parts/printnav.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: Clean up unneeded alt txt; rework "Add to my list" 1: Set blank alt text attrib on non-functional images; also remove alt text on images that's duplicated by adjacent link text. This reduces clutter text browser and screen reader users. More: http://universalusability.com/access_by_design/images/irrelevant.html2: Make "Add to my list" use a styled link instead of an image & button, like the "Place Hold" link next to it. This lets us remove the duplicate alt text, makes the two items operate in the same way, and makes the presentation code more similar between table.tt2 & record/summary.tt2. 2011-06-29 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/MANIFEST, Open-ILS/src/perlmods/lib/Template/Plugin/ResolverResolver.pm, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Merge in the TT Resolver plugin code Add the plugin to the MANIFEST to ensure that it gets installed appropriately, and pull in the appropriate changes to the record summary and search results pages. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Art Rhyno <artrhyno@uwindsor.ca> 2011-06-29 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/config.tt2, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Add SFX integration into base TT OPAC, with config.tt2 entries If openurl.enabled is true, then resolve ISBNs and ISSNs and display the corresponding electronic resources that we have available. Note that if there is a subfield 9 with SFX in either the ISBN or ISSN, then that is the preferred ISSN to use; otherwise we fall back to resolving all of the ISSNs in the record. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-29 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: Don't display located URIs in record details copy table The more correct approach would be to modify the JSON query to exclude copies from volumes where label = '##URI##', or to cut over to the in-db unapi-based xml_holdings + acp approach - but for now this is a quick and dirty fix that can't possibly hurt. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Improve copy display in search results Even though we were trying to root our findnodes() call at a specific point in the DOM, the XPath was retrieving all volume elements in the entire DOM and we were therefore getting duplicate items listed in the search results. Accordingly, use the volume ID to root the search to the specific volume. Also, offer designers a bit more of an opportunity to style the holdings by placing them in a table as well. Bonus points for using thead/th, eh? Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/config.tt2, Open-ILS/web/templates/default/opac/parts/record/refworks.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/record.tt2: Add RefWorks export support for a record details page This marks the addition of a config.tt2 file in parts that can be a consolidation point for skin-specific settings, such as enabling particular behaviour, setting proxy information, specific URLs, etc. RefWorks support is currently driven by the marctxt format in supercat; TBD if we can easily point at an in-db unapi variation of this. Also, yet to be done is addition of RefWorks export for lists and search results. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0569.schema.unapi-auri-fix.sql: Correct copy-paste-o spotted by Dan Scott Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-28 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: Take advantage of Wekbit speech input The x-webkit-speech attribute enables speech input on current versions of Chrome. It's a frill, and I'm not sure we really want entire libraries of patrons mumbling to themselves more than we already have, but it's a low-cost frill so let's take advantage of it. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Dan Scott <dan@coffeecode.net> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: Display located URIs in record details page We can reuse the work put into misc_util.tt2 to generate args.uris in the display within the record details page. In the absence of good design, we add a basic class and matching CSS to style.css in the hopes that a design-oriented person can come along behind us and make the URIs stand out appropriately. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Display multiple copies and URIs per record in search results By building up a list of hashes in args.holding instead of a single result, we can display multiple copies in search results. Similarly, adding args.uri to misc_util.tt2 gives us the list of located URIs to display in search results. Note that the XPath for holdings_xml in in-db unapi will change slightly. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-28 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/acq/common/li_table.tt2: Michael Peters provided a patch to add some missing labels... ... to a key acquisitions interface. It works. Also fixed some unclosed tags while I was at it. Wasn't sure whether to copy and paste Michael's sign-off or what, but here's the link to his original patch for purists: https://launchpadlibrarian.net/74191964/0001-LP802578-Acquisitions-Batch-copy-update-missing-head.patch Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-24 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/js/result_common.js: Fix broken images for items without ISBNs in search results The search results code happily sets the src attribute of the cover image to an empty string (as returned by cleanISBN()) if currentISBN has not been defined (which is generally the case if an item doesn't have an ISBN, such as a DVD or a thesis or an old book). Protect against the empty string and set the src attribute to '/opac/images/blank.png' to avoid broken image indicators in search results. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-28 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Utils/TagURI.pm: Add a method to generate a URI from extracted or supplied parts (both class and object method) Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-16 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_editor.js, Open-ILS/xul/staff_client/server/cat/volume_editor.xul: batch menus for Volume Edit refactoring menu generators for CN classes and affixes description of Auto-Merge checkbox in Volume Edit Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-27 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties, Open-ILS/xul/staff_client/server/patron/holds.js: Saner behavior for Actions for Selected Holds -> Transfer to Marked Title * Transfer the actual selected title holds, rather than all title holds for the bibs referenced by those selected. * middle layer method for changing the target and resetting specified holds * label change for clarity, Transfer All Title Holds Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0568.schema.cache_visibility_speed_boos t.sql: Cleanup of missed commit from the original topic branch Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0568.schema.cache_visibility_speed_boos t.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.cache_visibility_speed_boost.sql: Pinning upgrade script for copy visibility speed boost Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-21 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.cache_visibility_speed_boost.sql: Unwrapped upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-21 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/999.functions.global.sql: Attempt to speed up cache visbility trigger With the old version merges were timing out. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/templates/default/conify/global/config/metabib_field.t t2, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Configuration interface for config.metabib_field table This interface enables admins to create and modify the entries used for defining indexes, faceting, and eventually display. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-27 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/results.tt2: Meaningful title elements for record details and search results Rather than the generic "Record Details" and "Search Results", populate the <title> element with the actual title of the record or the search query, respectively. We punt on advanced search results for now, until we can parse the array into something usable. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-27 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/results.tt2: Meaningful title elements for record details and search results Rather than the generic "Record Details" and "Search Results", populate the <title> element with the actual title of the record or the search query, respectively. We punt on advanced search results for now, until we can parse the array into something usable. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-27 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0567.data.ou_setting_generate_overdue_o n_lost.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.ou_setting_generate_overdue_o n_lost.sql.sql: Upgrade stamping for "overdues fines on lost checkin" merge Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.data.ou_setting_generate_overdue_o n_lost.sql.sql: Unstamped upgrade script for circ.lost.generate_overdue_on_checkin seed data Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Const.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Option to generate lacking overdues on lost checkin New org unit setting "circ.lost.generate_overdue_on_checkin". This org unit setting enables retroactive overdue fine generation for lost item checkin. When enabled, the system will generate overdue fines starting from the date of the last created overdue fine for the circulation and working its way up to the checkin time or stopping at the max fine amount (consistent with regular overdue fine generation). This differs from the existing org unit setting "circ.restore_overdue_on_lost_return", which only un-voids existing overdue fines. Consider an item whose due date is the 1st, that gets marked lost on the 7th, then checked in on the 14th. If set, "circ.restore_overdue_on_lost_return" would un-void the fines created up to the 7th and "circ.lost.generate_overdue_on_checkin" would create new overdue fines from the 7th up to the 14th (or up to the max fine amount). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-27 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac-poc/base.tt2, Open-ILS/web/templates/default/opac-poc/common.tt2, Open-ILS/web/templates/default/opac-poc/home.tt2, Open-ILS/web/templates/default/opac-poc/login.tt2, Open-ILS/web/templates/default/opac-poc/marc_attrs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/_links.tt2, Open-ILS/web/templates/default/opac-poc/myopac/bookbags.tt2, Open-ILS/web/templates/default/opac-poc/myopac/circs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/fines.tt2, Open-ILS/web/templates/default/opac-poc/myopac/holds.tt2, Open-ILS/web/templates/default/opac-poc/myopac/main.tt2, Open-ILS/web/templates/default/opac-poc/myopac/prefs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/update_email.tt2, Open-ILS/web/templates/default/opac-poc/place_hold.tt2, Open-ILS/web/templates/default/opac-poc/record.tt2, Open-ILS/web/templates/default/opac-poc/results.tt2: The TT OPAC proof of concept is dead code - remove it Leading up to the TT OPAC dev fest, some people were confused by the opac-poc directory. It hasn't been touched since February 14th and we can always retrieve the old code from history if absolutely necessary. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-24 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm: with scan missing pieces, retarget affected holds prior to recirculating to previous patron, lest the checkout reset the holds for us without retargeting Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-22 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: retarget title holds after transfering to a new bib Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-25 Dan Scott <dan@coffeecode.net> * README: Include Apache configuration instructions in README Borrowing heavily from the wiki for these instructions, this helps round out the README. Still more to do. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-24 Dan Scott <dan@coffeecode.net> * Open-ILS/xul/staff_client/server/patron/search_result.js: Show human label for Internet Access Level in Patron Search Looks like fm_columns uses a prefix of "au_" for the column name defined in util.js. Therefore, au_net_access_level lets us define the label to display in place of the integer value. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/search_result.js: Specify the display field for linked objects with fm_columns If a display field isn't specified, it defaults to the key field, which is essentially the same as not fleshing the object in the first place. Let me know if fieldmapper has or gains a way of specifying such "display" fields, and we can augment fm_columns to use it as well. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-31 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/list.js: Let fm_columns use cached data.hash objects for linked fields Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-24 Dan Scott <dan@coffeecode.net> * Open-ILS/src/extras/Makefile.install, README: Support Fedora 15 as a target in Makefile.install Add Fedora 15 to the Makefile.install as a simple clone of the Fedora 14 target for now. Correct Makefile.install target names in README, and point out that nothing special is required for Fedora 15 for PostgreSQL 9 support. While we're in the README, rip out the Dojo toolkit install info as packaged releases include Dojo now (we retain the developer instructions for installing Dojo manually for git users, of course). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-20 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/examples/oils_sip.xml.example, Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkout.pm: Add checkout override to SIP2 checkout & renew. OpenILS::SIP::Transaction::Checkout was modified to allow for the override of certain, configurable events much in the same way that checkin currently does overrides. Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-13 Ben Webb <bjwebb67@googlemail.com> * Open-ILS/src/Makefile.am, Open-ILS/src/apachemods/Makefile.am, Open-ILS/src/perlmods/Makefile.am, Open-ILS/web/Makefile.am, Open-ILS/xul/staff_client/Makefile.am: Respect DESTDIR during the build process Add $(DESTDIR) to paths it is currently missing from Manually specify the apxs2 install location so that DESTDIR can be prepended Attempt to create the apache directory if it does not exist Signed-off-by: Ben Webb <bjwebb67@googlemail.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-24 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0566.schema.unAPI_XMLAGG_cleanup.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unAPI_XMLAGG_cleanup.sql: Stamped DB upgrade script for for XMLAGG cleanup Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unAPI_XMLAGG_cleanup.sql: Upgrade script for the XMLAGG cleanup Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/990.schema.unapi.sql: Address LP#801129, in-db unAPI failure Cleanup of improper use of XMLAGG in the unAPI stored procs first identified by Bill Erickson in https://bugs.launchpad.net/bugs/801129 Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-24 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0565.schema.action-trigger.event_defini tion.hold-cancel-no-target-notification.sql: upgrade script for A/T event def: Hold Cancelled (No Target) Email Notification Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-24 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0564.data.org-setting-cat.volume.delete _on_empty.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.delete_empty_volume.sql: cat.volume.delete_on_empty org setting. break up and wrap the upgrade script Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.delete_empty_volume.sql: Sample hold cancelled with no target notice Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm: Cancel bib holds with bib is deleted And notify user via A/T Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-06 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm: Cancel volume/copy holds on delete Cancel all holds that directly target a copy or volume when the copy/volume is being deleted. Sends async message to A/T for each hold to create and run the necessary events (e.g. send cancellation notices). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.data.delete_empty_volume.sql: unwrapped upgrade script for cat.volume.delete_on_empty Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties: Delete volume on last copy setting When the last copy for a volume is deleted, go ahead and delete the volume when this new setting is activated. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-02 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm: Option to force-delete copies during volume delete Added a "force_delete_copies" option to open-ils.cat.asset.volume.fleshed.batch.update* which forces deletion of all copies attached to a volume if the volume is being deleted. There are still scenarios that will result in copies not being deleted (e.g. copy is checked out), in which case the override option will behave here the same way it behaves in open-ils.cat.asset.copy.fleshed.batch.update* Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-24 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0563.data.collections_exempt_perm.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.collections_exempt_perm.sql: Stamp the upgrade with a version number Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.collections_exempt_perm.sql: Un-stamped upgrade script for collection exempt perm Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/web/js/ui/default/actor/user/register.js: Permission to control patron-collections-exempt Adds a new permission 'UPDATE_PATRON_COLLECTIONS_EXEMPT' which controls who can toggle the circ.collections.exempt user setting in the patron registration interface. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-22 Jason Stephenson <jstephenson@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm: Check if hold is really available in Trigger::Validator. Add checks for shelf time and no fulfillment time in HoldIsAvailable in OpenILS::Application::Trigger::Validator. We've had some issues with poorly migrated data and people messing with holds that causes the original logic to trigger for unfilled holds. Plus, the extra precaution of checking more precise conditions of an actually filled hold can't hurt, can it? Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-22 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm, Open-ILS/web/opac/common/js/config.js: Make bucket content retrieval authoritative LP#492036, we neeed all bucket methods to be authoritative. Some already were, this finishes the job. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-21 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm, Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/locale/en-US/serial.properties, Open-ILS/xul/staff_client/server/serial/sdist_editor.js, Open-ILS/xul/staff_client/server/serial/ssub_editor.js: Further clean-up of Serials interfaces When trying to come up with good tests, found a few bugs (imagine!). Some have been nagging for a while now. 1) For 'MFHDDrawn' event, make sure it runs if deleting the last serials data of any kind for that record (to unpopulate the menus properly) 2) Make sure global mfhd member (g.mfhd) is cleared in the same case (i.e. deleting the last serials data for that record) 3) Add a string to better indicate when no MFHD records are available for 'Legacy Record Entry' drop-down 4) Convert submitted empty drop-down values to 'null' as needed in distribution editor 5) Mark subscription 'start date' as a required field 6) Make serial virtual records better handle deleted 'legacy record entries' attached to distributions, and also expose non-deleted record entries even if in 'use_sdist_only' summary mode Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-17 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/serial/sdist_editor.js: Better coordination of MFHD/SRE adding/deleting Adding or deleting MFHD records from the XUL menus requires coordinating the OPAC display, the XUL menus, and the Serial Control distribution editors. The previous code frequently required some non-obvious manual refreshing to make it work. This commit keeps them in sync using custom events instead. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-21 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/t/14-OpenILS-Utils.t: Add unit tests for LP 800269 - holdings for captions only Running "prove -l lib" in Open-ILS/src/perlmods shows that the two new unit tests pass, whereas they fail using the previously installed version of MFHD.pm. Good evidence that the fix from dbwells does indeed solve the reported bug. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-21 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm: MFHD compressed holdings short-circuit logic If you attempt to get compressed (or uncompressed) holdings from a MFHD record with only a caption, the code should short-circuit and return an empty list. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0562.schema.copy_active_date.sql: Update serial.unit auditor table along w/ asset.copy change Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/upgrade/0562.schema.copy_active_date.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.active_date.sql: Wrapped DB script Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-12 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.active_date.sql: Unwrapped upgrade script for active date Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-12 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm , Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/config.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/serial.p m, Open-ILS/src/perlmods/lib/OpenILS/Utils/PermitHold.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/099.matrix_weights.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/210.schema.serials.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/web/conify/global/config/copy_status.html, Open-ILS/web/js/dojo/openils/conify/nls/conify.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml , Open-ILS/web/opac/skin/default/js/copy_details.js, Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_cn_details.xml, Open-ILS/web/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js, Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Active date Record the date a copy first became "active" after creation in active_date. Offer Org Unit setting for using the active date for age hold protection. Any copy without an active_date, with age hold protect using it, will be protected until it has an active date. Regardless of create_date. Circ/Hold matrix can match on item age based on active_date. Active is defined as entering a status with copy_active set to true. By default: Available Checked out Reshelving On holds shelf ILL Reserves On reservation shelf Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-12 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm, Open-ILS/web/opac/skin/default/js/result_common.js: Refactor cover image fetching in OpenLibrary added content We were only trying to retrieve images from the items array in the OpenLibrary response, but there are only items if the OpenLibrary has online editions available - whereas there may be covers attached to the metadata for the work. So now we make the metadata work harder. Also, cut down on broken images in search results by short-circuiting if OpenLibrary doesn't have a matching record for a given ISBN. Thanks to Bill Erickson for pointing out that there were a lot of blank images getting returned due to the items reliance. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm, Open-ILS/web/opac/skin/default/js/result_common.js: Teach result_common.js to OpenLibrary requests Now that the proxied OpenLibrary requests are working, teach result_common.js to use them and get an advantage from being an access-rights-authenticated IP address (if applicable). Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Support proxying bulk Read API requests for access rights Using IP-based access right determination runs into problems with a pure JavaScript API, as users may be accessing the API from any location in the world. Proxying the requests via the library system server ensures that the access rights for users of those libraries are properly displayed. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Return transparent images if no cover art is found For now the URL is hardcoded; later on we'll refactor AddedContent.pm to give us access to more information about our Apache environment to default to something much, much smarter. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Working TOC HTML and cover images from OpenLibrary Read API TOCs are now part of the "data" response in the Read API. Covers are accessed with the "cover" key in the "items" objects. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Get OpenLibrary covers from any related items Cover requests for exact matches sometimes fail to produce results, but covers from similar items (other editions of the same work) are often available. Take that! Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Begin cutting AddedContent over to the OpenLibrary Read API Use the all-in-one Read API request to get results; this should cut our requests in half and improve our caching results. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-02 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/js/result_common.js: Don't make OpenLibrary requests without an ID It is rather silly to make requests if you have not pulled any IDs out of the records to pass along to OpenLibrary, so do not do that. Also refactor and add a bit more defensiveness. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/js/result_common.js, Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Implement OpenLibrary ebook availability via Ajax George Oates provided an OpenLibrary GIF to use for the links, and we can drop the links right into the block of white space between copy counts and bibliographic info. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-27 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/js/result_common.js: integrate the OpenLibrary Read API into search results Still early days, but works based on the sample Read API output provided by Mike for a single ISBN search. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0544.data.patron_no_collections.sql: Fixed bad DB version number in upgrade script. Thanks for the heads up, tsbere Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-21 Michael Peters <mrpeters@library.in.gov> * Open-ILS/xul/staff_client/server/skin/patron_display.css: LP#783590 fix patron alert message highlighting Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-21 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0561.schema.tnf_index.sql: Reserve 0561 (used in 2.0) to avoid confusion -- part duex Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-21 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: Reserve 0561 (used in 2.0) to avoid confusion Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-17 Dan Scott <dan@coffeecode.net> * Open-ILS/examples/opensrf.xml.example: Set AC timeout value to 3 seconds and describe tradeoffs As discussed on the Evergreen Development mailing list, the higher the AC timeout value, the greater the risk of a denial of service. 30 is therefore too high to be comfortable as a default setting, so we're dropping it down to 3 as a compromise between the original value of 1 (which resulted in a number of request timing out where added content was actually available) and the much-less-safe 30. In addition, we document inline the risk/reward of different values and provide some justification for the default value that we chose, so that Evergreen system administrators will have guidance when tweaking this setting. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-20 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris .sql: DROP biblio.reingest_uris() after use We will hopefully only need to reingest URIs in bulk once, and can therefore DROP the biblio.reingest_uris() function after it has been successfully invoked. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-20 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris .sql: Protect URI reingest from failure due to malformed XML In an ideal world, there would be no malformed XML. But our world is the real world of libraries, and while the well_formed_xml() protects against malformed XML in Evergreen 2.0 systems, in some cases bad XML has been able to find its way into Evergreen systems in the past. A single biblio.record_entry row containing malformed XML in the marc column will prevent the call to reingest URIs from succeeding. By limiting the set of records to those with well-formed XML, we can increase the chance of the URI reingest succeeding at the cost of more processing time. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Grace period is an interval. Convert to seconds. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-17 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0560.fix_opac_copy_vis_cache.sql: lp#788763 - final upgrade script Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-17 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/999.functions.global.sql: lp#788763 - fix updating copy status, locations, and OU visibiilty Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-16 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm: Repaired exchange rate PO activation bug Code was using the wrong hash key to read data from cstore request, resulting in a NULL debit amount when activating a PO with a different provider => fund currencies. This resulted in POs that could not be activated. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-16 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/opac/skin/default/js/holds.js: Check if in staff client when placing holds Staff may have valid reasons to use a non-opac-visible org unit. So before bailing on a hidden org unit, check if we are in the staff client. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris .sql, Open-ILS/src/sql/Pg/upgrade/XXXX.biblio.extract_located_uris.sql: Move the user/dbs/lp797304_lp797307 upgrade script into place with a number Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.biblio.extract_located_uris.sql: Merging branch user/dbs/lp797304_lp797307 Cherry picking the following: commit 7be2a32620587af27de4316e42a308e913e9314c Author: Dan Scott <dan@coffeecode.net> Date: Tue Jun 14 22:35:26 2011 -0400 Add a stored procedure to reingest problematic URIs Assuming that href = label in asset.uri is a red enough flag for the problem in LP 797307 where the perfectly good label was being thrown away, reingest the unique set of records connected with such asset.uri rows. commit 39fe0c4a8a3074ff4c1e427ad9f00a0760bac260 Author: Dan Scott <dan@coffeecode.net> Date: Tue Jun 14 21:54:51 2011 -0400 Add unwrapped upgrade script for biblio.extract_located_uris See XXXX.biblio.extract_located_uris.sql for the upgrade script, waiting to be signed off and committed. create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.biblio.extract_located_uris.sql commit 7e6d2bfd7e9a5cbe57e4aacdf0b4b015a566883d Author: Dan Scott <dan@coffeecode.net> Date: Tue Jun 14 21:34:15 2011 -0400 Avoid duplicate row issues in biblio.extract_located_uris As there is currently no unique constraint on the non-ID columns of asset.uri, ensure that we only select a single ID from the tables until we dedupe the tables. Use an ORDER BY to grab the matching row with the lowest ID so we can clear out the rows with higher IDs. commit e79a805299ec734a29ee5bfa77dc74bc1fd208cd Author: Dan Scott <dan@coffeecode.net> Date: Tue Jun 14 14:02:49 2011 -0400 Fix LP 797304 and 797307 - asset.uri parsing bugs Per 797304: one would expect asset.uri.label to be populated with the value of 856 $y, however, it was getting populated with 856 $u - perhaps as a result of the ordering of array entries in XPATH() not matching the XPath expression. Instead of including 856 $u in the XPath expression for uri_label, just assign its value to uri_label if uri_label is otherwise NULL. Per 797307: biblio.extract_located_uris() tries to reuse an existing active asset.uri entry rather than create a new row; however, it does not handle the case where there is no public note aka "use restriction" and will end up creating a duplicate row every time the record is reingested. Teach it to handle NULL values properly. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/patron/bill2.js: lp797321: Disable the Apply Payment button during payment processing to mitigate chance of duplicate payments. I can't actually reproduce the creation of duplicate payments locally with trunk/2.x, but there are reports of it, and this doesn't seem to hurt. Not a complete solution, but better than before Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-14 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/server/serial/notes.xul: Tweak new single close button for minimum space This change restores the overall space and position of the close button while keeping the other improvements (appears once, shows even with no notes) Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-13 Dan Scott <dan@coffeecode.net> * Open-ILS/src/extras/Makefile.install: Resolve Squeeze installation problems with PostgreSQL 9.0 When you install OpenSRF on Debian Squeeze, one of the packages (apache2-prefork-dev) installs 8.4 versions of libpq5 and libpq-dev as dependencies. These conflict with the 9.0 versions that are required as dependencies for PostgreSQL 9.0 - so get them out of the way, pin the 9.0 versions of the packages, and reinstall apache2-prefork-dev. We will probably need to do something similar for Lucid. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-13 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/xul/staff_client/server/serial/notes.xul: Trivial aesthetic change: only one "close window" button for the window, rather than one per note. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-06-13 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/xul/staff_client/server/serial/batch_receive.js: Fix a serial batch receive problem reported by Sally Fortin That prevents receiving items when not using units in some cases. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-13 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/server/locale/en-US/serial.properties, Open-ILS/xul/staff_client/server/serial/notes.xul: Serial note perms and edit support This expands the interface to allow for editing notes on serials objects. At some point we will likely want to track edit dates as well, but this gets the ball rolling. Also renames some methods from 'create' to 'update' to match new capabilities and make the overall API more consistent, and adds perm checks based on related objects. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-13 Dan Scott <dan@coffeecode.net> * Open-ILS/examples/opensrf.xml.example: Set a more generous AC timeout value A timeout value of 1 second is a bit too tight for many added content providers; set the default to 30 seconds to avoid too many artificial timeouts. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-07 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/server/locale/en-US/serial.properties, Open-ILS/xul/staff_client/server/serial/editor_base.js, Open-ILS/xul/staff_client/server/serial/scap_editor.js, Open-ILS/xul/staff_client/server/serial/sdist_editor.js: Support for required fields in Serial Control editors Adds a basic check for any fields marked as 'required', and alerts and prevents submitting if they are blank. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-13 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: clearer label for not charging last patron when marking an item damaged Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-13 Galen Charlton <gmc@esilibrary.com> * : updated favicon to match staff client logo Favicon created by Michael Peters <mrpeters@library.in.gov> Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-13 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0557.schema.in-db_unapi_copy_related_vi sibility-1.sql, Open-ILS/src/sql/Pg/upgrade/0558.schema.in-db_unapi_copy_related_vi sibility-2.sql: Typo, we need commas Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-13 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0558.schema.in-db_unapi_copy_related_vi sibility-2.sql: Thinko fix -- split upgrade script, forgot to inc the version in the second Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-13 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0557.schema.in-db_unapi_copy_related_vi sibility-1.sql, Open-ILS/src/sql/Pg/upgrade/0558.schema.in-db_unapi_copy_related_vi sibility-2.sql: Bring in-db unAPI opac visibility info up to date with (and a little beyond) ea3b8857d08b8a9050e763f8084c841e8df9a473 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-06-13 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd: change accesskeys for menu entries related to Conjoined Items Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-31 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/common/js/Cookies.js, Open-ILS/web/reports/oils_rpt_common.xhtml, Open-ILS/xul/staff_client/server/admin/cash_reports.xhtml, Open-ILS/xul/staff_client/server/admin/copy_locations.xhtml, Open-ILS/xul/staff_client/server/admin/hold_pull_list.xhtml, Open-ILS/xul/staff_client/server/admin/hold_pull_list_classic.xhtml , Open-ILS/xul/staff_client/server/admin/non_cat_types.xhtml, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml, Open-ILS/xul/staff_client/server/patron/user_edit.xhtml: Remove all references to Cookie(s).js and Cookies.js Dojo toolkit is the new Cookie manager, so any lingering references to Cookie.js (a typo in any case) are no longer valid, and we no longer need to ship Cookies.js with Evergreen. Cookie.js typo was reported by Steven Chan in LP 790429 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-07 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Use the new status.opac_visible attribute in search summary Until we exposed the OPAC visibility of the status element as set in config.copy_status, We previously had to hardcode the logic for whether a given copy should be displayed based on its status. Now we can simply use the status.opac_visible attribute to determine visibility. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-07 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Add opac_visible attribute to copy and serial unit statuses config.copy_status defines an opac_visible column, but that attribute was not being exposed in the holdings XML, so code that displayed copies and serial units based on the holdings XML had to hardcode the display based on the status ID or name instead of using the configured setting. To simplify display logic, teach holdings XML about the opac_visible column and expose its value in the status element as a new opac_visible attribute. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-06 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Make copy status visibility match default config.copy_status settings Previous version of this patch had hardcoded copy status settings to 0, 7, 12 to match the "Available" settings, rather than the OPAC visibility settings available from config.copy_status for each status. Until config.copy_status.opac_visible translates into an opac_visible attribute on the status element in the holdings XML, this is probably the best we can do. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-30 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Plug the many OPAC visibility holes in search result item display Check volume and circ_lib and copy status OPAC visibility (and deleted status in the case of volumes) in addition to the existing copy and copy-location checks. Worst hack is hard-coded copy status IDs of 0, 7, 12 - but this is currently used throughout the code, so one more can't hurt that much (OWWW). Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-13 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Prevent uninit var warnings in QueryParser.pm $suffix_op and $prefix_op would not be defined if $suffix or $prefix did not evaluate to true, leading to warnings about undefined variables in open-ils.storage_stderr.log. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-13 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/updates/check: Updater apparently reads extensionVersion Without it no updates are ever found. :( Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-11 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.schema.config.sql: Correct base schema for superseded/deprecated functions As discussed on Evergreen dev list, the base schema didn't match what one would accomplish via upgrades for the evergreen.upgrade_list_applied_deprecated() and evergreen.upgrade_list_applied_superseded() functions; they were returning TEXT instead of SETOF TEXT. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-11 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/upgrade/0555.unnest_oils_xpath_table.sql, Open-ILS/src/sql/Pg/upgrade/0556.unnest_biblio_extract_metabib_fiel d_entry.sql: Update upgrade files that had conflicting numbers Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-10 Jason Etheridge <jason@esilibrary.com> * 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/0550.data.patron_opt_in_settings.sql: add the patron opt-in settings Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-29 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm, Open-ILS/xul/staff_client/server/patron/search_form.js: patch from James Fournie re: https://bugs.launchpad.net/evergreen/+bug/510959 for improved patron opt-in Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: Showing hold/copy summary in details page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/chilifresh.tt2, Open-ILS/web/templates/default/opac/parts/record/awards.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Chilifresh reviews for results and record pages Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: Pass ENV down to template environment Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-10 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: Added Chilifresh secure url to sample apache config 2011-06-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/README: git training Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-08 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/patron/display.js: Replace instance of location.href xulG.set_tab populates xulG properly in new URL, location.href does not Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-07 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: Correct error in call number owning library change Send IDs to the backend, not objects. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-10 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: Mark invalid home ous as such in patron editor Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-10 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/web/js/ui/default/actor/user/register.js: Mark invalid home ous as such in patron editor Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-06-10 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties: missing string for MFHD deletion Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2: added notification of successful settings update to patron prefs page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/result/table.tt2: honor hit count user pref on results page Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2: Initial support for updating user prefs Starting with hits-per-page and enable/disable circ/hold history Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-09 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: syntax error Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0549.data.transit-checkin-interval.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.data.transit-checkin-interval.sql: pin a version number Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/XXXX.data.transit-checkin-interval.sql: Unwrapped upgrade script for transit checkin interval setting/perm Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/extras/ils_events.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/xul/staff_client/server/circ/util.js: Transit minimum checkin interval setting OK, here's the situation, a copy went away on a week's vacation... Support for preventing checkin of a copy that was put into transit "too recently". The scenario that prompted the development is this: Copy at Branch A is checked in and put into transit to fill a hold at Branch B. The copy is then accidentally checked in at Branch B. (Imagine a crate of items with a superbarcode gets checked in at Branch B and the copy in question was presumed to be in that crate). This puts the item on the holds shelf (assuming a hold transit) at Branch B and notifies the patrom the item is ready for pickup. However, the copy is still just embarking from Branch A. This new setting allows libraries to configure a minimum transit time. If a copy is put into transit and checked in during the configured interval, the checkin will return an (overridable) event that prevents checkin. If the setting is not configured, this has no affect on checkin. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2: added read support for holds history setting 2011-06-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2: Read support for some user settings in setting page Search hits per page and circ history opt-in displaying TODO: add more settings TODO: implement POST/write for updating values Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Extend hold shelf expire date beyond closed dates If the shelf_expire_time on a hold would land on a closed date for the pickup library, push the expire time out to just beyond the close date range, similar to the circulation due date overlap logic. In the current iteration, the time component of the date is pushed out to the end of the day (23:59:59). If this is not generally the desired behavior, an org setting could be added to bypass this step so that the time matches "now" (i.e. capture time) instead. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-08 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: Select all fines for CC payment by default 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_browser.js: honor ui.unified_volume_copy_editor setting with Add Volumes in Holdings Maintenance Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: make unified vol/copy editor honor required stat cats Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Dan Scott <dan@coffeecode.net> * Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Add i18n support for "Retrieving title..." tab name Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-27 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: Integration of unified vol/copy editor and fast add * Wire up unified vol/copy editor for marc editor fast item add function * Robustify callnumber vivication for unified vol/copy editor from marc editor * Load opac after unified vol/copy with marc editor fast add. * Various bug fixes Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-07 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.functions.aggregate.sql, Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/300.schema.staged_search.sql, Open-ILS/src/sql/Pg/pgmemcache-ou_tree_traversal_cache.sql, Open-ILS/src/sql/Pg/upgrade/0549.unnest_oils_xpath_table.sql, Open-ILS/src/sql/Pg/upgrade/0550.unnest_biblio_extract_metabib_fiel d_entry.sql, Open-ILS/src/sql/Pg/upgrade/0551.unnest_metabib_remap_metarecord_fo r_bib.sql, Open-ILS/src/sql/Pg/upgrade/0552.unnest_biblio_map_authority_linkin g.sql, Open-ILS/src/sql/Pg/upgrade/0553.unnest_action_hold_request_permit_ test.sql, Open-ILS/src/sql/Pg/upgrade/0554.unnest_search_query_parser_fts.sql: Use native unnest() db function instead of explode_array() Per LP 789747, the custom explode_array() database function was found to generate significantly slower results for searches than using the native (and equivalent) unnest() array function. Given that unnest() has been part of PostgreSQL since 8.4 and Evergreen 2.0 requires a minimum of PostgreSQL 8.4, this patch removes the definition of the explode_array() functions and replaces its usage with unnest(). Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-06-03 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/web/js/ui/default/actor/user/register.js: Prevent future dates of birth in patron editor The patron editor form allowed staff to enter a date of birth that takes place in the future. While it is theoretically conceivable (hah) that a library might register patrons that have yet to be born, it is unlikely enough that we will not even assign this behavior to an org-unit setting, but we will take the bold move of using a regular expression to prevent a future dates of birth at all. Note that if a library system travels into the past, this will cause all sorts of problems in the patron editor interface (not to mention overdues). Please do not mix Evergreen and time travel. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-02 Dan Wells <dbw2@calvin.edu> * Open-ILS/web/opac/skin/default/js/rdetail.js: Fix false MFHD editing cues (LP #791974) The in-DB serial holdings use the same general display code as the MFHD records, but were falsely triggering MFHD administration widgets when in fact no MFHD record exists. These holdings were already being marked, so this fix honors that mark. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-02 Dan Wells <dbw2@calvin.edu> * Open-ILS/web/opac/skin/default/js/rdetail.js: Tweak MFHD scoping Three changes: 1) Add a closure for 'entryNum' value (currently used for some display placement and menu-entry correlation) 2) Remove depth-climb to simplify code and better approximate copy scoping 3) Move 'here' assignment out of the foreach Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-06 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/web/opac/common/js/config.js: LP 791546: advanced search ISBN/ISSN in .staff mode In 1.6, advanced search ISBN/ISSN searches always operated in .staff mode, returning results whether the results should have been visible to the user or not. This confused patrons who saw records to which they had no access. In 2.0, this behaviour changed so that advanced search ISBN/ISSN searches never operated in .staff mode. This confused staff who were used to retrieving records via the ISBN/ISSN search when they wanted to add holdings for their own library to the records. The pattern for addressing this problem and satisfying both use cases is the same - use the multiclass.query.staff method if we invoke the ISBN or ISSN searches with the .staff method name. One could easily refactor many of the search method bodies in this module to use the exact same logic, keying off the method name to identify the identifier field and the .staff portion of the method name to determine whether to invoke .staff mode or not. For now we just address the ISBN and ISSN entry points. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-06 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: fix View Holds by preventing an empty IN list with cstore, and stubbing out part_holds Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-06-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js, Open-ILS/xul/staff_client/server/circ/util.js: for the Circulate as Type column in xul lists, display the actual citm value instead of the code Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: Fix Circulate as Type in the item editor. The citm retrieval method was changed to use open-ils.fielder, which doesn't return actual fieldmapper objects, so when data.js went to convert the retrieved list to a hash, it broke. Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/functional.js: Allow util.functional.convert_object_list_to_hash to handle more than fieldmapper-like objects Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/js/ui/default/acq/po/view_po.js: PO activation date display improvement Use the smarter Util.js date parsing code to prevent small time offsets in PO activation date display. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-03 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: tweak function name Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-03 Dan Scott <dan@coffeecode.net> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: Refactor the "show copy notes button" functionality Collapse the duplicated code for showing / hiding the "show copy notes button" into a single method. Might make maintenance a bit easier some day. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-01 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: fix the Copy Notes button in the unified vol/copy editor Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-03 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0547.data.perm_list_cleanup.sql, Open-ILS/src/sql/Pg/upgrade/0548.data.perm_list_cleanup_pt_2.sql: Clean up a few stock perm mistakes, part 2 0547 did not completely apply to rel_2_1, so the correction of errant inserts from 0545 has been split off into this upgrade instead, for clarity. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-03 Dan Wells <dbw2@calvin.edu> * 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/0547.data.perm_list_cleanup.sql: Clean up a few stock perm mistakes This upgrade file does cleanup for three errors: 1) deletes errant inserts from 0545 (group 4 is not the circulation admin group) 2) accounts for spelling errors (Admin != Administrator) 3) adds a group missed in 0542, for upgraders Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-03 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: Fixed and extended upgrade file 0542 (stock permissions) This upgrade file did not work on a multi-upgraded DB, as a bunch of new permissions and groups never made it into any upgrade. The changes here are intended to both fix the upgrade and rectify the missing pieces, where needed. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0546.schema.sip_statcats.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.sip_statcats.sql: Wrapped upgrade script Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-28 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/upgrade/XXXX.sip_statcats.sql: Upgrade script, needs wrapping. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-28 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm , Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm , Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm, Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/templates/default/conify/global/config/actor_sip_field s.tt2, Open-ILS/web/templates/default/conify/global/config/asset_sip_field s.tt2, 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/admin/stat_cat_editor.js, Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml: Sip Statcats - Actor/Asset Statcats via SIP2 Stat cats can now have a sip_field and sip_format. sip_field is the field identifier code, sip_format is one of the following: 1 - Null/Empty, places stat cat value in as-is 2 - A plain string, placed in value as-is when stat cat has value 3 - A plain string with a %s, 1 and 2 combined, where the stat cat value replaces the %s 4 - A regular expression surrounded by | characters (ex, |([0-9]*) -|): If the regular expression does not match the value, nothing If the regular expression matches and has a capture group, the captured group If the regular expression matches and does not have a capture group, the entire match The | was used because it would otherwise be stripped from the final result anyway. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm, 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/0545.data.abort_transit_perms.sql: Permission to allow transit abort on lost/missing This patch introduces a permission that allows staff to abort transits for items in the lost/missing status. Previous, this was disallowed by a hard-coded block. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-01 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/lib/OpenILS/Application/Reporter.pm: Whitespace cleanup in aisle 3 (O:A:Reporter) Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-01 Michael Peters <mrpeters@library.in.gov> * Open-ILS/src/perlmods/lib/OpenILS/Application/Reporter.pm: LP#740466 add order by name method to Reporter.pm to sort report folders by name Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-06-01 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/mon ey.pm, 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/0544.data.patron_no_collections.sql, Open-ILS/web/js/ui/default/actor/user/register.js: Collections exemption user setting Adds a new user setting "circ.collections.exempt" which, when set to true for a user, means the user will not be considered for collections. It does this by ignoring the user when calculating the list of users of interest in the "open-ils.collections.users_of_interest.retrieve" API call. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-06-01 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0543.data.reformat_generated_coverage.s ql: Serial holdings display consistency fix When holdings are sourced from both MFHD and the DB, display may be inconsistent due to a hard-coded ', ' in Serial.pm. This patch works around the problem by storing generated_coverage as a JSON array instead of a string, leaving display formatting to the OPAC. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-01 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.schema.config.sql: Missing db upgrade number bump Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-06-01 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: Remove specific admin perms, reorganize seed file The various administrators already have 'EVERYTHING' at their respective levels, so no need to assign new perms there. The seed file is now more consistently organized. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-06-01 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: Change a few permission levels and assignments In an attempt to be consistent with existing perms, a few were moved to levels lower than 'Consortium', and ADMIN_SERIAL_ITEM is only in the 'Serial' group. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Push the grp perm mappings into the seed data Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: wrong group ids for system admin and global admin Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: put CREATE_PURCHASE_REQUEST into Users, not Staff Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: map these perms to stock perm groups Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: added other permissions missing in rel_2_1 Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0542.data.perm-list.misc-cat.sql: some recent cataloging permissions, but I'm unsure about the new upgrade/ script regime Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-31 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: Make database schema patch dependencies work more better Per a suggestion from Bill Erickson, move evergreen_patch into the evergreen schema (where we can simply call it evergreen.patch). Also, as we seem doomed to repeat ourselves, add a little bit of schema adjustment to the 0526 upgrade script so it can be applied retroactively. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: Make patch-checking function able to raise a notice There's probably a more elegant way to do this, but basic testing with the following at least didn't throw an error: SELECT evergreen.upgrade_deps_block_check('XXXX', NULL); Also note that the CREATE OR REPLACE function calls will fail on an existing database due to the changed return type of the functions - so if this gets moved into its own upgrade script, DROP FUNCTION calls will be required. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: Repaired typo on schema and upgrade SQL ARRAY_ACUM is not a defined function. Per Dan Scott, replaced with ARRAY_AGG instead of the correctly spelled ARRAY_ACCUM, since we'll be using that function in place of ARRAY_ACCUM going forward. Thanks, Dan. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-31 Michael Peters <mrpeters@library.in.gov> * Open-ILS/web/opac/locale/en-US/opac.dtd: LP#739444 Incrementing opac.dtd copyright date Signed-off-by: Michael Peters <mrpeters@library.in.gov> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-28 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: Format selector improvements Consistent with format icon fall-thru, try mattype first to locate the list of formats for search selection. If no mattype configuration is found, fall through to item_type. Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-27 Dan Scott <dan@coffeecode.net> * Open-ILS/web/opac/skin/default/js/rdetail.js: Fix rendering of MFHD records when ownership is out of scope Dojo would die with a null reference error when an MFHD record was retrieved that was outside of the current OU search scope. For example, if a given bib record had one linked MFHD record for BR1, and one linked MFHD record for BR4, the details page would choke trying to draw the MFHD holdings in a scope that only included BR1 and end up drawing nothing. Ungood. Moving the ownership check and invoking _holdingsDrawMFHD() only after ensuring that the record is within our scope resolves the problem. Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-27 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd: indicate what date format to use for offline patron registration Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-27 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/server/circ/checkin.xul: Fix Hold Capture checkin mode oils_persist was trumping hardcoded values. Also, change how checked is set/unset for reliability. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-26 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/opac/skin/default/xml/home/index_body.xml: Patch suggested by Jason Boyer for LP#788601 The <script> tag for the chrome frame message has a misplaced semicolon, which causes an odd looking display issue in Internet Explorer. I realize that ideally very few people will be using IE, but even if they're not interested in a quality browsing experience we should probably put our best face forward. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-26 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/server/serial/manage_dists.js, Open-ILS/xul/staff_client/server/serial/manage_dists.xul, Open-ILS/xul/staff_client/server/serial/manage_subs.js, Open-ILS/xul/staff_client/server/serial/manage_subs.xul: Distinguish between 'Show Groups' checkboxes in Serial Control Two different checkboxes ended up with the same ID, which, as one might expect, kinda worked and kinda didn't. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/server/serial/manage_dists.js, Open-ILS/xul/staff_client/server/serial/manage_subs.js: Checking for 'twisty' leads to false negatives in Serial Control Since a tree can be opened with a double-click, we can't rely on 'twisty' being set to load the child data. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/util.js: Don't rely on call number column being rendered before prefix/suffix/class columns. Also, remove prefix/suffix/class from the check-in interface, since those column definitions can make extra network calls and we want that interface to be as fast as possible. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-26 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: wrong target for parts holds in open-ils.circ.holds.retrieve_all_from_title Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/browser.js: browser.js debugging / robustification. Replace some magic numbers with proper constants. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/skin/custom.js.example: debugging aid, take the "thread trace" for a given page and make it stand out more Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/external/dump_splitter.sh: debugging aid. split dump output produced by replacement dump function in custom.js.example Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-25 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/util/network.js: missed this way back when. fix multiple event override handling (for ilsevent lacking events), re: lp#757634. Also add some missing typeof's Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-25 Dan Scott <dan@coffeecode.net> * Open-ILS/src/support-scripts/authority_control_fields.pl.in: Fix authority linking script typo Problem reported by Ditty Mulder <dmu@iisg.nl> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/Makefile.am: When auto-versioning, use last piece of branch Specifically, last / delimited piece. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-24 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/make-db-patch.pl: trival whitespace cleanup Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-24 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/make-db-patch.pl: Add --nonum to make-db-patch Makes XXXX.* files. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-24 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0541.schema.call_number_honor_default_c lass.sql: Trivial line-wrapping patch for call number class defaults Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-24 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0541.schema.call_number_honor_default_c lass.sql: Make label_class on any new call numbers default to org_unit setting Evergreen 2.0 added a label_class column to the call number table with one major purpose being the generation of correct sort keys. You can also specify a default label class as an org unit setting. However: 1) There are no interface elements for setting the label class of an individual call number. 2) The default setting from the actor.org_unit_setting 'cat.default_classification_scheme' value, if set, is not consulted (that is, not set in the call number table) when new call numbers are created. These two facts together greatly reduce the utility of this very valuable feature, as all new call numbers end up in the 'Generic' class. While #1 has been addressed in 2.1+, there is still work to be done in setting this class on import. Also, which interface parts (if any) make it back to 2.0 is subject to debate. This commit addresses #2. See lp #787150. Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-24 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/210.schema.serials.sql, Open-ILS/src/sql/Pg/901.audit-tables.sql, Open-ILS/src/sql/Pg/upgrade/0540.schema.missing_serial_unit_trigger s.sql: Bring serial.unit in line with asset.copy Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-24 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/js/ui/default/actor/user/register.js: remove restriction on resetting pw to random number when Use Phone Password setting is active. uEditMakeRandomPw will still get called for new users, but should get overwritten once a phone number is entered Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-23 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/copy_status.js: wrong identifier and lingering copy/paste-o in code for Item Status -> Add Items Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-23 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Revert "Wrap proximity refreshing in a transaction to avoid timespans where there is no such information" This reverts commit fbfb74639cc2628fb90e56f7dbd0d364e0b7e386. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-23 Dan Wells <dbw2@calvin.edu> * Open-ILS/examples/apache/eg.conf: Apply Apache file expiration to the current official Javascript content type At least on Ubuntu 10.04, Javascript files are generally delivered with a Content-Type header of 'application/javascript', not 'application/x-javascript'. This change applies the much shorter 18 hour expiration to the affected files, rather than allowing them to default to 1 month. Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-20 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * 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/0538.data.at-event-def-acq-invoice-prin t.sql: Fix bad seed data in an A/T template The action_trigger event def template for printing acq invoices was syntatically broken. The collapse filter isn't important per se, but it balances the extra [% END %] at the bottom of the template, and it was there originally, and I see no reason not to put it back. Incidentally, maybe the database upgrade script in the commit will be the first in master to successfully use the new evergreen.upgrade_deps_block_check() function ? Reported by Sally Fortin. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul: Restore the Replace Barcode option in Holdings Maintenance, as the Edit Item menu will only serve the same duty if the unified volume/copy editor is activated via org setting (otherwise, it's just the Item Attribute Editor). klussier++ for the catch Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Dan Wells <dbw2@calvin.edu> * Open-ILS/xul/staff_client/server/serial/manage_items.js: Fix advanced receive bug in manage_items.js Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/skin/cat.css: align the batch edit menus in the vol creator. mostly aesthetic, but can save horizontal real estate, so usability as well for horizontal vol/copy editor. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_editor.xul, Open-ILS/xul/staff_client/server/cat/volume_copy_editor_horiz.xul: usability tweak for controlling screen real estate, in unified vol/copy editor don't embed the the Record Summary in the vol editor, but in the main wrapping UI. Also move CN batch edit bar into groupbox Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_editor_horiz.xul: usability tweak, pull the Create button out of the embedded interfaces and into the wrapping UI for the horizontal variant of the unified vol/copy editor Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/cat/volume_editor.js, Open-ILS/xul/staff_client/server/cat/volume_editor.xul, Open-ILS/xul/staff_client/server/skin/cat.css: css hooks so we can hide class, affix, and part columns in volume creator/editor. can help with screen real estate with the horizontal vol/copy editor Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_editor_horiz.xul: usability tweak, spread the template bar across the top of both panes for the horizontal unified vol/copy creator/editor Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-20 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Fix a problem with open-ils.circ.holds.retrieve_all_from_title Anoop Atre spotted this bug that's triggered by selecting "View Holds" from "Actions for Selected Record" in the catalog seen through the staff client. Said method would error out like this: [2011-05-20 10:04:03] open-ils.circ [ERR :31866:CStoreEditor.pm:109:13058333633194115] editor[0|1] request error open-ils.cstore.direct.serial.issuance.id_list.atomic : {"subscription":[]} : Exception: OpenSRF::DomainObject::oilsMethodException 2011-05-20T10:04:03 OpenILS::Utils::CStoreEditor /openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm:412 <500> Severe query error -- see error log for more details because when trying to gather issuance-type holds, it didn't properly test whether there actually were any subscriptions and issuances related to the bib record in question. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-05-20 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml: Revert "When placing holds on a bib with monographic part, require selection of a specific part" This reverts commit 3e63a898c53f6100d678f263e5dde5b9f678692d. We must not force P-type holds as not all copies may not use parts. Imagine a situation where only one library breaks up a season of Seinfeld by using a part per DVD, and all others leave them bound and therefore need no part designations. Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-20 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml: When placing holds on a bib with monographic part, require selection of a specific part Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-19 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm: order any monograph parts by sort key when placing holds Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-19 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/circ/util.js: CN prefix/suffix columns in xul-based hold interfaces Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-19 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: label consistency in vol/item creator Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-19 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql: add missing upgrade step to create staging schema Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-19 Mike Rylander <mrylander@gmail.com> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: The term "foreign" has undesirable implied meaning, so we will dub these "conjoined" Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-19 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Make DATE_FORMAT macro check inputs Specifically, if no date and no format (empty replaces?) replace with empty string. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-18 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/chrome/content/util/print.js, Open-ILS/xul/staff_client/server/circ/util.js: Add Shelf Expire Time to hold slip, date formatter Date formatter would work like so: %DATE_FORMAT(date,format)% For example: %DATE_FORMAT(%shelf_expire_time%,%m/%d)% Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-18 Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm: Add permission checking for updating and deleting volumes. This addresses LP #784062 reported by Ben Shum, and I think others? Creating volumes was already covered. The ability to delete volumes without permission would be less often an issue in practice since you would need permission to delete the volume's copies before you could delete the volume itself. Anyway, this should square things. Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> 2011-05-18 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/edi_translator/README: trival whitespace changes Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-18 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/c-apps/oils_auth.c: provide hint to sysadmin if memcached issue is preventing auth Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-18 Dan Scott <dan@coffeecode.net> * Open-ILS/src/perlmods/Makefile.am: Make Perl 'make check' work without 'make all' Factor the build of Build from Build.PL into its own make target and then make that target a prereq for the other make targets so that we make Build from Build.PL when we build Makefile from Makefile.am and run 'make check' Clear? Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-18 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0527.schema.matrix-bib_level.sql: We need to update config.upgrade_log Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-18 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql: Record the current upgrade version number in the baseline schema Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-18 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/upgrade/0537.schema.upgrade-dep-tracking-fix.sq l: Fix the definition of some of the tracking functions Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-18 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: avoid error when generating fines on checkin Prevents "No active transaction to commit" error when checking in overdue loans. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-05-18 senator <lebbeous@esilibrary.com> * Open-ILS/src/sql/Pg/upgrade/0536.schema.lazy_circ-barcode_lookup.sq l: Let's have this upgrade script not use that upgrade_deps_block_check()... ...function quite yet 2011-05-18 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/make-db-patch.pl: use correct name of upgrade check function Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-18 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/make-db-patch.pl: More make-db-patch goodness: wrap existing --wrap option will take an existing file and wrap it properly. When --wrap is specified --from is ignored. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/server/circ/util.js: fix CN prefix/suffix display in XUL interfaces so we can handle any affix we come across Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-18 Jason Etheridge <jason@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/web/opac/extras/circ/alt_holds_print.html, Open-ILS/web/opac/extras/circ/alt_holds_print.js: Include call number prefix/suffix in display and sorting of holds for Print Full Pull List (Alternate strategy). Also fix things so that we're sorting on the label_sortkey for call number, and not the label. So, for this interface, the hard-wired sort order is Copy Location Order (as defined by Admin -> Local Administration -> Copy Location Order), Call Number Prefix, Call Number Label, Call Number Suffix, and Hold Request time. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-17 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/spine_labels.js: have the call number checkbox for pocket labels include prefix/suffix. A %call_number% macro is still available for the bare call number label without affixes Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-17 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js: Can't use encodeURI and decodeURI for everything with persist_helper (in particular, something like "%macro1% %macro2%" as a custom entry in the label interface), so try/catch them and fall back to the original behavior. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-17 Galen Charlton <gmc@esilibrary.com> * Open-ILS/web/opac/skin/default/js/rdetail.js: only use the label to initialize call number browse Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-17 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/make-db-patch.pl: add a bit of context to upgrade SQL hints Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-17 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/src/sql/Pg/make-db-patch.pl: Improvements to make-db-patch.pl Grab all changes to base sql files into the upgrade script Based on HEAD (uncommitted changes) or --from=refspec Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-17 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0536.schema.lazy_circ-barcode_lookup.sq l, Open-ILS/src/sql/Pg/upgrade/XXXX.lazy_circ.sql: Convert/move SQL script for Lazy Circ Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-13 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/800.fkeys.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.lazy_circ.sql, Open-ILS/web/js/ui/default/conify/global/config/barcode_completion. js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/templates/default/conify/global/config/barcode_complet ion.tt2, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/constants.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/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/patron/barcode_entry.xul, Open-ILS/xul/staff_client/server/patron/display.js: Lazy Circ (AKA partial barcode lookup) Database tables/access functions for prefix/suffix info Table: config.barcode_completion Function: evergreen.get_barcodes Takes org unit, context, and input barcode Context is a string and can contain: asset - asset.copy barcodes serial - serial.unit barcodes actor - actor.usr (via actor.card) barcodes booking - booking.resource barcodes Special case: asset and serial both in context Returns non-serial asset entries as asset Returns serial entries as serial Type for function return: evergreen.barcode_set With editing interface: Admin->Local Admin->Barcode Completion OpenSRF Call: open-ils.actor.get_barcodes Basically a passthrough to the database function Checks for permissions: STAFF_LOGIN - To do anything VIEW_USER - At home_ou of the user owning the returned barcode when in actor context Add get_barcode to menu.js and to xulG in a number of places Takes a window handle, a context, and an input barcode Passes the current OU, the context, and the input barcode to the db If multiple results come back it pops up a dialog Returns boolean false on no results Returns "user_false" on dialog cancel Returns an object with type, id, barcode on success If dialog was brought up, returns data used to populate button Add option for looking up actors at checkout Org unit setting: Load patron from Checkout. Default: Don't. Call sites for get_barcode: Lookup Patron By Barcode (actor only) OPAC's Staff Client Place Hold (actor only) Checkout (asset only by default, with actor if above option set) Checkin (asset only) Item Status (asset only) Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-17 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/myopac/main_refund_policy.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_refund_policy .tt2: cleanup: 1) fix broken INCLUDE statements in circ and hold histories 2) move an opac "part" to the parts directory 2011-05-17 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2: empty cases for fines 2011-05-17 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_email.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2: Emailing receipts working, some tweaks to payment history page 2011-05-17 Dan Scott <dan@coffeecode.net> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/upgrade/0535.schema.authority_indexes.sql: LP#783486: Improve authority lookup performance Testing showed that the two indexes added herein improve authority lookup performance radically; on a 16 GB RAM database server with 1.1M records, lookup times decreased from 5500 ms to 0.223 ms. Recommended, would EXPLAIN ANALYZE again. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-17 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/upgrade/0534.schema.fix_hold_permit_test.sql: stop hold permit check from crashing if age protection in effect Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-16 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2: Receipt printing also from payment history 2011-05-16 Mike Rylander <mrylander@gmail.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/aut hority.pm: Ignore "deleted" authority records when using the tag-validation method Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-05-16 Dan Wells <dbw2@calvin.edu> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Date.pm: Borrow on_or_after() from MFHD/Caption.pm in MFHD/Date.pm Signed-off-by: Dan Wells <dbw2@calvin.edu> 2011-05-16 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/js/ui/default/opac/simple.js, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2: Credit card payments working with printable receipts Could still use e-mailed receipts 2011-05-16 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql, Open-ILS/src/sql/Pg/2.0-2.1.sql: standardize name of 2.0-2.1 upgrade script Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-16 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: persist partial changes to new copies in vol/copy editor has new copies are gathered. In other words, you can do something like enter 5 in the "# of Copies" field, enter the first barcode (say b1), edit an attribute (say, set Circulate = No), and then enter a second barcode (b2). Previously, the changes made to b1 would be lost as b2 was entered (or as other movement around the barcode entry textboxes happened) and both copies would get a Circulate = Yes, but now in this scenario, you would see 1 copy set to No and 1 copy set to Yes for the Circulate attribute. Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-16 Jason Etheridge <jason@esilibrary.com> * Open-ILS/web/opac/locale/en-US/lang.dtd: simpler language, and the behavior of this action is configurable Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-16 Galen Charlton <gmc@esilibrary.com> * Open-ILS/src/sql/Pg/2.0-2.1.sql: first pass at 2.0 to 2.1 upgrade script Tested so far on an upgrade from 2.0.1; goes up to DB patch 0533. Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/skin/cat.css: usability tweak Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: default the label class according to library setting during vol creation Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-15 Jason Etheridge <jason@esilibrary.com> * Open-ILS/xul/staff_client/server/skin/global.css: remove this comment, testing the repo & email 2011-05-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/windowssetup.nsi: Nuke one more Trunk reference: windowssetup.nsi Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-14 Thomas Berezansky <tsbere@mvlc.org> * Open-ILS/xul/staff_client/Makefile.am, README: More SVN to Git rigging Staff client Makefile can no longer build based on SVN. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-14 Galen Charlton <gmc@esilibrary.com> * Open-ILS/xul/staff_client/external/prune_dirs.sh, README, build/tools/update.sh, build/tools/update_git_svn.sh: remove references to SVN now that we're using Git Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-14 Galen Charlton <gmc@esilibrary.com> * README: Trivial whitespace change Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-13 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0533.schema.fix_age_circ.sql: add missing update script for change to circ age stored procedure git-svn-id: svn://svn.open-ils.org/ILS/trunk@20475 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-13 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Patch from Ben Ostrowsky (LP#782268) to simplify seed/example permission setup and move one step towards being able to rid ourselves of permission.perm_list.id git-svn-id: svn://svn.open-ils.org/ILS/trunk@20473 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-13 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Date.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Holding.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhd.t, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhddata.txt: A bevy of MFHD bug fixes (and test cases) 1) Remove hard-coded 'gap' text from format_part() 2) Honor $ypm## for chron_to_date() for annuals 3) Removed overly simple check on $w as digit 4) Allow for combined chronologies other than 2nd level 5) Make calendar changes trump $u counts 6) Honor issue restarts at calendar changes 7) Rudimentary support of $u counts for non-restarting issue numbering 8) Special interpretation of $yps for early winters (i.e. winter is the first season of the calendar year) 9) Teach chron_to_date() about early winters The last two points deserve some special attention. A large number of journals consider 'Winter' to be the first season of the year, so Winter 2011 means (roughly) January 2011, not December 2011. However, there is no explicit way to indicate this in the standard, and also the code relies in many ways on the fact that 24 (chronology code for winter) is greater than 21 (code for spring). To work around this, we are interpreting a certain ambiguous pattern in a particular way. Specifically, if you set $w to a digit, then set $y to 'ps24,21,22,23' (or some variation with '24' as the first value), you will get this winter-first behavior. Also, the season is treated internally as '20' then converted to '24' when processing is completed. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20470 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-13 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0532.schema.fix_copy_count_funcs.sql: fix query in various copy count functions git-svn-id: svn://svn.open-ils.org/ILS/trunk@20468 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-13 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql: for upgrade, let prefix and suffix in audit be null git-svn-id: svn://svn.open-ils.org/ILS/trunk@20466 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-13 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql: add affix columns to acn auditor table git-svn-id: svn://svn.open-ils.org/ILS/trunk@20464 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-05-12 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: begin a sub to process payment 2011-05-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: Patch from James Fournie addressing LP#781803: Multiple renewal fails on MAX_FINES circs git-svn-id: svn://svn.open-ils.org/ILS/trunk@20461 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Wrap proximity refreshing in a transaction to avoid timespans where there is no such information git-svn-id: svn://svn.open-ils.org/ILS/trunk@20455 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm: Address LP#779975; Status of Available (0) not honored because 0==false -- use ternary op with defined() instead git-svn-id: svn://svn.open-ils.org/ILS/trunk@20452 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-12 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm: Add missing permission checks to Serial.pm git-svn-id: svn://svn.open-ils.org/ILS/trunk@20449 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-12 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2: doh, it's history not location.history 2011-05-12 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/parts/footer.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2: remove in-template fine-totaling: mod_perl code was already doing the same also: make that fine-totaling not use floating point math. don't provide payment form for <= 0 totals (we're not issuing refunds) last copyright date in footer always current year, not hardcoded 2011-05-11 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2: support paying all fines at once 2011-05-11 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/myopac/main_payment_form.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2: Payment for mostly done. Still needs: 1) to be able to handle the upper "Pay Fines" button that will mean "all my fines" 2) to use fixed point fine totaling math and bail on total <= 0 3) ... anything else? 2011-05-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_pay.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2: start on cc payments 2011-05-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/record.tt2: Fix an ugly grey bar in the record detail page I have no idea what caused this or why this css adjustments fixes the problem 2011-05-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/place_hold.tt2: Better redirect from place_hold Before this, if you click place hold on something while not logged in, you are redirected to the login page, which is good, and redirected thence to the place hold page, which is good. But after actually placing the hold you got redirected to the login page again, which is not good. Now you get sent back to the home page. This may not be the ideal choice. myopac/main may make more sense. Also, there is still not any clear visual feedback for the user that their hold placement succeeded. That'll need to be addressed too. 2011-05-09 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/issues.tt2: serial issue display and holds work 2011-05-09 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/css/skin/default/acq.css, Open-ILS/web/js/dojo/openils/acq/Lineitem.js, Open-ILS/web/js/ui/default/acq/invoice/view.js, Open-ILS/web/templates/default/acq/invoice/view.tt2: Invoice from LI seeds invoice data * When creating a new invoice from a lineitem, seed the invoice with provider data from the lineitem. * Make money textbox's a little larger to accommodate larger sums without scrolling * Truncate long titles in lineitem summary view git-svn-id: svn://svn.open-ils.org/ILS/trunk@20448 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-06 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am, Open-ILS/xul/staff_client/windowssetup.nsi: Misc updates to installer rigging Fewer spurious errors (extras.nsi, MUI_TEXT) More checks (makensis, unzip, branding) Slightly improved Welcome screen Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20446 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-06 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version git-svn-id: svn://svn.open-ils.org/ILS/trunk@20443 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-05 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js: Use valid JSON in Dojo i18n for Searcher.js Dojo i18n processing scripts require valid JSON (quoted keys in hashes), even though Dojo itself is more relaxed and accepts unquoted keys. So, do the i18n dance here. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20437 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-05 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/marcedit.xul: Fix typo introduced in r20425 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20431 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-05 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/0530.schema.actor-usr-index-phone-field s-more.sql: Patch from Niles Ingalls to make patron phone number searching more matchy. With assistance from Mike Rylander on pointing out the needed indexes to keep search fast, and from Mike Peters on arranging a last minute DCO :-) Type numbers into a patron phone number field and get a match regardless of the punctuation actually used in the database. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20429 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-05 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/display.js, Open-ILS/xul/staff_client/server/patron/summary_overlay.xul, Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul: Patch from Thomas Berezansky to do the following: Add more "click to copy" fields User's Name All three phone numbers Also fix issue where tooltip didn't clear when re-opening search form git-svn-id: svn://svn.open-ils.org/ILS/trunk@20427 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-05-05 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js, Open-ILS/xul/staff_client/server/OpenILS/symbol_overlay.js, Open-ILS/xul/staff_client/server/OpenILS/symbol_overlay.xul, Open-ILS/xul/staff_client/server/cat/marcedit.xul, Open-ILS/xul/staff_client/server/skin/global.css: Add a feature authored by Joscha Filius for the International Institue of Social History: a diacritical palette for the MARC editor! Afelonne Doek of IISH wants the community to benefit from this code. To try it out, press control S in the marc editor (reguarly non-flat-text view). You can insert the characters you see, and you can right click on entries in your palette to customize. Customizations /should/ persist through staff client restart (untested by me so far). This should make cataloging in multiple (Western-ish) languages at once easier. Below I copy and paste some of Joscha's message to the list where he introduced this code: > *Bugs:* > A known bug is that is you switch marc edit styles back and forth the > listener trigger won't work anymore. Also for a far as I know there is at > least another bug concerning layout which is as far as I know not the result > of my doing. > > *Here comes a possibly nasty part*, to ensure that the diacriticals remain > intact throughout the persist I've changed global_util.js to URL encode and > URL decode all stored values. This might cause backwards incompatibility > with values that are already stored for other purposes without encoding. > This needs to be checked. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20425 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-05 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * README: Remove redundant plpgsql install step from README PostgreSQL 9.0 includes plpgsql by default, and running the createlang plpgsql step throws an error that could concern the installer. Drop the step from the README. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20423 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/checkout.js: Patch from James Fournie improving due-date-editor usability by auto-checking the check box; LP#70956965 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20420 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/reporter/clark-kent.pl: Patch from Jason Boyer swapping the order of report and template name in emailed notices; LP#777273 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20417 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/server/OpenILS/util_overlay.xul, Open-ILS/xul/staff_client/server/skin/custom.js.example: debugging aid git-svn-id: svn://svn.open-ils.org/ILS/trunk@20414 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul: include these so we can get proper line numbers when debugging git-svn-id: svn://svn.open-ils.org/ILS/trunk@20413 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/serial/sbsum_editor.js, Open-ILS/xul/staff_client/server/serial/scap_editor.js, Open-ILS/xul/staff_client/server/serial/siss_editor.js, Open-ILS/xul/staff_client/server/serial/sisum_editor.js, Open-ILS/xul/staff_client/server/serial/sssum_editor.js: Fix some Serial Control text boxes which were too small to use effectively. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20412 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 berick <berick@esilibrary.com> * Open-ILS/web/templates_kcls/default/opac/parts/record/summary.tt2: removed unnecessary kcls record summary template file override 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/rdetail.js: Only pass the label to the CN browse search API, that is all we care about for the key git-svn-id: svn://svn.open-ils.org/ILS/trunk@20410 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0529.data.merge_user-ou_settings.sql: Collaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missing patron merge OU settings. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20407 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql: Collaboration patch from Joseph Lewis and Michael Peters addressing LP#758007, missing patron merge OU settings. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20406 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql: Addressing LP#732681 at upgrade time -- make authority records useful for controlling bibs git-svn-id: svn://svn.open-ils.org/ILS/trunk@20405 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/pre_cat_fields.xul: Initial fix from Michael Peters addressing small-screen UI issues: LP#767507 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20400 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/apachemods/mod_idlchunk.c: Change an ERROR to a DEBUG log message in mod_idlchunk Reported by James Fournie at Sitka, this message was logged as an error when it is simply a debug message; we drop the level accordingly so that it will not appear in the Apache logs during the normal course of operations. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20397 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Patch from Michael Peters to protect cut-in-line holds from staff without the appropriate permission git-svn-id: svn://svn.open-ils.org/ILS/trunk@20394 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/simple_auth.xul: Patch from Ben Ostrowsky addressing button order: LP#754660 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20392 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-04 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Prevent uninitialized var warnings in OpenILS::WWW::SuperCat::unapi Given a tag URI like tag:localhost,2011:biblio-record_entry/1 with no format, Evergreen was throwing uninitialized variable warnings and attempting to invoke "open-ils.supercat..formats" due to the unitialized $type variable, which resulted in an Apache error. On the TT OPAC, this enables Zotero to successfully offer import of all entries on the search results page. On the AjaxPAC, it seems that Zotero parses the page before the unAPI hrefs have been supplied by JavaScript. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20390 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/parts/record/authors.tt2, Open-ILS/web/templates/default/opac/parts/record/subjects.tt2: Clean up the rest of the non-entity ampersands in URLs Continue the global change to entity ampersands in URLs in the TT OPAC. This should be the last of it. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/org_selector.tt2: Avoid empty ID attribute in SELECT element The current code appears to always generate an empty id="" attribute, as the "id" variable never gets populated. For now, protect against the empty ID attribute. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: HTML compliance in result table Convert & to & in URLs, and change a SPAN element to a DIV (because SPAN elements are not allowed to contain block-level elements like DIV and TABLE). Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/header.tt2: Less aggressive URL encoding We were double-encoding URIs, as the url and uri filters in TT happily encode % - which is fine the first time around, but after you've already escaped everything as %nn the propagator was serving it back to url to be escaped again on the following page request. The right way to do this might be to unescape the incoming query string, then pass it on to url for escaping again - but for now, using the entity version of & is good enough to begin with. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: Ensure ampersands in URLs are & per HTML spec The propagator variable defined in parts/header.tt2 holds the value of the CGI query string - which, as it comes off the wire, is a simple "&". The problem with this is perhaps best explained at http://www.htmlhelp.com/tools/validator/problems.html#amp (and it explains why "©_..." gets converted into a copyright symbol). By passing the incoming query string through the TT url filter and then replacing "&" with "&" we avoid this problem at the source. From there, we have to address the other locations in the code in which we are manually appending GET variables. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/footer.tt2: Fix unclosed quoted attribute in TT OPAC footer Forgot to place the closing attribute quote on the footer image. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-03 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: Fix typo in fm_IDL.xml "oils_persist" namespace was missing an "s" in one instance, preventing autogen.sh from running. Bug reported by Thomas Berezansky. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20388 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-03 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0528.schema.functions_assume_unicode.sq l, Open-ILS/src/support-scripts/authority_control_fields.pl.in: Avoid data loss by setting MARC::Charset->assume_unicode(1) When using MARC::File::XML, MARC::Charset is used to perform character conversions; however, MARC::File::XML does not tell MARC::Charset that it is handling Unicode data. If we do not tell MARC::Charset that it is handling Unicode data, it can return an error which results in the loss of data (typically a subfield containing one or more characters which MARC::Charset does not have an equivalent mapping outside of Unicode). This problem could be reproduced in authority_control_fields.pl with a subfield like "von Hans-Christian Müơller" - when this subfield was encountered without assume_unicode(1), a null string was returned for that subfield, and if the record was written back to the database due to an authority match being found in a different field, the only recourse was to restore the record from auditor.biblio_record_entry_history. The same sort of problems could occur for any other script or function that modifies the data being handed to it using MARC::File::XML and BinaryEncoding => UTF8. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20385 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-05-03 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/actor/user/register.js: Followup patch to the first listed in https://bugs.launchpad.net/evergreen/+bug/745123 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20382 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-03 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/099.matrix_weights.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0527.schema.matrix-bib_level.sql, Open-ILS/web/opac/skin/default/xml/common/js_common.xml, Open-ILS/web/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/web/templates/default/conify/global/config/hold_matrix_mat chpoint.tt2: Patch from Jason Stephenson ( LP#770261, https://bugs.launchpad.net/evergreen/+bug/770261 ) adding support for bibliographic level inspection in the hold and circ matrix matchpoint tests. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20380 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-02 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHDParser.pm, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/locale/en-US/serial.properties, Open-ILS/xul/staff_client/server/serial/manage_items.js, Open-ILS/xul/staff_client/server/serial/manage_items.xul, Open-ILS/xul/staff_client/server/serial/sdist_editor.js: Add support for sre/distribution summary methods (including merge), advanced receiving, and unit-less receiving in the serial control items tab This commit includes three new minor features for the Serial Control interface. First, you are now able to set the latent 'summary_method' field on distributions, with the most significant new setting being 'merge with sre'. This setting effectively combines the sre marc with the generated holdings to form a single unified statement. Second, the previous 'receive' functionality has been renamed to 'advanced receive', and 'receive' will now show items from an entire subscription, but not allow you to receive directly into a specific unit (you can still receive into new/auto units). Third, a basic menu entry has been added for receving into 'no unit', allowing items to be received not forcing them to be unitized. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20378 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-02 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * README: debian backports url changed. updated install docs in README to match git-svn-id: svn://svn.open-ils.org/ILS/trunk@20376 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-02 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm: flesh stat_cat_entries in the call number tree method used by Holdings Maintenance, since those copies get shoved into the copy editor and we want stat cat entries to show up there git-svn-id: svn://svn.open-ils.org/ILS/trunk@20374 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-02 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js: Fix bug and typo in stat cat editor Specifically, disabling the ability to select a stat cat type on no permissions on current type. If you don't have permissions on ASSET you could never get to ACTOR. If you picked ACTOR without rights you couldn't get back to ASSET. Also, re-enable the library selector and new buttons when you do change to one you can add for. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20371 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-02 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/util.js: fix "undefined is in transit" https://bugs.launchpad.net/evergreen/+bug/773528 --- Fix bug squashing of params in checkin_via_barcode2 in circ/util.js. Author: Jason Stephenson <jstephenson@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20368 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-05-02 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates/default/opac/parts/myopac/prefs_hints.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates_kcls/default/opac/parts/myopac/prefs_hints.t t2: Debrand the KCLS-specific hint about Library Elf in prefs settings Even though prefs settings are not yet exposed, we can turn the KCLS-specific comment into a brandable "hints" section in prefs settings. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-02 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_refund_policy.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/main.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/main_refund_policy. tt2: Make refund policy for lost items a branding option Different sites will have different policies for refunds on lost items (and might not even provide refunds for lost items, for that matter), so break out that policy description into its own template and provide a KCLS-specific version of it. Signed-off-by: Dan Scott <dbs@coffeecode.net> 2011-05-02 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.t t2, Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purch ase.tt2: Debrand lowhits purchase request reference to KCLS While we break this out to a separate template, perhaps we could pull the library name from context instead of having it hardcoded. It will probably depend on each instance, ergo hardcoding the generic "your library" for now should be fine. Signed-off-by: Dan Scott <dbs@coffeecode.net> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Pull call number from XML holdings, not MARC record KCLS uses call numbers in the MARC record, but most other sites use the call numbers from asset.call_number. For now, just display the first returned call number; eventually the display will probably need to be adjusted to handle call number / shelving location / library / status like the current AjaxPAC does. Also note that ##URI## call numbers should be filtered out but are not yet. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/login/help.tt2, Open-ILS/web/templates/default/opac/parts/login/password_hint.tt2, Open-ILS/web/templates_kcls/default/opac/parts/login/form.tt2, Open-ILS/web/templates_kcls/default/opac/parts/login/help.tt2: Debrand the login form Breaking the password hint and login help sections out into separate templates enables sites to adjust the hint and login help links without touching the rest of the interface. Signed-off-by: Dan Scott <dbs@coffeecode.net> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/footer.tt2, Open-ILS/web/templates/default/opac/parts/homesearch.tt2, Open-ILS/web/templates/default/opac/parts/topnav_links.tt2: Debrand the OPAC footer, home page, and topnav links Restore the copyright message and Powered by Evergreen logo in the footer, and provide obvious example links instead of the KCLS-specific links. Also, replace the KCLS home page with the main Evergreen logo. Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/printnav.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/parts/topnav_links.tt2, Open-ILS/web/templates/default/opac/parts/topnav_logo.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/main.tt2, Open-ILS/web/templates_kcls/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates_kcls/default/opac/parts/footer.tt2, Open-ILS/web/templates_kcls/default/opac/parts/homesearch.tt2, Open-ILS/web/templates_kcls/default/opac/parts/login/form.tt2, Open-ILS/web/templates_kcls/default/opac/parts/printnav.tt2, Open-ILS/web/templates_kcls/default/opac/parts/record/summary.tt2, Open-ILS/web/templates_kcls/default/opac/parts/topnav_links.tt2, Open-ILS/web/templates_kcls/default/opac/parts/topnav_logo.tt2: Create a templates_kcls to hold KCLS branding of TT OPAC The debranding of the TT OPAC begins with the top navigation. * Replace the KCLS logo with the Evergreen logo (even though white background on black doesn't look great, it's something) * Replace the KCLS specific top links with example links. * Split the logo and the links sections out into separate templates so that we can maximize commonality of the topnav.tt2 template. For now, all files containing the string 'kcls' have been copied into the templates_kcls directory. As we move through the templates, we may refactor them in similar to how we just refactored topnav.tt2. Signed-off-by: Dan Scott <dbs@coffeecode.net> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/subjects.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Internationalize more of the TT OPAC (records and results) There are a number of hardcoded strings remaining in the TT OPAC. This is just some of the lowhanging fruit; more work needs to be done on the more complex cases involving HTML and placeholders. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: berick <berick@esilibrary.com> 2011-05-01 Dan Scott <dan@coffeecode.net> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Enable unAPI support in TT OPAC We have enough information available from the context and date plugin to construct valid unAPI IDs - so let's do it and take one more XXX off the table. (This is good for Zotero support!) Sadly, Zotero doesn't seem to recognize more than one unAPI ID on the search results page; in theory it should give the user the ability to add all of the search results at once, but in practice it doesn't display anything. At the same time, we can remove the duplicate unAPI placeholders and remove unnecessary <span> elements. Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: berick <berick@esilibrary.com> 2011-05-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm: ContentCafe summary of avaible item content Added "available_json" support for Content Cafe. Returns and array of available content for a given item, where the content type is mapped to one of the Evergreen standard added content types, e.g. "summary", "anotes", "reviews", ... git-svn-id: svn://svn.open-ils.org/ILS/trunk@20367 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/ContentCafe.pm: ContentCafe summary of avaible item content Added "available_json" support for Content Cafe. Returns and array of available content for a given item, where the content type is mapped to one of the Evergreen standard added content types, e.g. "summary", "anotes", "reviews", ... git-svn-id: svn://svn.open-ils.org/ILS/trunk@20367 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/adv_global.js: After investigation by Dan Scott, Michael Peters and Mike Rylander (a little), apos removal in advanced search normalization is considered harmful. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20364 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/adv_global.js: After investigation by Dan Scott, Michael Peters and Mike Rylander (a little), apos removal in advanced search normalization is considered harmful. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20364 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/copy_summary.xul, Open-ILS/xul/staff_client/server/patron/bill_details.js: Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244: bill_details.xul "Checkout or Renew Library" column is blank git-svn-id: svn://svn.open-ils.org/ILS/trunk@20361 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/copy_summary.xul, Open-ILS/xul/staff_client/server/patron/bill_details.js: Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244: bill_details.xul "Checkout or Renew Library" column is blank git-svn-id: svn://svn.open-ils.org/ILS/trunk@20361 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl, Open-ILS/src/support-scripts/authority_control_fields.pl.in, configure.ac: Remove hard-coded default bootstrap location from authority_control_fields.pl Let autoconf do its magic and we get away from one more hard-coded default. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20359 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl, Open-ILS/src/support-scripts/authority_control_fields.pl.in, configure.ac: Remove hard-coded default bootstrap location from authority_control_fields.pl Let autoconf do its magic and we get away from one more hard-coded default. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20359 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Slight optimization for authority_control_fields.pl Instead of creating two CStoreEditors per bib record, reuse the global CStoreEditor for read operations; this way we only have to create a new CStoreEditor if a record has fields to authorize. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20356 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Slight optimization for authority_control_fields.pl Instead of creating two CStoreEditors per bib record, reuse the global CStoreEditor for read operations; this way we only have to create a new CStoreEditor if a record has fields to authorize. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20356 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> 2011-04-30 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: use medium-sized jacket image on record details page 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Add excerpt AC and avoid rate-limiting for OpenLibrary content OpenLibrary added rate-limiting (100 cover requests per 5 minutes) for cover images requested by ISBN; using the OpenLibrary book API to pull the list of direct cover URLs avoids the rate limit. Also, add excerpt added content calls for OpenLibrary. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20354 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <gitorious@coffeecode.net> 2011-05-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Add excerpt AC and avoid rate-limiting for OpenLibrary content OpenLibrary added rate-limiting (100 cover requests per 5 minutes) for cover images requested by ISBN; using the OpenLibrary book API to pull the list of direct cover URLs avoids the rate limit. Also, add excerpt added content calls for OpenLibrary. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20354 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dbs@coffeecode.net> 2011-04-30 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install, README: Update Makefile.install and README for PostgreSQL 9.0 Along with cleaning out references to Debian Etch, Debian Lenny, Ubuntu Hardy, add the Debian Squeeze, Ubuntu Lucid, and Fedora 14 PostgreSQL 9.0 repo locations, and convert the README to Asciidoc syntax. Remove references to Fedora 13 and genericize it for Fedora 14 (with the thought that Fedora 15 will probably be coming out soon). Also add PostgreSQL 9.0 packages as a target for the database server in Makefile.install. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20352 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Bill Erickson <berick@esilibrary.com> 2011-04-30 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2: force empty value for the default 'Any' option to avoid using the option text as a valid value 2011-04-27 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/build-db.sh, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: fix the new deps stuff git-svn-id: svn://svn.open-ils.org/ILS/trunk@20351 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-27 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/audience_selector.tt2, Open-ILS/web/templates/default/opac/parts/coded_value_selector.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/language_selector.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: generic filters in advanced search using SVF incidentally, this reveals that my database has some *weird* languages represented in it 2011-04-27 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/copy_details.js: Change barcode to link to item status For copy details change the barcode to a link to the item status. This only applies to the staff client itself due to an isXUL check first. This allows for a staff member to get more details on the copy with a single click, rather than copy/paste of the barcode. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20349 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-27 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/marc_stream_importer.pl: Patch from Mike Rylander to support load-from-file as an alternative to load-from-network git-svn-id: svn://svn.open-ils.org/ILS/trunk@20347 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-27 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Turn ebooks AC from OpenLibrary into usable HTML Add <a> elements to turn URLs into links, and use the upper case ebook format as the content of the link. "Read online" is the one i18n-unfriendly exception, but this is a good start. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20346 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-27 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: Bad miker ... correcting exclusion constraint definition git-svn-id: svn://svn.open-ils.org/ILS/trunk@20345 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-27 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm: Teach OpenLibrary.pm how to extract ebook links from OpenLibrary results If the Internet Archive has an available ebook, then OpenLibrary will provide links to it in various formats. For now, we return the results as a plain set of <div> elements with class attributes denoting what kind of ebook was returned; i18n will have to take care of providing an actual label. Oh, and I guess we want to turn these into actual <a> links... git-svn-id: svn://svn.open-ils.org/ILS/trunk@20344 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-27 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql: stock schema version of 0526 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20343 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-27 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/make-db-patch.pl: Utility to create a template for a DB patch file Besides creating the script, also does some basic sanity checks on the patch number and the number(s) of any deprecated or supsersed patches. usage: ./make-db-patch.pl --num <patch_num> --name <patch_name> [--deprecates <num1>] [--supersedes <num2>] Make template for a DB patch SQL file. --num DB patch number --name descriptive part of patch filename --deprecates patch(es) deprecated by this update --supersedes patch(es) superseded by this update git-svn-id: svn://svn.open-ils.org/ILS/trunk@20342 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-27 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0526.schema.upgrade-dep-tracking.sql: support for depracate/supersede tracking of upgrade scripts, and automatic rejection of conflicting scripts git-svn-id: svn://svn.open-ils.org/ILS/trunk@20341 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-27 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: One more strictly integer check for fleshing feeds in SuperCat Missed this one in r20336. Argh. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20340 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-27 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Consolidate on checking for integers for -full / -uris The check for an integer when $flesh eq 'uris' was throwing errors and breaking authority browsing; rather than complicating matters further, use an explicit integer for the return value when the format ends with "-uris" so that we can simply test for an integer value greater than 0. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20335 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-27 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Prevent a MARC::File::XML error from killing authority_control_fields.pl batch Continuing to make this script bullet-proof, MARC::File::XML cares deeply about things like whether datafields have indicators and throws exceptions that, if not caught, kill a processing script - like this one. Borrowing the approach from marc_export, wrap the new_from_xml() call in a try / otherwise block and roll on. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20332 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-26 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul, Open-ILS/xul/staff_client/server/circ/util.js: Hold, Transit, and Hold/Transit Slips used to suppress the printer dialog, but we lost that when we moved to templated slips. This adds a sticky Printer Prompt checkbox to Check In for controlling that behavior. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20327 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-26 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/util/print.js, Open-ILS/xul/staff_client/server/admin/printer_settings.js: Setting print.always_print_silent to false is a bad thing, since it trumps gPrintSettings.printSilent, and will cause a print dialog regardless of Printer Prompt or Auto-Print checkboxes. Let's clear it instead when toggling it off, and if we find it lingering as false from past code, let's clear it then too. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20326 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-26 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Protect against errors returned by open-ils.search If open-ils.search returns an error rather than a result, prevent authority_control_fields.pl from bombing out completely; instead, flag the problem in STDERR and move on to the next record. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20323 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-26 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/myopac.js: set the cancel cause field when patrons cancel holds. There's a holdsCancel function that also does this, but it never gets called by anything git-svn-id: svn://svn.open-ils.org/ILS/trunk@20320 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-26 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/checkin.js: fix disappearing cursor/caret for Check In git-svn-id: svn://svn.open-ils.org/ILS/trunk@20314 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-26 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Make authority_control_fields.pl resistant to database timeouts LP 771237 describes how on an underpowered system, the work that authority_control_fields.pl tries to do on a per-record basis may hit the CStore default timeout of 6 seconds for a transaction and automatically end the transaction, resulting in no work being committed once the script tries to update the bibliographic record. Searching each controlled field for a matching authority record can be costly in a database with millions of authority records. To enable the script to accomplish its work on underpowered test systems, use a regular read-only CStoreEditor session to accomplish the lookups and create a separate CStoreEditor session to issue the update in a transaction if required. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20311 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-26 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql: LP#771187: fix syntax error in stored procedure def Author: Jason Stephenson <jstephenson@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20309 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-25 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: one more minor thing when showing fines on reservations if there's not a record associated with the xact (like in the case of a reservation against a non-cataloged resource), don't try to show a link 2011-04-25 senator <lebbeous@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/main.tt2: fines on reservations no longer break myopac/main (my account) 2011-04-25 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0525.schema.phys-char-regression.sql: Regression in pulling physical characteristics from a record in an SVF world, spotted by Jason Stephenson git-svn-id: svn://svn.open-ils.org/ILS/trunk@20307 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-25 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/030.schema.metabib.sql: Regression in pulling physical characteristics from a record in an SVF world, spotted by Jason Stephenson git-svn-id: svn://svn.open-ils.org/ILS/trunk@20306 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-25 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/OpenLibrary.pm, Open-ILS/web/opac/skin/default/css/layout.css: Use layout.css to control table of contents from OpenLibrary added content Rather than forcing people to edit OpenLibrary.pm to modify the inline CSS, use a class and rely on CSS from layout.css to make it easier to skin. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20303 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-23 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/templates/default/actor/user/register.tt2, build/i18n/po/register.js/register.js.pot: Extend i18n support for Register Patron interface Missed out on the Save / Show Fields dialogue in the previous commit; this gets us up to speed on the entire interface. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20299 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-23 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/templates/default/actor/user/register_table.tt2, build/i18n/po/register.js/register.js.pot: Add i18n support to the User Editor / registration interface Per LP # 754898, the Register Patron interface currently contains many hardcoded strings. Given that the previous patron registration interface supported translation, this is a regression in 2.0. Accordingly, we extend the use of Dojo i18n support to provide the strings for buttons and a number of labels on the Register Patron interface. The bulk of the remaining text is provided by the fieldmapper definitions, which should in theory be translated automatically for us. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20298 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: address the empty-query case git-svn-id: svn://svn.open-ils.org/ILS/trunk@20295 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/holds.js: Disable Save Columns in xul holds interface when Hold Details is being viewed. https://bugs.launchpad.net/evergreen/+bug/691599 Not the best fix, but the quickest fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@20292 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Address LP#730743, errant parens cause pain Specifically, we prune subplans that contain no nodes (empty parens), and avoid dropping out of the top level query context when we encounter a close-paren. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20289 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0524.data.toggle_unified_volume_copy_ed itor.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/circ/copy_status.js: org unit setting for making unified Volume/Item interface optional. fix the volume interface in its standalone incarnation, and tweak the label for editing items in holdings maintenance git-svn-id: svn://svn.open-ils.org/ILS/trunk@20287 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: Don't disable the Create Volume/Item button when building the data structure from the form. If you have say, a <textbox> with on onchange event that disables a <button> and re-enables it shortly thereafter, and the onchange event was triggered by you clicking on said button while the textbox has focus/changes, then the disable action will prevent any click on the button from registering. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20285 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/index.xhtml: Turn off non-working print button for holds pull https://bugs.launchpad.net/evergreen/+bug/727983 Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20280 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-22 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: Add missing serial.distribution field to IDL git-svn-id: svn://svn.open-ils.org/ILS/trunk@20278 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/actor/user/register.js: Patch from James Fournie to sort statcats in their comboboxes git-svn-id: svn://svn.open-ils.org/ILS/trunk@20275 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/bib lio.pm, Open-ILS/web/opac/skin/default/js/copy_details.js, Open-ILS/web/opac/skin/default/js/rdetail.js: Better call number prefix/support in opac. The copy count status/location summary methods now group by prefix, label, suffix instead of just label. Still need to update rdetailShowCNBrowse/open-ils.search.callnumber.browse, which is being fed an array, [ prefix label, label, suffix label ] git-svn-id: svn://svn.open-ils.org/ILS/trunk@20273 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-21 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: if no query is sent in the search, return the user to the referring page 2011-04-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/cn_browse.js: Display prefix and suffix in CN browse of main OPAC git-svn-id: svn://svn.open-ils.org/ILS/trunk@20271 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-21 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: check user 'active' field in SIP charge_ok (and dependent) calls git-svn-id: svn://svn.open-ils.org/ILS/trunk@20268 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/xsl/CNBrowse2HTML.xsl: add marginal support for surfacing CN affixes in supercat and slimpac CN browse git-svn-id: svn://svn.open-ils.org/ILS/trunk@20266 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/subjects.tt2: show No Subjects when, well, there are no subjects; cleanup 2011-04-20 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0523.data.default-copy-status.sql, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: Add org unit settings for default status of newly added copies These two new org unit settings enable sites to control the default status of newly added copies. The defaults match the behaviour of the "Add Volumes" ("In Process") and "Fast Add" ("Available") interfaces as of Evergreen 1.6.1, but sites can choose to have the copies go directly to "Reshelving", "Available", or any other status defined in config.copy_status. The org unit settings are: * cat.default_copy_status_fast (for "Fast Add") * cat.default_copy_status_normal (for "Add Volumes") git-svn-id: svn://svn.open-ils.org/ILS/trunk@20263 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Dan Scott <dscott@laurentian.ca> 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm: flesh parts in Items Out git-svn-id: svn://svn.open-ils.org/ILS/trunk@20259 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/xul/staff_client/server/circ/checkin.js, Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/circ/renew.js, Open-ILS/xul/staff_client/server/circ/util.js: send the volume along in the payload for circ functions. Render CN prefixes/suffixes correctly in xul lists if they're not fleshed git-svn-id: svn://svn.open-ils.org/ILS/trunk@20258 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/locale/en-US/circ.properties, Open-ILS/xul/staff_client/server/locale/en-US/common.properties: label tweaks to disambiguate prefix and suffix columns in checkin interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@20257 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: allow filter negation (e.g. -item_type(a) ) in dynamic filter query string building 2011-04-20 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Add support for facet and filter negation via "-" prefix git-svn-id: svn://svn.open-ils.org/ILS/trunk@20255 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: New targets for staff client Makefile rigrelease: Sets up branding/xulrunner-stub for release builds Includes a change to windowssetup.nsi to swap out image set rigbeta: Sets up branding/xulrunner-stub for beta builds Includes a change to windowssetup.nsi to swap out image set rebuild: Shortcut for re-using the same version/stamp as the last build Updated stamp target to add files for rebuild. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20253 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-20 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/direct_ingest.pl, Open-ILS/src/extras/import/direct_loader.pl, Open-ILS/src/extras/import/marcFilterDump.pl, Open-ILS/src/extras/import/marc_add_ids, Open-ILS/src/extras/marc2html, Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Picklist.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Z3950.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/ass et.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Exporter.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Vandelay.pm, Open-ILS/src/support-scripts/marc_export.in, Open-ILS/src/support-scripts/marc_stream_importer.pl: Always use BinaryEncodeing => "UTF-8" with MARC::File::XML git-svn-id: svn://svn.open-ils.org/ILS/trunk@20250 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/offline-blocked-list.pl: Patch from Jeff Davis addressing parameter usage issues git-svn-id: svn://svn.open-ils.org/ILS/trunk@20244 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/format_selector.tt2: format selector gets formats from CCVM fields, starting with 'mattype', falling back to item_type 2011-04-20 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: added simple field/value filter to the RO fetch/cache code; useful for limiting larger sets of config data like ccvm objects 2011-04-20 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.functions.aggregate.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql: Reorder some functions to avoid creation failure on an empty db; remove unused (and installation-killing) tsvector aggregate git-svn-id: svn://svn.open-ils.org/ILS/trunk@20238 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: use the more explicit get_foo instead of find_foo for pub/cache object lookup 2011-04-20 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/Makefile.am, Open-ILS/src/support-scripts/marc_export, Open-ILS/src/support-scripts/marc_export.in, configure.ac: add marc_export to list of scripts installed in /openils/bin git-svn-id: svn://svn.open-ils.org/ILS/trunk@20237 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm: flesh parts on items for circ functions. Hrmm, but this only works because unflesh_copy doesn't know about parts. Do we need unflesh_copy on checkout/checkin/renew result payloads? git-svn-id: svn://svn.open-ils.org/ILS/trunk@20233 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/copy_editor.js: remove the infinite loop that batch volume template application was causing git-svn-id: svn://svn.open-ils.org/ILS/trunk@20232 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js: fix export templates, copy/paste-o git-svn-id: svn://svn.open-ils.org/ILS/trunk@20231 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js: More hotkey fixes - Invalidate keyset cache Thanks to http://forums.mozillazine.org/viewtopic.php?f=19&t=2048501, Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20228 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-20 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/util/network.js: Hotkey Fixes Attempt to be more robust/forceful on clearing hint text Reset hotkeys less often (such as *not* on operator change) Re-enable keyset properly Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20227 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/po/opac.js/opac.js.pot: Typo: Propeties/Properties Should have merged this with the source file fix. Ah well. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20224 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/opac/nls/opac.js: Typo: Propeties/Properties git-svn-id: svn://svn.open-ils.org/ILS/trunk@20223 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Use top level join instead of subquery in hold queue position query This is more readily optimized by the Postgres planer. Note also, for very large data sets (lots of holds, on the order of 100k+ active), the following is also advised: ALTER TABLE action.hold_copy_map alter column target_copy SET statistics 500, alter column hold set statistics 500; ANALYZE action.hold_copy_map; This gives the planner better data about the hold-copy-map n-distinct. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20221 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/util/list.js: Fix dump-style printing by ensuring 'params' is defined before accessing it git-svn-id: svn://svn.open-ils.org/ILS/trunk@20216 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/cache-generator.sh: Store the cache hash file in LOCALSTATEDIR/web/ so it can be used from within apache via SSI git-svn-id: svn://svn.open-ils.org/ILS/trunk@20215 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/Makefile.am, Open-ILS/src/extras/cache-generator.sh: Add a wrapper for autogen.sh which generates a date+content hash for use in (browser) cache killing git-svn-id: svn://svn.open-ils.org/ILS/trunk@20213 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * : mark these as binary git-svn-id: svn://svn.open-ils.org/ILS/trunk@20211 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.client_menus.sql, Open-ILS/web/opac/locale/en-US/lang.dtd, 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/chrome/content/main/menu_frame_overlay.xu l, Open-ILS/xul/staff_client/chrome/content/util/file.js, Open-ILS/xul/staff_client/chrome/content/util/network.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/chrome/skin/global.css, Open-ILS/xul/staff_client/chrome/skin/hotkeys/Default.keyset, Open-ILS/xul/staff_client/chrome/skin/hotkeys/Minimal.keyset, Open-ILS/xul/staff_client/chrome/skin/hotkeys/None.keyset, Open-ILS/xul/staff_client/chrome/skin/hotkeys/README, Open-ILS/xul/staff_client/chrome/skin/media/images/licenses.txt, Open-ILS/xul/staff_client/defaults/preferences/prefs.js: Menu Hotkeys and Toolbars Dynamic Hotkey sets New cataloging toolbar New updates to circ toolbar New menu items and updates to menus in admin menu area Toolbar/hotkey settings can be saved to workstation prefs from admin -> workstation administration Update org unit setting for button_bar to be a string, circ or cat by default to pick those two toolbars Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20207 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-19 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/autogen.sh: Print the path to files written by autogen in support of a cache-killing hash git-svn-id: svn://svn.open-ils.org/ILS/trunk@20205 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * : mark these as binary git-svn-id: svn://svn.open-ils.org/ILS/trunk@20203 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/custom_images/DCO, Open-ILS/xul/staff_client/custom_images/README, Open-ILS/xul/staff_client/windowssetup.nsi: More Installer Fun Define an Install Tag, defaulting to the product tag. This will be used in the install location and registry setting for where we installed to. Different install tags will mean different installs, so Trunk won't (by default) install over 2.1 (for example) Plus, include riggings for Mike Peter's new install images. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20199 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/po/db.seed/db.seed.pot: Update for corrected cmc.name -> cmc.label marking in seed data git-svn-id: svn://svn.open-ils.org/ILS/trunk@20195 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Mark cmc.label for translation, not cmc.name, in seed data git-svn-id: svn://svn.open-ils.org/ILS/trunk@20192 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: Mark cmf and cmc labels as translatable We went to the effort of extracting the translatable text from 950.data.seed-values.sql, but had not marked the fields as translatable in the IDL. Now at least the out-of-the-box fields and classes will easily be able to have translations. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20189 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/po/AutoFieldWidget.js/AutoFieldWidget.js.pot, build/i18n/po/Searcher.js/Searcher.js.pot, build/i18n/po/TranslatorPopup.js/TranslatorPopup.js.pot, build/i18n/po/User.js/User.js.pot, build/i18n/po/XULTermLoader.js/XULTermLoader.js.pot, build/i18n/po/acq.js/acq.js.pot, build/i18n/po/admin.properties/admin.properties.pot, build/i18n/po/auth.properties/auth.properties.pot, build/i18n/po/authority.js/authority.js.pot, build/i18n/po/capture.js/capture.js.pot, build/i18n/po/cat.properties/cat.properties.pot, build/i18n/po/circ.properties/circ.properties.pot, build/i18n/po/common.properties/common.properties.pot, build/i18n/po/conify.dtd/conify.dtd.pot, build/i18n/po/conify.js/conify.js.pot, build/i18n/po/db.seed/db.seed.pot, build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot, build/i18n/po/ils_events.xml/ils_events.xml.pot, build/i18n/po/lang.dtd/lang.dtd.pot, build/i18n/po/multiclass_search_help.html/multiclass_search_help.ht ml.pot, build/i18n/po/offline.properties/offline.properties.pot, build/i18n/po/opac.dtd/opac.dtd.pot, build/i18n/po/opac.js/opac.js.pot, build/i18n/po/patron.properties/patron.properties.pot, build/i18n/po/pickup_and_return.js/pickup_and_return.js.pot, build/i18n/po/pull_list.js/pull_list.js.pot, build/i18n/po/register.js/register.js.pot, build/i18n/po/reports.dtd/reports.dtd.pot, build/i18n/po/reports.js/reports.js.pot, build/i18n/po/reservation.js/reservation.js.pot, build/i18n/po/selfcheck.js/selfcheck.js.pot, build/i18n/po/serial.properties/serial.properties.pot, build/i18n/po/vandelay.dtd/vandelay.dtd.pot: Check in the POT files so that translation interface can be satisfied git-svn-id: svn://svn.open-ils.org/ILS/trunk@20188 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/Makefile: Add openils.widget.Searcher Dojo NLS to the i18n build Necessary for the "advanced" searchbar on the Evergreen AjaxPAC. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20185 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Correct encoding issue with authority_control_fields.pl Is there ever a time when MARC::File::XML would be invoked with anything other than BinaryEncoding => 'utf-8'? Not here, at least. Addresses LP# 764582. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20182 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/opensrf.xml.example, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/fts .pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Improvements to search tuning * Move to in-core fts function, instead of the compat wrapper provided by the tsearch2 contrib * Provide default cover density tuning (config file) * Move default preferred language settings from storage to search, where they make more sense More on the CD tuning: Evergreen uses a cover density algorithm for calculating relative ranking of matches. There are several tuning parameters and options available. By default, no document length normalization is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen): Since a longer document has a greater chance of containing a query term it is reasonable to take into account document size, e.g., a hundred-word document with five instances of a search word is probably more relevant than a thousand-word document with five instances. Both ranking functions take an integer normalization option that specifies whether and how a document's length should impact its rank. The integer option controls several behaviors, so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4). 0 (the default) ignores the document length 1 divides the rank by 1 + the logarithm of the document length 2 divides the rank by the document length 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd) 8 divides the rank by the number of unique words in document 16 divides the rank by 1 + the logarithm of the number of unique words in document 32 divides the rank by itself + 1 If more than one flag bit is specified, the transformations are applied in the order listed. It is important to note that the ranking functions do not use any global information, so it is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of course this is just a cosmetic change; it will not affect the ordering of the search results. In Evergreen, these options are set via search modifiers. The modifiers are mapped in the following way: * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20180 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/holds.js: one more fix, for Show in Catalog on issuance holds git-svn-id: svn://svn.open-ils.org/ILS/trunk@20178 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/common.properties: display issuance label, not subscription label git-svn-id: svn://svn.open-ils.org/ILS/trunk@20176 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/patron/holds.js: add Part Holds to Actions for this Record -> View Holds. Also add xul support for displaying issuance holds (needs testing) git-svn-id: svn://svn.open-ils.org/ILS/trunk@20174 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/patron/holds.js: support Part Holds in xul lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@20171 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: no need to flesh the record here git-svn-id: svn://svn.open-ils.org/ILS/trunk@20170 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@20168 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql: improve comments on a couple config tables Based on suggestions from Mike Rylander and Thomas Berezansky. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20162 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-18 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/build-db.sh, Open-ILS/src/sql/Pg/grab-db-comments.pl, Open-ILS/src/sql/Pg/sql_file_manifest, Open-ILS/src/sql/Pg/update-db-comments.sh: script to update DB object comments New script, update-db-comments.sh, to be run as part of upgrades to refresh comments on database schema objects. Usage is: update-db-comments.sh db-host db-port db-name db-user db-pass The helper script grab-db-comment.pl is what actually parses out the comment statements. To avoid repetition, the list of default SQL scripts to use when initializing an Evergreen database has been moved to a new file called sql_file_manifest. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20161 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-18 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/008.schema.query.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/200.schema.acq.sql, Open-ILS/src/sql/Pg/999.functions.global.sql: minor improvements to database object comments * remove copyright, license verbiage, and C-style comment marking from the comments; these can live in the SQL scripts * updated several copyright headers * minor improvements to documentation of a couple tables git-svn-id: svn://svn.open-ils.org/ILS/trunk@20160 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/util.js: fixes Edit Volumes action by flattening the volume objects before updating them git-svn-id: svn://svn.open-ils.org/ILS/trunk@20158 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/marcedit.xul: in the MARC Editor, put the callnumber and barcode textboxes for Fast Item Add on a separate row git-svn-id: svn://svn.open-ils.org/ILS/trunk@20151 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/tests/check_entities.py, build/i18n/tests/check_properties.py: Enable relative paths in i18n testing scripts We were 98% of the way there; now we no longer need to cd into the same directory as the i18n testing scripts to run them with meaningful output. Should be useful for adding these to the CI server. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20148 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/tests/check_entities.py: Don't check .js files for entities Must have asked this script to check JS files for valid entities for a reason at some point in the dark past, but it couldn't have been a very good reason; we're getting a false positive that needs to be hushed now. Better to just stop looking for XML entities in JavaScript. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20145 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Empty strings in oils_i18n_gettext() throw i18n errors When you run 'make newpot', if you have an empty string in an oils_i18n_gettext() function, you'll see errors like: Error in line 1712 of SQL source file: 'NoneType' object has no attribute 'group' This satisfies the i18n build process and also serves as a more evident placeholder for expanded descriptions if someone feels so inclined in the future. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20139 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-17 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/util/print.js: Add new macros for print templates. %-TRIM% Trims whitespace before the macro %TRIM-% Trims whitespace after the macro %SUBSTR(#)%...%SUBSTR_END% Take substring starting at position # to end of string. If # is negative count backwards from end of string. %SUBSTR(#,#)%...%SUBSTR_END% Same as previous, but limit to second provided number characters after start point. If second number is negative, count backwards instead of forwards. TRIM macros inside of SUBSTR will be replaced first, then SUBSTR, then TRIM outside of SUBSTR. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@20137 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-04-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/circ/copy_status.js: fix Add Items off of volumes by changing the label key in copy_shortcut to callnumber composite key git-svn-id: svn://svn.open-ils.org/ILS/trunk@20136 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: trace statements. need to change how copy_shortcut is constructed in parent interfaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@20135 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: trace statements git-svn-id: svn://svn.open-ils.org/ILS/trunk@20134 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: trace statements git-svn-id: svn://svn.open-ils.org/ILS/trunk@20133 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: comment tweak git-svn-id: svn://svn.open-ils.org/ILS/trunk@20132 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0521.schema.u-no-uri-use.sql: Allow NULL "use restriction" fields for located URIs The asset.uri.use_restriction field, which is really a sort of public notes field for 856 fields, was grabbing the $u subfield (URL) as a sort of last-gasp effort to give it some data. However, the effect was rather odd and led to workarounds like Conifer's skin to avoid displaying the use restriction field if its value was identical to the URL, etc. Instead, stop grabbing $u and handle the case where use_restriction column is NULL gracefully, just like the schema intended. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20123 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml: Do not clear auri links in default skin The dojo orphan() call which attempted to wipe any non-located 856s was actually wiping the located 856s in the record detail display. Removing the extra call makes this work in Firefox and Chromium, at least. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20120 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-16 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0520.schema.clear-old-asset-uris.sql: Delete ##URI## call numbers and uri_call_number_map entries on bib reingest This approach will lead to some acn/auricnm ID inflation, but it works. Addresses LP# 761130 (immortal ##URI## entries in asset.call_number) reported by Ben Shum and LP# 761085 (cannot delete bib with ##URI## volumes) reported by Jason Etheridge. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20117 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/build-oils-db.sh: prune unused script; purpose now served by eg_db_config.pl git-svn-id: svn://svn.open-ils.org/ILS/trunk@20115 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-15 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Protect dumb JavaScript engines from having to deal with actual Unicode The holdings_xml format did not include an XML declaration, but adding that as we do here still does not make the Firefox and Chromium JS engines capable of consuming XML that contains Unicode content outside of the base ASCII range. So, we invoke entityize() to convert anything outside of the realm of ASCII to XML entities. An alternative would be to invoke entityize() in OpenILS::Application::SuperCat::unAPI::acn but it's not clear if that would interfere with any other uses. With this change, library names / copy location names with Unicode content can be displayed correctly on the search results page. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20112 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/mylist.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2, Open-ILS/web/templates/default/opac/parts/printnav.tt2, Open-ILS/web/templates/default/opac/parts/utils.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2: move utils.tt2 to printnav.tt2 just to give it a more explicit name; i18n and cleanup 2011-04-15 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: use org unit shortname for site param; capture site/depth in search builder to pass on to unapi retrieval, though there's still some template work to do w/ displaying the correct data there (for copy counts) 2011-04-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0519.schema.extract_all_fixed_fields_fr om_leader.sql: MORE: Properly support extracting MARC21 fixed fields from the leader, not just the 00x controlfields, in the "all fixed fields" version git-svn-id: svn://svn.open-ils.org/ILS/trunk@20107 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0518.schema.extract_fixed_fields_from_l eader.sql: Properly support extracting MARC21 fixed fields from the leader, not just the 00x controlfields git-svn-id: svn://svn.open-ils.org/ILS/trunk@20104 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0517.schema.multiple-9s-in-856.sql: thinko in for-in-array loop, uncovered by error testing from Ben Shum git-svn-id: svn://svn.open-ils.org/ILS/trunk@20101 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0517.schema.multiple-9s-in-856.sql: Support mulitiple subfield-9 values in a single 856 tag git-svn-id: svn://svn.open-ils.org/ILS/trunk@20100 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/c-apps/oils_sql.c: Protect pcrud-ish retrieve from an empty result set git-svn-id: svn://svn.open-ils.org/ILS/trunk@20094 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm, Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml: Restore URIs in marcxml-uris unAPI format At some point (r16750) we started doing a numeric comparison of $flesh instead of just checking to see if $flesh was defined; this returned false when $flesh == 'uris', preventing URIs from being included in the marcxml-uris unAPI format. This restores URIs to marcxml-uris and so we can revert the extra BibTemplate call in rdetail_summary.xml. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20091 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml: Specify the holdings_xml unAPI format for URI calls The unAPI marcxml-uris format is not returning URIs at the moment. While we're getting that fixed, use the holdings_xml format to get the URI job done; requires an extra JS call, but that's better than not working at all. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20088 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: fetch bookbags inside xact to avoid replication delays, which can occur directly after bookbag-update actions 2011-04-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Escape rather than filter SIMILAR TO metacharacters in patron crazy search The filtering I introduced in r19983 was overly aggressive, and included characters that weren't actually SIMILAR TO metacharacters. Instead, escape each character, carefully going through the list of metacharacters listed at http://www.postgresql.org/docs/8.4/interactive/functions-matching.htmlWorks for email addresses like "foo.bar+baz@example.com". git-svn-id: svn://svn.open-ils.org/ILS/trunk@20085 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/extras/circ/alt_holds_print.js, Open-ILS/xul/staff_client/server/patron/holds.js: Address LP #754880, where printing happens before the progress dialog can be cleared in the alternate holds pull list print interface Additionally, provide the usual "print page" button so that the list can be reprinted at will git-svn-id: svn://svn.open-ils.org/ILS/trunk@20082 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0516.schema.acq-marc-extract.sql: upgrade script for consistency w/ schema change in r20073 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20079 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-14 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/quick_metarecord_map.sql: tweaks to quick_metarecord_map.sql * used version from wiki, which provides same results as the previous version but performs better on large databases * now works without editing (a vacuum cannot run inside of a transaction) * don't do vacuum full, just a regular vacuum analyze [1] http://evergreen-ils.org/dokuwiki/doku.php?id=scratchpad:random_magic_spells#how_to_generate_metarecords_for_a_newly_loaded_bib_batch git-svn-id: svn://svn.open-ils.org/ILS/trunk@20075 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/200.schema.acq.sql: rely on search_path to locate the extract_marc_field() function which is now installed in the 'evergreen' schema by default git-svn-id: svn://svn.open-ils.org/ILS/trunk@20073 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-13 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: use unapi for record retrieval on details page; includes svf attrs for matttype, etc.; some i18n cleanup 2011-04-13 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0515.schema.copy-vis-cache.sql: Thinko in the delete query for copy visibility caching git-svn-id: svn://svn.open-ils.org/ILS/trunk@20070 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-13 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: Pull SVF attrs into displayed bib rec (results page only thus far). use SVF value to determine format icon and icon label 2011-04-13 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Protect search against all-deleted bibs by pinning the estimation ratios in that case git-svn-id: svn://svn.open-ils.org/ILS/trunk@20069 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-13 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0514.schema.unapi2-strip-whitespace.sql: strip useless whitespace from XML output for transfer size reduction git-svn-id: svn://svn.open-ils.org/ILS/trunk@20065 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-13 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/searchbar.tt2: particularly for running the catalog embedded in the staff client, which makes no visual indication of page progress, it's good to let the caller know something is happening w/ a search. after a 1-second search delay, show a small progress spinny icon 2011-04-13 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0513.schema.svf-in-unapi2.sql: add SVF data to in-db unAPI git-svn-id: svn://svn.open-ils.org/ILS/trunk@20063 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-13 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/js/ui/default/opac/simple.js, Open-ILS/web/js/ui/default/opac/staff.js, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/footer.tt2, Open-ILS/web/templates/default/opac/parts/js.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: inisial staff client integration in record details page w/ new staff js file; move footer and other js loading to their own templates; hide top-nav pane (my account summary) for embedded mode; load slim version of marc html (no external css; no print button) 2011-04-12 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0510.schema.search_path.sql: repaired SQL upgrade syntax error git-svn-id: svn://svn.open-ils.org/ILS/trunk@20060 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-12 berick <berick@esilibrary.com> * : pile of material type icons that are not yet mapped to codes. renaming to follow 2011-04-12 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: moving toward svf for mattype extraction; much media/material-type icon cleanup; icons are now accessed directly via code instead of inconsistent and map-requiring human names 2011-04-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi .pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/010.schema.biblio.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/300.schema.staged_search.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/999.functions.global.sql, Open-ILS/src/sql/Pg/upgrade/0512.schema.multi-home-items.sql, Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/advanced.js, Open-ILS/web/opac/skin/default/js/copy_details.js, Open-ILS/web/opac/skin/default/js/rdetail.js, Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_cn_details.xml, Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_extras.xml, Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.xul, Open-ILS/xul/staff_client/chrome/content/main/constants.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/util/exec.js, Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js, Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.xul, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul, Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.js, Open-ILS/xul/staff_client/server/cat/manage_multi_home_items.xul, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties: Add support for Multi-Homed Items (aka Foreign Bibs, aka Linked Items) Evergreen needs to support the ability to attach a barcoded item to more than one bibliographic record. Use cases include: 1. Barcoded E-Readers with preloaded content * Readers would all be items attached to a single "master" bib record in the traditional way, through call numbers that define their ownership * Each reader, as a barcoded item, can be attached through Multi-homed Items to records describing the list of preloaded content * These attached Multi-homed Items can be added and removed as content is swapped out on each reader 2. Dual-language items * Cataloger decides which of several alternate languages is the primary, and attaches the barcoded item to that record in the traditional way * Alternate language records are attached to this item through Multi-homed Items 3. "Back-to-back" books -- two books printed upside down relative to one another, with two "front" covers * Cataloger decides which of the two titles is the primary, and attaches the barcoded item to that record in the traditional way * Alternate title record is attached to this item through Multi-homed Items 4. Bound Volumes -- Sets of individual works collected into a single barcoded package * Cataloger decides which of the titles is the primary (or creates a record for the collection as a whole), and attaches the barcoded item to that record in the traditional way * Remaining title records for the collected peices are attached to this item through Multi-homed Items Functionality funded by Natural Resources Canada -- http://www.nrcan-rncan.gc.ca/com/ Please see http://git.esilibrary.com/?p=evergreen-equinox.git;a=shortlog;h=refs/heads/multi_home for the full commit history.git-svn-id: svn://svn.open-ils.org/ILS/trunk@20056 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/upgrade/0511.schema.fake_fkey_tgr-for-inherited -tables.sql: Add a trigger function to simulate FKEY constraints on inherited tables git-svn-id: svn://svn.open-ils.org/ILS/trunk@20053 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/010.schema.biblio.sql, Open-ILS/src/sql/Pg/011.schema.authority.sql, Open-ILS/src/sql/Pg/210.schema.serials.sql: Final cleanup for the base schema, re search_path ... I hope git-svn-id: svn://svn.open-ils.org/ILS/trunk@20052 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-12 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/010.schema.biblio.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0510.schema.search_path.sql: Fix functions stranded in the evergreen schema without a search path reference (ugly but mechanical) git-svn-id: svn://svn.open-ils.org/ILS/trunk@20047 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-12 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0509.schema.better_maintain_901.sql: add missing upgrade script git-svn-id: svn://svn.open-ils.org/ILS/trunk@20044 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-11 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/util.js: Let's not be picky about permissions here; an item needs to go where it needs to go :) git-svn-id: svn://svn.open-ils.org/ILS/trunk@20040 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-11 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * configure.ac: fix my overzealous editing of configure.ac git-svn-id: svn://svn.open-ils.org/ILS/trunk@20039 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-10 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/bill_wizard.js, Open-ILS/xul/staff_client/server/patron/bill_wizard.xul: patch from jamesrf for lp#756880 for Grocery Billing Location in Bill Patron wizard git-svn-id: svn://svn.open-ils.org/ILS/trunk@20036 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-10 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js: for lp bug#756838, consistent copy status for new items. jamesrf++ git-svn-id: svn://svn.open-ils.org/ILS/trunk@20033 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-08 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2: added paging to payment history; added paging arrows to circ/holds/payments history links 2011-04-08 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/lists.tt2: make public bookbag name's links to the public view of the bookbag; minor tidying 2011-04-08 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/acq/common/li_table.js: repaired bug in prepayment_required check. property -> method git-svn-id: svn://svn.open-ils.org/ILS/trunk@20030 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-08 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: For transit_slip template, %item_title%, %item_barcode%, etc. need to be in the Header, not the Line Item git-svn-id: svn://svn.open-ils.org/ILS/trunk@20027 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-08 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install: Add Net::IP dependency for Fedora per r20023 Required for the new ability of the Apache redirect module to optionally read redirect skin and domain from the library IP's configuration file git-svn-id: svn://svn.open-ils.org/ILS/trunk@20025 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-08 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install, Open-ILS/src/perlmods/lib/OpenILS/WWW/Redirect.pm: patch from Ben Ostrowsky (w/ input) to add support to the Apache redirect module to also optionally read redirect skin and domain from the library IP's configuration file. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20023 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2: improved holds history paging 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2: repaired circ history paging 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/update_password.tt2: Support for password update 2011-04-07 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/myopac.js: test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender git-svn-id: svn://svn.open-ils.org/ILS/trunk@20017 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: after clearing out a stale ses cookie, return user to originally requested resource instead directing home. this prevents the case where going to 'my account' in presence of expired ses cookie redirects the user home 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2: tie in select-all option in lists interfaces 2011-04-07 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql: further fixes to maintain_901 Now correctly handles &, <, or > appearing in the tcn_value or tcn_source. Also introduces a trivial utility stored function, evergreen.xml_escape(): evergreen.xml_escape(TEXT) returns TEXT: converts '&', '<', and '>' to XML entities git-svn-id: svn://svn.open-ils.org/ILS/trunk@20014 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: removed debug log line 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: consistent w/ previous opac, default to barcode login and jump to username only if there is a barcode regex (and regex does not match) 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/update_username.tt2: oops, forgot to git-add w/ last commit 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2: implemented username update 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: speed up and clean up the user holds out/available count summary call 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/myopac/prefs_base.tt2: oops, missed a wrapper decl. fix; repaired 2011-04-07 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/main_payments.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/prefs/notify.tt2, Open-ILS/web/templates/default/opac/myopac/prefs/settings.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_notify.tt2, Open-ILS/web/templates/default/opac/myopac/prefs_settings.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2, Open-ILS/web/templates/default/opac/parts/myopac/main_base.tt2, Open-ILS/web/templates/default/opac/parts/myopac/personal.tt2, Open-ILS/web/templates/default/opac/parts/myopac/prefs_base.tt2: More my-account cleanup/consistency For consistency, make new sub-pages (payments history, preferences) load as a separate page in the same path (prefs -> prefs_notify) instead of either an ?expand= option or a sub-path page (prefs -> prefs/notify). Let the my-account base page load the generic base page as a wrapper so that my-account page are not required to load both and (for me, anyway) make the inheritance more obvious. 2011-04-07 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/marc2sre.pl.in: Enable marc2sre.pl to run reasonably fast with a large set of bibs Our previous iteration of marc2sre.pl used an ILIKE stanza beginning with a wildcard to match system control numbers without having to specify the institution's MARC code. This worked, but was painfully slow in large bib sets as the database needed to use a bitmap index scan to find matches. By adding a --prefix flag, the user can specify the institutional MARC code for the set of records and we can use an exact match against metabib.full_rec.value, which is immeasurably faster. This is, of course, a problem if there are multiple institutional MARC codes in use for a given set of bibliographic records. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20012 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/Makefile.am, Open-ILS/src/extras/import/marc2are.pl, Open-ILS/src/extras/import/marc2are.pl.in, Open-ILS/src/extras/import/marc2bre.pl, Open-ILS/src/extras/import/marc2bre.pl.in, Open-ILS/src/extras/import/marc2sre.pl, Open-ILS/src/extras/import/marc2sre.pl.in, Open-ILS/src/extras/import/parallel_pg_loader.pl, Open-ILS/src/extras/import/parallel_pg_loader.pl.in, configure.ac: install command-line MARC import tools in @prefix@/bin (corrected version after dealing with apparent git stash breakage) No longer need to keep the source tree around to use marc2are.pl, marc2sre.pl, marc2bre.pl, and parallel_pg_loader.pl. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20010 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-06 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/Makefile.am, Open-ILS/src/extras/import/marc2are.pl, Open-ILS/src/extras/import/marc2are.pl.in, Open-ILS/src/extras/import/marc2bre.pl, Open-ILS/src/extras/import/marc2bre.pl.in, Open-ILS/src/extras/import/marc2sre.pl.in, Open-ILS/src/extras/import/parallel_pg_loader.pl, Open-ILS/src/extras/import/parallel_pg_loader.pl.in, configure.ac: Revert "install command-line MARC import tools in @prefix@/bin" This reverts commit 7125758576667feeff054ceb4b79d7d1510bbc6f. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20009 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: circ history sorting newest to oldest, got paging working, but could use some work.. 2011-04-06 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/Makefile.am, Open-ILS/src/extras/import/marc2are.pl, Open-ILS/src/extras/import/marc2are.pl.in, Open-ILS/src/extras/import/marc2bre.pl, Open-ILS/src/extras/import/marc2bre.pl.in, Open-ILS/src/extras/import/marc2sre.pl.in, Open-ILS/src/extras/import/parallel_pg_loader.pl, Open-ILS/src/extras/import/parallel_pg_loader.pl.in, configure.ac: install command-line MARC import tools in @prefix@/bin No longer need to keep the source tree around to use marc2are.pl, marc2sre.pl, marc2bre.pl, and parallel_pg_loader.pl. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20008 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-06 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/marc2sre.pl: Improve error handling in marc2sre.pl when bib ID is not found If we can't find a bibliographic record ID to use in our load, then skip that MFHD record and move on to the next one. Using the counter gives sites a chance to identify which record caused the problem. Aside: bitmap index scans for leading '%' LIKE searches make the --bibfield / --bibsubfield extremely slow in large datasets. If at all possible, avoid this path! git-svn-id: svn://svn.open-ils.org/ILS/trunk@20006 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0508.schema.maintain_901_amp_fix.sql: fix crash when importing/saving bib with '&' in TCN value Also fix similar glitch if ampersand is present in the TCN source. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20003 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-06 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version git-svn-id: svn://svn.open-ils.org/ILS/trunk@20001 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: minor cleanup 2011-04-06 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs/notify.tt2: added support for updating opt-in settings preferences 2011-04-06 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Patch from Thomas Berezansky to support patron priv expiration information in SIP2 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19998 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/prefs/notify.tt2, Open-ILS/web/templates/default/opac/myopac/prefs/settings.tt2, Open-ILS/web/templates/default/opac/parts/myopac/personal.tt2: created inital notifications preference page; infrastructure for notify and search/settings preferences pages; prefs pages icons 2011-04-06 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/items.js, Open-ILS/xul/staff_client/server/patron/items_overlay.xul: add Item Attribute Editor to patron Items Out git-svn-id: svn://svn.open-ils.org/ILS/trunk@19996 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/marc2sre.pl: Make the bib record lookup in marc2sre.pl more specific Don't strip the identifier down to a bare integer if we are doing a lookup of the value in the bib record. Otherwise, identifiers such as ABC1001 and ABC001 will overlap ('%001' will return both records). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19993 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/marc2sre.pl: Whitespace git-svn-id: svn://svn.open-ils.org/ILS/trunk@19991 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-06 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/import/marc2sre.pl: Overhaul the marc2sre.pl script for importing MFHD records Add --bibfield / --bibsubfield options to support retrieving the bib record ID by searching the specified field/subfield for the identifier, instead of assuming that the identifier = biblio.record_entry.id. Avoiding the lookup will be much faster, but some sites want to start clean with their bibliographic record IDs, so this supports them. Remove the need for passing in the owning user's password and simply do a lookup by username in the actor.usr table. This is a bit more secure as the password isn't exposed on the command line and you can easily set someone else as the owner of the records without having to know their password. Add significant internal help via Pod::Usage. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19989 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-05 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/main.tt2: initial payments history tab; I18n; some general cleanup 2011-04-05 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/PermaCrud.js: Even more PermaCrud error handling cleanup, this time in .apply() git-svn-id: svn://svn.open-ils.org/ILS/trunk@19988 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-05 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/PermaCrud.js: More PermaCrud error handling cleanup git-svn-id: svn://svn.open-ils.org/ILS/trunk@19987 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-05 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/PermaCrud.js: improve the ability of PermaCrud callers to deal with errors not of the ils_event shape git-svn-id: svn://svn.open-ils.org/ILS/trunk@19986 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-05 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Prevent patron search from returning horrible errors on regexian input Add a utility method, _clean_regex_chars(), to filter common regex characters out of input values. When these characters are passed to database SIMILAR searches, strange things (generally ugly errors) can happen - so filter them out. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19983 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/serial/editor_base.js, Open-ILS/xul/staff_client/server/serial/serctrl_main.xul, Open-ILS/xul/staff_client/server/skin/serial.css: More robust fix for edit highlighting in Serial Control View git-svn-id: svn://svn.open-ils.org/ILS/trunk@19980 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/serial/editor_base.js: Fix edit highlighting in Serial Control View git-svn-id: svn://svn.open-ils.org/ILS/trunk@19975 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/search_form_horiz_overlay.x ul: reorder tabindex for horizontal patron search. non-flex the search button. thanks to sylvar and others for poking git-svn-id: svn://svn.open-ils.org/ILS/trunk@19968 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/result_common.js: tweak to default suggestion for low-hits search Rather than show a suggestion for every word in the original search phrase, only display suggestions for words not found in the dictionary. For example, rather than having a search for "Amesh paradise" return a suggestion of "Amish paraders", return "Amish paradise" as the suggestion (assuming the default dictionaries are used). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19964 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-04 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/acq/po/view_po.js: order line items in PO display by line item ID Order was effectively random otherwise. Use case from at least one library indicates this change, but doesn't preclude later work to make the sort order more flexible. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19962 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js: re-fix senator's fixes that I mangled git-svn-id: svn://svn.open-ils.org/ILS/trunk@19954 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/util/network.js: Client Permission Overhaul Menu/Toolbar commands can have a perm= attribute added, containing a space-seperated list of permissions. Without it they stay enabled at all times (or disabled if they are manually disabled in the file). With it they disable unless the user has at least one permission listed. In addition, made *all* new or active windows get UI updates when changing operators, including updated menu enable/disable. Will need a check on the permissions from previous commit, and probably a pile more from those who understand what needs what. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19953 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Add some permissions for testing git-svn-id: svn://svn.open-ils.org/ILS/trunk@19952 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Move labels/accesskeys back onto menuitem nodes Apparently command labels override everything else, rather than the other way around. Set at location failitates easier labels by context (different menus, shorter labels on toolbar, etc). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19951 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Move most label/accesskeys to command nodes The following entries had multiple menu items with differing labels. I picked one for each to be the "default" on the command node. The others were left on the menuitems. cmd_edit_copy_buckets (edit/cat) cmd_edit_volume_buckets (edit/cat, commented out) cmd_edit_record_buckets (edit/cat) cmd_circ_checkout (circ/circ/search) cmd_copy_status (circ/cat/search) cmd_search_opac (circ/cat/search) cmd_search_tcn (cat/search) cmd_search_bib_id (cat/search) Side note: cmd_replace_barcode exists on edit, circ, and cat, but used one label for all three. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19950 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: Remove key attribute from command nodes They don't appear to do anything, unlike label/accesskey settings. Menus don't read them for display, keys in the keyset refer in the opposite direction. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19949 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js: Rig command_tab on *everything* Will make attempts to customize the toolbar a lot easier. Also makes things more consistent. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19948 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> 2011-04-04 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/booking/capture.js, Open-ILS/web/js/ui/default/booking/pull_list.js, Open-ILS/web/js/ui/default/booking/reservation.js, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/server/patron/display.js: Booking: This should a) make booking interfaces behave better when a staff login session times out and is replaced by use of a re-auth dialog, and b) wrap booking interfaces in a <browser> element with the attendant back/forward/reload buttons that most similar interfaces already had. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19942 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: pass cvv2 value to CC processor git-svn-id: svn://svn.open-ils.org/ILS/trunk@19940 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-04 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/extras/circ/alt_holds_print.html: Ben Ostrowsky pointed out that the alt holds (pull list) printing interface was trying to include AutoIDL.js from an incorrect path. I don't believe that file should be included at all, so now I've removed the broken line. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19937 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-03 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0507.schema.unapi-rewrite.sql: And ... the upgrade script for the previous commit git-svn-id: svn://svn.open-ils.org/ILS/trunk@19935 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-03 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/990.schema.unapi.sql: Teach in-db unAPI to avoid redundant xmlns declarations, including those already embedded in MARCXML git-svn-id: svn://svn.open-ils.org/ILS/trunk@19934 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-02 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/006.schema.permissions.sql, Open-ILS/src/sql/Pg/020.schema.functions.sql, Open-ILS/src/sql/Pg/upgrade/0506.schema.tree-ish_function_row_estim ates.sql: Add realistic row estimates to tree-ish functions (default is 1000) so that callers can make better plans in complex queries git-svn-id: svn://svn.open-ils.org/ILS/trunk@19930 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-02 berick <berick@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/result/table.tt2: make next/prev search links not-visible instead of removing entirely to keep page position of links consistent 2011-04-02 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: Use MultiSession for parallel sessions In unapi.bre record retrieval, leverage OpenSRF::MultiSession for fetching batches of records in parallel. 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: move to unapi.bre for bib/copy-count/slim-holdings retrieval on record results page 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/record/authors.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2: more rdetail extras cleanup; added support for authors display 2011-04-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Patch from Thomas Berezansky to address unneccessary fine generation and avoid unchecked division by zero; details and DCO at https://bugs.launchpad.net/evergreen/+bug/747533 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19927 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: consistent w/ seed skin (and to avoid total vertical domination), default to showing 10 copies-per-page on detail page 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: fixed odd bug w/ href attrs rendering the copyright symbol for ©_limit= 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/subjects.tt2: More work on record details 'extras' When an extra is chosen, anchor the page on the selected extra for focus Lots of cleanup to create a consistent system for selecting and displaying extras 2011-04-01 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m: Better search normalization de-duping when 'params' are used This patch addresses search normalization deduping at two levels. We now verify that both the function and the params are the same before excluding a normalization, both when the normalization is first added to the set and when the SQL is being built (since currently multiple sets may be involved). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19924 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-04-01 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: update flesh depth 2011-03-31 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/subjects.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: Fleshed out View MARC / Subjects Tabs Record detail page has support for showing the 'extras' tabs. Currently supported tabs are View MARC (html) and extended subject info. For consistency w/ seed skin, subjects are now only shown in expanded subjects area. 2011-03-31 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: added fully-parallized (send 10 reqs simultaneously) versions of unapi.bre and direc 2011-03-31 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Use identifer indexes for older ISxN API methods (LP Bug #728671) There are three logic layers involved in the older ISxN 'quick searches': the OPAC, the search API, and the storage API. The approach of this patch is to update the search API (which in turn fixes the OPAC), and ignore/deprecate the storage API for these identifiers. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19920 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-31 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: do some basic parallelizing optimization 2011-03-31 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: more test options Now fleshing copy parts, uris, and copy stat cats in 'direct' version Added a full-feed version Added an unapi.bre version 2011-03-31 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/util/timestamp.js, Open-ILS/xul/staff_client/server/circ/checkout.js, Open-ILS/xul/staff_client/server/circ/renew.js: Logic error trying to merge the date component of one date object with the time component of another. We were trying to use the time object and update it piecemeal, which resulted in non-sensical dates that were forced to wrap. For example, if the date object was to set to March 31, 2011, and we tried .setMonth(3) on it to change it to April, that would result in an April 31st, which doesn't exist, and the date thus moves forward a certain number of days into May. This affects Check Out, dedicated Renew interface, and the various date picking functions in Items Out and Holds interfaces. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19917 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-30 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2: essentially functioning hold editor Still needs a way to report failures to the user 2011-03-30 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: link to editor from myopac/holds 2011-03-30 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: annoying typo 2011-03-30 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: flesh copy loc. for closer match to unapi 2011-03-30 berick <berick@esilibrary.com> * Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl: unapi test code 2011-03-30 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/default/actor/user/register_table.tt2: Patch from Thomas Berezansky; see https://bugs.launchpad.net/bugs/745123 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19915 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-30 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/holds.js: add item columns to xul-based holds lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@19912 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-30 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/default/actor/user/register_table.tt2: Change label to "Reset Password" and get button out of tab ordering In a keyboard-intensive patron input workflow, pressing tab should not place focus on the "Reset Password" button; the password is automatically generated at dialog creation time. Setting tabIndex to -1 disables tab focus for the button. Also, the button has been relabeled to "Reset Password" to be consistent with the previous button. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19907 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-30 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/templates/default/actor/user/register_table.tt2: Restore the Reset Password button on patron editor Per LP 488243, the Reset Password button that existed on the old XUL patron editor was lost in the transition to the new Dojo patron editor. Jason Stephenson stepped up and offered a patch to restore the functionality. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19906 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> 2011-03-30 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0505.schema.force_facets_to_NFC.sql: fix typo in facet_force_nfc definition git-svn-id: svn://svn.open-ils.org/ILS/trunk@19903 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-03-29 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/upgrade/0505.schema.force_facets_to_NFC.sql: Force facet values to Unicode NFC to reduce spurious non-matches git-svn-id: svn://svn.open-ils.org/ILS/trunk@19899 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm: Inspired by a 1.6 patch from Brandon Uhlman to collect the set of holds not ready for pickup, 2.0+ style git-svn-id: svn://svn.open-ils.org/ILS/trunk@19894 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/main/menu.js: repair coded_value_map staff client menu entry. was somehow lost in a merge, perhaps git-svn-id: svn://svn.open-ils.org/ILS/trunk@19890 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/offline/offline.pl: in the case of multiple xact event error responses, capture the first for staff client reporting git-svn-id: svn://svn.open-ils.org/ILS/trunk@19889 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0504.schema.parts_and_cnaffix.sql: Missed function in upgrade script git-svn-id: svn://svn.open-ils.org/ILS/trunk@19887 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/search_form.js: fix error with profile filter and horizontal patron search interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@19885 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm , Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi .pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/bib lio.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/Const.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/010.schema.biblio.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/upgrade/0504.schema.parts_and_cnaffix.sql, Open-ILS/web/js/ui/default/acq/common/li_table.js, Open-ILS/web/js/ui/default/conify/global/config/acn_prefix.js, Open-ILS/web/js/ui/default/conify/global/config/acn_suffix.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/opac/locale/en-US/opac.dtd, Open-ILS/web/opac/skin/default/js/copy_details.js, Open-ILS/web/opac/skin/default/js/holds.js, Open-ILS/web/opac/skin/default/js/myopac.js, Open-ILS/web/opac/skin/default/js/rresult.js, Open-ILS/web/opac/skin/default/xml/common/holds.xml, Open-ILS/web/opac/skin/default/xml/myopac/myopac_holds.xml, Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_cn_details.xml, Open-ILS/web/templates/default/conify/global/biblio/monograph_part. tt2, Open-ILS/web/templates/default/conify/global/config/acn_prefix.tt2, Open-ILS/web/templates/default/conify/global/config/acn_suffix.tt2, Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js, Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.js, Open-ILS/xul/staff_client/chrome/content/cat/opac.xul, Open-ILS/xul/staff_client/chrome/content/main/constants.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/chrome/content/util/browser.js, Open-ILS/xul/staff_client/chrome/content/util/list.js, Open-ILS/xul/staff_client/chrome/content/util/widgets.js, Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties, Open-ILS/xul/staff_client/server/cat/bib_brief.js, Open-ILS/xul/staff_client/server/cat/bib_brief.xul, Open-ILS/xul/staff_client/server/cat/copy_browser.js, Open-ILS/xul/staff_client/server/cat/copy_browser.xul, Open-ILS/xul/staff_client/server/cat/copy_editor.js, Open-ILS/xul/staff_client/server/cat/copy_editor.xul, Open-ILS/xul/staff_client/server/cat/spine_labels.js, Open-ILS/xul/staff_client/server/cat/util.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js, Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul, Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js, Open-ILS/xul/staff_client/server/cat/volume_copy_editor.xul, Open-ILS/xul/staff_client/server/cat/volume_copy_editor_horiz.xul, Open-ILS/xul/staff_client/server/cat/volume_editor.js, Open-ILS/xul/staff_client/server/cat/volume_editor.xul, Open-ILS/xul/staff_client/server/circ/copy_status.js, Open-ILS/xul/staff_client/server/circ/util.js, Open-ILS/xul/staff_client/server/locale/en-US/cat.properties, Open-ILS/xul/staff_client/server/locale/en-US/circ.properties, Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/patron/util.js: Monograph Parts; Unified vol/copy wizard; Call Number affixes; Instant Detail * Monograph Bibliographic Parts - One MARC record should be able to support all volumes associated with the title, subdivide records in multiple ways, and the ability to support holds on individual Parts. * Unified Volume/Copy Wizard - The ability to enter call number, barcode number, and all copy information on the same screen. Also, the ability to include some information associated with the call number, such as classification scheme, prefix and suffix, in the item template feature of the Unified Volume/Copy Wizard. * Call Number Affixes - Delimiting the call number so that the prefix and suffix reside in separate fields. This prefix and suffix should display in the OPAC as part of the call number and should also be available for use in spine labels. * Instant Detail for One Record Hit List - When searching for records in the staff client, the ability to immediately land on the bibliographic record instead of the search results screen when there is only on matching search result in the system. This enhancement does not change the way search results are returned in the public catalog. These features were sponsored by the Massachusetts Library Network Cooperative. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19883 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-29 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/hold_history.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: implemented holds history template w/ links to/from active holds page; TODO: verify history call is returning the holds we want it to.. 2011-03-29 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: bug 744687: fix multi-field MARC expert search Fixes bug where a bib that has multiple subfields meeting one condition of a 2+ field MARC expert search could end up in the results list even if it didn't meet the other conditions (currently multi-field MARC expert searches use implicit 'AND'). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19880 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-03-28 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Fix call-number sorting for non-generic sort keys (LP Bug #737819) Selecting on 'label' but sorting on 'label_sortkey' did not work properly. Instead, we will now find the single best call number we can based on the label given, then both select and sort based on that call number's sort key. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19877 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-28 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/myopac/circ_history.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2: added circulation history backend and template; use |-style regex containers to reduce escapes in path checking 2011-03-28 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xsl/oilsMARC21slim2HTML.xsl: MARC View print problem workaround (LP Bug #742033) Certain printers were failing to print from the MARC View in the staff client. Adding a simple title to the view ended up being a successful workaround, and is unlikely to have negative consequences in any case. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19874 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-28 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/po/offline.properties/en-CA.po: Address LP 744393: Arabic text in en-CA offline.properties A translator appears to have mistakenly added Arabic text to the en-CA offline.properties file in Launchpad. This commit corrects those translations and completes the translation of the file for 2.0. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19872 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-28 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/bill2.js, Open-ILS/xul/staff_client/server/patron/bill2.xul: fix up receipt options persistence in billing interface; implement # of receipts option (not perfect if using print dialogs; non-blocking and not necessarily queued up) git-svn-id: svn://svn.open-ils.org/ILS/trunk@19867 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-28 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/admin/printer_settings.js: clear print.always_print_silent instead of setting it to false in the Printer Settings Editor git-svn-id: svn://svn.open-ils.org/ILS/trunk@19866 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-28 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/admin/adminlib.js: fixes things like the stat cat editor, since that extra param now changes the return signature of the method git-svn-id: svn://svn.open-ils.org/ILS/trunk@19865 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-25 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: data.lookup was broken for cases where data.list[key] didn't exist for a given key git-svn-id: svn://svn.open-ils.org/ILS/trunk@19860 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-25 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/apache/eg.conf: Avoid Apache warnings resulting from duplicate NameVirtualHost directives Benjamin Shum reported that the Apache warnings that have been a part of Evergreen's default configuration on Apache start for ages could be avoided by commenting out the "NameVirtualHost: *80" line in eg.conf. Testing confirmed that the directive was not necessary on Ubuntu, Debian, or Fedora. As this warning has been the cause for unnecessary concern on the part of many new adopters of Evergreen, getting rid of it appears to be a nice usability win. Thanks Ben! git-svn-id: svn://svn.open-ils.org/ILS/trunk@19857 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-24 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/mylist.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/holds/edit.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/misc_util.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: towards an opac hold editor 2011-03-24 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: KCLS doesn't show an abstract high on the record detail page. This is just a little juggling to reflect that 2011-03-24 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/windowssetup.nsi: Shortcuts for all users, not just current user. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19855 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-23 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2: Ability to move records from temp list to bookbag 2011-03-22 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: Show format icons in results and record detail pages 2011-03-22 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/common/js/opac_utils.js: have checkILSEvent handle events that aren't in ils_events.xml git-svn-id: svn://svn.open-ils.org/ILS/trunk@19852 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-22 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Honor the 'active' flag in QueryParser.pm for search.relevance_adjustment entries. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19849 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-22 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install: Build libjs from source for now until the Perl threading problem can be reliably tested The previous commit changed JavaScript::SpiderMonkey to be built without thread safety, but on Fedora we had been installing the js-devel package (which was threaded). As you can't build a non-threaded JavaScript::SpiderMonkey on top of a threaded libjs, for now we'll make Fedora build a non-threaded libjs from source just like the other distros. Note that the problem with threaded JavaScript::SpiderMonkey surfaced on Debian Lenny when targeting holds. Lenny has libthreads-perl 1.71, but a number of fixes have been committed to subsequent versions (http://cpansearch.perl.org/src/JDHEDDEN/threads-1.82/Changes) - so threading support might be reliable on more current distros. Once we have a reliable test, we might be able to go back to the packaged version of libjs. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19846 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-22 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/tools/update_db.sh: Another layer of escaping for the escapes in the DB update script Apologies for the previous patch that led to breakage; I "tested" in a script in which I had already hardcoded the answer I wanted after running into problems with the previous version of the script. Not good testing practice. Thanks to Bill Erickson for suggesting the extra escapes. Tested in a clean environment this time, and it works. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19843 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install: Remove thready building -- we do not use threads anyway, and it breaks JS::SM git-svn-id: svn://svn.open-ils.org/ILS/trunk@19840 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/tools/update_db.sh: Enable update_db.sh to handle upgrading databases with release version When '0475' is mixed with '1.6.0.4', the latter wins as far as a plain MAX() operator goes. Ensuring that the version is all digits should help avoid the release version numbers in the config.upgrade_log table. Thanks to Thomas Berezansky for suggesting a SIMILAR TO operator variation that led to this approach. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19837 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/crontab.example: correcting bad timespecs in the example crontab git-svn-id: svn://svn.open-ils.org/ILS/trunk@19833 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/holds.js: no, this was correct. doh :) the list version uses paging, but we're counting the entire set git-svn-id: svn://svn.open-ils.org/ILS/trunk@19832 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/holds.js: this "count" method gets the same parameters as the list version git-svn-id: svn://svn.open-ils.org/ILS/trunk@19827 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-21 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/apache/eg.conf: Use the human-friendly interval syntax for Apache caching Apache mod_expires has supported a human-readable syntax for defining cache expiry directives for a long time. In this commit we simply convert the existing defaults from the "Anumber_of_seconds" syntax to the equivalent English syntax documented at http://httpd.apache.org/docs/2.0/mod/mod_expires.html Whether CSS _should_ have a cache lifetime of 50 minutes by default is left to the subject of future commits :) git-svn-id: svn://svn.open-ils.org/ILS/trunk@19825 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/action.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/config.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0503.schema.grace_periods.sql, Open-ILS/src/support-scripts/fine_generator.pl, Open-ILS/web/js/ui/default/conify/global/config/circ_matrix_matchpo int.js, Open-ILS/web/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2, Open-ILS/web/templates/default/conify/global/config/rule_recurring_ fine.tt2: In-database Grace intervals s it stands the grace period for a transaction is only specified on the fine generator script, but fines can be generated on checkin as well without one. As a result any checkin results in grace periods being negated. The attached patch adds in-db grace periods for all non-booking transactions, removing the grace period from the fine generator cron job script and placing it on the circulation. Grace periods are set on the recurring fine rule with an override available on the circ matchpoint, identical to how renewal count can be overridden from the duration rule already. These grace periods are respected on checkin fine generation as well as on the fine generator cron job script. The upgrade script will assume, by default, a grace period of 1, but has a \set line to change this. It will also update all circulations without a checkin by default, but another \set will allow disabling of that. [ NOTE: for the history of the patch, see: https://bugs.launchpad.net/evergreen/+bug/732679 ] git-svn-id: svn://svn.open-ils.org/ILS/trunk@19823 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/const.py: A docstring and spaces for Evergreen constants in const.py git-svn-id: svn://svn.open-ils.org/ILS/trunk@19822 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/system.py: Sort out a mix of tabs and spaces in system.py Also restructure the docstrings slightly while we're there. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19821 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/utils/utils.py: Import osrf.log and reference it when we attempt to log This bare call to log_info was just hanging out, waiting for someone to stumble across it. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19820 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/utils/utils.py: Provide a top-level docstring for oils/utils/utils.py Also, standardize on triple-double-quoted docstrings, per PEP257. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19819 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/utils/csedit.py: Remove unused imports, correct some references, and clean up csedit.py Mostly minor cleanups, some additional docstrings, but a few changes of concern here (OSRF_APP_CONNECTED_STATUS didn't have the appropriate osrf.const import, for example). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19818 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/utils/utils.py: Don't stomp "type" built-in and don't import that which is not used Also provide a little more docstring action. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19817 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-19 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/python/oils/utils/idl.py: Parse the field_safe parameter in Python's IDL parser Also set the correct namespace for the tablename attribute. The rest of the changes are for PEP8 compliance. We retain the IDLParser set_IDL() and parse_IDL() methods because things like constrictor call them directly, but note in the docstrings that they are deprecated names. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19816 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-18 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml: Make sure "ol" propagates through BibTemplate subject search links for OPAC range hiding git-svn-id: svn://svn.open-ils.org/ILS/trunk@19812 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm: updated code comments 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm: in bib attr (mra) fetcher, get the display label from the ccvm where appropriate and add to response object 2011-03-18 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am, Open-ILS/xul/staff_client/windowssetup.nsi: Switch to AccessControl plugin, more reliable. Only fetches it when needed. Also make NSIS Less...verbose. Warnings/errors only. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19810 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install: Test for an installed libdbi0 package and bail on Ubuntu and Debian This isn't a problem on Fedora, where we use the packaged version of libdbi, but the older version of libdbi0 and possibly the compile options on Ubuntu Lucid has been demonstrated to be a barrier to successfully installing Evergreen. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19809 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-18 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm: added field_safe attr to ccs, aout, and crahp classes; capture field_safe attr during IDL parsing git-svn-id: svn://svn.open-ils.org/ILS/trunk@19807 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm: removed debug log message 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: make all field_safe classes accessible via fetch/cache by default. reduce page churn by creating then caching the fetch/cache and org-tree generator funcs and simply inserting them into the page context on each page load. IOW, no need to redefine the funcs on each page load 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm: added field_safe attr to ccs, aout, and crahp classes; capture field_safe attr during IDL parsing 2011-03-18 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/web/opac/skin/default/js/holds.js: Intelligent Metarecord Format Selection for Holds Previous to this commit, Evergreen would show all possible record formats when promoting a T-type hold to an M-type. This change causes the middle layer method to respect the Hard Boundary of the pickup library when considering what constituent records within a metarecord will contribute formats. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19805 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Mike Rylander <mrylander@gmail.com> 2011-03-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm: added utility func for fetching extracted bre svf attributes (mra's) 2011-03-18 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/c-apps/oils_sql.c: Allow the "result_field" to be used as the default alias in the output column of a row or set returning transform git-svn-id: svn://svn.open-ils.org/ILS/trunk@19799 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-17 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: as was recently done w/ existing kcls skin; hide the open transaction summary info in my-account, citing confusion and unnecessary additional information. note, you can still see total balance owed 2011-03-17 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: avoid adding site() to query if loc param is empty string 2011-03-17 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * : Pre-modified xulrunner-stub files + icons Icons courtesy of Mike Peters, or so my note alongside them says. The pre-modified stubs are built on the 1.9.2.15 build of xulrunner. They should continue to work on future 1.9.2 builds. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19795 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-17 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: Copy is not valid. How I missed that before I don't know. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19794 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-17 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/windowssetup.nsi: Default to no license page (for the staff client installer) Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19793 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-17 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: if there, show shelf expire date for available holds; minor var cleanup 2011-03-17 berick <berick@esilibrary.com> * : pile of updated icons 2011-03-17 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/lists.tt2: implemented bookbag rss link 2011-03-17 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: make presentation better by hiding as-yet-unready features, etc also, made links out of the dashboard counts, but oddly the first one ("checked out") only works in IE, not Chrome or Firefox. I suspect that the complications of all the "position: absolute"-this and "position: relative"-that make for fluky layout. 2011-03-17 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0502.data.defacto_OCLC_local_cn_fields. sql: Treat call number fields 090 and 092 as local LC and Dewey (respectively) based on de facto standards. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19790 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0501.data.QP_language_vs_item_lang.sql: Make a back-compat version of item_lang for QP git-svn-id: svn://svn.open-ils.org/ILS/trunk@19788 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: "Add to my list" becomes "remove from my list", and it now works on the record detail page as well as the results page. Also, I fixed a bug by which an HTML form was rendered wrongly, totally breaking the display of the results page in IE and preventing the first result on any page of search results from adding to the anonymous list. 2011-03-16 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: make payment receipt print/email run inside a transaction. instead of using authoritative, force the xact for reasons mentioned in the comments git-svn-id: svn://svn.open-ils.org/ILS/trunk@19782 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/holds.js: Addresses LP bug #736167, correctly populate hold format list for Advanced Options git-svn-id: svn://svn.open-ils.org/ILS/trunk@19778 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0500.schema.search_path_mangling.sql: upgrade script matching r19759-r19761 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19772 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/circ/renew.js: dedicated renewal interface should use receipt printer git-svn-id: svn://svn.open-ils.org/ILS/trunk@19769 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/2.0.3-2.0.4-upgrade-db.sql, Open-ILS/src/sql/Pg/upgrade/0499.schema.generic_CN_normalizer.sql: Patch from Steve Callendar addressing CN sort order on page 0 (and before) of CN browse git-svn-id: svn://svn.open-ils.org/ILS/trunk@19768 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Patch from Steve Callendar addressing holdability tests for copies git-svn-id: svn://svn.open-ils.org/ILS/trunk@19763 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.functions.general.sql, Open-ILS/src/sql/Pg/002.functions.general.sql, Open-ILS/src/sql/Pg/build-db.sh: Set default db schema search path to public,pg_catalog With the addition of the 'evergreen' schema, we discovered that all of the unqualified database objects were being created in the 'evergreen' schema if the database user name was 'evergreen' (as the default search path is "$user",public we started matching "$user"). Thomas Berezansky proposed a variation of the function provided here for changing database settings. By creating the function in the first schema file, the subsequent connections pick up the new default search path and all works blissfully as it once did. Long term, we should probably move towards explicitly qualified database objects. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19759 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-16 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.aggregate.sql: Make DROP statement match new basetype for agg_tsvector When the CREATE AGGREGATE function was changed to have a basetype of pg_catalog.agg_tsvector, the corresponding DROP statement was not changed in a similar fashion; ergo, on creating the schema a subsequent time, the CREATE statement would fail because the aggregate function already existed and the transaction would be rolled back. Also - do we need to differentiate between PostgreSQL 8.4 and 9.0 here? git-svn-id: svn://svn.open-ils.org/ILS/trunk@19758 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-15 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/results.tt2: smarter search term propagation, should avoid ARRAY(0xdeadbeef) type ... ... stuff in search boxes 2011-03-15 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.aggregate.sql: With some hints from eeevil, tweaked 002.functions.aggregate.sql to work after some search_path mangling. Haven't smoketested yet, just got past the eg_db_config --create-schema bit with this. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19756 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: bib record subject search terms: painstaking translation of BibTemplate to TT the reference implementation I used is in Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml starting at line 93 as of this commit. Only now that I've imitated the default skin's behavior exactly, I note that the subject search links produced don't actually work on my test server. Seems to be a local configuration issue though; will investigate. 2011-03-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/results.tt2: Improve search term propagation from page to page Also, for things like the author link on the record detail page, build a link with 'qtype=author&query=JK Rowling' instead of 'query=au:JK Rowling' The latter works, but causes the search form to look stupid. Query type dropdown will be set to keyword by default, and the term will be "au:JK Rowling", which will be a head scratcher for 99% of real users. 2011-03-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/cat/marcedit.js: revert accidental commit of dojo-to-for(;;;) test git-svn-id: svn://svn.open-ils.org/ILS/trunk@19754 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/reingest-1.6-2.0.pl, Open-ILS/xul/staff_client/server/cat/marcedit.js: teach the 1.6-2.0 reingest generator about "tnf"-tag rows for title sorting git-svn-id: svn://svn.open-ils.org/ILS/trunk@19752 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-15 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am, Open-ILS/xul/staff_client/external/aa_per_machine.js, Open-ILS/xul/staff_client/external/make_updates.sh, Open-ILS/xul/staff_client/extras.example.nsi, Open-ILS/xul/staff_client/windowssetup.nsi: Misc. changes to installer including: 1 - Fix profile manager links 2 - Add tag at top (currently "Trunk") for easy changing 3 - Add optional extras.nsi for easy additions of extra install/uninstall lines 4 - Run uninstaller if installing to a directory with one (old style OR new style) 5 - Allow license override and only show license page if one defined Ex. With NSIS_EXTRAOPTS set to "-DPRODUCT_LICENSE=some/path" Or to disable use "-DPRODUCT_LICENSE" 6 - Similar to devbuild, allow for registration per-machine by default This includes needing to not wipe out the folder this is stored in 7 - Make "Everyone" able to write to the install folder when: Autoupdate is an option Per-machine registration is an option 8 - Make silent uninstall function Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19750 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.english.pg90.fts-config.sql: make sure search path is set up properly for FTS in 9.0 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19749 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-15 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/main/ws_info.xul: Default workstation name to something sensible. Like the computer's hostname. But not localhost. Author: Thomas Berezansky <tsbere@mvlc.org> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19747 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-15 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/reports/oils_rpt_folders.js: Prevent creation of report folders with empty folder names Addresses LP # 720755. Clicking the "Create Folder" button when no folder name has been supplied is now a no-op. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19741 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-14 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGI_utf8.pm, Open-ILS/web/templates/default/opac/parts/header.tt2: If the TT stuff loads CGI w/o -utf8, that "instance" (not really instance)... ... will compete with use CGI in EGCatloader.pm. Really. Normally I enjoy perl but the awful, horrendous, unspeakable black magic used in CGI.pm has given me a great deal of trouble today. Specifically, I could not really succeed in subclassing it. I had a kind of half success before, but I could only really replace methods in my subclass, but not call the methods unchanged from the original base class (CGI). This manifested in a bug where I had been using the query_string() method preserve search terms across some pages, but that method had stopped working since I introduced the CGI subclass. In an attempt to fix that, I discovered this document http://stein.cshl.org/WWW/CGI/#subclassing and tried the advice therein, and several variations thereof, but everything I produced caused mod_perl to consume memory until it keeled over from OOM. Finally, I discovered that I never really needed the subclass in the first place, so long as 'use CGI' with no module parameters doesn't happen in the same process as 'use CGI qw/-utf8/'. 2011-03-14 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2: integrated update-email address action into account prefs 2011-03-14 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/CGIUTF8.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGIUTF8.pm, Open-ILS/web/templates/default/opac/parts/header.tt2: CGIUTF8 was a horrible, subtle, dark failure and I don't want to talk about it. Also, 'use CGI qw/-utf8/' suddenly works. Maybe it always did. 2011-03-14 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2: i18n and repaired holds estimated wait calculation. 2011-03-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js: until futher investigation, roll back the changes of == to ===, since it was causing unexpected changes in behavior. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19736 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: class cxt has no field named 'field_class', removing from IDL git-svn-id: svn://svn.open-ils.org/ILS/trunk@19735 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/web/templates/default/conify/global/config/record_attr_def inition.tt2, Open-ILS/xul/staff_client/chrome/content/main/menu.js, Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul: More menu work for record attr/coded map config UIs menu entry for config.coded_value_maps, updated menu label and page title for config.record_attr_definition page; in some cases (that probabl need investigating), widget.validate function is not defined. in those cases, don't attempt to call the function git-svn-id: svn://svn.open-ils.org/ILS/trunk@19734 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-14 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2: hide edit link in myopac/holds. show basic user info in myopac/prefs 2011-03-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js, Open-ILS/web/js/dojo/fieldmapper/IDL.js, Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js: Pure whitespace (tabs to spaces) for dojo.fieldmapper git-svn-id: svn://svn.open-ils.org/ILS/trunk@19732 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js, Open-ILS/web/js/dojo/fieldmapper/IDL.js, Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js, Open-ILS/web/js/dojo/fieldmapper/dojoData.js, Open-ILS/web/js/dojo/fieldmapper/hash.js: Apply jshint suggestions for cleanup to dojo.fieldmapper Mostly consisting of missing semicolons and avoiding the redeclaration of variables (generally for iterators) within the same function scope. Some tightening of null and '' checks to avoid implicit type-casting. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19730 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-13 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/search_form.js, Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul: Normalize patron profile search function in "Search for Patrons" UI Use util.widgets.make_menulist for a more consistent approach to generating the menulist and use a row/label/hbox layout to normalize the appearance of the patron profile filter in the search menu. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19727 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-13 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/patron/search_form.js, Open-ILS/xul/staff_client/server/patron/search_form_overlay.xul, Open-ILS/xul/staff_client/server/patron/search_result.js: Apply patch to add a patron profile filter to the "Search for Patrons" UI Thanks to Michael Peters <mrpeters@library.in.gov> and Thomas Berezansky <tsbere@mvlc.org> for their work on this additional functionality to the patron search UI, supplied as a patch in LP# 715837. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19726 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-13 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.english.pg81.fts-config.sql, Open-ILS/src/sql/Pg/000.english.pg82.fts-config.sql, Open-ILS/src/sql/Pg/000.english.pg83.fts-config.sql, Open-ILS/src/sql/Pg/000.english.pg84.fts-config.sql: Remove unsupported versions of PostgreSQL FTS configs We don't support anything below PostgreSQL 9.0, so let's get this deadwood out of the way lest anyone get confused. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19724 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-12 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.english.pg84.fts-config.sql, Open-ILS/src/sql/Pg/000.english.pg90.fts-config.sql, Open-ILS/src/sql/Pg/002.functions.aggregate.sql, Open-ILS/src/sql/Pg/002.functions.general.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/build-db.sh: Clean up build errors when creating/recreating database schema Dropping the evergreen schema cascaded and wiped out some previously defined functions, so move it ahead of the other functions. (And maybe we can start moving those public functions into the evergreen schema?) DROP AGGREGATE IF EXISTS exists on any version of PostgreSQL that we care about for Evergreen 2.0, so we can use it to avoid false errors during schema creation. FTS config was complaining about public.english_nostop in the ALTER statement, so remove the schema qualification. This seems to have been there for a long time? Use IF EXISTS when dropping the unapi schema to avoid an error. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19723 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-12 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/upgrade/0498.lowercase_via_perl.sql: Use valid DDL for forgotten index on actor.card git-svn-id: svn://svn.open-ils.org/ILS/trunk@19718 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-12 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm, Open-ILS/src/perlmods/lib/OpenILS/Reporter/SQLBuilder.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/Reporter/transforms.pm, Open-ILS/src/sql/Pg/002.functions.general.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/005.schema.actors.sql, Open-ILS/src/sql/Pg/012.schema.vandelay.sql, Open-ILS/src/sql/Pg/build-db.sh, Open-ILS/src/sql/Pg/upgrade/0498.lowercase_via_perl.sql: Resolve inconsistent results when invoking LOWER() in C vs. UTF8 locale databases As reported by the Fundamental Science Library of Armenia, patron searches were not retrieving patrons who were known to be part of the patron database. While the initial approach to solve this problem used an encode_utf8() call to encode the data before passing it on to the database, this turned out to break the patron search function in other environments. Testing by Dan Wells confirmed that the LOWER() function returned different results when invoked against text in a database created with LC_CTYPE=C vs a database created with LC_CTYPE=*.UTF-8. As the patron search function used a Perl lc() function call to convert the incoming data to lowercase, the success of the call depended on the LC_CTYPE value of the database. To avoid this problem in the future, we define our own evergreen.lowercase() function that can reliably produce lowercase text for characters outside the Latin1 range, and we convert our indexes and function calls to use that function consistently. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19715 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/mylist.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2: Support for most of the actions on lists and bookbags Show authors too. And other little stuff. 2011-03-11 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CreditCard.pm: only append street2 to CC payment address if no address is provided by the caller git-svn-id: svn://svn.open-ils.org/ILS/trunk@19714 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/acq/financial/claim_eligible.js: Acq: The "Claim-Ready Items" interface did not render correctly for > 1 item The problem was racy async rendering logic. Now we look at our whole result set and build our table accordingly at the end. This interface should probably learn about paging one day in order to handle large result sets. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19709 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * README: Update the README to include explict LC_CTYPE/LC_COLLATE db settings git-svn-id: svn://svn.open-ils.org/ILS/trunk@19706 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install: LANG=C results in SQL_ASCII encoding by default for PostgreSQL, which isn't cool We want LC_CTYPE=C and LC_COLLATE=C, and SERVER_ENCODING=UTF8. The docs have been adjusted as 8.4 and up now offer database-level --lc-ctype / --lc-collate options for createdb command. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19703 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: use the existing util method for mvr-izing, since it handles some additional important steps (e.g. capturing doc_id) git-svn-id: svn://svn.open-ils.org/ILS/trunk@19700 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-11 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act or.pm: Ensure incoming query values to patron search are UTF8-encoded Addresses the problem reported with searching for patrons with Armenian names, where Unicode query params were getting corrupted on its way to the database. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19697 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-10 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/mylist.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/parts/anon_list.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: Foundational work for temporary/anon lists and per-user lists (bookbags) There were already some features in EGCatLoader for adding and deleting items from lists, but there's more to do, as that code only dealt with numeric IDs, and we need records avaiable. Also, to avoid search bots creating temporary/anon lists all the time, and just because the following is good practice, our "add to my list" links need to be forms that POST, not links that GET. Etc., etc.; more to come. 2011-03-10 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CreditCard.pm: add patron barcode to CC transaction description for payment record keeping/tracking git-svn-id: svn://svn.open-ils.org/ILS/trunk@19695 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-10 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version git-svn-id: svn://svn.open-ils.org/ILS/trunk@19694 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-10 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/locale/en-US/common.properties, Open-ILS/xul/staff_client/server/main/ws_info.xul: Complain when trying to register an empty Workstation ID Client-side only, no server side validation. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19692 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-03-10 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js, Open-ILS/web/js/ui/default/booking/populator.js: Booking: don't bail out completely on COPY_ALERT_MESSAGE when returning items Provide overridability. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19682 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-10 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/admin/org_unit_settings.js, Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml: as an alternate/addition to applying per-setting permissions, use the existing VIEW_ORG_SETTINGS permission as a general gateway into the org settings UI git-svn-id: svn://svn.open-ils.org/ILS/trunk@19677 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-09 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/Makefile: 'newpo' in install_all_locales was wiping out all fr-CA translations Long story short, we would rather have install_all_locales fail loudly than silently wipe out fr-CA. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19668 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-09 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0497.patron_registration.sql, Open-ILS/web/css/skin/default/register.css, Open-ILS/web/js/dojo/openils/actor/nls/register.js, Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js, Open-ILS/web/js/ui/default/actor/user/register.js, Open-ILS/web/templates/default/actor/user/register.tt2, Open-ILS/web/templates/default/actor/user/register_table.tt2: Patch from Thomas Berezansky: The attached patch adds a collection of settings for patron registration, as well as a new display mode. The new display mode is "Suggested" compared to "Required" or "All". It shows everything "Required" does, but also shows fields flagged as "Suggested", stat cats, and surveys. To control this and other things are the settings. They come in a few general categories, named ui.patron.edit.<fmclass>.<fmfield>.? where ? is one of the following: require - Flag the field as required when it otherwise wouldn't be. show - Show the field like required fields, but don't actually require it. suggest - Show the field with required/shown fields in "show suggested fields" mode example - An example string for a field regex - A regular expression for validating a field Not all fields have all of the above options by default, although the initial list is the main limiter compared to the code side. Also included are the following settings: ui.patron.edit.au.dob.calendar - If true, shows the calendar widget for the date of birth field ui.patron.edit.phone.example - Example for all phone fields without their own ui.patron.edit.phone.regex - Regex validator for all phone fields without their own ui.patron.edit.default_suggested - Default to showing suggested fields instead of all fields git-svn-id: svn://svn.open-ils.org/ILS/trunk@19663 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-09 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/js/myopac.js: Draw pre-cataloged items (author and title) in My Account checkedout screen Two problems: FETCH_MODS_FROM_COPY returns an object, so we weren't getting to the point of fetching the raw copy itself, and there was some confusion about pre-cataloged vs. non-cataloged items that is hopefully straightened out now. Addresses LP # 723895 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19659 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-09 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/patron/bill2.js: Fix LP bug #727432, "overpaying with patron credit can generate a double credit" git-svn-id: svn://svn.open-ils.org/ILS/trunk@19649 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-08 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm: Correct implementing function name for open-ils.resolver.delete_cached_holdings A non-existent function had been registered, which blew up in AUTOLOAD and caused ugly errors to be logged to the unix log. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19646 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-08 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm: Be more defensive when parsing SFX target results SFX in the wild has been observed returning targets for getFullTxt requests that have no target URLs, which makes it rather impossible to provide a link to the full text resource. Skip such targets (and for good measure, skip them if they don't have a name either). Also, change from the SID "conifer" to the more generic and accurate "evergreen". git-svn-id: svn://svn.open-ils.org/ILS/trunk@19645 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-08 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0496.data.search_indexes.sql: Add missing ampersand to ind1 attribute in identifier index xpaths This addresses LP # 731564. Thanks to Dan Wells for identifying (hah) the identifier xpath problem! git-svn-id: svn://svn.open-ils.org/ILS/trunk@19642 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-08 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: Address LP bug #724583, "Paying Bills with Patron Credit does not always decrease patron Credit" git-svn-id: svn://svn.open-ils.org/ILS/trunk@19639 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: More data ordering issues git-svn-id: svn://svn.open-ils.org/ILS/trunk@19637 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Insert order matters, moving down git-svn-id: svn://svn.open-ils.org/ILS/trunk@19635 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/100.circ_matrix.sql: config.videorecording_format_map moved to SVF git-svn-id: svn://svn.open-ils.org/ILS/trunk@19633 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql: Accidentally removed during SVF merge, put it back git-svn-id: svn://svn.open-ils.org/ILS/trunk@19631 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * README: We now require PG 9.0+, say as much in the README ... everywhere git-svn-id: svn://svn.open-ils.org/ILS/trunk@19628 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * README: We now require PG 9.0+, say as much in the README git-svn-id: svn://svn.open-ils.org/ILS/trunk@19627 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/marc_export: Create a 001 field if it doesn't exist in marc_export Real data has a way of surprising you sometimes, like by not having 001 fields. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19626 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/CGIUTF8.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGIUTF8.pm, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: Subclass CGI (and create TT plugin wrapper for the subclass) to get utf8 params The CGI module configuration option -utf8 just doesn't seem to do the trick. I could have missed something, but this works and isn't too awful. 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/0495.schema.svf-phase-one.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: moving the upgrade script into place git-svn-id: svn://svn.open-ils.org/ILS/trunk@19624 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: giving version numbers to the svf upgrade script git-svn-id: svn://svn.open-ils.org/ILS/trunk@19623 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml, Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml, Open-ILS/web/opac/skin/default/xml/advanced/advanced_global.xml, Open-ILS/web/opac/skin/default/xml/result/filtersort.xml: update the old school sort axis names to match the SVF versions git-svn-id: svn://svn.open-ils.org/ILS/trunk@19622 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: add a description field to config.record_attr_definition git-svn-id: svn://svn.open-ils.org/ILS/trunk@19621 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: These are now magic filters. Thanks, SVF! git-svn-id: svn://svn.open-ils.org/ILS/trunk@19620 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js: repaired fielder retrieval api syntax git-svn-id: svn://svn.open-ils.org/ILS/trunk@19619 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/cat/copy_editor.js: use ccvm's in staff client instead of citm git-svn-id: svn://svn.open-ils.org/ILS/trunk@19618 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/web/opac/common/js/config.js, Open-ILS/web/opac/skin/default/js/adv_global.js: fetch ccvm's directly for item_form/type/lit_form/bib_level/audience via fielder in opac; leave api constants around for other skins that may be using them. ML code now fetches ccvms, but returns data in original config.*_map objects for backwards compat + deprecation warning log git-svn-id: svn://svn.open-ils.org/ILS/trunk@19617 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: register the "I only need a query string" search method git-svn-id: svn://svn.open-ils.org/ILS/trunk@19616 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/XXXX.schema.svf-phase-one.sql: more SVF value normalizers, and application thereof git-svn-id: svn://svn.open-ils.org/ILS/trunk@19615 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql: index normalizers for SVF and faceting git-svn-id: svn://svn.open-ils.org/ILS/trunk@19614 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/locale/en-US/conify.dtd, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/chrome/content/main/menu.js: replace "MARC Codes" UI with "Coded Value Maps", aka SVF Values git-svn-id: svn://svn.open-ils.org/ILS/trunk@19613 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: added IDL bits for mra => metabib.record_attr git-svn-id: svn://svn.open-ils.org/ILS/trunk@19612 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/templates/default/conify/global/config/coded_value_map .tt2: default to empty ccvm grid; added crad selector attr and crad/ccvm required attrs to IDL git-svn-id: svn://svn.open-ils.org/ILS/trunk@19611 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/default/conify/global/config/record_attr_def inition.tt2: added crad config UI git-svn-id: svn://svn.open-ils.org/ILS/trunk@19610 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml: crad uses 'name' as its pkey git-svn-id: svn://svn.open-ils.org/ILS/trunk@19609 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/default/conify/global/config/coded_value_map .tt2: code value map admin page, filtered by record attr def git-svn-id: svn://svn.open-ils.org/ILS/trunk@19608 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: update any existing I18N values for maps moved to ccvm git-svn-id: svn://svn.open-ils.org/ILS/trunk@19607 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: Only generate ORed filters if there are some to use git-svn-id: svn://svn.open-ils.org/ILS/trunk@19606 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: upgrade script version of the trigger fixes git-svn-id: svn://svn.open-ils.org/ILS/trunk@19605 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/030.schema.metabib.sql: some update trigger issues from SVF generalization git-svn-id: svn://svn.open-ils.org/ILS/trunk@19604 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: more SVF filter cleanup git-svn-id: svn://svn.open-ils.org/ILS/trunk@19603 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm: General testing-based cleanup of the new SVF QueryParser code. More to come. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19602 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: name is the pkey, not id git-svn-id: svn://svn.open-ils.org/ILS/trunk@19601 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: update 950 seed data for use with the core SVF table ... that was painful git-svn-id: svn://svn.open-ils.org/ILS/trunk@19600 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: commit at the end ... and I'd like to reserve a db version number, but not until it's in trunk git-svn-id: svn://svn.open-ils.org/ILS/trunk@19599 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: arg, typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@19598 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/met abib.pm: Teach storage to initialize the new bits of QueryParser git-svn-id: svn://svn.open-ils.org/ILS/trunk@19597 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/Que ryParser.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.p m, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/030.schema.metabib.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/090.schema.action.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/800.fkeys.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/XXXX.schema.svf-phase-one.sql: Working towards SVF. This is most of phase 1, which is basic DB and QP support. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19596 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-07 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/widget/AutoGrid.js: Fix cloning of AutoField widgets: LP #728055 Cloning Action/Trigger event definitions was not working properly, as all values were being copied from the original object using their display strings rather than the underlying values. Bill Erickson suggested a fix in IRC that works, so full credit to him for this change! git-svn-id: svn://svn.open-ils.org/ILS/trunk@19590 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-05 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0494.data.search_indexes.sql: Correct search index definitions for subject|complete and identifier|bibcn Dan Wells reported in LP# 729385 that the index definitions for subject|complete and identifier|bibcn were not working, and traced the problem to a change in how indexes are generated in 2.0+. Dropping the trailing '//text()' on these two indexes addresses the problem. Sites upgrading from a previous version of Evergreen 2.0 will want to refresh the indexes after applying this schema change to enable searches against subject|complete and identifier|bibcn to work. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19587 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-04 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/marc_export: Teach marc_export how to export bibs for specified libraries Useful shortcut for getting the bibs for libraries based on the non-deleted callnumbers they have attached to non-deleted bibs. Doesn't guarantee that they also have either a visible copy or localized URI attached but whaddya want, magic? :) Usage: marc_export --library BR1 --library BR2 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19586 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-04 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Respect a setting of depth=0. In particular, this fixes holdings requests for branch-level searches with an 'Everything' scope. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19583 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-04 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/templates/default/opac/myopac/lists.tt2: added bookbag CRUD+ interface which supports create/delete/rename/show/hide/add_rec/del_item actions; some I18N and cleanup of lists.tt2; added generic redirect sub to replace the bare REDIRECTs spread throughout w/ a more consistent mechanism for finding where to redirect 2011-03-04 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/marc_export: Teac marc_export how to replace the 001 field value with the record ID This is option is probably more useful prior to 2.0 where we introduced the automated "munge control numbers" option, but new features go here, right? A site that wants to export their bibliographic records to send to a large library consortium for control number matching may find this a useful way to send out records with a local 001 record ID and get standard identifier control numbers back that they can add as a 035, per MARC standards. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19582 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-04 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: SRU: Restructure the hash returned from open-ils.supercat.biblio.search_aliases By returning explicit index and title elements from the method, we can backport cleanly to 2.0 and set the stage for pulling the title element directly from the database in 2.1 and beyond. In addition, the enriched object enables us to get rid of the hardcoded nested qualifier map for bibs, and also enables us to fix the explain document for SRU for authority records. Finally, we also fix the mappings of SRU qualifiers to Evergreen search aliases (in many cases we had been quietly falling back to plain kw searches, which was not cool). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19573 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-03 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Add complete set of Evergreen search aliases and attributes to SRU explain Original "pull from database" code had limited the search aliases to those that were qualified; now we pull all of them, and if they are not qualified, we qualify them as "eg". In addition, for some of the non-index attributes (sort, direction, site, available), restore the descriptive title that was previously available. Slightly longer term we will add a "description" column to config.metabib_search_alias to store this information. Also, we had always been using the global %qualifier_map in return_sru_explain(), even though the intention was to enable the authority explain index to pass in an overriding set of values. This commit breaks the authority SRU explain, but as it had been incorrectly dumping the bib explain, this brings us a step closer to proper explain support for authorities. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19572 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-03 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Draw SRU search indexes from config.metabib_search_alias We had hardcoded search indexes for SRU, but thanks to the work of Mike Rylander, it is fairly easy to remove that brittle code and replace it with code that polls the contents of config.metabib_search_alias and dumps it into the explain document. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19564 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-03 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Whitespace consistency for O:WWW:SuperCat.pm git-svn-id: svn://svn.open-ils.org/ILS/trunk@19563 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-02 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm: Call number sorting "before" the context needs to be segregated based on directly on the label, "here-and-after" on the bytea version. Testing bears this out, but more eyes would be appreciated. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19560 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-02 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * 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/0493.data.interval-descriptions.sql: Add example intervals to some library setting descriptions Based on a patch provided by Michael Peters <mrpeters@library.in.gov> in Launchpad bug 717308, provide examples of intervals in several descriptions that lacked them. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19558 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb git-svn-id: svn://svn.open-ils.org/ILS/trunk@19555 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/MANIFEST, Open-ILS/src/perlmods/lib/OpenILS/WWW/Method.pm.in, Open-ILS/src/perlmods/lib/OpenILS/WWW/Web.pm.in, Open-ILS/src/perlmods/t/15-OpenILS-WWW.t, configure.ac: Remove dead code: OpenILS::WWW::Web and OpenILS::WWW::Method modules git-svn-id: svn://svn.open-ils.org/ILS/trunk@19554 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: update cached user after email/password update; repaired recently-introduced typo on user transaction retrieval method git-svn-id: svn://svn.open-ils.org/ILS/trunk@19552 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/c-apps/oils_auth.c: when using the force-reload option to reset timeout, propagate the ws_ou and wsid values from the cached user object into the reloaded user object git-svn-id: svn://svn.open-ils.org/ILS/trunk@19551 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm, Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm: merging in some useful changes from the opac-tt-poc branch, including capture of authtime in CStoreEditor, some holds retrieval de-fleshing options, and a total_count field added to user opac vital stats api git-svn-id: svn://svn.open-ils.org/ILS/trunk@19549 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-03-01 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm: Add a TT helper to encode email headers in UTF-8 This can and should be used to encode any headers (To, From, Subject, etc) in an email that might include text outside of the ASCII 7-bit range. Names of people or libraries, for example, that might otherwise come out garbled. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19546 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-28 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: Implement mike's suggestions from #esi-dev on 27 Feb 2011 This makes an "exact" search build a query with starting and ending anchors, and adds a new contains-value called "phrase" which does what "exact" was doing before. 2011-02-25 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/admin/org_unit_settings.js: Updated org selector code in org setting UI Removed some ad-hoc org-unit tree widget code and replaced with the a standard solution from the openils dojo user lib. Pass the auth on org value retrieval to pick up perm-protected settings. Use STAFF_LOGIN for context selector perm, since each setting has its own perm that is checked before fetching. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19543 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-25 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql, Open-ILS/src/sql/Pg/upgrade/0492.data.update_cn_label_sortkey.sql: make sure asset.call_number.label_sortkey is up to date git-svn-id: svn://svn.open-ils.org/ILS/trunk@19540 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-25 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2: provide three rows of search input by default this better accommodates users with no JS 2011-02-25 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm: remove debugging cruft 2011-02-25 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/qtype_selector.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2: refining advanced search now preserves qtype/contains/query combos. also, also, show something better for empty search results 2011-02-24 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/audience_options.tt2, Open-ILS/web/templates/default/opac/parts/audience_selector.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/item_lang_options.tt2, Open-ILS/web/templates/default/opac/parts/language_selector.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2, Open-ILS/web/templates/default/opac/results.tt2: lot of things, including: - crib subjects support from regular opac poc - get rid of adv search form inclusion on results page, but keep the link to it. Show a special version of just the "compiled" QP query - better and more generic handling of search terms (compiling CGI params to QP string) - make limit to avail and sort work from basic search results page - genericize search cgi params -> qp. filter:foo, s/class/qtype/, etc - more! 2011-02-24 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/default/acq/picklist/brief_record.tt2: typo fix "Pat, I'd like to buy a vowel" git-svn-id: svn://svn.open-ils.org/ILS/trunk@19537 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-02-24 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0491.function.maintain_901_fix_regex.sq l: Fix regex in maintain 901c The previous regex would delete any 901 fields *and* any fields which followed. Since the 901 is typically the last field, this problem didn't surface during testing. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19534 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-24 gmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/action.p m, Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm: added missing columns to CDBI table definitions git-svn-id: svn://svn.open-ils.org/ILS/trunk@19531 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> 2011-02-24 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql: Per Robert Soulliere, it can be necessary in some cases to clean out bad data from action.reservation_transit_copy before applying the missing fkeys to said table. https://bugs.launchpad.net/evergreen/+bug/721450 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19528 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: clear out the hold_copy_map entries for holds cancelled via the clear-shelf processes git-svn-id: svn://svn.open-ils.org/ILS/trunk@19525 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0490.schema.staff-client-copy-counts.sq l: include copy/call_number deletedness in staff-version copy counts git-svn-id: svn://svn.open-ils.org/ILS/trunk@19522 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/audience_options.tt2, Open-ILS/web/templates/default/opac/parts/filtersort.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/item_lang_options.tt2, Open-ILS/web/templates/default/opac/parts/result/filtersort.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/results.tt2: advanced search results now show an advanced search form... for refining your search terms. The query-type/contains/term rows don't yet populate, but the rest of the form does. There probably also needs to be more stylistic consideration. Still need to improve the translation of CGI parameters into QP syntax. Still need to do all kinds of things. 2011-02-23 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Add 830 as a controllable bibliographic field in authority linking script Per http://www.loc.gov/marc/bibliographic/bd830.html, bibliographic 830 should be controlled by authority 130. The "common cataloging practice" in 830 of omitting non-filing characters may cause some entries to not be linked that otherwise would be. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19518 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql: missing semicolon git-svn-id: svn://svn.open-ils.org/ILS/trunk@19517 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql: typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@19516 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm: Working SRU search for various authority records We now have search indexes for: * ID * name * subject * title * topic O:WWW:SuperCat::sru_search has been refactored somewhat to reduce code duplication between the authority SRU and the bibliographic SRU. This SRU interface lives, by default, at http://hostname/opac/extras/sru_auth Explain output is still a bit wonky in the configInfo section. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19514 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * build/i18n/Makefile: Correct the install location for Dojo i18n bundles We had been converting xx-YY into xx/yy for a directory structure, but current evidence shows that it should be xx-yy. Hard to believe we've overlooked this for so long. Also, with the exception of the en-ca/en-gb/en-us locales, we should probably trim the locale to just xx - but that's a different problem, and let's just focus on getting this working to begin with. Addresses Launchpad # 723489 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19507 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-23 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Utils/TagURI.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/990.schema.unapi.sql, Open-ILS/src/sql/Pg/build-db.sh, Open-ILS/src/sql/Pg/upgrade/0489.schema.unapi2.sql: Merging in unAPI v2, the bono edition * Add unapi schema, functions and initial transform setup * General purpose tag URI parser * upgrade script and build-db.pl integration git-svn-id: svn://svn.open-ils.org/ILS/trunk@19506 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-22 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/templates/base.tt2: dojo.js has to be loaded from the same domain as the page, unless it's a cross-domain build git-svn-id: svn://svn.open-ils.org/ILS/trunk@19503 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-22 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: apparently, some version of perl require 'our' in this context, presumably because it's the same package across separate files... 2011-02-22 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/base.tt2: oops, forgot to do this reflecting js move 2011-02-22 senator <lebbeous@esilibrary.com> * Open-ILS/web/js/opac/simple.js, Open-ILS/web/js/ui/default/opac/simple.js: move js to its proper places in the filesystem 2011-02-22 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/footer.tt2: move js to end of body; no need to have footer in its own file 2011-02-21 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2: empty case for myopac/circs 2011-02-21 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: empty case for myopac/holds. use of quant for plural word in i18n. 2011-02-21 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: show summarized copy availability on results page 2011-02-21 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: i18n cleanup 2011-02-21 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/table.tt2: berick spotted it. double escaping. 2011-02-21 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/js/opac/simple.js, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2, Open-ILS/web/templates/default/opac/results.tt2: big ol' commit making advanced search work, albeit with issues most obvious issue is that advanced search leads to a result page that renders with a basic search form filled out in a silly-looking way I'm thinking it'd be best when showing results from an advanced search to *not* show that basic search form, but instead have a hidden version of the advanced search form, prepopulated, revealable by a button labeled "refine your search" or something. That way we'd not have to worry about reversing query parser syntax back into broken-out widget values. make sense? 2011-02-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Make sure we continue looping in situations where there is only one copy git-svn-id: svn://svn.open-ils.org/ILS/trunk@19499 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/000.english.pg90.fts-config.sql: Add support for 9.0 in initial db creation scripts git-svn-id: svn://svn.open-ils.org/ILS/trunk@19495 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-21 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql: Addressing LP bug: https://bugs.launchpad.net/evergreen/+bug/721450 If a series-class index definition has been removed, the data remains in the field entry table. This is because there was no fkey previously. We need to clean that data out so that the fkey can be validated during upgrade. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19494 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: immediate cache expiration for html is too aggressive, leading to re-fetches on current page w/ chrome; give the browser a few seconds to breathe 2011-02-18 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql: A function for normalizing numeric strings git-svn-id: svn://svn.open-ils.org/ILS/trunk@19491 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Container.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: initial cut of anonymoust cache record lists (aka My List) management; minor cleanup 2011-02-18 berick <berick@esilibrary.com> * : adding the fines/payments tab images 2011-02-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Whitespace - convert mix of tabs/spaces to pure spaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@19486 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/result/result_table.xml: Switch to BT.textContent() for Opera compatibility The BT.textContent() method abstracts away some of the browser differences for us. Most importantly, it makes Opera happy. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19485 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: if no login redirect is set, redirect to account instead of home page 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: hide all refs to fines payment until its implemented to reduce confusion; minor cleanup 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/record/summary.tt2: i18n 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: round of CSS cleanup; removing unused rules and replacing inline style with css classes 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: mild code realignment 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: ensure all login requests are over SSL; warn of any non-SSL logout requests; add log line prefixes for simpler grepping 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/result/filtersort.tt2: i18n and cleanup 2011-02-18 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: ws_ou may be null in an opac context, fall back to home org git-svn-id: svn://svn.open-ils.org/ILS/trunk@19480 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm: allow users to see their own payments w/o perm git-svn-id: svn://svn.open-ils.org/ILS/trunk@19479 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: retain ability for a user to see his/her own payments and open transactions git-svn-id: svn://svn.open-ils.org/ILS/trunk@19478 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm: More user transaction retrieval API cleanup Use consistent xact fleshing mechanism for circulations both for less/cleaner code and to consistently take advantage of CSToreEditor for authoritative support. Added .flesh option to transaction history api calls, consistent with non-history version. Added a have_payments history call so we can limit retrieval to xacts that had at least 1 payment When making sub-req calls to payment API calls, call .authoritative as appropriate git-svn-id: svn://svn.open-ils.org/ILS/trunk@19477 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: while we're at it, condense the js/css/images deflat and cache control into 1 block 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: under /eg/opac, expire html immediately to pick up dynamic data; set public cache-control on general images/css/js content 2011-02-18 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/parts/base.tt2: after auth expire time, redirect to logout page (which ultimately redirects home) to force removal of the stale auth cookie 2011-02-18 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/extras/Makefile.install, Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendE mail.pm: Bolster SendEmail Reactor's handling of UTF-8 content Use the Encode module and encode_utf8() instead of utf8 and utf8::encode. The utf8 module is meant for enabling UTF-8 content in source code. Also, add the MIME-Version / Content-type / charset headers that some mail user agents need to know that they're dealing with Unicode mail. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19476 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-17 senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/act ion.pm: Booking: fix the targeter in the I'm-reserving-this-exact-resource-with-this- exact-barcode case. It should have always worked like this. This should better mirror the behavior in the holds targeter when placing a copy-level hold. Basically don't fail to target a resource for a reservation later just because it's not in an available status right at this moment. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19470 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-17 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2: basic search classes work (except cn) Not sure what would happen on a KCLS environment. Need to test. bibcn nor cn do what I mean in my dev environment. 2011-02-17 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/skin/default/xml/body.xml, Open-ILS/web/opac/skin/default/xml/home/index_body.xml: Avoid mixed-content warnings due to HTTP link for Google Chrome Frame We're hardcoding this to HTTPS for now to avoid the mixed-content warnings that occur when content location is https:// and the linked script is at http:// but a config-aware patch probably wouldn't be a bad idea. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19466 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-17 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/opac/common/js/opac_utils.js: vestigial 2nd param to session.retrieve from opac now actually changes the behavior (see r19447) in an unexpected way, remove git-svn-id: svn://svn.open-ils.org/ILS/trunk@19464 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-17 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2: force new layout changes into advanced search page The advanced search page doesn't yet work, but should soon. 2011-02-17 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/result/header.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: make the zero-hits case work for search results 2011-02-17 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js: CSS hook for check-in failures with selfcheck git-svn-id: svn://svn.open-ils.org/ILS/trunk@19461 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-17 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.functions.config.sql, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/upgrade/0488.function.maintain_901_tcn.sql: Teach maintain_901 trigger to respect the "Use record ID for TCN" global flag Rather than relying on the Perl layer to set the correct TCN on the way in, do it as part of the in-database indexing to ensure that we have consistent results no matter how the record gets into the database. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19458 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-16 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: crummy paging in the record pages' copy listing 2011-02-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/web/js/dojo/openils/BibTemplate.js: Patch based on work by Dan Wells to improve Opera BibTemplate support git-svn-id: svn://svn.open-ils.org/ILS/trunk@19455 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-16 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2: copy details in the right place in the layout; some hide_me's sprinkled around for now 2011-02-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/950.data.seed-values.sql, Open-ILS/src/sql/Pg/upgrade/0487.circ_matrix_fallthrough.sql, Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js, Open-ILS/web/js/dojo/openils/widget/AutoGrid.js, Open-ILS/web/js/dojo/openils/widget/EditPane.js, Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js, Open-ILS/web/js/ui/default/conify/global/config/circ_matrix_matchpo int.js, Open-ILS/web/templates/default/conify/global/config/circ_matrix_mat chpoint.tt2: Patch from Thomas Berezansky to implement circulation matchpoint value fallthrough, whereby specific rules can inherit values from generic rules. Background, taken from https://bugs.launchpad.net/evergreen/+bug/635463: Theory: Make the things returned (circulate, duration_rule, recurring_fine_rule, max_fine_rule, hard_due_date, total_copy_hold_ratio, available_copy_hold_ratio and renewals) "fall through" when set to NULL. The circ matrix edit screen has had some changes too, partially for showing "Inherited" in some places where appropriate, partially for field ordering and editing display and consistency. The fields that show up earlier contribute to tests that will be applied to the circulation attempt, while the "results" that do not change what rows are considered are grouped at the end. Pros: You can override a subset of those fields with a specific rule while allowing broader rules to fill in the holes. This may result in less duplication of information across rules, making things easier to maintain. Thus, this may result in less rules in general, and thus less processing time on sorting them overall. Cons: Manually figuring out the specifics of what will happen will take more time/effort. Changing a single rule may have a greater unintended effect on other rules. Staff would need training for when to have a rule fall through and when to set it specifically. More time to return from the DB for any rule that is "falling through" to broader rules. Examples for the following org tree: CONS -SYSA --LIBC --LIBD -SYSB --LIBE --LIBF Implementing the following "business" rules: At the CONS level: By default, everything circulates, uses DFLT_DUR duration, DFLT_RFINE recurring fine, and DFLT_MFINE max fine. Circ Modifier "book" uses the duration BOOK_DUR Reference flagged materials don't circulate At the SYSA level there are no special rules. At the SYSB level the max fine should be SYSB_MFINE. At the LIBC level the recurring fine is LIBC_RFINE At the LIBD level circ modifier "book" uses the DFLT_DUR duration instead of "BOOK_DUR" At the LIBE level reference flagged materials circulate. At the LIBF level there are no special rules. The current method would require the following circ rules to implement those business rules: CIRC_LIB CIRC_MOD REFERENCE CIRC? DURATION_RULE RECURRING_FINE MAX_FINE CONS NULL NULL TRUE DFLT_DUR DFLT_RFINE DFLT_MFINE CONS NULL TRUE FALSE DFLT_DUR DFLT_RFINE DFLT_MFINE CONS book NULL TRUE BOOK_DUR DFLT_RFINE DFLT_MFINE CONS book TRUE FALSE BOOK_DUR DFLT_RFINE DFLT_MFINE SYSB NULL NULL TRUE DFLT_DUR DFLT_RFINE SYSB_MFINE SYSB NULL TRUE FALSE DFLT_DUR DFLT_RFINE SYSB_MFINE SYSB book NULL TRUE BOOK_DUR DFLT_RFINE SYSB_MFINE SYSB book TRUE FALSE BOOK_DUR DFLT_RFINE SYSB_MFINE LIBC NULL NULL TRUE DFLT_DUR LIBC_RFINE DFLT_MFINE LIBC NULL TRUE FALSE DFLT_DUR LIBC_RFINE DFLT_MFINE LIBC book NULL TRUE BOOK_DUR LIBC_RFINE DFLT_MFINE LIBC book TRUE FALSE BOOK_DUR LIBC_RFINE DFLT_MFINE LIBD book NULL TRUE DFLT_DUR DFLT_RFINE DFLT_MFINE LIBD book TRUE FALSE DFLT_DUR DFLT_RFINE DFLT_MFINE LIBE NULL NULL TRUE DFLT_DUR DFLT_RFINE SYSB_MFINE LIBE book NULL TRUE BOOK_DUR DFLT_RFINE SYSB_MFINE 16 circ rules total. The new method would require the following circ rules to implement those business rules: CIRC_LIB CIRC_MOD REFERENCE CIRC? DURATION_RULE RECURRING_FINE MAX_FINE CONS NULL NULL TRUE DFLT_DUR DFLT_RFINE DFLT_MFINE CONS book NULL NULL BOOK_DUR NULL NULL CONS NULL TRUE FALSE NULL NULL NULL SYSB NULL NULL NULL NULL NULL SYSB_MFINE LIBC NULL NULL NULL NULL LIBC_RFINE NULL LIBD book NULL NULL DFLT_DUR NULL NULL LIBE NULL TRUE TRUE NULL NULL NULL 7 circ rules total. Starting with the above, lets assume that SYSA wants to change their recurring fine to SYSA_RFINE. LIBC's recurring fine is to be unchanged. The current method requires the following changes: ADD the following entries: CIRC_LIB CIRC_MOD REFERENCE CIRC? DURATION_RULE RECURRING_FINE MAX_FINE SYSA NULL NULL TRUE DFLT_DUR SYSA_RFINE DFLT_MFINE SYSA NULL TRUE FALSE DFLT_DUR SYSA_RFINE DFLT_MFINE SYSA book NULL TRUE BOOK_DUR SYSA_RFINE DFLT_MFINE SYSA book TRUE FALSE BOOK_DUR SYSA_RFINE DFLT_MFINE UPDATE the LIBD entries: CIRC_LIB CIRC_MOD REFERENCE CIRC? DURATION_RULE RECURRING_FINE MAX_FINE LIBD book NULL TRUE DFLT_DUR SYSA_RFINE DFLT_MFINE LIBD book TRUE FALSE DFLT_DUR SYSA_RFINE DFLT_MFINE 4 rules added, 2 changed, total is now 20 rules. The new method would require the following changes: ADD the following entry: CIRC_LIB CIRC_MOD REFERENCE CIRC? DURATION_RULE RECURRING_FINE MAX_FINE SYSA NULL NULL NULL NULL SYSA_RFINE NULL 1 rule added, 0 changed, total is now 8 rules. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19453 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: Patch from Thomas Berezansky to make many older OU setting types i18n friendly git-svn-id: svn://svn.open-ils.org/ILS/trunk@19451 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-16 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/950.data.seed-values.sql: realign trunk permission numbering with 2.0 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19449 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-16 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: more i18n, minor cleanup 2011-02-16 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/c-apps/oils_auth.c: added option to open-ils.auth.session.retrieve to return the full cached object, which includes the auth time (cache timeout) of the cached user object git-svn-id: svn://svn.open-ils.org/ILS/trunk@19447 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-15 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: Add a note for future work for full hold count coverage git-svn-id: svn://svn.open-ils.org/ILS/trunk@19446 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-15 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/external/developers.js: who needs this much noise in the javascript console? javascript.options.strict = false git-svn-id: svn://svn.open-ils.org/ILS/trunk@19445 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-14 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/080.schema.money.sql, Open-ILS/src/sql/Pg/upgrade/0486.schema.mccp-order-number.sql: capture credit card order_number Uunique payment transaction ID for online payments git-svn-id: svn://svn.open-ils.org/ILS/trunk@19443 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2: more i18n goodness 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm: avoid undef warnings 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/parts/base.tt2: when authenticated, force the page to redirect the home page after the auth time has expired to protect patron data and prevent potentially confusing post-search-submit redirects 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: updated cstoreditor to fetch full cached object to get the authtime; capturing authtime in the web context 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/c-apps/oils_auth.c: added option to open-ils.auth.session.retrieve to return the full cached object, which includes the auth time (cache timeout) of the cached user object 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm: added sub to collect the HTML version of a record for display 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: hold actions work 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/myopac/circs.tt2: Renewals working, with feedback displayed 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2: make date format localize-able 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/record.tt2: pulling in more copy fields for display; added sample code 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2: "Items Ready For Pickup" works This uses the holds page of myopac with a special param. Also, tiny bit of JS just to focus the username field on the login page. Couldn't resist. 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: "format" aka item_type (?) search working, I think 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2: Judgment call. I think this just looks better. 2011-02-15 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/header.tt2: make money string localizable 2011-02-15 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2: show grocery fines; define date format in a single location 2011-02-15 berick <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/topnav.tt2: heh, rolling bcak unintended addition of test code 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/web/templates/default/opac/record.tt2: added support for copy paging/sorting 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/parts/topnav.tt2: when a secure page is requested insecurely, direct to login page, then redirect to the originally requested page after successful login. This removes the need for explicit redirect_to and https:// in secure links 2011-02-14 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: fixed holds sorting; my-account link redirects to my-account; i18n cleanup 2011-02-14 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: work on myopac fines, displayed in account summary (myopac/main) 2011-02-14 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2: myopac: more complete display of circs, holds, and fines not completely complete. still developing. 2011-02-14 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/header.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2: Move USE * from topnav.tt2 to new header.tt2; also some myopac work Minor progress in myopac/main and myopac/circs 2011-02-14 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/test/mfhd.t: Enable MFHD tests to find their testdata When the MFHD tests wrapped in mfhd.t are invoked from outside of the directory, they tests failed to find the mfhddata.txt file. Judicious use of the __FILE__ special literal and File::Basename::dirname() avoids that problem. Now we just need to munge @INC to ensure that testlib.pm can be resolved (and hope that no conflicts ever turn up). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19442 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-13 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/place_hold.tt2: localization fixed for plac hold UI 2011-02-13 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/results.tt2: template cleanup; localizing strings and mild style tweaks; more to come 2011-02-14 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac-poc/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2: hold placement works better 2011-02-13 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm: moved some code out of the main catloader module into function-specific sub-modules. Note, sub-modules still retain the OpenILS::WWW::EGCatLoader package name to ease subclassing of the top-level loader object 2011-02-13 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/support-scripts/authority_control_fields.pl: Teach authority_control_fields.pl about record ranges Passing --record 10,000 times at the command line sucks, and --all is not particularly realistic for large databases. Adding --start_id and --end_id makes this script more usable. Also provide reasonably full POD documentation, and rely on Pod::Usage to provide help based on it when help is requested or passed in options don't make sense. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19439 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-11 dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm, Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/reporter-schema.sql, Open-ILS/src/sql/Pg/upgrade/0485.schema.reporter_strip_isbns.sql: Normalize ISBNs by stripping hyphens in search methods and in reporter.materialized_simple_record We weren't normalizing ISBNs in search or in reporter.materialized_simple_record which required users to exactly match the form of the ISBN as entered in the MARC record to get a successful search result - pretty hit or miss. The longer term fix in 2.0 and above is to make the ISBN search search against the identifier|isbn index, which also gets ISBN10/ISBN13 equivalence goodness. But this patch will be relatively easy to backport through to 1.6.1 and plugs some of the holes in our exposed APIs and search points in the short term. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19432 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-11 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2: A start with record detail page 2011-02-11 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/Makefile.am: bump xulrunner version git-svn-id: svn://svn.open-ils.org/ILS/trunk@19430 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-11 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/040.schema.asset.sql, Open-ILS/src/sql/Pg/upgrade/0484.sql.pg-90-compat.sql: Postgres 9.0 is more strict about variable names in functions. We will probably hit more of these, but these in particular break the OPAC. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19427 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-10 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: advanced page doesn't need login first 2011-02-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/parts/utils.tt2, Open-ILS/web/templates/default/opac/results.tt2: start using a centrally hard-coded ctx.opac_root 2011-02-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: the user account "dashboard"/mini-myopac works on every page now 2011-02-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: whitespace and minor stuff 2011-02-10 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/libselect.tt2, Open-ILS/web/templates/default/opac/parts/org_selector.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: some progress on the place_hold page; ou selector improvements, etc 2011-02-10 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/login/form.tt2: login form cleanup and implementation of login-failure handling; more to come 2011-02-10 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/I18NFilter.pm, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2: added i18n filter support for translating text blocks via filters; more login form cleanup; moved some global USE's into topnav 2011-02-10 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: added support for login via barcode and persistent logins; capturing login failures; use cache infrastructure for fetching/caching cmf objects 2011-02-10 miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/sql/Pg/002.schema.config.sql, Open-ILS/src/sql/Pg/100.circ_matrix.sql, Open-ILS/src/sql/Pg/110.hold_matrix.sql, Open-ILS/src/sql/Pg/upgrade/0483.dynamic_weights_fix.sql: Patch from Thomas Berezansky addressing his recent dynamic circ/hold field weighting patch. Due to an oversight of auto-casting on my part dynamic weighting may incorrectly order similar rows that differ only in org unit or permission group. Bad me for not testing for that case before now. The attached patch should fix this. All it does is replace two functions, and in them replaces one INT variable with a NUMERIC(6,2) and a pile of integer constants with numeric constants (by virtue of adding .0 to them). git-svn-id: svn://svn.open-ils.org/ILS/trunk@19422 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-09 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/result/filtersort.tt2, Open-ILS/web/templates/default/opac/parts/result/header.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: misc work on the results page, including: hold placement link, result prev/next page links on top and bottom, edition and physical description, add in previously missing filtersort template 2011-02-09 dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/examples/fm_IDL.xml, Open-ILS/web/opac/locale/en-US/lang.dtd, Open-ILS/xul/staff_client/server/serial/editor_base.js, Open-ILS/xul/staff_client/server/serial/manage_items.xul, Open-ILS/xul/staff_client/server/serial/sbsum_editor.js, Open-ILS/xul/staff_client/server/serial/scap_editor.js, Open-ILS/xul/staff_client/server/serial/sdist_editor.js, Open-ILS/xul/staff_client/server/serial/siss_editor.js, Open-ILS/xul/staff_client/server/serial/siss_editor.xul, Open-ILS/xul/staff_client/server/serial/sisum_editor.js, Open-ILS/xul/staff_client/server/serial/sitem_editor.js, Open-ILS/xul/staff_client/server/serial/sssum_editor.js, Open-ILS/xul/staff_client/server/serial/sstr_editor.js, Open-ILS/xul/staff_client/server/serial/ssub_editor.js: Reduce hard-coded strings in Serial Control interfaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@19419 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-09 erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm: allow item status update if either status-specific perm is allowed or UPDATE_COPY is allowed. fire off related A/T events after the initial transaction has been committed git-svn-id: svn://svn.open-ils.org/ILS/trunk@19414 dcc99617-32d9-48b4-a31d-7c20da2025e4 2011-02-09 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm: remove duplicate variable def 2011-02-09 berick <berick@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm: if no locale config is present in oils_web, assume en_US exists and is valid 2011-02-08 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/libselect.tt2, Open-ILS/web/templates/default/opac/parts/marc_misc.tt2, Open-ILS/web/templates/default/opac/parts/result/header.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/results.tt2: hey, maybe I should commit sometime today results page partly working. woof. 2011-02-08 phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> * Open-ILS/xul/staff_client/server/skin/global.css: tweak selector used for font_helper() CSS classes Makes the flat-text MARC editor respect the global font settings, resolving bug https://bugs.launchpad.net/evergreen/+bug/678078 git-svn-id: svn://svn.open-ils.org/ILS/trunk@19411 dcc99617-32d9-48b4-a31d-7c20da2025e4 Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Jason Etheridge <jason@esilibrary.com> 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/templates/default/opac/parts/homesearch.tt2: home page looks like kcls prod version now rather than dev 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/libselect.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2: basic search "works" inasmuch as it leads to a GET request against the results page as it should. not that the results page itself works yet. 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/parts/login/form.tt2: login page working (just for login, not the extras like "remember me") 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/homesearch.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/parts/utils.tt2, Open-ILS/web/templates/default/opac/results.tt2: ctx.media_prefix for all images and css 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/cn_browse.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/libselect.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/header.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2, Open-ILS/web/templates/default/opac/parts/tips.tt2: Render entities as calls to l(). Goodbye DTD 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2: preparing a could of docs for entitization (fix wrong ent references) 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/global_row. tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2, Open-ILS/web/templates/default/kcls-wire/parts/footer.tt2, Open-ILS/web/templates/default/kcls-wire/parts/format_selector.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/item_lang_options.tt 2, Open-ILS/web/templates/default/kcls-wire/parts/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/place_hold.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt 2, Open-ILS/web/templates/default/kcls-wire/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/summary.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/header.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/lowhits.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/table.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/stypes_selector.tt2, Open-ILS/web/templates/default/kcls-wire/parts/tips.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2, Open-ILS/web/templates/default/kcls-wire/place_hold.tt2, Open-ILS/web/templates/default/kcls-wire/record.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2, Open-ILS/web/templates/default/opac-poc/base.tt2, Open-ILS/web/templates/default/opac-poc/common.tt2, Open-ILS/web/templates/default/opac-poc/home.tt2, Open-ILS/web/templates/default/opac-poc/login.tt2, Open-ILS/web/templates/default/opac-poc/marc_attrs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/_links.tt2, Open-ILS/web/templates/default/opac-poc/myopac/bookbags.tt2, Open-ILS/web/templates/default/opac-poc/myopac/circs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/fines.tt2, Open-ILS/web/templates/default/opac-poc/myopac/holds.tt2, Open-ILS/web/templates/default/opac-poc/myopac/main.tt2, Open-ILS/web/templates/default/opac-poc/myopac/prefs.tt2, Open-ILS/web/templates/default/opac-poc/myopac/update_email.tt2, Open-ILS/web/templates/default/opac-poc/place_hold.tt2, Open-ILS/web/templates/default/opac-poc/record.tt2, Open-ILS/web/templates/default/opac-poc/results.tt2, Open-ILS/web/templates/default/opac/advanced.tt2, Open-ILS/web/templates/default/opac/base.tt2, Open-ILS/web/templates/default/opac/common.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/marc_attrs.tt2, Open-ILS/web/templates/default/opac/myopac/_links.tt2, Open-ILS/web/templates/default/opac/myopac/bookbags.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/fines.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/lists.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2, Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2, Open-ILS/web/templates/default/opac/parts/advanced/search.tt2, Open-ILS/web/templates/default/opac/parts/base.tt2, Open-ILS/web/templates/default/opac/parts/cn_browse.tt2, Open-ILS/web/templates/default/opac/parts/footer.tt2, Open-ILS/web/templates/default/opac/parts/format_selector.tt2, Open-ILS/web/templates/default/opac/parts/homesearch.tt2, Open-ILS/web/templates/default/opac/parts/item_lang_options.tt2, Open-ILS/web/templates/default/opac/parts/libselect.tt2, Open-ILS/web/templates/default/opac/parts/login/form.tt2, Open-ILS/web/templates/default/opac/parts/myopac/base.tt2, Open-ILS/web/templates/default/opac/parts/place_hold.tt2, Open-ILS/web/templates/default/opac/parts/record/body.tt2, Open-ILS/web/templates/default/opac/parts/record/cn_details.tt2, Open-ILS/web/templates/default/opac/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/opac/parts/record/extras.tt2, Open-ILS/web/templates/default/opac/parts/record/summary.tt2, Open-ILS/web/templates/default/opac/parts/result/header.tt2, Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2, Open-ILS/web/templates/default/opac/parts/result/table.tt2, Open-ILS/web/templates/default/opac/parts/searchbar.tt2, Open-ILS/web/templates/default/opac/parts/stypes_selector.tt2, Open-ILS/web/templates/default/opac/parts/tips.tt2, Open-ILS/web/templates/default/opac/parts/topnav.tt2, Open-ILS/web/templates/default/opac/parts/utils.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2: Shove the POC out of the way, move the KCLS-derived stuff in 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/css/skin/default/opac/contentslider.css, Open-ILS/web/css/skin/default/opac/semiauto.css, Open-ILS/web/css/skin/default/opac/style.css, Open-ILS/web/opac/skin/kcls-wire/css/contentslider.css, Open-ILS/web/opac/skin/kcls-wire/css/semiauto.css, Open-ILS/web/opac/skin/kcls-wire/css/style.css, Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/place_hold.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/summary.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/table.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: Big move of css, images, js 2011-02-07 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/global_row. tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/place_hold.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt 2, Open-ILS/web/templates/default/kcls-wire/parts/record/summary.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: Remove a ton of javascript. A little more to come 2011-02-04 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/parts/place_hold.tt2, Open-ILS/web/templates/default/kcls-wire/place_hold.tt2: Never got the place_hold page in until just now parts/place_hold.tt2 needs css/js attention already seen by other templates in parts/ 2011-02-04 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/css/semiauto.css, Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/tips.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2: kill a lot of inline styling, add some more js stubs, fix a bug in advanced.tt2 2011-02-04 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2: correct some style= that should be class= 2011-02-04 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/css/semiauto.css, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2: utils changes 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/css/semiauto.css, Open-ILS/web/opac/skin/kcls-wire/css/style.css, Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/record.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: started moving some inline styles into css classes Here's the deal so far: all the inline styles are covered by one class in semiauto.css, but those were created programatically and reflect no understanding of the relationship between the purpose of any given element that's styled and what its style is. These auto-generated styles also are kind of redundant, since with many of them, instead of using the style with a long definition, you could use a combination of smaller styles. The existing markup uses many slightly different style attributes, so there's plenty of stuff like "width: 12", "width: 13", "width: 14", etc, so there's no way to map a lot of this to semantically meaningful names. some of these classes are just going to end up with names like "wide-fourteen" that are no better than inline styles. But others, as we find them manually, can be grouped and renamed into something meaningful, and sometimes style can be put into prexisting id and class definitions. Should be a couple more hours work. semiauto.css reflects progress with the generated classes. changes to style.css reflect early places where style could be moved into pre-existing classes. 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/common.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: move temporary kcls format-icon table from mod_perl to template land 2011-02-03 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/oils_web.xml.example, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/results.tt2: Integrate Locale::Maketext for string translations Added support for configuring supported locales and specifying message catalogs as gettext .po or .mo files. All locales default to native template strings when no translation is provided. Updated oils_web config and added some inline template examples 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js: a thought about the add/remove css funcs 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt 2, Open-ILS/web/templates/default/kcls-wire/record.tt2: JS stubbed out, mostly. See longer commit msg. Here's the deal with JS so far. A few instances of onfocus, onblur, onmouseout, and onmouseover have been left alone, as they're doing simple cosmetic things. A lot of instances of onclick remain, and a couple onchange, but these now either a) just do cosmetic things (hide/unhide) or b) call stubbed out functions prepared in misc.js That doesn't mean we won't still totally rip out lots of this JS, but it leaves us a hint as to what is supposed to happen where. I can easily see us losing track of that later. So anyway, many of the stubbed functions will probably be replaced with purely server side functionality later, but until then, they can serve as a kind of documentation. 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/parts/advanced/global_row. tt2: while the enter-key capturing is around, do it right at least 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2: deal with some onclick handlers, also with broken relative links from myopac/* templates 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: addressed existing onchange handlers 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/summary.tt2: get rid of some onkeydown events handlers, as well as onload and onerror events that aren't for real DOM events, but for dojo-related stuff 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2: Keep the swapTabs() function around only for the advanced search page Other use cases will be replaced with links to actual pages, or otherwise dealt with. 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2: remove __setsortsel() - I think this can be handled in templates later 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2: well, almost all references to dojo were already gone For now i'm leaving alone a lot of instances of jsId attributes; they might serve to remind us later of what some elements are for. 2011-02-03 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2, Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2: all five main parts of their myopac page now it's on to the serious js scrubbing (dojo parts are already gone). this is going to take more than simply removing js in many cases, though, since so much layout is accomplished by means of JS in the kcls skin, especially in regards to subinterfaces and nested tabbiness 2011-02-02 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2: myopac circs page 2011-02-02 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/css/style.css, Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2, Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2: a start to myopac 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2: more whitespace fixing; may seem trivial, but will save a lot of time later in trying to understand what's what 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/parts/adv_global_row.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/global_row. tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced/search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2: more whitespace fixing, reorg, etc. note to self: JS in advanced page 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt 2, Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2, Open-ILS/web/templates/default/kcls-wire/record.tt2: whitespace, syntax, and title fixes 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/record.tt2: forgot this for record 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt 2, Open-ILS/web/templates/default/kcls-wire/parts/record/copyinfo.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2: record more complete 2011-02-01 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login_form.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2, Open-ILS/web/templates/default/kcls-wire/parts/record/summary.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/header.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/lowhits.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result/table.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result_header.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result_lowhits.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result_table.tt2, Open-ILS/web/templates/default/kcls-wire/record.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: Add record page; cleanup and reorg 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/result_lowhits.tt2, Open-ILS/web/templates/default/kcls-wire/parts/results_body.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: results page kinda there 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result_header.tt2, Open-ILS/web/templates/default/kcls-wire/parts/result_table.tt2, Open-ILS/web/templates/default/kcls-wire/parts/results_body.tt2, Open-ILS/web/templates/default/kcls-wire/results.tt2: progress on the results page 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2: a little consolidation, a little linking of new pages to each other 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/login.tt2, Open-ILS/web/templates/default/kcls-wire/parts/login_form.tt2: myopac login form 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/item_lang_options.tt 2: minor missing parts from adv search 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/css/contentslider.css, Open-ILS/web/opac/skin/kcls-wire/css/style.css, Open-ILS/web/opac/skin/kcls-wire/js/misc.js, Open-ILS/web/templates/default/kcls-wire/advanced.tt2, Open-ILS/web/templates/default/kcls-wire/parts/adv_global_row.tt2, Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2: advanced page getting there 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/opac/skin/kcls-wire/js/misc.js: enough super-lite js to make the advanced page with its tabbiness work 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-wire/base.tt2, Open-ILS/web/templates/default/kcls-wire/footer.tt2, Open-ILS/web/templates/default/kcls-wire/format_selector.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/base.tt2, Open-ILS/web/templates/default/kcls-wire/parts/footer.tt2, Open-ILS/web/templates/default/kcls-wire/parts/format_selector.tt2, Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/parts/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/parts/stypes_selector.tt2, Open-ILS/web/templates/default/kcls-wire/parts/tips.tt2, Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/parts/utils.tt2, Open-ILS/web/templates/default/kcls-wire/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/stypes_selector.tt2, Open-ILS/web/templates/default/kcls-wire/tips.tt2, Open-ILS/web/templates/default/kcls-wire/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/utils.tt2: cleanup and reorg parts so far 2011-01-31 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-new/base.tt2, Open-ILS/web/templates/default/kcls-new/footer.tt2, Open-ILS/web/templates/default/kcls-new/home.tt2, Open-ILS/web/templates/default/kcls-new/searchbar.tt2, Open-ILS/web/templates/default/kcls-new/topnav.tt2, Open-ILS/web/templates/default/kcls-new/utils.tt2, Open-ILS/web/templates/default/kcls-wire/base.tt2, Open-ILS/web/templates/default/kcls-wire/footer.tt2, Open-ILS/web/templates/default/kcls-wire/format_selector.tt2, Open-ILS/web/templates/default/kcls-wire/home.tt2, Open-ILS/web/templates/default/kcls-wire/homesearch.tt2, Open-ILS/web/templates/default/kcls-wire/libselect.tt2, Open-ILS/web/templates/default/kcls-wire/searchbar.tt2, Open-ILS/web/templates/default/kcls-wire/stypes_selector.tt2, Open-ILS/web/templates/default/kcls-wire/tips.tt2, Open-ILS/web/templates/default/kcls-wire/topnav.tt2, Open-ILS/web/templates/default/kcls-wire/utils.tt2: kind of have the home page working, minus entity renderin 2011-01-31 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm: moved EGCatLoader to be consistent w/ new perlmod layout 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/bookbags.tt2: initial bookbags stub page 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/results.tt2: minor terminology change 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: report when 0 items to list in circs/holds page 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/myopac/update_email.tt2: added sample update-email operation; cleaned out some debug code 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/web/templates/default/opac/common.tt2, Open-ILS/web/templates/default/opac/home.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/results.tt2: added org selector to search form; added 'loc' param to search next/prev links 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: fixed some cache bugs; added org location/depth search params; added org settings handler 2011-01-30 Bill Erickson <erickson@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGWeb.pm: protect against undef string warnings 2011-01-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: make title/author links on holds page 2011-01-29 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2: minor circs page tweaks: disable renew option when no renewals left; make title/author links 2011-01-28 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/kcls-new/base.tt2, Open-ILS/web/templates/default/kcls-new/footer.tt2, Open-ILS/web/templates/default/kcls-new/home.tt2, Open-ILS/web/templates/default/kcls-new/searchbar.tt2, Open-ILS/web/templates/default/kcls-new/topnav.tt2, Open-ILS/web/templates/default/kcls-new/utils.tt2: beginning of boiling down the home page of the kcls skin 2011-01-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: holds retrieval is a hefty process, created a parallelizer for testing; shows good speed improvemetn on larger batches of holds 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: Show hold statuses 2011-01-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/login.tt2, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/results.tt2: more holds placement work; use http referer as default redirect_to option for login page and post-holds-placement page; when a secure resource is requested, redirect to login page 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/holds.tt2: show kcls-style mat-type images for holds 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/marc_attrs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: format/mat-type start 2011-01-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/place_hold.tt2, Open-ILS/web/templates/default/opac/records.tt2, Open-ILS/web/templates/default/opac/results.tt2, Open-ILS/web/templates/default/opac/welcome.tt2: more holds work; added item form/type/lang maps to list of public access classes; removed some unused test tempates 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/holds.tt2: Holds editing is totally giraffes for the moment 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/common.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/fines.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2: fines summary 2011-01-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/holds.tt2: added perl bits for hold cancel/suspend/activate all/selected w/ sample tempate components 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/_links.tt2: This isn't the time/place for finesse, but these tweaks make development easier 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: ctx.responses was for debugging; don't need it 2011-01-27 senator <lebbeous@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/fines.tt2: some fines display. tweak eg_vhost (IfModule ...) 2011-01-27 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/circs.tt2: added support for reporting renewal responses in the template 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/circs.tt2: initial support for renew all and renew selected, w/ stub template implementation; still some to-do's 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: fix perl sort comparator 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: initial fines list handler 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: don't attempt to load account pages without valid ses and SSL 2011-01-26 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/holds.tt2: show some holds 2011-01-26 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/circs.tt2: show some circs in myopac -> items out 2011-01-26 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac/_links.tt2, Open-ILS/web/templates/default/opac/myopac/circs.tt2, Open-ILS/web/templates/default/opac/myopac/holds.tt2, Open-ILS/web/templates/default/opac/myopac/items_held.tt2, Open-ILS/web/templates/default/opac/myopac/items_out.tt2: Make myopac subpages' names match what bill had in mind 2011-01-26 senator <lebbeous@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/myopac/bookbags.tt2, Open-ILS/web/templates/default/opac/myopac/fines.tt2, Open-ILS/web/templates/default/opac/myopac/items_held.tt2, Open-ILS/web/templates/default/opac/myopac/items_out.tt2, Open-ILS/web/templates/default/opac/myopac/prefs.tt2: myopac primitive framework 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: initial user circulations list call 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: for listing holds, taking advantage of batch retrieve args to reduce data size; added limit/offset to holds list for paging 2011-01-26 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm: added call args to open-ils.circ.hold.details.*.retrieve to allow the caller to scale back the returned data set 2011-01-25 senator <lebbeous@esilibrary.com> * Open-ILS/web/templates/default/opac/myopac.tt2, Open-ILS/web/templates/default/opac/myopac/_links.tt2, Open-ILS/web/templates/default/opac/myopac/main.tt2, Open-ILS/web/templates/default/opac/results.tt2, Open-ILS/web/templates/default/opac/welcome.tt2: starts 2011-01-25 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/common.tt2, Open-ILS/web/templates/default/opac/record.tt2: added generic public object fetch-and-cache routine; added stub holds retrieval, but more to come on that 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/OpenILS/WWW/EGWeb.pm, Open-ILS/web/templates/default/opac/record.tt2, Open-ILS/web/templates/default/opac/results.tt2: path based record display, primitive facet links 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/rdetail.tt2, Open-ILS/web/templates/default/opac/record.tt2: path based record display, primitive facet links 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/rdetail.tt2: repaired subject rending on detail page 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/web/templates/default/opac/results.tt2: use path-based bib IDs instead of GET params 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGWeb.pm: move template finder in front of context loader, so that context loader has access to path-based page arguments 2011-01-21 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGWeb.pm: don't muck w/ media_prefix if it's unset 2011-01-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: better call parallization 2011-01-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: use a single cache var instead of polluting with a series of global cache variables; protect against search calls that return an exception 2011-01-20 Bill Erickson <berick@esilibrary.com> * Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm: protect against empty search results 2011-01-19 Bill Erickson <berick@esilibrary.com> * Open-ILS/web/templates/default/opac/results.tt2: use explicit odd/even classes since some browsers don't support css3 odd/even selector 2011-01-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/oils_web.xml.example, Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm, Open-ILS/src/perlmods/OpenILS/WWW/EGWeb.pm, Open-ILS/web/templates/default/opac/rdetail.tt2, Open-ILS/web/templates/default/opac/results.tt2: make better use of media_prefix; only apply ses cookie in secure context; updated docs 2011-01-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf: added sample cache-killer for tt opac for development purposes 2011-01-18 Bill Erickson <berick@esilibrary.com> * Open-ILS/examples/apache/eg_vhost.conf, Open-ILS/examples/oils_web.xml.example: added the default config options for running the tt opac. only the eg_vhost change is needed 2011-01-18 Bill Erickson <berick@esilibrary.com> * Proof of concept Template-Toolkit OPAC