evergreen-equinox.git
13 years agoMerge branch 'kcls-opac-black-death' into w-issuance-holds w-issuance-holds
senator [Wed, 22 Dec 2010 14:58:56 +0000]
Merge branch 'kcls-opac-black-death' into w-issuance-holds

13 years agoMerge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen...
senator [Wed, 22 Dec 2010 14:57:52 +0000]
Merge branch 'master' of ssh://senator@yeti.esilibrary.com/home/evergreen/evergreen-equinox into kcls-opac-black-death

13 years agoAcq: support manual claiming as always intended, which to some users means
senator [Tue, 21 Dec 2010 23:10:42 +0000]
Acq: support manual claiming as always intended, which to some users means
claiming with no predefined policy

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

13 years agoFor making predictions, remove some debug/dead code, refresh the list.
dbwells [Tue, 21 Dec 2010 23:09:25 +0000]
For making predictions, remove some debug/dead code, refresh the list.

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

13 years ago'Bindery' item status rethink - this status should eventually be tracked at the unit...
dbwells [Tue, 21 Dec 2010 22:54:15 +0000]
'Bindery' item status rethink - this status should eventually be tracked at the unit level, not the item level.

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

13 years agoAdd line feeds to the output of org_tree_proximity.pl
dbs [Tue, 21 Dec 2010 20:51:23 +0000]
Add line feeds to the output of org_tree_proximity.pl

When another routine was appended to autogen.sh, the output
was appended to the result string returned from org_tree_proximity.pl;
adding a linefeed cleans that up.

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

13 years agoPropagate merged authority record change to bibliographic record
dbs [Tue, 21 Dec 2010 20:21:58 +0000]
Propagate merged authority record change to bibliographic record

Launchpad bug 688015 reported that the merge of authority records
resulted in the control number identifier in a controlled field
in a bibliographic record changing to the right value, but the
value of the field itself wasn't being changed.

The problem turned out to be a confusion of the "source" and
"target" values in the authority.merge_record() function. Once
that was straightened out, the merge updated the controlled
field as expected.

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

13 years agoAcq: Fix a bug where upon PO activation, lineitems in the order-ready state
senator [Tue, 21 Dec 2010 19:37:18 +0000]
Acq: Fix a bug where upon PO activation, lineitems in the order-ready state
would stay there, rather than progressing to the on-order state

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

13 years agoprotect against null orig-location resulting in depth=-1 searches after logout
erickson [Mon, 20 Dec 2010 18:13:44 +0000]
protect against null orig-location resulting in depth=-1 searches after logout

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

13 years agoAcq: In fund propagation and rollover, add amounts as numbers, not strings
senator [Mon, 20 Dec 2010 17:37:40 +0000]
Acq: In fund propagation and rollover, add amounts as numbers, not strings

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

13 years agosync naco_normalize versions
gmc [Mon, 20 Dec 2010 16:30:18 +0000]
sync naco_normalize versions

The copy in FTS.pm now matches the stored procedure, avoiding
a potential bug validating authorized headings that contain
diacritics.

Also added FIXME for the code-duplication.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoAdd an "Apply full authority" option to the MARC editor
dbs [Mon, 20 Dec 2010 04:38:35 +0000]
Add an "Apply full authority" option to the MARC editor

By definition, the only subfields that should be applied from an
authority record to a bibliographic record are the complete set
from the 1XX field of the authority record. So, rather than forcing
the user to select the correct subfields from the chosen authority
record, give them this handy shortcut to do the right thing.

Also, add copyright / licensing header - hopefully accurate.

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

13 years agoinitial openils python srfsh plugin; adds suport for 'login' (which behaves the same...
erickson [Mon, 20 Dec 2010 02:48:32 +0000]
initial openils python srfsh plugin; adds suport for 'login' (which behaves the same as srfsh.c), 'org_setting', and 'idl show class' commands, though the latter 2 are largely proofs of concept and are likely to evolve.  TODO: srfsh -> support command help docs during command insert

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

13 years agoadded a simple stringifierr for IDLClass and IDLField; capture 'class' in links
erickson [Mon, 20 Dec 2010 02:38:45 +0000]
added a simple stringifierr for IDLClass and IDLField; capture 'class' in links

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

13 years agoDisplay the tag and indicators for authority records in the merge box
dbs [Sat, 18 Dec 2010 06:25:00 +0000]
Display the tag and indicators for authority records in the merge box

Also, avoid the risk of creating or stomping on global variables by
using 'var' to declare our variables.

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

13 years agoDisplay the tag of the displayed authority record in MARC Editor context
dbs [Sat, 18 Dec 2010 05:12:50 +0000]
Display the tag of the displayed authority record in MARC Editor context

We currently display both 1xx and 5xx fields in the authority record,
but do not display the tag. This can lead to some confusion when a 5xx
field is actually present. Ergo, show the tag to disambiguate the fields
in the authority browse selection interface.

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

13 years agoProvide starting context for authority browse in MARC Editor context menu
dbs [Sat, 18 Dec 2010 04:47:14 +0000]
Provide starting context for authority browse in MARC Editor context menu

Using the browse interface instead of startwith provides a first page
of results that shows some of the authority entries that precede the
first alphabetical match for the chosen term. Context is good.

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

13 years agoAcq: Tracked down a small but subtle bug with the Holding Subfield tab of
senator [Fri, 17 Dec 2010 19:26:05 +0000]
Acq: Tracked down a small but subtle bug with the Holding Subfield tab of
the Provider editor interface.

We apparently have a global variable "name" defined somewhere which, when
assigned in place of an overrideWidget for an AutoGrid thanks to some vestigial
code, ultimately causes an error from within AutoFieldWidget, if you're using
the staff client.  That's because name is the string "browser_browser" in the
staff client, but if you access this interface from Firefox, name is apparently
set to some value that evaluates to false in a boolean context, because
AutoFieldWidget doesn't choke on it (the comparison at line 182 of that file
will return false).

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

13 years agosome style for this clickable link in Check In
phasefx [Fri, 17 Dec 2010 18:21:11 +0000]
some style for this clickable link in Check In

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

13 years agouse just one close handler for menu.js; small tweak to support that, and some debug...
phasefx [Fri, 17 Dec 2010 16:41:45 +0000]
use just one close handler for menu.js; small tweak to support that, and some debug output

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

13 years agoDo an equality test, instead of assigning a value
dbs [Fri, 17 Dec 2010 15:17:43 +0000]
Do an equality test, instead of assigning a value

Thanks to Bill Erickson for catching this; this fixes a bug where
SuperCat requests would end up returning authority records instead of
bibliographic records.

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

13 years agodump() is a mozilla thing; use console.log instead
erickson [Fri, 17 Dec 2010 15:12:28 +0000]
dump() is a mozilla thing;  use console.log instead

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

13 years agoIssuance holds
senator [Thu, 16 Dec 2010 21:43:57 +0000]
Issuance holds

13 years agoYou need ahr whether you're the myopac.xml page or not
senator [Thu, 16 Dec 2010 22:19:48 +0000]
You need ahr whether you're the myopac.xml page or not

13 years agobits originally from rdetail_summary.xml missing from the firefox/xulrunner block
senator [Thu, 16 Dec 2010 22:12:29 +0000]
bits originally from rdetail_summary.xml missing from the firefox/xulrunner block

13 years agoMerge branch 'master' into kcls-opac-black-death
Bill Erickson [Thu, 16 Dec 2010 20:40:25 +0000]
Merge branch 'master' into kcls-opac-black-death

13 years agoSerials: the circ_lib field on a copy template has no meaning in the only
senator [Thu, 16 Dec 2010 18:35:40 +0000]
Serials: the circ_lib field on a copy template has no meaning in the only
context where these copy templates are used, which is serials.  Any copy-like
objects that are created in serials have their circ_lib determined by
distribution.holding_lib

So remove the circ_lib from the interface

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

13 years agocondensed more JS into 1 shared file
Bill Erickson [Thu, 16 Dec 2010 17:29:51 +0000]
condensed more JS into 1 shared file

13 years ago"clean-up" har
senator [Thu, 16 Dec 2010 16:48:08 +0000]
"clean-up" har

13 years agomoved google analytics code into main script block; minor cleanup; only need 1 novel...
Bill Erickson [Wed, 15 Dec 2010 21:51:44 +0000]
moved google analytics code into main script block; minor cleanup;  only need 1 novelist/chilfresh chunk since it requires separate  script chunk anyway

13 years agoupdated user agent check to look for new xulrunner user agent
Bill Erickson [Wed, 15 Dec 2010 20:46:34 +0000]
updated user agent check to look for new  xulrunner user agent

13 years agoAddress the call number browsing performance problem raised in LP 690242
dbs [Wed, 15 Dec 2010 20:22:21 +0000]
Address the call number browsing performance problem raised in LP 690242

The ORDER BY clause currently generated by call number browsing does not
have a sufficient index to use to assist the sorting of the returned rows,
and consequently does a sequential scan of the asset.call_number table.
Which, as you can imagine, is not fast for a system with more than a few
thousand call numbers.

This adds an index specifically to enable the query to go back to an
index scan instead of a sequential scan. We can investigate whether other
indexes should be removed to enable efficient data loading once we've
squashed the sequential scan problem.

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

13 years agoMerge branch 'master' into kcls-opac-black-death
Bill Erickson [Wed, 15 Dec 2010 20:17:33 +0000]
Merge branch 'master' into kcls-opac-black-death

13 years agoaugment the useragent for the xulrunner staff client
phasefx [Wed, 15 Dec 2010 20:11:59 +0000]
augment the useragent for the xulrunner staff client

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

13 years agoMerge branch 'master' into kcls-opac-black-death
Bill Erickson [Wed, 15 Dec 2010 19:40:31 +0000]
Merge branch 'master' into kcls-opac-black-death

13 years agosome cleanup to get FF working
Bill Erickson [Wed, 15 Dec 2010 19:18:45 +0000]
some cleanup to get FF working

13 years agomore work getting results, rdetails, my account working in not-ff
Bill Erickson [Wed, 15 Dec 2010 18:40:01 +0000]
more work getting results, rdetails, my account working in not-ff

13 years agomaking results page happy in non-ff
Bill Erickson [Wed, 15 Dec 2010 17:25:41 +0000]
making results page happy in non-ff

13 years agoTwo bug fixes: 1) only allow one fine generator call per circulation during a given...
miker [Wed, 15 Dec 2010 17:11:24 +0000]
Two bug fixes: 1) only allow one fine generator call per circulation during a given transaction; 2) require that a circulation be open, based on the xact_finish field, in order to be the parent of a renewal (I suspect this used to depend on the open-circ view)

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

13 years agoinitial run-through of copying changes in. needs mucho testing
Bill Erickson [Wed, 15 Dec 2010 15:57:39 +0000]
initial run-through of copying changes in.  needs mucho testing

13 years agomore js_common imports; started work on body.xml
Bill Erickson [Wed, 15 Dec 2010 15:28:50 +0000]
more js_common imports; started work on body.xml

13 years agoinitial add of postbody js block w/ kcls changes
Bill Erickson [Wed, 15 Dec 2010 15:09:36 +0000]
initial add of postbody js block w/ kcls changes

13 years agoinitial js_common.xml refactor
Bill Erickson [Wed, 15 Dec 2010 15:02:19 +0000]
initial js_common.xml refactor

13 years agoInitial import of KCLS skin
Bill Erickson [Wed, 15 Dec 2010 14:25:20 +0000]
Initial import of KCLS skin

13 years agoSerials: simple bug in batch receive. Certain field values got treated
senator [Mon, 13 Dec 2010 21:41:37 +0000]
Serials: simple bug in batch receive. Certain field values got treated
like strings sometimes when they weren't. No more.

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

13 years agoregularize spelling of "fulfill"
gmc [Mon, 13 Dec 2010 18:20:43 +0000]
regularize spelling of "fulfill"

Based on patch by Steve Callender

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoboolean test for hard due force flag
phasefx [Mon, 13 Dec 2010 17:38:46 +0000]
boolean test for hard due force flag

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

13 years agorepaired order-by in update_hard_due_dates function to prevent sql errors
erickson [Mon, 13 Dec 2010 16:14:08 +0000]
repaired order-by in update_hard_due_dates function to prevent sql errors

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

13 years agoPatch from James Fournie to remove a confusing (though strictly correct) comment
miker [Fri, 10 Dec 2010 19:50:17 +0000]
Patch from James Fournie to remove a confusing (though strictly correct) comment

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

13 years agoPatch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908...
miker [Fri, 10 Dec 2010 17:22:47 +0000]
Patch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908 wherein we learn that related item physical description might be used as the main PD of the main item, if the main item lacks such a field in the MARC

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

13 years agoProvide a mechanism to load any random JS file via dojo.require()-ish syntax.
miker [Fri, 10 Dec 2010 16:02:41 +0000]
Provide a mechanism to load any random JS file via dojo.require()-ish syntax.

Why would we want to do such a thing, you might ask?

Well, the short answer is that Firefox hates pages that have more than one script block (inline is worse than tag) that contains pre-onLoad XHR.  So, this allows us to pull the actual loading of JS from the same domain as the page into an inline block.  This allows us to eliminate the WSOD on FF by pulling all (dangerous) JS into a single, final inline block, after which we don't care if the DOMContentLoaded event fires -- that's when it should fire, structurally -- but in FF it may fire for a different reason (bug) than it should (fell of the end of the page in the rendering engine).

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

13 years agoFix two bugs:
miker [Fri, 10 Dec 2010 05:03:25 +0000]
Fix two bugs:

 * Wide Character warning in authority.generate_overlay_template due to the generated template not being UTF-8 encoded internally
 * Correctly test the same space-normalization form of the pre- and post-strip records during the application of a replace rule in vandelay.replace_field

NOTE: to be backported to rel_2_0 and rel_1_6

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

13 years agobig thinko. Going by the stock receipt template, this should be the workstation...
phasefx [Thu, 9 Dec 2010 18:25:50 +0000]
big thinko.  Going by the stock receipt template, this should be the workstation lib.  Destination is handled by a different variable

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

13 years agotransit isn't in payload first time through with ROUTE_ITEM checkin, fallback on...
phasefx [Thu, 9 Dec 2010 18:12:46 +0000]
transit isn't in payload first time through with ROUTE_ITEM checkin, fallback on check.org

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

13 years agounsaved data warning for patron editor. some debug output for lock_tab/unlock_tab
phasefx [Thu, 9 Dec 2010 11:09:13 +0000]
unsaved data warning for patron editor.  some debug output for lock_tab/unlock_tab

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

13 years agounsaved data warning for MARC editor. some debug output for oils_lock_page()
phasefx [Thu, 9 Dec 2010 11:09:11 +0000]
unsaved data warning for MARC editor.  some debug output for oils_lock_page()

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

13 years agomake sure forced closures of locked tabs and windows are correctly changing data...
phasefx [Thu, 9 Dec 2010 11:09:08 +0000]
make sure forced closures of locked tabs and windows are correctly changing data.unsaved_data

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

13 years agofix copy/paste-o with decrement of unsaved_data semaphore and move functions from...
phasefx [Thu, 9 Dec 2010 11:09:06 +0000]
fix copy/paste-o with decrement of unsaved_data semaphore and move functions from menu.js to global_util.js.  tie unsaved_data into offline mode to speedbump closure via the login window

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

13 years agoReturn authority records for freshmeat when authority records are requested
dbs [Thu, 9 Dec 2010 06:41:38 +0000]
Return authority records for freshmeat when authority records are requested

Previously, freshmeat was hardcoded to return bibliographic records, even
when authority records were requested.

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

13 years agoGive the recent_changes list the ability to sort authority records correctly
dbs [Thu, 9 Dec 2010 06:40:26 +0000]
Give the recent_changes list the ability to sort authority records correctly

We were always sorting by bibliographic record entry, which does not
work all that well for authority records.

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

13 years agoSupport for predicting serials with no chronology caption
dbwells [Wed, 8 Dec 2010 19:59:24 +0000]
Support for predicting serials with no chronology caption

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

13 years agoAdd a simple subfields_list() method to MFHD/Caption.pm to match that in Holding.pm
dbwells [Wed, 8 Dec 2010 19:47:44 +0000]
Add a simple subfields_list() method to MFHD/Caption.pm to match that in Holding.pm

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

13 years agoSerials: When the fully compressed serial holdings are active in the OPAC,
senator [Tue, 7 Dec 2010 22:42:03 +0000]
Serials: When the fully compressed serial holdings are active in the OPAC,
you get this "issues held" display with an expand/compress toggle that will
either show you individual holdings (and allow you to place holds on them)
or compressed holdings statements.

The functionality existed in trunk before this commit, but this cleans it up
and makes it better. It's more consistent with the the result detail table,
it doesn't offer you the change to place holds on issues that don't have
units (copy-equivalent objects), etc etc.

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

13 years agoadd unsaved data warning to offline interface. tweak oils_lock_page/oils_unlock_page...
phasefx [Tue, 7 Dec 2010 20:01:09 +0000]
add unsaved data warning to offline interface.  tweak oils_lock_page/oils_unlock_page to support multiple locks.  Hide Cancel buttons in offline interfaces, which weren't consistently implemented and had no warnings.  TODO: fix it so that closing the login window won't kill offline UI with unsaved data

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

13 years agoWire up the Item Attribute Editor with oils_lock_page. Some tweaks needed to global_...
phasefx [Tue, 7 Dec 2010 16:58:24 +0000]
Wire up the Item Attribute Editor with oils_lock_page.  Some tweaks needed to global_util.js for util.widgets.dispatch('close',window) to work.

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

13 years agooils_lock_page() and oils_unlock_page() for xul interfaces that wraps xulG.lock_tab...
phasefx [Tue, 7 Dec 2010 16:58:17 +0000]
oils_lock_page() and oils_unlock_page() for xul interfaces that wraps xulG.lock_tab/unlock_tab and works for both windowed and tabbed interfaces

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

13 years agohave lock_tab cause warning prompts for logoff attempts and application shutdown
phasefx [Tue, 7 Dec 2010 16:58:14 +0000]
have lock_tab cause warning prompts for logoff attempts and application shutdown

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

13 years agoconfirm window closure if tabs within the window are locked
phasefx [Tue, 7 Dec 2010 16:58:10 +0000]
confirm window closure if tabs within the window are locked

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

13 years agotab lock infrastructure. call xulG.lock_tab() and then any attempt to close or repla...
phasefx [Tue, 7 Dec 2010 16:58:06 +0000]
tab lock infrastructure.  call xulG.lock_tab() and then any attempt to close or replace the tab will give staff a confirmation dialog.  multiple locks may be placed on a given tab, and an identical number of xulG.unlock_tab() invocations will unlock it

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

13 years agodescribe these variables for staff.circ_modifier.display
phasefx [Mon, 6 Dec 2010 21:16:42 +0000]
describe these variables for staff.circ_modifier.display

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

13 years agorefresh cached user during auth session reset
erickson [Mon, 6 Dec 2010 20:56:14 +0000]
refresh cached user during auth session reset

Add a boolean (1/0) param to open-ils.auth.session.reset_timeout
that forces open-ils.auth to refresh the cached user object.  Useful if
a column on actor.usr was updated and the client may be pulling the
object from the cache w/ a page reload, etc.

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

13 years agobe sure skin dir has a js_common.xml file before we try to process it
erickson [Mon, 6 Dec 2010 20:20:48 +0000]
be sure skin dir has a js_common.xml file before we try to process it

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

13 years agoMoving bits around and protecting against a pre-existing subject|complete index defin...
miker [Fri, 3 Dec 2010 21:35:39 +0000]
Moving bits around and protecting against a pre-existing subject|complete index definition that some sites have

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

13 years agoThe "All Subjects" index never made it into 1.6, so we need it in the upgrade script
miker [Fri, 3 Dec 2010 21:15:32 +0000]
The "All Subjects" index never made it into 1.6, so we need it in the upgrade script

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

13 years agoprotect against empty control fields (bad MARC)
miker [Fri, 3 Dec 2010 20:51:46 +0000]
protect against empty control fields (bad MARC)

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

13 years agoBibTemplate: textContent()'s problem had already been fixed another way in
senator [Fri, 3 Dec 2010 19:49:44 +0000]
BibTemplate: textContent()'s problem had already been fixed another way in
rel_2_0, so let's stick with that.

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

13 years agoBibTemplate: make a couple of IE-friendly changes to BibTemplate.
senator [Fri, 3 Dec 2010 19:40:47 +0000]
BibTemplate: make a couple of IE-friendly changes to BibTemplate.

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

13 years agoSerials: In Alternate Serial Control interface, under Subscription Details
senator [Fri, 3 Dec 2010 00:18:30 +0000]
Serials: In Alternate Serial Control interface, under Subscription Details
within the Caption and Patterns tab, provide a new feature to import caption
and pattern data from existing bib records and/or legacy serials data
(serial.record_entry objects)

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

13 years agoOPAC JS combation and compression enhancements
erickson [Thu, 2 Dec 2010 22:16:24 +0000]
OPAC JS combation and compression enhancements

Added ability to combine locale-independent common JS files
(opac/common/js/) into a single JS file to reduce http back/forth from
the browser.  In the default skin, this combines 10 scripts into 1.  The
scripts to combine are parsed from js_common.xml (enclosed by START/END
COMPRESSION comments).  The combined file is created by autogen.  Use of
the combined file is enabled via new Apache configuration (off by
default).  When a JS compressor is configured in autogen, the JS file
will be subsequently compressed.

Also includes better IDL2js loader for My Account, which loads
additional fieldmapper classes.

TODO:
Add ./configure param for setting a JS compressor at build time
Options for providing compressed versions of other JS files

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

13 years agocopy/paste-o. Retrieve Patron in the patron log section of the Admin->Local Admin...
phasefx [Thu, 2 Dec 2010 20:54:54 +0000]
copy/paste-o.  Retrieve Patron in the patron log section of the Admin->Local Admin->Work Log uses the right list now

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

13 years agoNormalize spaces in notcontains advance search query terms to address bug https:...
miker [Thu, 2 Dec 2010 19:32:30 +0000]
Normalize spaces in notcontains advance search query terms to address bug https://bugs.launchpad.net/evergreen/+bug/677122

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

13 years agoReturn the copy status name when a copy is not available
dbs [Wed, 1 Dec 2010 19:11:41 +0000]
Return the copy status name when a copy is not available

It looks like the checkout operation used to return a fleshed
config.copy_status object, but that changed and we now get a
raw ccs ID back.

Retrieve the status name using the ccs ID and present that
to the users. Also, in case problems like this happen in
the future, provide a more specific error message and var
name so that it will be (hopefully!) a little clearer what
payload was expected in the first place :)

Resolves https://bugs.launchpad.net/evergreen/+bug/680575

Thanks to Jason Etheridge for a major assist with this bug.

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

13 years agoAssorted small serials fixes
dbwells [Wed, 1 Dec 2010 13:52:00 +0000]
Assorted small serials fixes

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

13 years agotest case for minimum required version of Perl modules
gmc [Tue, 30 Nov 2010 22:32:06 +0000]
test case for minimum required version of Perl modules

Encode > 2.12 particularly matters, but there are likely
others of significance.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoMove Google Preview badge below the book cover image, if there is one
dbs [Tue, 30 Nov 2010 21:57:57 +0000]
Move Google Preview badge below the book cover image, if there is one

There might be a more correct way to do this in CSS, but works++

Also, give a little room between the images.

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

13 years agoquicker login+ssl-jump handling by showing immediately instaed of waiting on page...
erickson [Tue, 30 Nov 2010 21:00:01 +0000]
quicker login+ssl-jump handling by showing immediately instaed of waiting on page contents to load

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

13 years agoprotect some of the supercat browse interfaces from unboundedness
gmc [Tue, 30 Nov 2010 20:43:55 +0000]
protect some of the supercat browse interfaces from unboundedness

E.g., browsing from a call number that contains forward slashes, e.g.,

"02/05/2004"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoEnable GET params to be added properly in buildOPACLink()
dbs [Tue, 30 Nov 2010 20:12:06 +0000]
Enable GET params to be added properly in buildOPACLink()

Symptom was that the "?l=#" parameter wasn't being added to the
home screen "Advanced Search" link. Cause was that the
dojo.addOnLoad(init) call was being made after the
dojo.addOnLoad(home_init) call, which depended on globals being
set by init(). This started happening when the JavaScript was
shifted around in an attempt to kill the white screen of death.

There may be other similar issues in other interfaces; keep
your eyes open!

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

13 years agodon't want a Refresh to jump back to the default sub-interface
phasefx [Tue, 30 Nov 2010 20:08:06 +0000]
don't want a Refresh to jump back to the default sub-interface

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

13 years agohave the patron display default to the bills interface if spawned from the red-text...
phasefx [Tue, 30 Nov 2010 19:51:27 +0000]
have the patron display default to the bills interface if spawned from the red-text label in the Check In UI

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

13 years agospecify default leader for acq brief bibs
gmc [Tue, 30 Nov 2010 19:09:01 +0000]
specify default leader for acq brief bibs

In particular, avoid fun that could ensue if the
Leader/09 is not set to 'a'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoadd click event to red-text label in check-in UI for retrieving a patron when the...
phasefx [Tue, 30 Nov 2010 18:17:47 +0000]
add click event to red-text label in check-in UI for retrieving a patron when the associated transaction has a balance owed.  Code tweak to reduce the number of getElementById lookups

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

13 years agomenu entry for Admin->Server Administration->Acquisitions->Line Item MARC Attribute...
phasefx [Tue, 30 Nov 2010 17:05:51 +0000]
menu entry for Admin->Server Administration->Acquisitions->Line Item MARC Attribute Definitions

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

13 years agostraighten out triggers that maintain rmsr
gmc [Tue, 30 Nov 2010 13:49:51 +0000]
straighten out triggers that maintain rmsr

In particular, make sure that the old zzz_
trigger on metabib.real_full_rec is completely removed, as
it needlessly slows down bib ingest.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoClean up some of the Apache config mod_rewrite rules
dbs [Tue, 30 Nov 2010 05:12:13 +0000]
Clean up some of the Apache config mod_rewrite rules

Thomas Berezansky suggested some improvements to the mod_rewrite
rules in eg_vhost.conf on the -devel mailing list; this is a stab
at correcting the most egregious problems.

Tested with Zotero and unAPI still works; tested with the staff
client and language-switching still works, as do the Conify and
Vandelay interfaces. Seems reasonably good.

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

13 years agofix failure when attempting to create invoice
gmc [Tue, 30 Nov 2010 00:11:22 +0000]
fix failure when attempting to create invoice

Occurred for line items that were not part of a selection list

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agotest cases for the naco_normalize stored function
gmc [Mon, 29 Nov 2010 22:54:30 +0000]
test cases for the naco_normalize stored function

Note that running the tests would require sticking in
the connection parameters for an Evergreen database; check
comments for some musings on how to do this better.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agorevised version of naco_normalize
gmc [Mon, 29 Nov 2010 21:44:34 +0000]
revised version of naco_normalize

This implements the latest version of the NACO
normalization specification found at

http://www.loc.gov/catdir/pcc/naco/SCA_PccNormalization_Final_revised.pdf

This version of the algorithm is more general -- for example,
all combining characters are removed -- so there should be
fewer fiddly edge cases to worry about for most European
languages.

Rebuilding the metabib.*_field_entry tables (e.g., by using
reingest-1.6-2.0.pl) is recommended if there are any bibs that contain
any non-ASCII characters.

Normalized text is now left in the NFKD form, so while this should
be transparent to the search system after reindexing, it does mean
that (for example) Korean text in metabib.*_field_entry may not
be in the same Unicode normalization form as that found in
biblio.record_entry.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

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

13 years agoprevent the allRecordsReceived event from firing multiple times in one page rendering
erickson [Mon, 29 Nov 2010 20:24:48 +0000]
prevent the allRecordsReceived event from firing multiple times in one page rendering

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

13 years agohonor forceLoginSSL for place holds login in OPAC
erickson [Mon, 29 Nov 2010 20:24:47 +0000]
honor forceLoginSSL for place holds login in OPAC

When forceLoginSSL is enabled and the user clicks on place-hold in
results page or record details page, reload the page as SSL (if it's not
already using SSL) and show the login dialog (if the user is not already
logged in).

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