evergreen/bjwebb.git
15 years agoadded creator/editor to general picklist create
erickson [Tue, 17 Mar 2009 03:09:04 +0000 (03:09 +0000)]
added creator/editor to general picklist create

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

15 years agoSupport multiple volumes in a single year
djfiander [Tue, 17 Mar 2009 02:03:13 +0000 (02:03 +0000)]
Support multiple volumes in a single year

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

15 years agoupdated IDL to match acq creator/editor columns
erickson [Mon, 16 Mar 2009 21:36:19 +0000 (21:36 +0000)]
updated IDL to match acq creator/editor columns

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

15 years agofleshing new creator/editor tracking fiels in PO, picklist, and lineitem
erickson [Mon, 16 Mar 2009 21:19:57 +0000 (21:19 +0000)]
fleshing new creator/editor tracking fiels in PO, picklist, and lineitem

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

15 years agoplugged in Bill Ott's lost item checkin functionality. This includes the ability...
erickson [Mon, 16 Mar 2009 20:04:16 +0000 (20:04 +0000)]
plugged in Bill Ott's lost item checkin functionality.  This includes the ability to void lost item fines, processing fines, and un-voiding existing overdue fines on the transaction when an item previously marked lost is checked in.  lib can also define a post-due-date interval during which these settings take effect.  Each are controlled by org-unit settings.  I still need to add Const.pm entries for billing types.  Thanks Billsvn diff Open-ILS/src/perlmods/OpenILS/Const.pm Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

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

15 years agobetter handling of sets of work_ou's. will probably shove some of this logic into...
erickson [Mon, 16 Mar 2009 19:58:55 +0000 (19:58 +0000)]
better handling of sets of work_ou's.  will probably shove some of this logic into User.js at some point.  Added support for UPDATE_ORG_UNIT_SETTING_ALL perm checking

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

15 years agoadded new on-lost-return event org unit settings
erickson [Mon, 16 Mar 2009 19:58:04 +0000 (19:58 +0000)]
added new on-lost-return event org unit settings

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

15 years agoincorrect table name in stored proc for updating materialized transaction summary
miker [Mon, 16 Mar 2009 19:40:11 +0000 (19:40 +0000)]
incorrect table name in stored proc for updating materialized transaction summary

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

15 years agooops, wrong api name. fixed
erickson [Mon, 16 Mar 2009 19:00:43 +0000 (19:00 +0000)]
oops, wrong api name.  fixed

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

15 years agoCorrect a blunder (trying to free the same memory twice)
scottmk [Mon, 16 Mar 2009 17:25:47 +0000 (17:25 +0000)]
Correct a blunder (trying to free the same memory twice)

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

15 years agoadded method to return trigger events by user and type
erickson [Mon, 16 Mar 2009 16:46:48 +0000 (16:46 +0000)]
added method to return trigger events by user and type

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

15 years agopass hint instead of class as core_type
erickson [Mon, 16 Mar 2009 16:44:58 +0000 (16:44 +0000)]
pass hint instead of class as core_type

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

15 years agohide magical ##URI## call numbers from the copy browser in the staff client
miker [Mon, 16 Mar 2009 16:13:11 +0000 (16:13 +0000)]
hide magical ##URI## call numbers from the copy browser in the staff client

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

15 years agoprovide for a editing audit trail on picklists, POs and lineitems (JUBs)
miker [Mon, 16 Mar 2009 15:27:46 +0000 (15:27 +0000)]
provide for a editing audit trail on picklists, POs and lineitems (JUBs)

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

15 years agoremoved the old, convoluted work_perm_org code. Now using the stored procedure for...
erickson [Mon, 16 Mar 2009 15:23:43 +0000 (15:23 +0000)]
removed the old, convoluted work_perm_org code.  Now using the stored procedure for calculating range of influence.  updated api name to hopefully be more clear

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

15 years agoFor usr_has_perm* functions: super_user has all permissions
scottmk [Mon, 16 Mar 2009 14:49:12 +0000 (14:49 +0000)]
For usr_has_perm* functions: super_user has all permissions
everywhere (even permissions that don't exist).

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

15 years agomore cleanup, plugged in get-selected operation, so back to original functionality
erickson [Mon, 16 Mar 2009 13:51:30 +0000 (13:51 +0000)]
more cleanup, plugged in get-selected operation, so back to original functionality

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

15 years agoAdd several functions for identifying the org units for which
scottmk [Mon, 16 Mar 2009 13:21:59 +0000 (13:21 +0000)]
Add several functions for identifying the org units for which
a given user has a given permission.

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

15 years agoIn oils_cstore.c:
scottmk [Mon, 16 Mar 2009 04:13:10 +0000 (04:13 +0000)]
In oils_cstore.c:

1. Restore the quoting of numeric literals where the associated
column is known to be textual.

2. Wherever possible: replace calls to jsonObjectToSimpleString()
with calls to jsonObjectGetString().  Each replacement saves a malloc
and a free.

3. At one spot in searchWHERE: detect and complain about input where
the class name is empty.

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

15 years agochanged cookie base to the more generic oilsBasePath
erickson [Mon, 16 Mar 2009 02:43:58 +0000 (02:43 +0000)]
changed cookie base to the more generic oilsBasePath

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

15 years agomove away from jubgrid in bib search for greater flexibility of display. stream...
erickson [Mon, 16 Mar 2009 02:43:21 +0000 (02:43 +0000)]
move away from jubgrid in bib search for greater flexibility of display.  stream LI's from search call for faster grid population.  swap form and results display for better screen use

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

15 years agoprovide option to return new lineitems and associated attrs from search call
erickson [Mon, 16 Mar 2009 02:41:09 +0000 (02:41 +0000)]
provide option to return new lineitems and associated attrs from search call

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

15 years agoMark tests as implemented, now that volume changes based on date work.
djfiander [Sun, 15 Mar 2009 03:17:17 +0000 (03:17 +0000)]
Mark tests as implemented, now that volume changes based on date work.

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

15 years agoAdd code to support setting volume number based on date rather
djfiander [Sun, 15 Mar 2009 03:16:17 +0000 (03:16 +0000)]
Add code to support setting volume number based on date rather
than number of issues per volume.

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

15 years agodue to some odd interactions with IE and dojo and the fact that opensrf.js is not...
erickson [Sat, 14 Mar 2009 21:28:04 +0000 (21:28 +0000)]
due to some odd interactions with IE and dojo and the fact that opensrf.js is not dojo-ized, load opensrf.js in the usual fashion first.  may want to do this for all non-dojo-ized js files, but so far, loading this file alone seems to fix ie6

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

15 years agofirst pass at MFHD test suite
djfiander [Sat, 14 Mar 2009 18:28:17 +0000 (18:28 +0000)]
first pass at MFHD test suite

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

15 years agominor cleanups to calculating volume numbers
djfiander [Sat, 14 Mar 2009 18:26:44 +0000 (18:26 +0000)]
minor cleanups to calculating volume numbers

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

15 years agoApply r12520 to version of MODS3.3 XSL stored in database - thanks miker
dbs [Sat, 14 Mar 2009 16:15:18 +0000 (16:15 +0000)]
Apply r12520 to version of MODS3.3 XSL stored in database - thanks miker

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

15 years agoMinor stylistic cleanups
djfiander [Sat, 14 Mar 2009 15:03:03 +0000 (15:03 +0000)]
Minor stylistic cleanups

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

15 years agoCheck in revision 1.27 of MARC21slim2MODS33.xsl (for 648 -> <subject> mapping)
dbs [Sat, 14 Mar 2009 14:54:42 +0000 (14:54 +0000)]
Check in revision 1.27 of MARC21slim2MODS33.xsl (for 648 -> <subject> mapping)
Note: 242$i change was not mentioned in MODS mapping revision notes; was this
    a local Evergreen customization?

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

15 years agoThese now validate with XML schema:
dbs [Sat, 14 Mar 2009 04:45:41 +0000 (04:45 +0000)]
These now validate with XML schema:
   xmllint --schema docbook-5.0/xsd/docbook.xsd --xinclude --noout index.xml
A slash at the end of the XLink namespace declaration is no good; whoops.
And the placeholder chapters wanted more content. Fine, throw in some index terms.

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

15 years agobump template version to reflect new join choice functionality
miker [Sat, 14 Mar 2009 04:41:28 +0000 (04:41 +0000)]
bump template version to reflect new join choice functionality

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

15 years agoFix two bugs that I introduced into the Google Preview support code
dbs [Sat, 14 Mar 2009 04:05:43 +0000 (04:05 +0000)]
Fix two bugs that I introduced into the Google Preview support code

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

15 years agoapply proper I18N-ification to new template builder functionality
miker [Sat, 14 Mar 2009 02:56:11 +0000 (02:56 +0000)]
apply proper I18N-ification to new template builder functionality

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

15 years agoPure whitespace, nothing more
dbs [Sat, 14 Mar 2009 02:31:48 +0000 (02:31 +0000)]
Pure whitespace, nothing more

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

15 years agoTypo: Anscestor -> Ancestor
dbs [Sat, 14 Mar 2009 02:21:50 +0000 (02:21 +0000)]
Typo: Anscestor -> Ancestor

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

15 years agoRemove generated POT files to avoid confusion
dbs [Sat, 14 Mar 2009 02:09:15 +0000 (02:09 +0000)]
Remove generated POT files to avoid confusion

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

15 years agoadding "Enable nullability selection" switch to allow complete control over join...
miker [Fri, 13 Mar 2009 21:40:01 +0000 (21:40 +0000)]
adding "Enable nullability selection" switch to allow complete control over join types in templates

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

15 years agoFurther tightened input validation. In all cases where we call
scottmk [Fri, 13 Mar 2009 12:27:40 +0000 (12:27 +0000)]
Further tightened input validation.  In all cases where we call
searchWHERE(), we now respond to a NULL return by propagating
the error up the calling chain (instead of generating
defective SQL).

Also: replaced one call to jsonObjectToSimpleString() with a
call to jsonObjectGetString(), avoiding a malloc and free.

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

15 years agoTightened the input validation in searchWHERE(). It now complains
scottmk [Fri, 13 Mar 2009 04:00:33 +0000 (04:00 +0000)]
Tightened the input validation in searchWHERE().  It now complains
about an empty JSON object or empty JSON array, instead of
constructing a doomed WHERE clause.

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

15 years agoteach parallel_pg_loader.pl to set the sequence on non-auto tables after loading...
miker [Fri, 13 Mar 2009 02:19:45 +0000 (02:19 +0000)]
teach parallel_pg_loader.pl to set the sequence on non-auto tables after loading data into them

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

15 years agoRedo MFHD, MFHD::Holding, and MFHD::Caption so that they are enhanced MARC::Record...
djfiander [Thu, 12 Mar 2009 20:11:29 +0000 (20:11 +0000)]
Redo MFHD, MFHD::Holding, and MFHD::Caption so that they are enhanced MARC::Record (for MFHD) and MARC::Field (for the other two) objects.

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

15 years agoIn searchWHERE(): plugged a security hole that invited SQL injection.
scottmk [Thu, 12 Mar 2009 18:35:05 +0000 (18:35 +0000)]
In searchWHERE(): plugged a security hole that invited SQL injection.

The use of a leading plus sign was originally intended to allow
references to boolean columns in a WHERE clause, without requiring
an explicit comparison to true or false.  E.g. "WHERE col" instead
of the more prosaic "WHERE col = TRUE".

However the old code worked by simply concatenating unsanitized
strings, leaving the door open for SQL injection.

The new code attempts to verify that the last string to be appended
looks like an SQL identifier, with no extra SQL syntax.

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

15 years agofix PATRON_BARCODE macro in bills_main_view template by sending fleshed usr
phasefx [Thu, 12 Mar 2009 16:53:29 +0000 (16:53 +0000)]
fix PATRON_BARCODE macro in bills_main_view template by sending fleshed usr

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

15 years agofix for Cancel in patron editor for existing patron
phasefx [Thu, 12 Mar 2009 16:18:34 +0000 (16:18 +0000)]
fix for Cancel in patron editor for existing patron

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

15 years agoEnable slimpac and dynamic OPAC to have localized org trees
dbs [Thu, 12 Mar 2009 15:57:37 +0000 (15:57 +0000)]
Enable slimpac and dynamic OPAC to have localized org trees

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

15 years agoEnable get_org_tree to return an org tree with a locale based on a locale code,
dbs [Thu, 12 Mar 2009 15:55:45 +0000 (15:55 +0000)]
Enable get_org_tree to return an org tree with a locale based on a locale code,
rather than a reference to a variable :)

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

15 years agoteach clark how to use a separate state_store db connection for recording report...
miker [Thu, 12 Mar 2009 01:13:42 +0000 (01:13 +0000)]
teach clark how to use a separate state_store db connection for recording report metadata

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

15 years agoWhen inserting a literal value into a SELECT statement:
scottmk [Wed, 11 Mar 2009 18:57:16 +0000 (18:57 +0000)]
When inserting a literal value into a SELECT statement:
whenever possible, leave the value unquoted if it is known to be
numeric, i.e. it is carried as a JSON_NUMBER, regardless of the
datatype as inferred from the associated column.  Reason: so that
the test_json_query utility (which currently doesn't look up the
datatypes of the columns) can generate the correct SQL most of
the time.  This approach should also be slightly faster, since it
bypasses some hashed lookups.

2. As part of the implementation of the change described above:
combine searchSimplePredicate() and searchWriteSimplePredicate()
into a single function, so that the JSON type is known when it's
time do decide whether to add quotes.  This change is benign because
the latter function was called only by the former anyway.

3. Several minor rearrangements and optimizations.

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

15 years agoforgot to decrement a counter for the chunk size.. since performance was pretty spiff...
phasefx [Wed, 11 Mar 2009 05:06:32 +0000 (05:06 +0000)]
forgot to decrement a counter for the chunk size.. since performance was pretty spiffy with the bug, this probably argues for using larger chunk sizes

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

15 years agoFast single item add from within marc editor. Good for home users, but all cataloger...
phasefx [Tue, 10 Mar 2009 16:46:11 +0000 (16:46 +0000)]
Fast single item add from within marc editor.  Good for home users, but all catalogers might like this too.  Only working in z39.50 and New MARC interfaces, though I want to enable it when editing
existing bib records (code placement issues with JSAN and remote vs chrome, bleh :)

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

15 years agootherwise this bad boy keeps growing and growing
phasefx [Tue, 10 Mar 2009 16:05:20 +0000 (16:05 +0000)]
otherwise this bad boy keeps growing and growing

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

15 years agouse oncommand rather onclick here for keyboard access. But interestingly, the timing...
phasefx [Tue, 10 Mar 2009 13:39:32 +0000 (13:39 +0000)]
use oncommand rather onclick here for keyboard access.  But interestingly, the timing for DOM updates appears to happen differently between oncommand and onclick, so the element's .checked (and @checked) get updated after the oncommand but before the onclick.  So I threw a negation in front of the .checked test

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

15 years agoFix Holdings Maintenance for >3-tier hierarchies. We force every parent org to be...
phasefx [Tue, 10 Mar 2009 04:52:52 +0000 (04:52 +0000)]
Fix Holdings Maintenance for >3-tier hierarchies.  We force every parent org to be rendered as open, but the most drastic change is the global function array that gets consumed by a setInterval.  This was to fix some timing issues that came from multiple setTimeout function chains; notably, the SL1 stock library was rendering twice if Show Volumes was selected.

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

15 years agoCorrect a typo noticed by Betty Ing - thanks!
dbs [Tue, 10 Mar 2009 02:31:06 +0000 (02:31 +0000)]
Correct a typo noticed by Betty Ing - thanks!

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

15 years agodefault to BKS if no valid record type can be gleaned from the fixed fields
miker [Tue, 10 Mar 2009 01:14:51 +0000 (01:14 +0000)]
default to BKS if no valid record type can be gleaned from the fixed fields

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

15 years agoAfter introducing 2-space indents for Google Book Preview stuff, standardize on tabs...
dbs [Mon, 9 Mar 2009 21:29:04 +0000 (21:29 +0000)]
After introducing 2-space indents for Google Book Preview stuff, standardize on tabs for rdetail.js. Sorry about that.

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

15 years agoMake the variable names for Google Book Preview code nice and unique. Part of #50
dbs [Mon, 9 Mar 2009 21:17:41 +0000 (21:17 +0000)]
Make the variable names for Google Book Preview code nice and unique. Part of #50

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

15 years agoevents-by-target method
miker [Mon, 9 Mar 2009 20:37:28 +0000 (20:37 +0000)]
events-by-target method

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

15 years agowe need to test in the other direction, descendency
miker [Sun, 8 Mar 2009 18:18:16 +0000 (18:18 +0000)]
we need to test in the other direction, descendency

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

15 years agoCraftsman needs class="tundra" for Dojo and init() has been moved into dojo.addOnLoad().
dbs [Sun, 8 Mar 2009 17:32:15 +0000 (17:32 +0000)]
Craftsman needs class="tundra" for Dojo and init() has been moved into dojo.addOnLoad().

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

15 years agoApply the fixes required by craftsman for integrated Google Book Preview. Part of #50
dbs [Sun, 8 Mar 2009 17:04:34 +0000 (17:04 +0000)]
Apply the fixes required by craftsman for integrated Google Book Preview. Part of #50

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

15 years agoStop trampling on added content "Excerpt" tab and create a new "Preview" tab (which...
dbs [Sun, 8 Mar 2009 15:10:28 +0000 (15:10 +0000)]
Stop trampling on added content "Excerpt" tab and create a new "Preview" tab (which also follows GBS branding requirements). Part of #50

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

15 years agoMake existing Google Book Search link functions and IDs less generic; part of #50
dbs [Sun, 8 Mar 2009 14:34:47 +0000 (14:34 +0000)]
Make existing Google Book Search link functions and IDs less generic; part of #50

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

15 years agoCherry-pick the "integrate Google Book Preview into record detail" feature based...
dbs [Sun, 8 Mar 2009 05:48:08 +0000 (05:48 +0000)]
Cherry-pick the "integrate Google Book Preview into record detail" feature based on a patch by Alexander O'Neill <aoneill@upei.ca> from vre.upei.ca/dev/node/422

I integrated the code directly into rdetail.js and edited it to remove unnecessary helper functions.

Tested with Firefox 3 (Linux), Internet Explorer 7, Google Chrome, and Safari 3.2.1 (Windows).

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

15 years agoUpgrade to MODS 3.3 for ingest and ModsParser.pm; use an explicit format for config...
dbs [Sat, 7 Mar 2009 21:34:43 +0000 (21:34 +0000)]
Upgrade to MODS 3.3 for ingest and ModsParser.pm; use an explicit format for config.metabib_field in seed data

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

15 years agoAdd MODS 3.3 as a supported format to SuperCat. Baby steps.
dbs [Sat, 7 Mar 2009 19:47:23 +0000 (19:47 +0000)]
Add MODS 3.3 as a supported format to SuperCat. Baby steps.

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

15 years agoholding pen for dojo functions that we need to backport from dojo trunk
miker [Sat, 7 Mar 2009 03:25:20 +0000 (03:25 +0000)]
holding pen for dojo functions that we need to backport from dojo trunk

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

15 years agoAdd support for returning records in Federal Geographic Data Committee (FGDC) Content...
dbs [Sat, 7 Mar 2009 01:57:15 +0000 (01:57 +0000)]
Add support for returning records in Federal Geographic Data Committee (FGDC) Content Standard for Digital Geospatial Metadata (CSDGM) format.

MARC21slim2FGDC.xsl was retrieved from http://oregonstate.edu/~reeset/marcedit/xslt/MARC21slim2FGDC.xsl and (as the comments in the stylesheet indicate) is available under a CC0 license.

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

15 years agooption to checkin items before marking them damaged. Need to make these prettier :)
phasefx [Fri, 6 Mar 2009 23:42:07 +0000 (23:42 +0000)]
option to checkin items before marking them damaged.  Need to make these prettier :)

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

15 years agonoop checkin if during checkout.. no more having to fight transits and hold captures
phasefx [Fri, 6 Mar 2009 22:18:29 +0000 (22:18 +0000)]
noop checkin if during checkout.. no more having to fight transits and hold captures

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

15 years agoshow checkin time in charge patron for damaged item prompt
phasefx [Fri, 6 Mar 2009 22:10:14 +0000 (22:10 +0000)]
show checkin time in charge patron for damaged item prompt

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

15 years agoflesh card on the user
erickson [Fri, 6 Mar 2009 21:53:31 +0000 (21:53 +0000)]
flesh card on the user

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

15 years agoplugged in lost event creation
erickson [Fri, 6 Mar 2009 21:49:21 +0000 (21:49 +0000)]
plugged in lost event creation

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

15 years agomake org unit name and shortname unique, to avoid mistakes
miker [Fri, 6 Mar 2009 21:44:25 +0000 (21:44 +0000)]
make org unit name and shortname unique, to avoid mistakes

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

15 years agoreturn fleshed circ object in damaged event
erickson [Fri, 6 Mar 2009 21:07:19 +0000 (21:07 +0000)]
return fleshed circ object in damaged event

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

15 years agocharge patron prompt for mark item damaged. Still need to plugin code to handle...
phasefx [Fri, 6 Mar 2009 20:50:29 +0000 (20:50 +0000)]
charge patron prompt for mark item damaged.  Still need to plugin code to handle checkin of the item

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

15 years agocopy_price expects an editor, pass one in
erickson [Fri, 6 Mar 2009 20:44:16 +0000 (20:44 +0000)]
copy_price expects an editor, pass one in

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

15 years agoupdate ids to match the remaining valid events
erickson [Fri, 6 Mar 2009 20:43:56 +0000 (20:43 +0000)]
update ids to match the remaining valid events

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

15 years agodon't double-up arrays on might_have retrievals. handle the case where the final...
erickson [Fri, 6 Mar 2009 20:43:27 +0000 (20:43 +0000)]
don't double-up arrays on might_have retrievals.  handle the case where the final object in the path is a might_have

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

15 years agochange log level warning for non-ID retrieval
erickson [Fri, 6 Mar 2009 20:41:50 +0000 (20:41 +0000)]
change log level warning for non-ID retrieval

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

15 years agoput event args in payload to stick with convention
erickson [Fri, 6 Mar 2009 19:48:48 +0000 (19:48 +0000)]
put event args in payload to stick with convention

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

15 years agorepaired damage charge event creation
erickson [Fri, 6 Mar 2009 19:40:35 +0000 (19:40 +0000)]
repaired damage charge event creation

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

15 years agono need for array access on retrieve
erickson [Fri, 6 Mar 2009 19:26:17 +0000 (19:26 +0000)]
no need for array access on retrieve

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

15 years agomore link edits (that don't validate)
kgs [Fri, 6 Mar 2009 19:18:01 +0000 (19:18 +0000)]
more link edits (that don't validate)

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

15 years agomodified one link per http://www.sagehill.net/docbookxsl/Db5Tools.html
kgs [Fri, 6 Mar 2009 19:04:46 +0000 (19:04 +0000)]
modified one link per sagehill.net/docbookxsl/Db5Tools.html

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

15 years agoadded bool type to charge_on_damaged
erickson [Fri, 6 Mar 2009 19:02:37 +0000 (19:02 +0000)]
added bool type to charge_on_damaged

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

15 years agoAdded author statement.
kgs [Fri, 6 Mar 2009 18:47:03 +0000 (18:47 +0000)]
Added author statement.

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

15 years agoAdding test file, LocalAdmin.xml
kgs [Fri, 6 Mar 2009 17:40:21 +0000 (17:40 +0000)]
Adding test file, LocalAdmin.xml

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

15 years agoadded copy price and org setting helpers. put helper functions into 'helpers' hash...
erickson [Fri, 6 Mar 2009 16:36:34 +0000 (16:36 +0000)]
added copy price and org setting helpers.  put helper functions into 'helpers' hash to reduce global namespace pollution

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

15 years agocreate a link from billable_xact to it's corresponding transaction summary (mbts)
erickson [Fri, 6 Mar 2009 16:19:07 +0000 (16:19 +0000)]
create a link from billable_xact to it's corresponding transaction summary (mbts)

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

15 years agoPatch from Jeff Godin:
miker [Fri, 6 Mar 2009 13:41:49 +0000 (13:41 +0000)]
Patch from Jeff Godin:

The "First 5 characters" transform appears to be broken due to a typo,
patch attached. To fix previously broken templates created using this
transform, clone, re-select the First 5 characters transform on any fields
where you were using it, and save the template.

Also in this patch, change from confirm() to alert() for "Template NAME
was successfully saved." No point in using confirm(), nothing was checking
the return value, etc.

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

15 years agobasic circ/hold matrix config ui
erickson [Thu, 5 Mar 2009 21:30:59 +0000 (21:30 +0000)]
basic circ/hold matrix config ui

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

15 years agodon't assume org unit value is non-null
erickson [Thu, 5 Mar 2009 21:26:10 +0000 (21:26 +0000)]
don't assume org unit value is non-null

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

15 years agopcrud entries for circ matrix matchpoints
erickson [Thu, 5 Mar 2009 21:24:25 +0000 (21:24 +0000)]
pcrud entries for circ matrix matchpoints

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

15 years agopcrud for max and recuring fine rules
erickson [Thu, 5 Mar 2009 20:48:07 +0000 (20:48 +0000)]
pcrud for max and recuring fine rules

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

15 years agoremoved another version of the ingest race condition
miker [Thu, 5 Mar 2009 19:24:30 +0000 (19:24 +0000)]
removed another version of the ingest race condition

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

15 years agoauto-hide summary when navigating through the patron display. We may want an org...
phasefx [Thu, 5 Mar 2009 18:01:26 +0000 (18:01 +0000)]
auto-hide summary when navigating through the patron display.  We may want an org setting for this

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

15 years agofix patron summary toggle. some tweaking with persist, which isn't working
phasefx [Thu, 5 Mar 2009 17:51:40 +0000 (17:51 +0000)]
fix patron summary toggle.  some tweaking with persist, which isn't working

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

15 years agoremove dead code
phasefx [Thu, 5 Mar 2009 17:39:25 +0000 (17:39 +0000)]
remove dead code

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