]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
13 years agoAdd Developer Instructions section, like the OpenSRF README, per tsbere's suggestion
dbs [Thu, 29 Jul 2010 16:23:21 +0000 (16:23 +0000)]
Add Developer Instructions section, like the OpenSRF README, per tsbere's suggestion

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17053 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBuild a threadsafe libjs so that JavaScript::SpiderMonkey can be threadsafe
dbs [Thu, 29 Jul 2010 02:56:48 +0000 (02:56 +0000)]
Build a threadsafe libjs so that JavaScript::SpiderMonkey can be threadsafe

Thomas Berezansky <tsbere@mvlc.org> reported problems building
JavaScript::SpiderMonkey on 64-bit Ubuntu and offered some
patches to build it without -JS_THREADSAFE. The real problem, however,
was that libjs was not itself being built with the JS_THREADSAFE
option.

Enabling the JS_THREADSAFE option pulls in the requirement of
the nspr4-dev package on Ubuntu and Debian.

Tested on 64-bit Ubuntu Lucid and 64-bit Debian Lenny. 64-bit Fedora 13
worked previously because it uses the packaged version of libjs - which
was already built with the JS_THREADSAFE option.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17052 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from Jason Stephenson:
miker [Thu, 29 Jul 2010 00:55:52 +0000 (00:55 +0000)]
Patch from Jason Stephenson:

The patch adds (BinaryEncoding => 'UTF-8') wherever MARC::File::XML is used in the database
PgPerl functions where it is not already being done. This stops the functions like
maintain_control_number() from trying to convert records from MARC8 to UTF-8 and blowing up,
when the records are already UTF-8.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17051 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoSyntax error in serials schema file.
senator [Wed, 28 Jul 2010 15:51:35 +0000 (15:51 +0000)]
Syntax error in serials schema file.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17049 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agodocumentation for facet value retrieve method
miker [Wed, 28 Jul 2010 14:37:00 +0000 (14:37 +0000)]
documentation for facet value retrieve method

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17048 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomiddle layer support and client-side utility function. missing messagecat for missin...
phasefx [Tue, 27 Jul 2010 22:33:34 +0000 (22:33 +0000)]
middle layer support and client-side utility function.  missing messagecat for missing pieces dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17047 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agosince we're re-circulating to previous patrons sometimes as a poor man's check-in...
phasefx [Tue, 27 Jul 2010 22:33:10 +0000 (22:33 +0000)]
since we're re-circulating to previous patrons sometimes as a poor man's check-in undo, give us the power to turn off these fee-generating features.  berick++

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17046 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoflesh out scan item as missing pieces dialog
phasefx [Tue, 27 Jul 2010 22:33:01 +0000 (22:33 +0000)]
flesh out scan item as missing pieces dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17045 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoentry point and function stub for Mark Item as Missing Pieces
phasefx [Tue, 27 Jul 2010 22:32:56 +0000 (22:32 +0000)]
entry point and function stub for Mark Item as Missing Pieces
entry point for scanning item as missing pieces and stub dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17044 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoput these command elements into the overlay, closer to where they're being used
phasefx [Tue, 27 Jul 2010 22:32:53 +0000 (22:32 +0000)]
put these command elements into the overlay, closer to where they're being used

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17043 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPrevent years in "New Fund" dialog from being displayed with a comma separator
dbs [Tue, 27 Jul 2010 21:34:43 +0000 (21:34 +0000)]
Prevent years in "New Fund" dialog from being displayed with a comma separator

Also limit to a seemingly reasonable range of 2000 - 2200 for the year

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17042 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoReverse dojo.mixin() order in AutoFieldWidget to favour passed-in constraints; otherw...
dbs [Tue, 27 Jul 2010 21:27:24 +0000 (21:27 +0000)]
Reverse dojo.mixin() order in AutoFieldWidget to favour passed-in constraints; otherwise we stomp them

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17041 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoMerge Dan Wells' changes to the serial schema from the
scottmk [Tue, 27 Jul 2010 17:27:01 +0000 (17:27 +0000)]
Merge Dan Wells' changes to the serial schema from the
seials-integration branch.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0352.schema.serials-integration.sql
M    Open-ILS/src/sql/Pg/210.schema.serials.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17039 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoWe require Buttons on this form. Continuing the good work senator started.
dbs [Tue, 27 Jul 2010 03:29:19 +0000 (03:29 +0000)]
We require Buttons on this form. Continuing the good work senator started.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17038 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agotweak hold "status" for canceled holds. And one whitespace fix
phasefx [Mon, 26 Jul 2010 18:09:10 +0000 (18:09 +0000)]
tweak hold "status" for canceled holds.  And one whitespace fix

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17035 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoNew table: actor.usr_saved_search
scottmk [Mon, 26 Jul 2010 16:18:09 +0000 (16:18 +0000)]
New table: actor.usr_saved_search

M    Open-ILS/src/sql/Pg/005.schema.actors.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0351.schema.usr_saved_search.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17034 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoimprove description of VIEW_PERMIT_CHECKOUT and VIEW_HOLD_PERMIT permissions
gmc [Mon, 26 Jul 2010 14:09:07 +0000 (14:09 +0000)]
improve description of VIEW_PERMIT_CHECKOUT and VIEW_HOLD_PERMIT permissions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17033 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoMention oils_web.xml in the README
dbs [Mon, 26 Jul 2010 13:15:11 +0000 (13:15 +0000)]
Mention oils_web.xml in the README

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17032 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoUpdate README and prereq installer for Evergreen trunk:
dbs [Mon, 26 Jul 2010 12:50:22 +0000 (12:50 +0000)]
Update README and prereq installer for Evergreen trunk:

  * Favour PostgreSQL 8.4
  * Add ISN contrib
  * Update Dojo to 1.3.3
  * Add Ubuntu Lucid as a target
  * Remove Gentoo support (until we have a volunteer)
  * Remove Ubuntu Karmic support (can add back in at release time if warranted)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17031 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAdd procedure action.apply_fieldset.
scottmk [Fri, 23 Jul 2010 17:38:40 +0000 (17:38 +0000)]
Add procedure action.apply_fieldset.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0350.schema.action-apply-fieldset.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17030 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoForward-port r17024: include null fields, via .toStoreItem(), when creating a permiss...
miker [Fri, 23 Jul 2010 17:21:24 +0000 (17:21 +0000)]
Forward-port r17024: include null fields, via .toStoreItem(), when creating a permission map store item

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17027 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agologic error preventing deletion of addresses in patron editor
phasefx [Fri, 23 Jul 2010 16:18:58 +0000 (16:18 +0000)]
logic error preventing deletion of addresses in patron editor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17023 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agosupport printing of stat cats and surveys from patron editor
phasefx [Fri, 23 Jul 2010 15:57:51 +0000 (15:57 +0000)]
support printing of stat cats and surveys from patron editor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17022 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agolog the IP address of the connecting client
erickson [Fri, 23 Jul 2010 14:36:34 +0000 (14:36 +0000)]
log the IP address of the connecting client

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17021 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAcq: revert something I didn't mean in r17013
senator [Thu, 22 Jul 2010 21:43:27 +0000 (21:43 +0000)]
Acq: revert something I didn't mean in r17013

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17017 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAdded option to link a (freerange) lineitem to a catalog
erickson [Thu, 22 Jul 2010 21:39:33 +0000 (21:39 +0000)]
Added option to link a (freerange) lineitem to a catalog
record via simple pop-up search page.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17016 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofixed bug in related lineitems page where it was attempting to fetch the bib record...
erickson [Thu, 22 Jul 2010 21:39:32 +0000 (21:39 +0000)]
fixed bug in related lineitems page where it was attempting to fetch the bib record based on the lineitem id

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17015 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobug #608937: make barcode search from main patron search form case-insensitive
gmc [Thu, 22 Jul 2010 21:37:59 +0000 (21:37 +0000)]
bug #608937: make barcode search from main patron search form case-insensitive

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17014 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAcq: attempt to fix issue where adding copies in an LI table's copies
senator [Thu, 22 Jul 2010 21:33:32 +0000 (21:33 +0000)]
Acq: attempt to fix issue where adding copies in an LI table's copies
interface, then returning to the table view, then going back to copies
doesn't show the most recent saved changes.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17013 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAcq: always show "add to new selection list" / "create new PO" buttons in
senator [Thu, 22 Jul 2010 20:59:52 +0000 (20:59 +0000)]
Acq: always show "add to new selection list" / "create new PO" buttons in
related lineitems interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17012 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoupgrade script and version bump for r17007
miker [Thu, 22 Jul 2010 01:03:33 +0000 (01:03 +0000)]
upgrade script and version bump for r17007

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17008 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoretain the indicators on located uri 856 merge during asset merge; update script...
miker [Thu, 22 Jul 2010 00:58:49 +0000 (00:58 +0000)]
retain the indicators on located uri 856 merge during asset merge; update script and backporting to come

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17007 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadded an 'Add Brief Record' button to the PO interface, which is visible when there...
erickson [Wed, 21 Jul 2010 21:35:50 +0000 (21:35 +0000)]
added an 'Add Brief Record' button to the PO interface, which is visible when there are no lineitems on an existing PO.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17006 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd collection code as non-i18n version of shelving location
erickson [Wed, 21 Jul 2010 21:17:00 +0000 (21:17 +0000)]
add collection code as non-i18n version of shelving location

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17005 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agopushed view-in-catalog link up to the main lineitem display.
erickson [Wed, 21 Jul 2010 21:16:59 +0000 (21:16 +0000)]
pushed view-in-catalog link up to the main lineitem display.
moved pl/po/worksheet/catalog links to a row of their own for a more consistent location (visually).
replaced 'PO:' 'PL:' with small icons to easier catch the eye;
added 'worksheet' tag to the worksheet icon for clarity
TODO: plug in bib discovery and linking mechanism for freerange lineitems

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17004 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoprotect acn, acp and auri from our $lib faking
miker [Wed, 21 Jul 2010 20:06:56 +0000 (20:06 +0000)]
protect acn, acp and auri from our $lib faking

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17002 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd parameter support to acn, acp and auri unapi axes
miker [Wed, 21 Jul 2010 19:58:44 +0000 (19:58 +0000)]
add parameter support to acn, acp and auri unapi axes

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17001 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd copy_circ_lib and copy_owning_lib to circ matrix matchpoints, closer one (if...
miker [Wed, 21 Jul 2010 18:17:23 +0000 (18:17 +0000)]
add copy_circ_lib and copy_owning_lib to circ matrix matchpoints, closer one (if both are set) is more important to the ordering

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17000 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoimprove documentation of macros available to receipt templates
gmc [Wed, 21 Jul 2010 16:00:53 +0000 (16:00 +0000)]
improve documentation of macros available to receipt templates

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16999 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoindex which /greatly/ speeds collection of pending active events
miker [Wed, 21 Jul 2010 15:36:52 +0000 (15:36 +0000)]
index which /greatly/ speeds collection of pending active events

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16995 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoTwo new tables in action schema: fieldset and fieldset_col_val.
scottmk [Wed, 21 Jul 2010 15:07:04 +0000 (15:07 +0000)]
Two new tables in action schema: fieldset and fieldset_col_val.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/999.functions.global.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0346.schema.action-fieldset.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16994 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoset truncation to 1 for all biblios.net Z39.50 attributes
gmc [Tue, 20 Jul 2010 22:36:06 +0000 (22:36 +0000)]
set truncation to 1 for all biblios.net Z39.50 attributes

Thanks to Anoop Atre for spotting the problem.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16993 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agologin just before starting work and log out after each request is handled. this...
erickson [Tue, 20 Jul 2010 21:16:00 +0000 (21:16 +0000)]
login just before starting work and log out after each request is handled.  this is removes the need to check for bad authtokens and re-login mid-process

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16992 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoflush the xmpp socket before attempting to process new marc stream requests
erickson [Tue, 20 Jul 2010 21:16:00 +0000 (21:16 +0000)]
flush the xmpp socket before attempting to process new marc stream requests

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16991 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadded support for selecting individual copy statuses that will prevent checkout at...
erickson [Tue, 20 Jul 2010 21:15:59 +0000 (21:15 +0000)]
added support for selecting individual copy statuses that will prevent checkout at self-check even when the generic copy_not_available event has been overridden to allow for non-standard copy circs from selfcheck.  TODO: ui for managing the list

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16990 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from John Craig providing a saner timestamp cleansing setup for backdated circs
miker [Tue, 20 Jul 2010 19:54:38 +0000 (19:54 +0000)]
Patch from John Craig providing a saner timestamp cleansing setup for backdated circs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16986 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobackporting r16982: use the correct table and field, caught by Doug Kyle and reported...
miker [Tue, 20 Jul 2010 15:58:48 +0000 (15:58 +0000)]
backporting r16982: use the correct table and field, caught by Doug Kyle and reported via IRC

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16985 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomd5 module is deprecated; move to hashlib
erickson [Tue, 20 Jul 2010 12:58:13 +0000 (12:58 +0000)]
md5 module is deprecated;  move to hashlib

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16981 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agouse abs() to get page number in either direction
miker [Mon, 19 Jul 2010 19:03:20 +0000 (19:03 +0000)]
use abs() to get page number in either direction

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16980 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agouse LEFT JOIN to allow a single query to count copies per circ mod
miker [Mon, 19 Jul 2010 15:06:59 +0000 (15:06 +0000)]
use LEFT JOIN to allow a single query to count copies per circ mod

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16979 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoupdated default estimated hold wait display to handle seconds instead of days returne...
erickson [Mon, 19 Jul 2010 14:06:35 +0000 (14:06 +0000)]
updated default estimated hold wait display to handle seconds instead of days returned by the ML API call.  TODO, consider if/how to handle sub-day intervals

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16978 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agowhen calculating estimed hold wait time, don't ignore copies that have no circ modifier
erickson [Mon, 19 Jul 2010 14:06:34 +0000 (14:06 +0000)]
when calculating estimed hold wait time, don't ignore copies that have no circ modifier

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16977 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agorepaired sql syntax for upgrade log commit
erickson [Mon, 19 Jul 2010 12:47:02 +0000 (12:47 +0000)]
repaired sql syntax for upgrade log commit

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16975 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoput the null return back, in case that is important on the client side
miker [Sun, 18 Jul 2010 14:44:18 +0000 (14:44 +0000)]
put the null return back, in case that is important on the client side

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16973 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoremove ingest service call from authority import thanks to in-db ingest of auth by...
miker [Sun, 18 Jul 2010 00:21:09 +0000 (00:21 +0000)]
remove ingest service call from authority import thanks to in-db ingest of auth by dbs; send final message with total and count processed; send record counts at most every 3%; rearrange queue cleanup code to aviod needless rollback and cover all queues, not just the first one we test

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16972 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoTeach marc2sre.pl MFHD record ingest script to read a mapping of library names to...
dbs [Sat, 17 Jul 2010 20:53:55 +0000 (20:53 +0000)]
Teach marc2sre.pl MFHD record ingest script to read a mapping of library names to OU IDs

The past approach required workarounds that weren't fun for a library
without in-house scripting expertise; this provides a straightforward
mapping approach with docs and a working sample. Which should be helpful
for all of the libraries that will go with the MFHD serials approach in
the future. Heh.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16971 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoSwitch to ingesting authority records automatically via database triggers
dbs [Sat, 17 Jul 2010 20:51:15 +0000 (20:51 +0000)]
Switch to ingesting authority records automatically via database triggers

Taken largely from the existing approach for ingesting biblio records,
there is some duplication here that we could genericize. But for now,
we'll go with the working-but-separate approach to avoid introducing
badness into the relatively stable biblio ingest pipeline.

Also, move some of the existing authority-related functions out of
the metabib schema file and into 999.functions.global.sql.

Finally, the direct_ingest.pl script is no longer necessary for
ingest of authority records, either, so die in that case as well.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16970 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoFix schema creation breakage. Damn you dangling commas.
dbs [Sat, 17 Jul 2010 20:45:08 +0000 (20:45 +0000)]
Fix schema creation breakage. Damn you dangling commas.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16969 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd seed for COPY_NEEDED_FOR_HOLD.override permission
gmc [Fri, 16 Jul 2010 20:38:38 +0000 (20:38 +0000)]
add seed for COPY_NEEDED_FOR_HOLD.override permission

Being careful during the upgrade since a fair number of
EG database in the wild had this one added manually.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16968 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoIt is important to update the upgrade_log to prevent collisions and such.
dbs [Fri, 16 Jul 2010 19:55:37 +0000 (19:55 +0000)]
It is important to update the upgrade_log to prevent collisions and such.

Updating config.upgrade_log to 0340.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16967 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoreturn NULL terminator to indicate successful read; fixed typo
erickson [Fri, 16 Jul 2010 19:02:37 +0000 (19:02 +0000)]
return NULL terminator to indicate successful read; fixed typo

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16966 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoget rid of the chrome instantiated sound object so it's every interface for itself...
phasefx [Fri, 16 Jul 2010 18:28:27 +0000 (18:28 +0000)]
get rid of the chrome instantiated sound object so it's every interface for itself, and have remote xul load server/skin/custom.js instead of chrome

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16965 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomake --timeout actually work if setting a timeout > 60 seconds
gmc [Fri, 16 Jul 2010 15:53:14 +0000 (15:53 +0000)]
make --timeout actually work if setting a timeout > 60 seconds

Also remove ersatz XML declarations so that XML output
is well-formed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16964 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoserial.record_entry already had an owner column spelled "owning_lib"
dbs [Fri, 16 Jul 2010 15:23:15 +0000 (15:23 +0000)]
serial.record_entry already had an owner column spelled "owning_lib"

Adjust the table and affected function accordingly

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16963 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAdd the new owner column to the are object in the IDL
dbs [Fri, 16 Jul 2010 14:56:46 +0000 (14:56 +0000)]
Add the new owner column to the are object in the IDL

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16962 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agorearrange while loop to prevent error: Can't 'last' outside a loop block
erickson [Fri, 16 Jul 2010 13:57:15 +0000 (13:57 +0000)]
rearrange while loop to prevent error: Can't 'last' outside a loop block

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16956 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd --timeout switch to marc_export
gmc [Fri, 16 Jul 2010 13:41:53 +0000 (13:41 +0000)]
add --timeout switch to marc_export

Provides way to export bibs with holdings
that have a large number of copies attached.  Default
timeout remains 1 second when exporting bibs; increased
to 300 seconds when exporting holdings based on
empirical tests on a big database.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16955 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agowhitespace consistency improvements
gmc [Fri, 16 Jul 2010 13:25:06 +0000 (13:25 +0000)]
whitespace consistency improvements

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16954 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agouse a left join instead of -not-exists for anti-join -- much faster for large nullabl...
miker [Fri, 16 Jul 2010 02:37:24 +0000 (02:37 +0000)]
use a left join instead of -not-exists for anti-join -- much faster for large nullable-side sets in this case

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16953 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoThis should have been part of r16946. Now the TranslatorPopup works in the
senator [Thu, 15 Jul 2010 22:01:29 +0000 (22:01 +0000)]
This should have been part of r16946.  Now the TranslatorPopup works in the
Copy Location Editor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16952 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoHave open-ils.circ.circulation.due_date.update return the circ instead of the circ...
phasefx [Thu, 15 Jul 2010 21:34:21 +0000 (21:34 +0000)]
Have open-ils.circ.circulation.due_date.update return the circ instead of the circ id so that modified rows in Items Out refresh correctly, and have Items Out -> Edit Due Date, -> Renew with Specific Date, and -> Mark Claimed Returned use the date/timepicker dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16951 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomore configuration options for date/timepicker dialog, and use that dialog with staff...
phasefx [Thu, 15 Jul 2010 21:34:16 +0000 (21:34 +0000)]
more configuration options for date/timepicker dialog, and use that dialog with staff editing of hold thaw date and expire time

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16950 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agowrong variable; could refresh the wrong rows
phasefx [Thu, 15 Jul 2010 21:34:09 +0000 (21:34 +0000)]
wrong variable; could refresh the wrong rows

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16949 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoallow open-ils.circ.hold.update.batch to apply nulls to fields
phasefx [Thu, 15 Jul 2010 21:34:06 +0000 (21:34 +0000)]
allow open-ils.circ.hold.update.batch to apply nulls to fields

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16948 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadd copy circ lib to alternative item details view
phasefx [Thu, 15 Jul 2010 21:34:02 +0000 (21:34 +0000)]
add copy circ lib to alternative item details view

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16947 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomake openils.widget.TranslatorPopup a little more environment-agnostic
senator [Thu, 15 Jul 2010 21:19:24 +0000 (21:19 +0000)]
make openils.widget.TranslatorPopup a little more environment-agnostic

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16946 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoARG! Missed a semicolon. Perl, be like JS and make them optional. On second thought...
miker [Thu, 15 Jul 2010 20:27:18 +0000 (20:27 +0000)]
ARG! Missed a semicolon. Perl, be like JS and make them optional.  On second thought do not be like JS in any way.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16945 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoreturn # of imported and failed records to the caller
erickson [Thu, 15 Jul 2010 20:10:10 +0000 (20:10 +0000)]
return # of imported and failed records to the caller

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16943 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoProtect authority records from real deletion and add a "merge authorities" function
dbs [Thu, 15 Jul 2010 19:22:19 +0000 (19:22 +0000)]
Protect authority records from real deletion and add a "merge authorities" function

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16942 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agocompanion to "browse", which drops you into the middle of a list centered on your...
miker [Thu, 15 Jul 2010 17:17:53 +0000 (17:17 +0000)]
companion to "browse", which drops you into the middle of a list centered on your input, "startwith" browses only from your input on

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16941 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoDelete links to deleted bib records as part of biblio.indexing_ingest_or_delete()
dbs [Thu, 15 Jul 2010 15:50:58 +0000 (15:50 +0000)]
Delete links to deleted bib records as part of biblio.indexing_ingest_or_delete()

Moves authority.bib_linking cleanup from the special case
of merging bib record assets to the general case of deleting bib records

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16940 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobug 605921: fix bib search hang on queries like "title ; subtitle"
gmc [Thu, 15 Jul 2010 15:15:43 +0000 (15:15 +0000)]
bug 605921: fix bib search hang on queries like "title ; subtitle"

More generally, the fix avoids a to_tsquery exception in cases
where a search term is normalized away to the empty string.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16939 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobug 605884: make MARC expert search of control fields work
gmc [Thu, 15 Jul 2010 13:52:06 +0000 (13:52 +0000)]
bug 605884: make MARC expert search of control fields work

Allows users to search on the 001 and 003 fields, for example.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16938 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoasset.merge_record_assets() needs auth_link declaration (was in upgrade script)
dbs [Thu, 15 Jul 2010 10:24:44 +0000 (10:24 +0000)]
asset.merge_record_assets() needs auth_link declaration (was in upgrade script)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16937 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoOn second thought, delete authority links pointing to stale bib records
dbs [Thu, 15 Jul 2010 10:22:17 +0000 (10:22 +0000)]
On second thought, delete authority links pointing to stale bib records

This avoids the overhead of updating controlled fields in deleted bib records.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16936 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoTeach assets.merge_record_assets() to also merge authority->bib links
dbs [Thu, 15 Jul 2010 09:35:27 +0000 (09:35 +0000)]
Teach assets.merge_record_assets() to also merge authority->bib links

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16935 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAuthority records get some fixed-field love in the MARC Editor
dbs [Wed, 14 Jul 2010 21:08:32 +0000 (21:08 +0000)]
Authority records get some fixed-field love in the MARC Editor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16934 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoCSS makes things visible, or not. Display the nascent MFHD fixed-field editor.
dbs [Wed, 14 Jul 2010 19:41:56 +0000 (19:41 +0000)]
CSS makes things visible, or not. Display the nascent MFHD fixed-field editor.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16933 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoWhen returning a list of bind variables: If a default_ or actual_value
scottmk [Wed, 14 Jul 2010 18:55:05 +0000 (18:55 +0000)]
When returning a list of bind variables: If a default_ or actual_value
is undefined for a given variable, leave it out of the JSON object
altogether, rather than create an entry with a JSON null for it.

That way the client can distinguish between an undefined value and
a value defined as null.

M    Open-ILS/src/c-apps/buildSQL.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16932 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoSet the 004 of the new MFHD record to the ID of the targeted bib record
dbs [Wed, 14 Jul 2010 15:14:01 +0000 (15:14 +0000)]
Set the 004 of the new MFHD record to the ID of the targeted bib record

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16930 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoIn theory, this would be a step towards MFHD records in the editor looking saner.
dbs [Wed, 14 Jul 2010 15:06:57 +0000 (15:06 +0000)]
In theory, this would be a step towards MFHD records in the editor looking saner.

In practice, the BKS fixed fields are hidden. Sadly, the leader values
for the MFHD record are not displayed either.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16929 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agovalidate.tag.id_list: Return an empty list instead of 0 in the case of no matching...
dbs [Wed, 14 Jul 2010 12:07:19 +0000 (12:07 +0000)]
validate.tag.id_list: Return an empty list instead of 0 in the case of no matching records

This makes it a little easier to handle cases where there was no match,
rather than having to check to see if we have a scalar or a reference
to a list.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16927 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoImprove auto-authority-control processing script:
dbs [Wed, 14 Jul 2010 09:50:16 +0000 (09:50 +0000)]
Improve auto-authority-control processing script:
  * Prevent duplicate $0 subfields from being generated by multiple runs
  * Provide more bib field/subfield -> auth field/subfield mappings
  * Protect against missing bib->auth maps
  * Correct --all option to actually retrieve all undeleted records

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16926 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBe more relaxed about what we receive in Vandelay (a bad LDR/09 need not lead to...
dbs [Tue, 13 Jul 2010 22:09:19 +0000 (22:09 +0000)]
Be more relaxed about what we receive in Vandelay (a bad LDR/09 need not lead to complete misery)

If MARC::File::XML->as_xml_record() receives a record with anything other
than 'a' in LDR/09 position, it will try to run a MARC8-to-UTF8 conversion
on the record - even though the source file itself was XML and clearly
couldn't have been MARC8.

This code corrects the leader on the fly so that MARC::File::XML won't
try to convert it and throw a "wide character" warning, but the fix
means that something was wrong with the leader to begin with, so we also
write a warning to the log about the situation.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16925 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoremove even more namespace prefixes ... take THAT, IE!
miker [Tue, 13 Jul 2010 20:27:45 +0000 (20:27 +0000)]
remove even more namespace prefixes ... take THAT, IE!

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16924 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoRelax bib type parsing a little and allow spaces (like the comments promised)
dbs [Tue, 13 Jul 2010 20:12:14 +0000 (20:12 +0000)]
Relax bib type parsing a little and allow spaces (like the comments promised)

Also fix a few drive-by typos

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16923 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoQstore: support LIMIT and OFFSET clauses.
scottmk [Tue, 13 Jul 2010 20:10:37 +0000 (20:10 +0000)]
Qstore: support LIMIT and OFFSET clauses.

Also: add some links to the IDL, that should have been there
in the first place.

M    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_storedq.c
M    Open-ILS/src/c-apps/buildSQL.c
M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/008.schema.query.sql
A    Open-ILS/src/sql/Pg/upgrade/0336.schema.query-limit-offset-fkey.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16922 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoMake maintain_901() more robust in the presence of namespaces
dbs [Tue, 13 Jul 2010 19:03:41 +0000 (19:03 +0000)]
Make maintain_901() more robust in the presence of namespaces

Some records manage to get XML namespace declarations into each element,
like <datafield xmlns:marc="http://www.loc.gov/MARC21/slim"

This broke the old maintain_901(), so we'll make the regex more robust

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16919 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoStub script for adding authority control to an existing set of bibs
dbs [Tue, 13 Jul 2010 15:56:33 +0000 (15:56 +0000)]
Stub script for adding authority control to an existing set of bibs

The goal of this script is to iterate over every bib record listed at
the command line (or --all) and check every controlled bib field for
matching subfield combinations in authority records. This is going to
be slow, friends, but for this iteration we're looking at paying a
one-time cost; after that, controlled fields will automatically be
maintained by triggers on the authority.record_entry tables.

The bib field-to-auth field mapping needs to be fleshed out (should
be comparable to the mapping in marcedit.js) and floating subdivisions
still need to be controlled. Probably in a separate pass over the bibs,
given the current "design".

We extend open-ils.s*.authority.validate.tag to offer an id_list() variant
so that we can get the corresponding authority record ID back from the
call, instead of just a count.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16918 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAdd limit_count and offset_count columns to query.stored_query table.
scottmk [Tue, 13 Jul 2010 12:44:49 +0000 (12:44 +0000)]
Add limit_count and offset_count columns to query.stored_query table.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/008.schema.query.sql
A    Open-ILS/src/sql/Pg/upgrade/0334.schema.query-limit-offset.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16917 dcc99617-32d9-48b4-a31d-7c20da2025e4