]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoshow holdings in the stock slimpac -- holdings format changed slightly
miker [Tue, 14 Sep 2010 15:25:38 +0000 (15:25 +0000)]
show holdings in the stock slimpac -- holdings format changed slightly

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

13 years agoand, of course, the attendant typo
miker [Tue, 14 Sep 2010 15:06:57 +0000 (15:06 +0000)]
and, of course, the attendant typo

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

13 years agosome fleshing logic detangling
miker [Tue, 14 Sep 2010 15:04:41 +0000 (15:04 +0000)]
some fleshing logic detangling

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

13 years agoFix a function that moves translations in config.i18n_core,
scottmk [Tue, 14 Sep 2010 13:27:09 +0000 (13:27 +0000)]
Fix a function that moves translations in config.i18n_core,
so that it will handle both text-based keys and numeric keys.

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

13 years agoIntegrate authority browse and creation support into the MARC editor
dbs [Tue, 14 Sep 2010 04:13:42 +0000 (04:13 +0000)]
Integrate authority browse and creation support into the MARC editor

This commit changes the contextual authority menu to be based on
the authority browse interface; this should result in better
matching behavior. The browse axis (author, subject, title, topic)
is based on the context tag.

The browse interface has enabled the contextual menu to grow
"Next page" / "Previous page" menu items to enable cataloguers
to wade through long lists of similar authority entries.

The browse interface has also grown a "Create new authority record"
menu with two submenu items.

  * "Create immediately" takes the field in context and creates a new authority
     record based on that field, with matching indicators and subfields.
  * "Create and edit..." displays the MARCXML for the authority record in
     a MARC editor window before saving the record to the database.

TODO: Make the "Create..." contextual options add the $0 linking subfield
to the newly controlled field.

TODO: Address some of the flaky UI behaviour, such as having to right-click
three times on an authority-controllable field to display the authority menu.

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

13 years agoadd cat.default_classification_scheme OU setting type to DB
gmc [Mon, 13 Sep 2010 21:30:26 +0000 (21:30 +0000)]
add cat.default_classification_scheme OU setting type to DB

For benefit of those tracking trunk.

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

13 years agofix retrieval of cat.default_classification_scheme
gmc [Mon, 13 Sep 2010 21:07:35 +0000 (21:07 +0000)]
fix retrieval of cat.default_classification_scheme

Fixes bug where the cat.default_classification_scheme OU
setting was effectively ignored in bib call # display
in bib overlay and list of default call numbers during volume
creation.

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

13 years agoUpdate README: create the database from template0 to avoid SQL_ASCII / UNICODE conflicts
dbs [Mon, 13 Sep 2010 21:02:28 +0000 (21:02 +0000)]
Update README: create the database from template0 to avoid SQL_ASCII / UNICODE conflicts

Of course, perhaps this just obscures a real problem. Hrm.

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

13 years agoa little defensive programming
miker [Mon, 13 Sep 2010 19:03:32 +0000 (19:03 +0000)]
a little defensive programming

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

13 years agomethod for generating a set of compressed holdings statements for a bib with optional...
miker [Mon, 13 Sep 2010 18:14:19 +0000 (18:14 +0000)]
method for generating a set of compressed holdings statements for a bib with optional location and depth scoping, type filtering and item status filtering

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

13 years agoarg...typo ... again (but not really a problem)
miker [Mon, 13 Sep 2010 17:35:15 +0000 (17:35 +0000)]
arg...typo ... again (but not really a problem)

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

13 years agoarg...typo
miker [Mon, 13 Sep 2010 17:34:11 +0000 (17:34 +0000)]
arg...typo

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

13 years agowe need to move permissions around for a Great Renumbering, but i18n is not protected...
miker [Mon, 13 Sep 2010 17:26:03 +0000 (17:26 +0000)]
we need to move permissions around for a Great Renumbering, but i18n is not protected by fkeys.  this provides infratructure for maintaining i18n values that already exist in a db, and an example usage on permission.perm_list

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

13 years agoTypo
atz [Mon, 13 Sep 2010 16:37:05 +0000 (16:37 +0000)]
Typo

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

13 years agoPrevent failure of update scripts.
atz [Mon, 13 Sep 2010 16:34:32 +0000 (16:34 +0000)]
Prevent failure of update scripts.

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

13 years agohave fielder cache some frequently used data
miker [Mon, 13 Sep 2010 15:48:41 +0000 (15:48 +0000)]
have fielder cache some frequently used data

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

13 years agoteach fielder to cache (off by default), with a default timeout of 5min
miker [Mon, 13 Sep 2010 15:17:44 +0000 (15:17 +0000)]
teach fielder to cache (off by default), with a default timeout of 5min

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

13 years agoREADME tweaks: Remove --create-bootstrap from eg_db_config.pl; s/STAFF_CLIENT_BUILD_I...
dbs [Mon, 13 Sep 2010 14:49:32 +0000 (14:49 +0000)]
README tweaks: Remove --create-bootstrap from eg_db_config.pl; s/STAFF_CLIENT_BUILD_ID/STAFF_CLIENT_STAMP_ID/

Thanks to tsbere for flagging these changes

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

13 years agoAdd a Perl script for extracting permission names from the output
scottmk [Mon, 13 Sep 2010 12:35:59 +0000 (12:35 +0000)]
Add a Perl script for extracting permission names from the output
of the dump_idl utility (and hence from an IDL file).

AM   Open-ILS/examples/list_perms.pl

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

13 years agomake the other two k_* MARC templates usable by default
gmc [Mon, 13 Sep 2010 12:35:22 +0000 (12:35 +0000)]
make the other two k_* MARC templates usable by default

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

13 years agowrap custom props file reader in try/catch to prevent xhr complaining about missing...
erickson [Mon, 13 Sep 2010 02:04:24 +0000 (02:04 +0000)]
wrap custom props file reader in try/catch to prevent xhr complaining about missing file

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

13 years agoSerials: little bugfixin on this OPAC-oriented method
senator [Sun, 12 Sep 2010 20:19:18 +0000 (20:19 +0000)]
Serials: little bugfixin on this OPAC-oriented method

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

13 years agoAllows you to create *_custom.properties files for overlaying stock strings with...
phasefx [Sun, 12 Sep 2010 19:29:40 +0000 (19:29 +0000)]
Allows you to create *_custom.properties files for overlaying stock strings with <messagecatalog>.

So for example, a recent commit changed how circ modifiers are displayed in the staff client, with

common.properties:
staff.circ_modifier.display=%1$s : %2$s : %3$s

You could do this for the original rendering:

common_custom.properties:
staff.circ_modifier.display=%1$s

The custom file need only contain the properties that you wish to change.

The xul <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" /> will attempt to parse both common.properties and common_custom.properties

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

13 years agoSerials: dojo/autogrid-based scaffolding for building serials objects
senator [Sun, 12 Sep 2010 19:03:01 +0000 (19:03 +0000)]
Serials: dojo/autogrid-based scaffolding for building serials objects

Accessible from the staff client OPAC browser's "Actions for this Record" menu
as "Alternate Serial Control", these minimalist interfaces should support a
workflow by which the user can create a subscription and its related parts
(distributions, streams, etc), and get things going in a quick and dirty way
while the existing Serial Control View continues to develop.

Some notable differences in orientation between this and the existing
interface work include:
    - The disuse of call numbers on distributions, instead favoring call number
    application to items by issuance at receive time (i.e., all copies of
    the Sep 2010 issue of Popular Mechanics share a call number rather than
    all copies of Popular Mechanics, any issue, at a given library sharing a
    call number).
    - Lack of attention to binding (although the batch receive interface will
    treat each item as a single bound unit, for barcoding, or will avoid
    creating units altogether if you don't want to barcode your serials).

If this doesn't sound like the way you would do serials, I'd definitely
recommend sticking with Serials Control View and ignoring these interfaces.
Dan Wells' interface work promises broader functionality in the long run.

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

13 years agostaff.circ_modifier.display localization for rendering circ modifiers
phasefx [Sun, 12 Sep 2010 18:43:38 +0000 (18:43 +0000)]
staff.circ_modifier.display localization for rendering circ modifiers

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

13 years agoSerials: make it possible to predict issues for all dists at once, not just one
senator [Sun, 12 Sep 2010 18:32:33 +0000 (18:32 +0000)]
Serials: make it possible to predict issues for all dists at once, not just one

Also return events on failure in a few more places to gives users better clues
when things go wrong. More work is still ahead on this.

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

13 years agoadd maxValuesPerFacet attr/param
miker [Sun, 12 Sep 2010 15:23:46 +0000 (15:23 +0000)]
add maxValuesPerFacet attr/param

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

13 years agoSerials: support predicting issuances until a specified end date
senator [Sun, 12 Sep 2010 00:12:26 +0000 (00:12 +0000)]
Serials: support predicting issuances until a specified end date

Previously you could specify a number of issues, or possibly a final holding,
but if you haven't created the final holding yet, but you know when the
subscription ends, this can be useful.

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

13 years agoadd "type" (siss.holding_type) and "status" (sitem.status) filters; renaming the...
miker [Sat, 11 Sep 2010 19:39:24 +0000 (19:39 +0000)]
add "type" (siss.holding_type) and "status" (sitem.status) filters; renaming the method to be explicit about the fact that it is for issuances with received (sitem.date_received IS NOT NULL) items /only/

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

13 years agoMethod for retrieving received issuances attached to a bib, optionally scoped by...
miker [Sat, 11 Sep 2010 18:35:46 +0000 (18:35 +0000)]
Method for retrieving received issuances attached to a bib, optionally scoped by location, with paging and ordering support

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

13 years agothinko in schwarzian transform, and provide a tiebreaker sort on string
miker [Sat, 11 Sep 2010 14:18:24 +0000 (14:18 +0000)]
thinko in schwarzian transform, and provide a tiebreaker sort on string

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

13 years agoTypo fix in Vandelay item attribute definition editor
dbs [Sat, 11 Sep 2010 03:31:26 +0000 (03:31 +0000)]
Typo fix in Vandelay item attribute definition editor

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

13 years agoIn IE, tell Evergreen to return just the initially visible facets, and do it async...
miker [Sat, 11 Sep 2010 02:12:41 +0000 (02:12 +0000)]
In IE, tell Evergreen to return just the initially visible facets, and do it async-y (thanks berick)

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

13 years agoAdd "refresh grid" buttons to some consistently glitchy autogrids.
senator [Fri, 10 Sep 2010 22:24:44 +0000 (22:24 +0000)]
Add "refresh grid" buttons to some consistently glitchy autogrids.

This is obviously not an ideal solution, but if the user sees these grids
and it's clear that not all the rows that should appear are rendering, they
at least have a button to click to deal with it.  There are probably other
places where this could be applied.

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

13 years agoMake it a little more straightfoward to refresh an autogrid from without. Can
senator [Fri, 10 Sep 2010 22:02:18 +0000 (22:02 +0000)]
Make it a little more straightfoward to refresh an autogrid from without. Can
be useful in making glitchy, half-rendered grids behave.

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

13 years agoAcq: no reason to deprive the user of back/forward here
senator [Fri, 10 Sep 2010 20:21:21 +0000 (20:21 +0000)]
Acq: no reason to deprive the user of back/forward here

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

13 years agouse mod_deflate when and where we can (opac, and not in IE, basically)
miker [Fri, 10 Sep 2010 20:13:05 +0000 (20:13 +0000)]
use mod_deflate when and where we can (opac, and not in IE, basically)

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

13 years agoenable the Refund action in the new billing interface
phasefx [Fri, 10 Sep 2010 20:12:49 +0000 (20:12 +0000)]
enable the Refund action in the new billing interface

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

13 years agominor tweaks to patron retrieval within the billing interface
phasefx [Fri, 10 Sep 2010 20:12:47 +0000 (20:12 +0000)]
minor tweaks to patron retrieval within the billing interface

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

13 years agofixes a bug where where the Staff column in a Payments list was styling CSS for a...
phasefx [Fri, 10 Sep 2010 20:12:45 +0000 (20:12 +0000)]
fixes a bug where where the Staff column in a Payments list was styling CSS for a patron's billing Full Details dialog

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

13 years agosome defense in patron.util.set_penalty_css against unfleshed or partially fleshed...
phasefx [Fri, 10 Sep 2010 20:12:44 +0000 (20:12 +0000)]
some defense in patron.util.set_penalty_css against unfleshed or partially fleshed users

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

13 years agoindentation
phasefx [Fri, 10 Sep 2010 20:12:42 +0000 (20:12 +0000)]
indentation

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

13 years agomore, different layers
miker [Fri, 10 Sep 2010 20:12:19 +0000 (20:12 +0000)]
more, different layers

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

13 years agoAllow the caller to specify a max number of facet values per facet
miker [Fri, 10 Sep 2010 20:11:15 +0000 (20:11 +0000)]
Allow the caller to specify a max number of facet values per facet

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

13 years ago'use parent' consistently throughout OfflineStore.pm
dbs [Fri, 10 Sep 2010 19:07:45 +0000 (19:07 +0000)]
'use parent' consistently throughout OfflineStore.pm

If we're going to use "use parent" instead of "use base" when creating
the child instance of Class::DBI 3.01 that is OpenILS::Utils::OfflineStore,
we might as well be consistent when declaring its own children.

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