evergreen/bjwebb.git
14 years agoset label printer context for label printing
phasefx [Wed, 22 Sep 2010 20:01:59 +0000 (20:01 +0000)]
set label printer context for label printing

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

14 years agofix from tsbere to handle case where the print strategy is set to custom/external...
phasefx [Wed, 22 Sep 2010 20:01:55 +0000 (20:01 +0000)]
fix from tsbere to handle case where the print strategy is set to custom/external but the actual command is missing (perhaps due to xulrunner upgrades?)

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

14 years agofixes a bug in Item Status -> Alternate View when the item being viewed has no circ...
phasefx [Wed, 22 Sep 2010 19:37:43 +0000 (19:37 +0000)]
fixes a bug in Item Status -> Alternate View when the item being viewed has no circ modifier

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

14 years agoHoldings Maintenance used to make too many assumptions about what a decent org hierar...
phasefx [Wed, 22 Sep 2010 19:31:07 +0000 (19:31 +0000)]
Holdings Maintenance used to make too many assumptions about what a decent org hierarchy looked like, and had these rules to suppress some of the fetch-render-happy behavior that existed when clicking on org units.  We can remove them now, and this allows volumes to render when owned by the top of the org tree

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

14 years agoAdding a trigger. Upgrade # 0364 created the trigger function but not
scottmk [Wed, 22 Sep 2010 19:16:26 +0000 (19:16 +0000)]
Adding a trigger.  Upgrade # 0364 created the trigger function but not
the trigger itself.  However the base install script 040.schema.asset.sql
creates both the function and the trigger.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0414.schema.call-number-upd-ins-trigger.sql

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

14 years agoFor action.circulation and action.aged_circulation: add indexes
scottmk [Wed, 22 Sep 2010 15:59:06 +0000 (15:59 +0000)]
For action.circulation and action.aged_circulation: add indexes
on the target_copy column.

This change was made in upgrade script # 0017, but was apparently
never applied to the base install script.

M    Open-ILS/src/sql/Pg/090.schema.action.sql

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

14 years agoIn acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
scottmk [Wed, 22 Sep 2010 12:55:28 +0000 (12:55 +0000)]
In acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
dest_amount, in order to accommodate deallocations -- where we move
money out of a fund without moving it into another fund.

This change was applied via upgrade script # 0135, but apparently was
never applied to the base installation script.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql

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

14 years agoForward port r17847: Make query parser a bit more careful when converting convenience...
dbs [Wed, 22 Sep 2010 02:12:32 +0000 (02:12 +0000)]
Forward port r17847: Make query parser a bit more careful when converting convenience classes to search classes

Queries like "Heart disease: a global problem" were getting converted to series searches
due to the trailing "se:" in the search terms. This change ensures that the convenience
class is either at the start of the input or preceded by whitespace.

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

14 years agohandle null as a return result for an empty list
phasefx [Wed, 22 Sep 2010 01:03:19 +0000 (01:03 +0000)]
handle null as a return result for an empty list

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

14 years agouse fieldmapper.standardRequest here for easier configuration of the network timeout...
phasefx [Wed, 22 Sep 2010 00:55:55 +0000 (00:55 +0000)]
use fieldmapper.standardRequest here for easier configuration of the network timeout (the full pull list can take a while to return)

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

14 years agoReplace some changes that had inadvertently been deleted
scottmk [Tue, 21 Sep 2010 19:08:54 +0000 (19:08 +0000)]
Replace some changes that had inadvertently been deleted

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

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

14 years agoDon't make new auditor columns NOT NULL, or update them
scottmk [Tue, 21 Sep 2010 18:31:55 +0000 (18:31 +0000)]
Don't make new auditor columns NOT NULL, or update them

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

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

14 years agoDon't update history tables to fill in new NOT NULL columns
scottmk [Tue, 21 Sep 2010 18:16:51 +0000 (18:16 +0000)]
Don't update history tables to fill in new NOT NULL columns

M    Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql

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

14 years agoResolve some discrepancies in the auditor schema between a freshly installed
scottmk [Tue, 21 Sep 2010 17:47:53 +0000 (17:47 +0000)]
Resolve some discrepancies in the auditor schema between a freshly installed
database and an upgraded one.

A    Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql

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

14 years agooffline printer role
phasefx [Tue, 21 Sep 2010 17:02:52 +0000 (17:02 +0000)]
offline printer role

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

14 years agoHoldIsCancelled action_trigger validator
phasefx [Tue, 21 Sep 2010 16:19:04 +0000 (16:19 +0000)]
HoldIsCancelled action_trigger validator

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

14 years agoCorrect various discrepancies, especially in the auditor schema,
scottmk [Tue, 21 Sep 2010 15:40:23 +0000 (15:40 +0000)]
Correct various discrepancies, especially in the auditor schema,
between a freshly installed 2.0 database and an upgraded one.

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

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

14 years agoyet another bib ingest knob
gmc [Tue, 21 Sep 2010 14:19:31 +0000 (14:19 +0000)]
yet another bib ingest knob

When enabled, the ingest.assume_inserts_only flag disables
checking several tables for old index data to delete; skipping this
makes a small but noticeable difference when doing an initial bib
ingest with more than one process in parallel.

Note that this flag should not be used when *re*ingesting records
unless you clear the old rows beforehand.

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

14 years agoadd ingest.metarecord_mapping.skip_on_update internal flag
gmc [Tue, 21 Sep 2010 04:46:52 +0000 (04:46 +0000)]
add ingest.metarecord_mapping.skip_on_update internal flag

Enabling this allows bibliographic reingests (for new/changed indexes
or after data changes that don't affect the fingerprint) to be run
in parallel without lock contention on metarecord.metarecord* operations.

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

14 years agoClean up description of ARN in O:A:Cat::Authority now that arn_value is gone
dbs [Tue, 21 Sep 2010 03:54:26 +0000 (03:54 +0000)]
Clean up description of ARN in O:A:Cat::Authority now that arn_value is gone

A comment in the create_authority_record_from_bib_field() method stated that
the ARN value needed to be unique across the database; that is no longer true
as of r17722. Fix comment accordingly.

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

14 years agoCreate and edit... authority record now gets $0 control subfield auto-applied
dbs [Tue, 21 Sep 2010 03:44:35 +0000 (03:44 +0000)]
Create and edit... authority record now gets $0 control subfield auto-applied

Following on r17857, when you create an authority record in the flow using
the "Create and edit..." option, a $0 control subfield will automatically
be appended to the target field once "Save Record" is clicked on the authority
record editor pane. Non-savers of the bib record beware! Also subject to
interesting effects of the bib editor tab gets destroyed before the auth
record is created via the Save Record button.

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

14 years agoAppend the $0 controlling subfield to newly created authorities
dbs [Tue, 21 Sep 2010 03:25:05 +0000 (03:25 +0000)]
Append the $0 controlling subfield to newly created authorities

Still a work in progress; obviously we need to try and grab a better
institutional code, need to teach the "Create and edit..." option
how to do the same thing, and should augment the "Authority created"
dialog box to tell the user to save the record or lose the changes
they just made.

At some point we need to consider auto-saving records, perhaps immediately
after we provide infinite undo capability to step back through previous
changes.

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

14 years agoUse verbose parameters for createdb
dbs [Tue, 21 Sep 2010 03:05:48 +0000 (03:05 +0000)]
Use verbose parameters for createdb

Thomas Berezansky noticed that the README was using "createdb -t template0",
which isn't a valid option.  To avoid case problems and to be more apparent
what these options mean, let's use the verbose parameters.

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

14 years agoHow about one more permission check for serials here? Need more comprehensive
senator [Mon, 20 Sep 2010 22:47:35 +0000 (22:47 +0000)]
How about one more permission check for serials here? Need more comprehensive
review of this later.

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

14 years agoadd missing upgrade script for maintain_901() stored function
gmc [Mon, 20 Sep 2010 20:58:02 +0000 (20:58 +0000)]
add missing upgrade script for maintain_901() stored function

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

14 years agoThe serials perms that were missing from the DB.
senator [Mon, 20 Sep 2010 20:40:23 +0000 (20:40 +0000)]
The serials perms that were missing from the DB.

Later it'd be better to make these more a) comprehensive and b) elegant.

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

14 years agoadded pgpt class to pre-load set
erickson [Mon, 20 Sep 2010 18:23:56 +0000 (18:23 +0000)]
added pgpt class to pre-load set

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

14 years agoResolving various discrepancies between an upgraded 2.0 database
scottmk [Mon, 20 Sep 2010 18:07:01 +0000 (18:07 +0000)]
Resolving various discrepancies between an upgraded 2.0 database
and a freshly installed one.

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

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

14 years agoSo I don't have to worry about fixing this misspelling later.
senator [Mon, 20 Sep 2010 17:52:35 +0000 (17:52 +0000)]
So I don't have to worry about fixing this misspelling later.

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

14 years agoChange behavior of stat cat display in horizontal patron summary. Stat Cat tab shows...
phasefx [Mon, 20 Sep 2010 17:31:51 +0000 (17:31 +0000)]
Change behavior of stat cat display in horizontal patron summary.  Stat Cat tab shows all patron.stat_cat_entries.  Entries with usr_summary true also get shown in the Patron Info pane, underneath Email

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

14 years agoaddd missing opac_visible col and labels to config.usr_setting_type
erickson [Mon, 20 Sep 2010 17:09:23 +0000 (17:09 +0000)]
addd missing opac_visible col and labels to config.usr_setting_type

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

14 years agomarc_add_ids - better failure recovery
gmc [Mon, 20 Sep 2010 08:27:59 +0000 (08:27 +0000)]
marc_add_ids - better failure recovery

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

14 years agoAdd a miniwizard for serials holding codes in the AutoGrid based interfaces,
senator [Mon, 20 Sep 2010 07:29:58 +0000 (07:29 +0000)]
Add a miniwizard for serials holding codes in the AutoGrid based interfaces,
sparing the user from needed to input MARC breaker.

TODO:
    i18n
    Don't assume we always start with 4,1,8,1
    auto-populate chronlogy caption fields based on date (this should be easy)
    make it work in a tooltipdialog? (or don't, it seems frustrating)

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

14 years agoAcq: change a FilteringSelect dijit to a regular <select> to avoid a
senator [Mon, 20 Sep 2010 05:05:00 +0000 (05:05 +0000)]
Acq: change a FilteringSelect dijit to a regular <select> to avoid a
manifestation  of Dojo bug #11062; add more refresh grid buttons to unified
search

"Refresh Grid" buttons are a sad little stopgap measure to address a problem
where some AutoGrids show only some of the rows they're supposed to. Calling
.refresh() on the AutoGrid consitently right the grid.  Maybe the problem
is some kind of race condition, and maybe it's related to the use of "get"
and "formatter" attributes for some columns.  Or maybe it's something else.
Attempts continue to find the root of the problem and repair it.

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

14 years agoSearch for humans: AND and OR are more understandable than "&&" and "||"
dbs [Mon, 20 Sep 2010 04:33:09 +0000 (04:33 +0000)]
Search for humans: AND and OR are more understandable than "&&" and "||"

The operators && and || will not mean much to many people, whereas AND and
OR have common meanings that will aid in understanding the advanced search
interface.

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

14 years agoAcq: replace a couple remaining instances of "Picklist" with "Selection List"
senator [Mon, 20 Sep 2010 04:18:49 +0000 (04:18 +0000)]
Acq: replace a couple remaining instances of "Picklist" with "Selection List"

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

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