evergreen/bjwebb.git
14 years agoAcq: make purchase order and invoice interfaces less annoying
senator [Mon, 20 Sep 2010 00:55:16 +0000 (00:55 +0000)]
Acq: make purchase order and invoice interfaces less annoying

They're really just canned acq searches, but now they don't automatically start
the search and hide the search terms, so you have a chance to adjust what
you're looking for

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

14 years agoAcq: Delay loading of providers for invoice-linking dialogs until
senator [Sun, 19 Sep 2010 23:53:36 +0000 (23:53 +0000)]
Acq: Delay loading of providers for invoice-linking dialogs until
they're really needed.

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

14 years agoremove redundant invocation of custom.js, and tweak how menu.js loads it
phasefx [Sun, 19 Sep 2010 22:44:16 +0000 (22:44 +0000)]
remove redundant invocation of custom.js, and tweak how menu.js loads it

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

14 years agofor large sets of holds, usually around 10 or more, the holds display takes a little...
erickson [Sun, 19 Sep 2010 19:15:48 +0000 (19:15 +0000)]
for large sets of holds, usually around 10 or more, the holds display takes a little too long.  instead of collecting them all and sorting them by queue position, slot them into the display table (by queue position) as they arrive

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

14 years agoMake sure offline interfaces correctly load printer settings outside of logins. ...
phasefx [Sun, 19 Sep 2010 03:50:28 +0000 (03:50 +0000)]
Make sure offline interfaces correctly load printer settings outside of logins.  Some refactoring

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

14 years agoin acq copies display, default to ws lib as recipient lib
erickson [Sat, 18 Sep 2010 19:55:44 +0000 (19:55 +0000)]
in acq copies display, default to ws lib as recipient lib

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

14 years agomore callbacks, this time pre- and post-query
miker [Sat, 18 Sep 2010 19:06:34 +0000 (19:06 +0000)]
more callbacks, this time pre- and post-query

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

14 years agoadded cnal to autoidl pile
erickson [Sat, 18 Sep 2010 17:54:51 +0000 (17:54 +0000)]
added cnal to autoidl pile

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

14 years agoadd pre- and post-render callback capabilities to BibTemplate
miker [Sat, 18 Sep 2010 17:53:56 +0000 (17:53 +0000)]
add pre- and post-render callback capabilities to BibTemplate

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

14 years agoRemove UNIQUE NOT NULL from config.index_normalizer.description.
scottmk [Sat, 18 Sep 2010 14:43:07 +0000 (14:43 +0000)]
Remove UNIQUE NOT NULL from config.index_normalizer.description.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoPatch from James Fournie of SITKA:
miker [Sat, 18 Sep 2010 02:02:35 +0000 (02:02 +0000)]
Patch from James Fournie of SITKA:

This is a patch that makes the toolbar work with the little jellybean
button on Macs.   It's that little lozenge-like button on the top
right of Mac programs that shows/hides the toolbar.  With this patch
it will show/hide the toolbar "button bar", making it behave more like
most Mac programs.  It shouldn't have any affect on other platforms.

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

14 years agoadd facets to the ATOM feed link
miker [Sat, 18 Sep 2010 01:58:25 +0000 (01:58 +0000)]
add facets to the ATOM feed link

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

14 years agoExpose an RSS (Atom, actually) feed in the dynamic OPAC for search results
dbs [Sat, 18 Sep 2010 01:47:15 +0000 (01:47 +0000)]
Expose an RSS (Atom, actually) feed in the dynamic OPAC for search results

I doubt most humans really care about RSS feeds, but this will make the
RSS feed icon highlight in Firefox and that should satisfy one of the
"requirements" for a Next Generation OPAC if that's the bar for research
papers these days.

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

14 years agoOffer a global flag to cause the testing of hold matrix rules against the receiving...
miker [Sat, 18 Sep 2010 00:53:27 +0000 (00:53 +0000)]
Offer a global flag to cause the testing of hold matrix rules against the receiving user instead of the requestor, and set the initial value to enabled as this seems to be the less surprising value for current users of in-db hold logic

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

14 years agosilly me, acqpo.activate is the new format.po.jedi
gmc [Sat, 18 Sep 2010 00:28:19 +0000 (00:28 +0000)]
silly me, acqpo.activate is the new format.po.jedi

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

14 years agoSerials batch receive: usability improvements
senator [Sat, 18 Sep 2010 00:24:41 +0000 (00:24 +0000)]
Serials batch receive: usability improvements

s/fundamental periodicity/frequency/
Smart copy location batch applicator
Dedup call numbers with same label in batch applicator
Tooltips on the holding lib column to show dist label and stream routing label

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

14 years agomore user stat cat classes
erickson [Sat, 18 Sep 2010 00:06:25 +0000 (00:06 +0000)]
more user stat cat classes

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

14 years agoadded format.po.jedi hook to initial seed
gmc [Fri, 17 Sep 2010 23:56:43 +0000 (23:56 +0000)]
added format.po.jedi hook to initial seed

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

14 years agoneed cit and actsc for patron reg
erickson [Fri, 17 Sep 2010 23:55:19 +0000 (23:55 +0000)]
need cit and actsc for patron reg

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

14 years agoload the right class in the on-the-fly IDL loader call
erickson [Fri, 17 Sep 2010 23:40:50 +0000 (23:40 +0000)]
load the right class in the on-the-fly IDL loader call

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

14 years agoAcq: be a little better about explaining why a PO can't be activated
senator [Fri, 17 Sep 2010 23:23:06 +0000 (23:23 +0000)]
Acq: be a little better about explaining why a PO can't be activated

Sure, there's still room for improvement.

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

14 years agoenable translation of location name in copy location/status summary
gmc [Fri, 17 Sep 2010 22:48:11 +0000 (22:48 +0000)]
enable translation of location name in copy location/status summary

Implementation is iffy because it exposes oils_i18n_xlate outside
of cstore.

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

14 years agochange pcrud.apply to pcrud.update, and make use of closures in loop. fixes hanging...
phasefx [Fri, 17 Sep 2010 22:15:39 +0000 (22:15 +0000)]
change pcrud.apply to pcrud.update, and make use of closures in loop.  fixes hanging progress bar and lack of list refresh in Messages interface after modifying or archiving an existing message/penalty

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

14 years agoget rid of the disabled-look for the Actions for this Record menu label
phasefx [Fri, 17 Sep 2010 21:20:00 +0000 (21:20 +0000)]
get rid of the disabled-look for the Actions for this Record menu label

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

14 years agoMore IDL chunking fixes, this time for action/trigger UI
senator [Fri, 17 Sep 2010 20:52:18 +0000 (20:52 +0000)]
More IDL chunking fixes, this time for action/trigger UI

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

14 years agoRevert attempt to prevent encoding corruption that was causing encoding corruption
dbs [Fri, 17 Sep 2010 19:39:37 +0000 (19:39 +0000)]
Revert attempt to prevent encoding corruption that was causing encoding corruption

LDR/09 was never showing up as 'a' where it was being tested, and adding the
'a' was preventing a reconversion to UTF8. It somewhat looks like the UTF8
MARCXML input gets converted to MARC8 as part of MARC::Batch's magic, then
gets converted back to UTF8 by MARC::File::XML::as_xml_record(). Seems like
this would mean potential performance / encoding problems but it works, which
is better than what my meddlesome tests were doing.

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

14 years agoRestore two foreign keys that were somehow inadvertently
scottmk [Fri, 17 Sep 2010 19:12:05 +0000 (19:12 +0000)]
Restore two foreign keys that were somehow inadvertently
dropped, probably by some funky interaction with inheritance.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoadded option to vandelay rec list import that forces it to respond to the client...
erickson [Fri, 17 Sep 2010 18:42:27 +0000 (18:42 +0000)]
added option to vandelay rec list import that forces it to respond to the client w/ every record processed, instead of throttled responses.  this is useful for small batches where it's necessary to know the outcome of each record

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

14 years agoForce the Class::DBI::Frozen::301 install a different, working way
dbs [Fri, 17 Sep 2010 17:56:38 +0000 (17:56 +0000)]
Force the Class::DBI::Frozen::301 install a different, working way

This formulation works on Debian Squeeze, hopefully others.

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

14 years agoMake prereq installation easier on sites that block everything except 80 and 443
dbs [Fri, 17 Sep 2010 17:42:14 +0000 (17:42 +0000)]
Make prereq installation easier on sites that block everything except 80 and 443

It won't help if you need to grab SVN copies of OpenSRF and Evergreen, but if
you're working with a tarball then you're golden. GOLDEN!

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

14 years agoFix a glitch where you could only edit one field in 'Edit Attributes' in
senator [Fri, 17 Sep 2010 17:11:18 +0000 (17:11 +0000)]
Fix a glitch where you could only edit one field in 'Edit Attributes' in
Vandelay before it stopped working.

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

14 years agoprotect against fetching lineitem details by ref instead of ID
erickson [Fri, 17 Sep 2010 17:10:13 +0000 (17:10 +0000)]
protect against fetching lineitem details by ref instead of ID

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

14 years agoFix some cases where View MARC upon colliding import broke in Vandelay
senator [Fri, 17 Sep 2010 16:23:14 +0000 (16:23 +0000)]
Fix some cases where View MARC upon colliding import broke in Vandelay

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

14 years ago-- Dropping a foreign key (which has already been dropped from the
scottmk [Fri, 17 Sep 2010 14:17:44 +0000 (14:17 +0000)]
-- Dropping a foreign key (which has already been dropped from the
-- base installation scripts).

M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
A    Open-ILS/src/sql/Pg/upgrade/0405.schema.acq-hold-copy-map-drop-fkey.sql

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

14 years agonormalize all locales used in locale-lang mapping for QueryParser
miker [Fri, 17 Sep 2010 13:41:54 +0000 (13:41 +0000)]
normalize all locales used in locale-lang mapping for QueryParser

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

14 years agoOU locale lookup needs a bit more work, it needs to pass a language instead of an...
miker [Fri, 17 Sep 2010 13:32:31 +0000 (13:32 +0000)]
OU locale lookup needs a bit more work, it needs to pass a language instead of an xx-YY locale string

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

14 years agospacing, sorry, should have checked first
miker [Fri, 17 Sep 2010 05:07:02 +0000 (05:07 +0000)]
spacing, sorry, should have checked first

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

14 years agoOnly show "issues held" if there is something to show
miker [Fri, 17 Sep 2010 05:04:25 +0000 (05:04 +0000)]
Only show "issues held" if there is something to show

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

14 years agoFix syntax error in r17717
senator [Fri, 17 Sep 2010 01:29:26 +0000 (01:29 +0000)]
Fix syntax error in r17717

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

14 years agoStill more IDL chunking fix, plus make copy template create dialog more usable
senator [Thu, 16 Sep 2010 22:24:50 +0000 (22:24 +0000)]
Still more IDL chunking fix, plus make copy template create dialog more usable
(works as a pane, but was too tall for screen and had broken scrolling as popup)

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

14 years agoAdd column usr_summary to actor.stat_cat. (This column was added
scottmk [Thu, 16 Sep 2010 22:08:34 +0000 (22:08 +0000)]
Add column usr_summary to actor.stat_cat.  (This column was added
before we started maintaining individual update scripts.)

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoremove internal limit with queries on facets
gmc [Thu, 16 Sep 2010 18:19:43 +0000 (18:19 +0000)]
remove internal limit with queries on facets

This allows non-selective facets such a material type facet
to bring in correct results - the tradeoff is that queries
that involve facets will run slower.

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

14 years agoMore IDL chunking fixes aimed at local admin -> circ policies. this time fix it.
senator [Thu, 16 Sep 2010 16:08:15 +0000 (16:08 +0000)]
More IDL chunking fixes aimed at local admin -> circ policies. this time fix it.

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

14 years agoFix local admin -> circ policy interface by including some circ matrix related classe...
senator [Thu, 16 Sep 2010 15:54:02 +0000 (15:54 +0000)]
Fix local admin -> circ policy interface by including some circ matrix related classes in the IDL chunking

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

14 years agoCrude OPAC support for expanding serial issuances when showing fully compressed
senator [Thu, 16 Sep 2010 15:38:48 +0000 (15:38 +0000)]
Crude OPAC support for expanding serial issuances when showing fully compressed
holdings

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

14 years agoMake acq.provider_contact.name NOT NULL.
scottmk [Thu, 16 Sep 2010 15:38:03 +0000 (15:38 +0000)]
Make acq.provider_contact.name NOT NULL.

This change corrects the effect of a typo (NULL NULL instead of NOT NULL).

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
A    Open-ILS/src/sql/Pg/upgrade/0404.schema.acq-provider-contact-null-null.sql

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

14 years agoIncorporate some late-breaking upgrades
scottmk [Thu, 16 Sep 2010 14:52:04 +0000 (14:52 +0000)]
Incorporate some late-breaking upgrades

M    Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoAdd more AutoIDL classes for Vandelay happiness
dbs [Thu, 16 Sep 2010 11:40:37 +0000 (11:40 +0000)]
Add more AutoIDL classes for Vandelay happiness

Vandelay needs these class definitions for basic import operations.

Ideally every templated page wouldn't need to load these, but
this seems to be the best short-term solution.

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

14 years agoMore classes for IDL chunking under web/templates
senator [Thu, 16 Sep 2010 02:30:20 +0000 (02:30 +0000)]
More classes for IDL chunking under web/templates

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

14 years agoteach open-ils.storage.serial.issuance.ranged_tree about "global" issuances
miker [Thu, 16 Sep 2010 02:25:57 +0000 (02:25 +0000)]
teach open-ils.storage.serial.issuance.ranged_tree about "global" issuances

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

14 years agofake "global" issuances by returning a representative subset based on like date_publi...
miker [Thu, 16 Sep 2010 01:52:51 +0000 (01:52 +0000)]
fake "global" issuances by returning a representative subset based on like date_published and label

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

14 years agoPatch from Dan Wells:
miker [Thu, 16 Sep 2010 00:40:50 +0000 (00:40 +0000)]
Patch from Dan Wells:

I will start with the changes which I think are straightforward.  First, textual_holdings are sometimes used to augment the generated_coverage and at other times should completely replace it (generally when the holdings statement is too complex to be easily generated or has more detail than we care about).  The 'show_generated' flag in each summary table is a simple means of indicating which type of display we want.  Second, 'summary_method' will be consulted when generating the 'generated_coverage' fields, and tells us how any attached MFHD records (SREs) should be treated for this distribution in relation to the new structured data (attempt to merge the data, generate display data from both separately, or generate based on one or the other only).

The changes to serial.caption_and_pattern are not as straightforward, but I think they are justifiable.  Any given caption/pattern is only valid for a certain period of time (i.e. until it changes).  As it stands, we can infer the start and end dates of a caption/pattern only by consulting the attached issuances.  In practice this means retrieving and sorting sometimes hundreds of issuances to provide for the sorted display of just a few caption/patterns.  As I work with these objects more, I am simply often wishing for a more convenient access point to this important data.  This also means that the 'active' flag is redundant (caption/patterns with end_date-s are not active), but we need to get end_date in place before we can start removing the 'active' flag from the code.

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

14 years agoMake authority.normalize_heading() more defensive, and drop back to a plain (non...
dbs [Wed, 15 Sep 2010 22:06:37 +0000 (22:06 +0000)]
Make authority.normalize_heading() more defensive, and drop back to a plain (non-unique) index

NOTE: Database server now requires UUID::Tiny CPAN module in its Perl repertoire

When faced with terrible input, authority.normalize_heading() will generate a
heading based on the MD5 UUID of the input value, flagged with "BAD_MARCXML"
if the MARCXML could not be parsed, or "NOHEADING" if there was no 1xx field.
Previously, authority.normalize_heading() would throw raw, ugly Perl errors.

Many thanks to Mike Rylander and Galen Charlton for their suggestions on how
to break the original version of authority.normalize_heading(), this code
should be much more robust as a result.

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

14 years ago1. Revamp the contents of permission.perm_list in the course
scottmk [Wed, 15 Sep 2010 20:43:54 +0000 (20:43 +0000)]
1. Revamp the contents of permission.perm_list in the course
of the upgrade to v2.0.

2. Incorporate miscellaneous recent upgrade scripts.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoNeed to start the arrayref out right
miker [Wed, 15 Sep 2010 20:33:53 +0000 (20:33 +0000)]
Need to start the arrayref out right

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

14 years agoIn r15732, the Volume/Copy Creator was modified to serve double-duty as a batch inter...
phasefx [Wed, 15 Sep 2010 20:09:34 +0000 (20:09 +0000)]
In r15732, the Volume/Copy Creator was modified to serve double-duty as a batch interface for re-barcoding existing items.  This extends that incarnation further and allows for changing the volumes for existing items as well.  In Holdings Maintenance, the entry-point for this is Actions -> Replace Barcodes.  However, it's Acquisitions that is prompting this development, and the entry point there is on the Line Item, under Actions -> Update Barcodes

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

14 years agorefactoring for readability
phasefx [Wed, 15 Sep 2010 20:09:32 +0000 (20:09 +0000)]
refactoring for readability

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

14 years agoDrop arn_value and arn_source from the authority.record_entry table
dbs [Wed, 15 Sep 2010 20:04:55 +0000 (20:04 +0000)]
Drop arn_value and arn_source from the authority.record_entry table

Now that we have the unique index by thesaurus on actual headings, arn_value
and arn_source are a dead weight that we can gleefully toss overboard.

Tested with authority record import via Vandelay and authority record
creation during bibliographic editing; confirmed that validating authorities
still works, no apparent visible difference to the world.

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

14 years agoCreate a unique index on authority records based on their heading, thesaurus, and...
dbs [Wed, 15 Sep 2010 18:53:01 +0000 (18:53 +0000)]
Create a unique index on authority records based on their heading, thesaurus, and heading text

By providing a truly unique index for headings for a given thesaurus, this
index sets the stage for removing the arn_value / arn_source columns from
the database.

Sites with loaded authority records who attempt to add this index may find that
it fails due to existing duplicate entries; some suggestions for hunting down
the trouble-doers (duplicate entries) is provided in
Open-ILS/src/sql/Pg/0400.schema.unique_authority_index.sql

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

14 years agoRequire that the matchpoint is_renewal flag be respected if set
miker [Wed, 15 Sep 2010 17:25:53 +0000 (17:25 +0000)]
Require that the matchpoint is_renewal flag be respected if set

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

14 years agoafter auto-loading the IDL class, re-set the local fmIDL handle
erickson [Wed, 15 Sep 2010 17:24:54 +0000 (17:24 +0000)]
after auto-loading the IDL class, re-set the local fmIDL handle

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

14 years agoin the view fund UI, filter debits and allocations by the specific fund in question
erickson [Wed, 15 Sep 2010 17:10:30 +0000 (17:10 +0000)]
in the view fund UI, filter debits and allocations by the specific fund in question

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

14 years agowhen IDL class is not defined, load it inline instead of throwing exceptions. *tips...
erickson [Wed, 15 Sep 2010 17:02:16 +0000 (17:02 +0000)]
when IDL class is not defined, load it inline instead of throwing exceptions.  *tips hat to miker*

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

14 years agoadd 'atevdef', 'ath', 'atreact', 'atval' to the list of classes to pull in so that...
phasefx [Wed, 15 Sep 2010 16:34:56 +0000 (16:34 +0000)]
add 'atevdef', 'ath', 'atreact', 'atval' to the list of classes to pull in so that Admin -> Local Administration -> Notifications / Action Triggers works

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

14 years ago2 debugging tools for identifying undefined IDL classes
erickson [Wed, 15 Sep 2010 16:26:53 +0000 (16:26 +0000)]
2 debugging tools for identifying undefined IDL classes

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

14 years agoA big pile of useful serial-schema indexes
miker [Wed, 15 Sep 2010 14:49:04 +0000 (14:49 +0000)]
A big pile of useful serial-schema indexes

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

14 years agomove edi_scratch to join other test datasets
gmc [Wed, 15 Sep 2010 13:13:32 +0000 (13:13 +0000)]
move edi_scratch to join other test datasets

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

14 years agoORDRSP processing - PO linkage and object refresh
atz [Wed, 15 Sep 2010 05:25:07 +0000 (05:25 +0000)]
ORDRSP processing - PO linkage and object refresh

Several objects get updated potentially several times during processing,
and it is important to retrieve the item after earlier updates because
some columns are being populated by DB default values or 'NOW', for example.
The first 'NOW' for create_time would be correct, the subsequent ones incorrect,
so the value(s) must be fetched.

In order that an edi_message shows up in the list associated with a PO, we take the
first valid PO number, if present.  Note that this mapping theoretically may vary:
multliple PO lineitems *could* appear in one response, but in practice, we
expect only one, so this should suffice.  This is also a good reason to prevent
splitting a PO after it has been sent.

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

14 years agoAllow noauth option for retrieval method to support EDI
atz [Wed, 15 Sep 2010 05:25:06 +0000 (05:25 +0000)]
Allow noauth option for retrieval method to support EDI

EDI scripts run from crontab, w/o an associated user to auth

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

14 years agoDeepen test mode feedback (into top level EDI function)
atz [Wed, 15 Sep 2010 05:25:05 +0000 (05:25 +0000)]
Deepen test mode feedback (into top level EDI function)

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

14 years agoless hardcoding, more good
atz [Wed, 15 Sep 2010 05:25:04 +0000 (05:25 +0000)]
less hardcoding, more good

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

14 years agoHandle ls w/ fileglobs
atz [Wed, 15 Sep 2010 05:25:03 +0000 (05:25 +0000)]
Handle ls w/ fileglobs

This avoids returning non-useful paths like:
    /home/jatzberger/out/*Q*/uVQgpAoMT4
when the file is:
    /home/jatzberger/out/uVQgpAoMT4

Also finally resolve the discrepancy between FTP and SFTP ls behavior.

force full(er) paths to be returned from ls_uftp

Note, we cut out ./ if present.

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

14 years agoUpdate comment (trivial)
atz [Wed, 15 Sep 2010 05:25:03 +0000 (05:25 +0000)]
Update comment (trivial)

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

14 years agoedi_fetcher overhaul, test_client improvement
atz [Wed, 15 Sep 2010 05:25:02 +0000 (05:25 +0000)]
edi_fetcher overhaul, test_client improvement

New options: --test --provider --account

Lots of crosschecking.  Accept files from command line or STDIN.

Had to break out the logic in EDI to accommodate non-retrieved input.
Remote retrieval now avoids pulling a file if the same file was
previously retrieved and successfully processed.  If it bombed out,
then we get it again (on the hopes it might have been fixed).

Also better test_client behavior on edi2json failure.

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

14 years agocomment out debugging entry
atz [Wed, 15 Sep 2010 05:25:01 +0000 (05:25 +0000)]
comment out debugging entry

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

14 years agoUpdate README
atz [Wed, 15 Sep 2010 05:25:00 +0000 (05:25 +0000)]
Update README

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

14 years agoBeginning of modperl EDI message viewer
atz [Wed, 15 Sep 2010 05:24:59 +0000 (05:24 +0000)]
Beginning of modperl EDI message viewer

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

14 years agoMore ORDRSP processing
atz [Wed, 15 Sep 2010 05:24:58 +0000 (05:24 +0000)]
More ORDRSP processing

LID status updates, LI inheritance of status if all LIDs get the same status.
Various cross-checks and safeguards.

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

14 years agoTons of EDI test files
atz [Wed, 15 Sep 2010 05:24:57 +0000 (05:24 +0000)]
Tons of EDI test files

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

14 years agoFilling in another missing page_title
atz [Wed, 15 Sep 2010 05:24:56 +0000 (05:24 +0000)]
Filling in another missing page_title

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

14 years agoperltidy and cleanup
atz [Wed, 15 Sep 2010 05:24:55 +0000 (05:24 +0000)]
perltidy and cleanup

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

14 years agoExpanding handling (unfinished) for LI/LID QTY codes
atz [Wed, 15 Sep 2010 05:24:54 +0000 (05:24 +0000)]
Expanding handling (unfinished) for LI/LID QTY codes

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

14 years agoMinor cleanup
atz [Wed, 15 Sep 2010 05:24:53 +0000 (05:24 +0000)]
Minor cleanup

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

14 years agoTrivial clarification
atz [Wed, 15 Sep 2010 05:24:53 +0000 (05:24 +0000)]
Trivial clarification

Also a comment about targeting

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

14 years agoAllow state='retry'
atz [Wed, 15 Sep 2010 05:24:52 +0000 (05:24 +0000)]
Allow state='retry'

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

14 years agoScripts obsolete
atz [Wed, 15 Sep 2010 05:24:50 +0000 (05:24 +0000)]
Scripts obsolete

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

14 years agoOverhaul ORDRSP processing based on new Business::EDI capabilities
atz [Wed, 15 Sep 2010 05:24:49 +0000 (05:24 +0000)]
Overhaul ORDRSP processing based on new Business::EDI capabilities

Lots of error checking

Fetch updates for xpath_value and a B&T data hack

ORDRSP is forced only b/c the DB requires it.  We can't accurately
know the message type until the translator deals with it (or we
build our own fault-prone sniffer).  But for now all we expect from
vendors in ORDRSP, so we can force temporarily.

Also EDI example data and debugging tweaks

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

14 years agoExtra test_client functionality.
atz [Wed, 15 Sep 2010 05:24:49 +0000 (05:24 +0000)]
Extra test_client functionality.

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

14 years agoedi_translator sample EDI/JEDI docs
atz [Wed, 15 Sep 2010 05:24:48 +0000 (05:24 +0000)]
edi_translator sample EDI/JEDI docs

EDI test and sample data

Ingram ORDRSP that fails translation

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

14 years agoMARC tooltip updates
gmc [Wed, 15 Sep 2010 04:26:52 +0000 (04:26 +0000)]
MARC tooltip updates

* updated bibliographic tooltips; now current as of LC MARC21 Bibliographic
  Update 11, including the RDA tags.  Along the way, enhanced the bib tooltips to:
  * include definitions for embedded holdings tags (84X, 853-855, 863-868, 876-878)
  * expand dropdown for nonfiling indicator values
* added tooltip files for authority records and MFHDs
* taught MARC editor how to choose the correct tooltip file

Caveat: if you localize the authority and MFHD tooltips for a locale other than
en-US, you must edit marcedit.js, either to take your translation into account
or to make it smarter about checking for available translations of the tooltips.

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

14 years agoadded useful exception that is typical w/ autofieldwidget when an IDL class is not...
erickson [Wed, 15 Sep 2010 02:30:32 +0000 (02:30 +0000)]
added useful exception that is typical w/ autofieldwidget when an IDL class is not defined

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

14 years agoadded some additional auto-idl classes to load for acq UIs
erickson [Wed, 15 Sep 2010 02:30:31 +0000 (02:30 +0000)]
added some additional auto-idl classes to load for acq UIs

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

14 years agoAdd in more classes for IDL chunking, needed in serials interfaces
senator [Tue, 14 Sep 2010 22:20:24 +0000 (22:20 +0000)]
Add in more classes for IDL chunking, needed in serials interfaces

Also will need to add more in for booking interfaces and misc other ones; gah.

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

14 years agoWork by miker to add IDL chunking where it affects acq interfaces.
senator [Tue, 14 Sep 2010 21:53:32 +0000 (21:53 +0000)]
Work by miker to add IDL chunking where it affects acq interfaces.
And all things under web/templates. Makes things faster!

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

14 years agoOPAC display of fully compressed serials holding. Mostly miker's work except
senator [Tue, 14 Sep 2010 21:44:39 +0000 (21:44 +0000)]
OPAC display of fully compressed serials holding. Mostly miker's work except
the OU setting part

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

14 years agoadditional issuance holds supporting code; in this case, hold_to_mvr func which is...
erickson [Tue, 14 Sep 2010 19:04:24 +0000 (19:04 +0000)]
additional issuance holds supporting code; in this case, hold_to_mvr func which is used by the uber hold details method;  commit also includes a small speed tweak for fetching details for copy holds (1 less cstore call)

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

14 years agoAdd PayfloPro support to credit card processing
senator [Tue, 14 Sep 2010 19:01:28 +0000 (19:01 +0000)]
Add PayfloPro support to credit card processing

Additionally, add some default view/update permissions to
credit-card-processing-related org settings.

This should bring the list of supported payment card processing APIs to:
AuthorizeNet, PayPal (Website Payments Pro), and PayflowPro

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

14 years agoregexp for robust filename mangling
phasefx [Tue, 14 Sep 2010 15:49:26 +0000 (15:49 +0000)]
regexp for robust filename mangling

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

14 years agounbreak item count in result list of slimpac
miker [Tue, 14 Sep 2010 15:44:44 +0000 (15:44 +0000)]
unbreak item count in result list of slimpac

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

14 years agoFor some reason I already had cat.default_classification_scheme (my db started at...
phasefx [Tue, 14 Sep 2010 15:39:58 +0000 (15:39 +0000)]
For some reason I already had cat.default_classification_scheme (my db started at upgrade version 0366), so adding some defense here

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