working/Evergreen.git
9 years agoScript is executable
atz [Fri, 10 Sep 2010 15:56:28 +0000 (15:56 +0000)]
Script is executable

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

9 years agoAdapt update.sh to make process changes
atz [Fri, 10 Sep 2010 15:54:52 +0000 (15:54 +0000)]
Adapt update.sh to make process changes

Some warnings still appear, but script works like it used to.

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

9 years agoadded command line option for defining a stderr output log file for the SIP server
erickson [Fri, 10 Sep 2010 14:17:02 +0000 (14:17 +0000)]
added command line option for defining a stderr output log file for the SIP server

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

9 years agoBooking: stop the "new resource type" dialog from executing a naughty query
senator [Fri, 10 Sep 2010 02:15:06 +0000 (02:15 +0000)]
Booking: stop the "new resource type" dialog from executing a naughty query

The dialog will no longer offer a field for selecting a bibliographic record,
but then again you wouldn't need it.  Bibliographically-based resource types
can be set up through a context menu option in the staff OPAC browser, whereas
this interface is only suited to non-bib-based resource types, like meeting
rooms, laptops, etc.

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

9 years agobetter synchronization between holds interface and hold details interface, and provid...
phasefx [Thu, 9 Sep 2010 22:15:53 +0000 (22:15 +0000)]
better synchronization between holds interface and hold details interface, and provide more data to list columns in hold details

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

9 years agoput these buttons under the sway of Dojo so that they don't get triggered when pressi...
phasefx [Thu, 9 Sep 2010 21:45:10 +0000 (21:45 +0000)]
put these buttons under the sway of Dojo so that they don't get triggered when pressing enter in random fields in the patron editor form.  I have no idea why this works :)

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

9 years agoImprove on 17547 to support a default value for /creating/ new objects while
senator [Thu, 9 Sep 2010 21:28:20 +0000 (21:28 +0000)]
Improve on 17547 to support a default value for /creating/ new objects while
letting the current value of an object pass through to the overriding widget
when /editing/.

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

9 years agoadded support for viewing and editing existing issuance-level holds to the default...
erickson [Thu, 9 Sep 2010 21:09:26 +0000 (21:09 +0000)]
added support for viewing and editing existing issuance-level holds to the default opac skin

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

9 years agoadded alternate issuance flesh call that only fleshes the subscription; used for...
erickson [Thu, 9 Sep 2010 21:09:25 +0000 (21:09 +0000)]
added alternate issuance flesh call that only fleshes the subscription;  used for public/opac display

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

9 years agoChange the field order in asset.call_number_class if you want to sort these
phasefx [Thu, 9 Sep 2010 20:35:47 +0000 (20:35 +0000)]
Change the field order in asset.call_number_class if you want to sort these

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

9 years agoStyling tweaks to brief bib summary bar. More tooltips, and expose record id and...
phasefx [Thu, 9 Sep 2010 20:35:44 +0000 (20:35 +0000)]
Styling tweaks to brief bib summary bar.  More tooltips, and expose record id and bib call number (from the first available defined in the appropriate asset.call_number_class entry)

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

9 years agoMake overrideEditWidgets to an AutoGrid able to accept shoved in values from
senator [Thu, 9 Sep 2010 18:53:14 +0000 (18:53 +0000)]
Make overrideEditWidgets to an AutoGrid able to accept shoved in values from
the fields of the object they're editing.

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

9 years agoloop over users in a group, as the plan for usrgroup+mous is terrible
miker [Thu, 9 Sep 2010 16:30:01 +0000 (16:30 +0000)]
loop over users in a group, as the plan for usrgroup+mous is terrible

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

9 years agoshould have had this index all along, but was less important until now where copy...
miker [Thu, 9 Sep 2010 15:55:50 +0000 (15:55 +0000)]
should have had this index all along, but was less important until now where copy nnotes are used up front

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

9 years agoWith group billing calls we need a new index
miker [Thu, 9 Sep 2010 15:31:23 +0000 (15:31 +0000)]
With group billing calls we need a new index

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

9 years agoported ils-version comment updates to trunk, change ils-version to HEAD for trunk...
erickson [Thu, 9 Sep 2010 14:22:22 +0000 (14:22 +0000)]
ported ils-version comment updates to trunk, change ils-version to HEAD for trunk installs

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

9 years agoSerials: pattern wizard bugfix
senator [Thu, 9 Sep 2010 13:44:18 +0000 (13:44 +0000)]
Serials: pattern wizard bugfix

Previously, you couldn't always compile the pattern at the end of the wizard
if you elected not to use certain parts of the wizard, such as enumeration
captions, even though to do so should be perfectly valid.

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

9 years agofor consistency, use 'issuanceid' as the issuance ID param for holds possibility...
erickson [Thu, 9 Sep 2010 13:35:18 +0000 (13:35 +0000)]
for consistency, use 'issuanceid' as the issuance ID param for holds possibility testing; removed some crusty, old hold creation code

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

9 years agoAddress typos and grammar in seed data
dbs [Thu, 9 Sep 2010 02:51:55 +0000 (02:51 +0000)]
Address typos and grammar in seed data

TODO: Consistently wrap translatable content in oils_i18n_gettext() calls

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

9 years agoMake OpenLibrary the default added content provider
dbs [Thu, 9 Sep 2010 01:50:10 +0000 (01:50 +0000)]
Make OpenLibrary the default added content provider

OpenLibrary is a better choice than Amazon for added content out of the box
because:

1) The OpenLibrary added content handler provides cover images +
tables of content, whereas the Amazon added content handler only
provides cover images.

2) The terms of use for OpenLibrary content are much friendlier than
the Amazon "Product Advertising API".

We discussed this back in mid-2009: http://markmail.org/message/csx2hl6aleznapga

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

9 years agoCheck for empty-ok after testing issuance copies in addition to when there are no...
miker [Wed, 8 Sep 2010 22:34:16 +0000 (22:34 +0000)]
Check for empty-ok after testing issuance copies in addition to when there are no copies to test

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

9 years agothinko in seed data permission
miker [Wed, 8 Sep 2010 20:53:32 +0000 (20:53 +0000)]
thinko in seed data permission

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

9 years agoMiddle Layer work to enable Issuance (type I) holds; also cleaned up support for...
miker [Wed, 8 Sep 2010 20:46:27 +0000 (20:46 +0000)]
Middle Layer work to enable Issuance (type I) holds; also cleaned up support for F(orce) and R(ecall) copy-type holds, UI pending

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

9 years agoSerials: Improve open-ils.serial.receive_items.one_unit_per; remove dead code
senator [Wed, 8 Sep 2010 20:16:20 +0000 (20:16 +0000)]
Serials: Improve open-ils.serial.receive_items.one_unit_per; remove dead code

..receive_items.one_unit_per will now generate/update summaries as
..receive_items already does.

..items.receive_by_id was unneeded, dead code.

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

9 years agomake the table rows containing stat cats in the patron editor more easily selectable...
phasefx [Wed, 8 Sep 2010 19:57:33 +0000 (19:57 +0000)]
make the table rows containing stat cats in the patron editor more easily selectable by CSS.  So, for example, we could put something like this in register_custom.css: TR[stat_cat_id='1'] { border: solid thick red; font-size: x-large; }

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

9 years agolet's us set the z-index to -1 for rows in register_custom.css to make certain patron...
phasefx [Wed, 8 Sep 2010 19:32:42 +0000 (19:32 +0000)]
let's us set the z-index to -1 for rows in register_custom.css to make certain patron editor fields read-only.  miker_++

For example: TR[fmfield=ident_value] { z-index: -1; }

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

9 years agoMake Class::DBI::Frozen::301 a common forced module for all distros; genericize RHEL...
dbs [Wed, 8 Sep 2010 18:57:43 +0000 (18:57 +0000)]
Make Class::DBI::Frozen::301 a common forced module for all distros; genericize RHEL/CentOS

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

9 years agoLibrary::CallNumber::LC is now in CPAN
dbs [Wed, 8 Sep 2010 18:10:47 +0000 (18:10 +0000)]
Library::CallNumber::LC is now in CPAN

We briefly had to grab Library::CallNumber::LC from the SVN repo, but
that broke on systems without subversion installed (argh). Thankfully
the maintainer moved Library::CallNumber::LC to CPAN so our job becomes
routine.

Thanks to Chris Sharp and Benjamin Shum for running the gauntlet of a
2.0 alpha install and finding this problem.

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

9 years agoorg unit settings for default ident type and default country for new users and new...
phasefx [Wed, 8 Sep 2010 18:10:15 +0000 (18:10 +0000)]
org unit settings for default ident type and default country for new users and new addresses in patron editor

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

9 years ago* move inline CSS in patron editor to a file
phasefx [Wed, 8 Sep 2010 16:17:48 +0000 (16:17 +0000)]
* move inline CSS in patron editor to a file
* hook for custom CSS file to override patron editor styling

So for example, you can create /openils/var/web/css/skin/default/register_custom.css and have it contain CSS like this:

TR[fmfield=ident_type] { display: none; } /* dangerous if the widget is required and doesn't have a default */
TR[fmfield=ident_value2] > TD { font-size: x-large; }
TR[fmfield=barred] { display: none; }
TR[fmfield=country] { display: none; } /* dangerous if the widget is required and doesn't have a default */
TR[fmfield=master_account] { display: none; }
TR[fmfield=alert_message] { display: none; }

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

9 years agoA simple "vital stats" collector method returning information about a user for displa...
miker [Wed, 8 Sep 2010 14:37:22 +0000 (14:37 +0000)]
A simple "vital stats" collector method returning information about a user for display in the OPAC or Staff Client.

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

9 years agoCleanup of reporter:selector values instigated by a report from Sally Fortin of the...
miker [Wed, 8 Sep 2010 13:36:09 +0000 (13:36 +0000)]
Cleanup of reporter:selector values instigated by a report from Sally Fortin of the missing selector for the cbt class.

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

9 years agoWe were shoving a fieldmapper actor.usr object into hold slip templates as params...
phasefx [Wed, 8 Sep 2010 06:50:02 +0000 (06:50 +0000)]
We were shoving a fieldmapper actor.usr object into hold slip templates as params.data.user, but that environment doesn't have fieldmapper, dojo, etc.  To sidestep some difficulties adding such libraries, this takes user stat cat entries and shoves them in as normal Javascript objects (params.data.user_stat_cat_entries)

So you can add something like this to the hold slip template:

<script>
    var x = params.data.user_stat_cat_entries;
    for (var i = 0; i < x.length; i++) {
        document.write(x[i].stat_cat.name + ' : ' + x[i].stat_cat_entry + '<br/>');
    }
</script>

However, such pig-trickery with inline Javascript only works with the Mozilla Print strategy (where we render HTML and execute Javascript).

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

9 years agogive OpenILS.data.lookup the ability to handle actor stat cats
phasefx [Wed, 8 Sep 2010 06:49:34 +0000 (06:49 +0000)]
give OpenILS.data.lookup the ability to handle actor stat cats

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

9 years agodisabled lib menu entries in Holdings Maintenance was an artifact of that menu data...
phasefx [Wed, 8 Sep 2010 04:07:32 +0000 (04:07 +0000)]
disabled lib menu entries in Holdings Maintenance was an artifact of that menu data being generated and used in other contexts.  This enables all the libs for the menu in Holdings Maintenance

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

9 years agoTweaked Holdings Maintenance so that it only shows the selected library, its ancestor...
phasefx [Tue, 7 Sep 2010 20:50:58 +0000 (20:50 +0000)]
Tweaked Holdings Maintenance so that it only shows the selected library, its ancestors, and its descendents, subject to a Limit menu for org depth (so for example, in the stock example hierarchy where you have Consortium -> System -> Branch -> Sub-Library/Bookmobile, if you Limit to Branch, you will not see any Bookmobile or Sub-Library orgs).  It no longer renders sibling libs when clicking through the list.

Also...

* some refactoring and comment removal
* less obtrusive but hopefully still useful menu entry styling for library entries that have volumes
* some defensive coding for util.make_menulist

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

9 years agoThe reporter and extend_reporter schemas are no longer optional.
scottmk [Tue, 7 Sep 2010 19:56:48 +0000 (19:56 +0000)]
The reporter and extend_reporter schemas are no longer optional.
So changes to them go back into the transaction.

ALTERs to auditor.action_hold_request_history stay outside of the
transaction, at least for now, until the status of that table
is clarified.

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

9 years agoa little more SIP checkin logging
erickson [Tue, 7 Sep 2010 16:54:44 +0000 (16:54 +0000)]
a little more SIP checkin logging

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

9 years agocache the SIP login session to determine 'where' a transaction is occuring in case...
erickson [Tue, 7 Sep 2010 16:41:53 +0000 (16:41 +0000)]
cache the SIP login session to determine 'where' a transaction is occuring in case the caller does not indicate the location; compare hold pickup lib to physical location to determine alert type; small logging and format tweaks

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

9 years agoMove some operations out of the transaction so that they can
scottmk [Tue, 7 Sep 2010 16:12:15 +0000 (16:12 +0000)]
Move some operations out of the transaction so that they can
fail without killing the script.  The affected objects do
not necessarily exist -- i.e. the reporter schema, the
extend_reporter schema, and the auditor.action_hold_request_history
table.

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

9 years agoOnly modify msg when needed or we'll get spurious 'stop sign' pages
phasefx [Tue, 7 Sep 2010 15:24:55 +0000 (15:24 +0000)]
Only modify msg when needed or we'll get spurious 'stop sign' pages

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

9 years agomake lineitem price updates synchronous to prevent race condition between onChange...
erickson [Tue, 7 Sep 2010 14:51:21 +0000 (14:51 +0000)]
make lineitem price updates synchronous to prevent race condition between onChange of price set completion and PO activation

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

9 years agoConsolidated upgrade script for 1.6 -> 2.0.
scottmk [Tue, 7 Sep 2010 14:18:50 +0000 (14:18 +0000)]
Consolidated upgrade script for 1.6 -> 2.0.

Things still missing:

1. Inserts and other changes to permission.perm_list and
permission.grp_perm_map. These can't be derived in a simple way from
the individual upgrade scripts, and will have to be hand-crafted to
fit what's already in the seed data.

2. Operations on optional schemas need to be moved out of the
transaction so that the script will work in a database that
doesn't have them.

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

9 years agoAutoFieldWidget now shows timestamps correctly.
senator [Fri, 3 Sep 2010 21:47:13 +0000 (21:47 +0000)]
AutoFieldWidget now shows timestamps correctly.

Timestamps used to be a little bit off because of Dojo's limited parsing
of ISO6801 stamps.

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

9 years agomake the authcookie param (and openils.User.authcookie) useful
miker [Fri, 3 Sep 2010 21:08:07 +0000 (21:08 +0000)]
make the authcookie param (and openils.User.authcookie) useful

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

9 years agoevent code may be 0 (SUCCESS) == false in SIP checkin, check defined instead
erickson [Fri, 3 Sep 2010 20:00:22 +0000 (20:00 +0000)]
event code may be 0 (SUCCESS) == false in SIP checkin, check defined instead

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

9 years agomake insertOrderedFields insert in /ascending/ order instead of descending. doh
miker [Fri, 3 Sep 2010 19:55:06 +0000 (19:55 +0000)]
make insertOrderedFields insert in /ascending/ order instead of descending. doh

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

9 years agogive default OUs separate addresses
gmc [Fri, 3 Sep 2010 19:28:01 +0000 (19:28 +0000)]
give default OUs separate addresses

Per suggestion from Anoop Atre to avoid a new user
changing one OU address in a new database and wondering
why all of the OU addresses were changed.

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

9 years agorestrict deletion of perm_lists in use
gmc [Fri, 3 Sep 2010 19:16:59 +0000 (19:16 +0000)]
restrict deletion of perm_lists in use

Per suggestion by Mike Rylander; prevents overzealous
administrator from removing necessary permisions that
are in use.

TODO: UI to make it clear when that happens

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

9 years agoPatron address copy on clone
erickson [Fri, 3 Sep 2010 19:13:08 +0000 (19:13 +0000)]
Patron address copy on clone

In patron reg, copy address instead of linking to original address on
clone.  Controlled by new org unit setting

circ.patron_edit.clone.copy_address

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

9 years agorepaired thinko in hold targeting org-unit max-loops check
erickson [Fri, 3 Sep 2010 19:00:05 +0000 (19:00 +0000)]
repaired thinko in hold targeting org-unit max-loops check

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

9 years agouse slice to clone arguments as an array, because arguments does not support splice
miker [Fri, 3 Sep 2010 17:35:00 +0000 (17:35 +0000)]
use slice to clone arguments as an array, because arguments does not support splice

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

9 years agowe should really just use for(;;) for arguments
miker [Fri, 3 Sep 2010 17:30:36 +0000 (17:30 +0000)]
we should really just use for(;;) for arguments

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

9 years agoallow updates of permission.perm_list.id to cascade
gmc [Fri, 3 Sep 2010 16:37:15 +0000 (16:37 +0000)]
allow updates of permission.perm_list.id to cascade

Doing this to make it possible to reshuffle permission IDs
for upgrades to 2.0.x

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

9 years agoSerials: a wizard for the pattern code field of the caption_and_pattern object
senator [Fri, 3 Sep 2010 16:30:47 +0000 (16:30 +0000)]
Serials: a wizard for the pattern code field of the caption_and_pattern object

This field holds the same data you'd find in the contents of an 853, 854, or
855 tag.  This wizard aims to make it a little easier for mere mortals to
compose this information, since the correctness of this field is fairly
central to reasonably accurate serials issuance prediction.

Find a button to launch this wizard from the Caption/Pattern interface of the
Serial Control View.

Big thanks to Galen Charlton, Dan Wells and Mike Rylander for all the help in
getting this started and understanding the MARC.

The wizard does still have a way to go before it's everything it can be. It
still needs (in no particular order):
    - scrollbars on that dialog window
    - support for subfield $y and probably $z, possibly others
    - i18n fixes, accessibility improvements
    - more control over subfield $8
    - more input validation and user guidance; sane defaults for some fields?
    - reconsideration of the order of the parts of the wizard
    - finding out if it makes sense to allow $m without $j,$k and $l present

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

9 years agotypo in supercat fixup
miker [Fri, 3 Sep 2010 15:38:03 +0000 (15:38 +0000)]
typo in supercat fixup

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

9 years agoadd opac_visible to asset.copy_location and org units
miker [Fri, 3 Sep 2010 15:36:21 +0000 (15:36 +0000)]
add opac_visible to asset.copy_location and org units

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

9 years agousers with no transaction history will have no xact summary; protect
erickson [Fri, 3 Sep 2010 13:36:11 +0000 (13:36 +0000)]
users with no transaction history will have no xact summary; protect

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

9 years agowire up the alternate print approach for full pull lists
phasefx [Thu, 2 Sep 2010 23:57:51 +0000 (23:57 +0000)]
wire up the alternate print approach for full pull lists

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

9 years agoup the default pull list limit from 50 to 100
phasefx [Thu, 2 Sep 2010 23:57:47 +0000 (23:57 +0000)]
up the default pull list limit from 50 to 100

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

9 years agofix the problem where login does not work immediately after registering a workstation
phasefx [Thu, 2 Sep 2010 20:10:36 +0000 (20:10 +0000)]
fix the problem where login does not work immediately after registering a workstation

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

9 years agoUtility for ISBN10->ISBN13 upconversion
atz [Thu, 2 Sep 2010 18:47:35 +0000 (18:47 +0000)]
Utility for ISBN10->ISBN13 upconversion

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

9 years agoCirc/Booking: replace checks for the CAPTURE_RESERVATION permission with
senator [Thu, 2 Sep 2010 18:45:28 +0000 (18:45 +0000)]
Circ/Booking: replace checks for the CAPTURE_RESERVATION permission with
checks for COPY_CHECKIN

There's no such permission as CAPTURE_HOLD, so why should reservations be
different?  Also, testing for reservations to capture during normal checkin
was making trouble for users if they didn't have CAPTURE_RESERVATION.

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

9 years agodisplay PO order (activation) date in PO page
erickson [Thu, 2 Sep 2010 17:35:46 +0000 (17:35 +0000)]
display PO order (activation) date in PO page

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

9 years agoadded holds pull list action/trigger template w/ API call for fetching the formatted...
erickson [Thu, 2 Sep 2010 16:21:45 +0000 (16:21 +0000)]
added holds pull list action/trigger template w/ API call for fetching the formatted HTML.  This allows for an alternate print approach, particularly useful for large pull lists

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

9 years agoxulrunner 1.9.1.11 seems to be behaving, and is one of the only 3 releases currently...
phasefx [Thu, 2 Sep 2010 06:25:36 +0000 (06:25 +0000)]
xulrunner 1.9.1.11 seems to be behaving, and is one of the only 3 releases currently showing up in releases.mozilla.org

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

9 years agolet's use xulrunner 1.9.0.17 for a while; it feels like it has fewer problems than...
phasefx [Thu, 2 Sep 2010 05:08:58 +0000 (05:08 +0000)]
let's use xulrunner 1.9.0.17 for a while; it feels like it has fewer problems than 1.9.2.8

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

9 years agostop the chilifresh undefined errors in craftsman
phasefx [Thu, 2 Sep 2010 05:08:19 +0000 (05:08 +0000)]
stop the chilifresh undefined errors in craftsman

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

9 years agoForward-port org unit setting types from r17392
dbs [Thu, 2 Sep 2010 03:18:53 +0000 (03:18 +0000)]
Forward-port org unit setting types from r17392

The upgrade script was committed in r17322 but the 950.data.seed-values.sql
script still had the incorrect values in oils_i18n_gettext().

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

9 years agoi18n for biblio source editor and label prefix/suffix fields in copy location editor
dbs [Thu, 2 Sep 2010 02:35:37 +0000 (02:35 +0000)]
i18n for biblio source editor and label prefix/suffix fields in copy location editor

There were a few outstanding strings in the biblio source editor and copy location
editor that needed attention. They are now un-hardcoded.

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

9 years agoExperiment with putting a .pot under version control to see if Launchpad picks it...
dbs [Thu, 2 Sep 2010 02:11:21 +0000 (02:11 +0000)]
Experiment with putting a .pot under version control to see if Launchpad picks it up for translations

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

9 years agoSerials: checkbox for batch receive interface to en/disable receiving w units
senator [Wed, 1 Sep 2010 22:57:49 +0000 (22:57 +0000)]
Serials: checkbox for batch receive interface to en/disable receiving w units

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

9 years agoSerials: improve the alternative batch receive interface for the
senator [Wed, 1 Sep 2010 20:10:04 +0000 (20:10 +0000)]
Serials: improve the alternative batch receive interface for the
barcode-heavy, one unit per item workflow. Support setting call numbers
at receive time, effectively making it possible to associate call numbers
with issuances instead of associating them with distributions.

Other bugfixes/tweaks to the same interface.

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

9 years agoadded explicit IDL class loading for cbreb, cbrebi, mvr, and ahr
erickson [Wed, 1 Sep 2010 13:55:16 +0000 (13:55 +0000)]
added explicit IDL class loading for cbreb, cbrebi, mvr, and ahr

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

9 years agodisable non-usergroup profiles in user registration profile group selector
erickson [Tue, 31 Aug 2010 21:22:45 +0000 (21:22 +0000)]
disable non-usergroup profiles in user registration profile group selector

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

9 years agoallow pass-thru of filteringtreeselect disableQuery as constructor param
erickson [Tue, 31 Aug 2010 21:22:44 +0000 (21:22 +0000)]
allow pass-thru of filteringtreeselect disableQuery as constructor param

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

9 years agoadded support for specifying a dojo.data-style query to select options in the filteri...
erickson [Tue, 31 Aug 2010 21:22:43 +0000 (21:22 +0000)]
added support for specifying a dojo.data-style query to select options in the filtering select to 'disable'.  disabling greys the background and prevents selection of the items in question

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

9 years agoprintable_output() support in util.browser had stopped working, and this fixes that...
phasefx [Tue, 31 Aug 2010 20:08:09 +0000 (20:08 +0000)]
printable_output() support in util.browser had stopped working, and this fixes that.  If an interface embedded in util.browser has a printable_output() function, the text output from that function should be printed, instead of a direct print attempt against the content window

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

9 years agodistribution formula config UI repairs/enhancements
erickson [Tue, 31 Aug 2010 19:49:03 +0000 (19:49 +0000)]
distribution formula config UI repairs/enhancements

added distribution formula cloning
added ability to change distrib formula name from formula detail page
plugged some i18n holes
using local copy of dimple grippy icons in distrib formula UI
added local copy of dimple.png w/ new license file indicating image origin/license.

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

9 years agoBooking: fix a bug in selecting the start/end date of a reservation
senator [Tue, 31 Aug 2010 17:05:20 +0000 (17:05 +0000)]
Booking: fix a bug in selecting the start/end date of a reservation

This bug would generally only manifest on certain days of the year
(1/29-31, 3/31, 5/31, 8/31, and 10/31).

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

9 years agofixes a bug when purging offline transactions after an Export
phasefx [Tue, 31 Aug 2010 17:01:30 +0000 (17:01 +0000)]
fixes a bug when purging offline transactions after an Export

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

9 years agouse current_loc as the circ_lib for checkin if provided and formatted as a valid...
erickson [Tue, 31 Aug 2010 12:48:32 +0000 (12:48 +0000)]
use current_loc as the circ_lib for checkin if provided and formatted as a valid org shortname

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

9 years agouse circ_lib param instead of direct ws_ou acccess
erickson [Tue, 31 Aug 2010 12:48:31 +0000 (12:48 +0000)]
use circ_lib param instead of direct ws_ou acccess

circulator->circ_lib, which defaults to requestor->ws_ou (but is
overrideable) should be used in in lieu of direct ws_ou accesss;

This is useful when the caller is not physically logged in to a
workstation (e.g. centralized SIP client) and need to specify the
physical location through other means.

This change has no effect unless circ_lib is overridden by the caller

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

9 years agodistrib formula streamlined drag-n-drop UI.
erickson [Tue, 31 Aug 2010 03:52:53 +0000 (03:52 +0000)]
distrib formula streamlined drag-n-drop UI.

Goal is to make distrib formulas faster/easier to create and manage
TODO: add a clone option for formulas; style tweaks

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

9 years agoistanceOf is not of this world; use dojo.isArray instead
erickson [Tue, 31 Aug 2010 03:52:52 +0000 (03:52 +0000)]
istanceOf is not of this world; use dojo.isArray instead

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

9 years agopcrud.apply repairs.
erickson [Tue, 31 Aug 2010 03:52:51 +0000 (03:52 +0000)]
pcrud.apply repairs.

Skip objects that require no action instead of throwing an exception
In last oncomplete handler, call final-complete as necessary and disconnect instead of starting over at object list position 0; no longer any need for final-complete/disconnect outside of closing request handler

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

9 years agoAllow the OPAC to autoload IDL classes instead of either pulling in a long class...
miker [Tue, 31 Aug 2010 03:31:09 +0000 (03:31 +0000)]
Allow the OPAC to autoload IDL classes instead of either pulling in a long class list and evaluating them all, or loading a .5MB+ xml file and parsing the whole thing. 40% speedup in simple tests where cache is bypassed.

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

9 years agoMake the bib source selector in Vandelay MARC batch importer/exporter work
dbs [Tue, 31 Aug 2010 03:20:28 +0000 (03:20 +0000)]
Make the bib source selector in Vandelay MARC batch importer/exporter work

The bib source selector in Vandelay offered a drop down of the available
bib source selections, but never actually affected the source attribute
of the bib records in biblio.record_entry when they were imported. This
commit finishes off the logic that was almost there.

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

9 years agoAdd explicit rtype options to more invokers of the MARC Editor
dbs [Tue, 31 Aug 2010 03:17:35 +0000 (03:17 +0000)]
Add explicit rtype options to more invokers of the MARC Editor

Neither are particularly applicable to the current bib_source editor
implementation, but may be useful for other purposes inside the editor.

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

9 years agoAdd a bib_source editor widget to the MARC editor
dbs [Mon, 30 Aug 2010 22:01:10 +0000 (22:01 +0000)]
Add a bib_source editor widget to the MARC editor

This widget should only be exposed when editing bibliographic MARC records.
The existing restriction of not being able to set the bib source when importing
via Z39.50 sadly remains in place; I believe the best place to tackle that will
be in the Z39.50 import interface itself.

Also TODO: i18n

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

9 years agoadded option (suppressEditFields) to suppress fields from an autogrid's EditPane
erickson [Mon, 30 Aug 2010 17:39:27 +0000 (17:39 +0000)]
added option (suppressEditFields) to suppress fields from an autogrid's EditPane

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

9 years agodisallow self-check login w/ inactive barcode
erickson [Mon, 30 Aug 2010 17:27:38 +0000 (17:27 +0000)]
disallow self-check login w/ inactive barcode

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

9 years agoshow lineitem ID for each lineitem in lineitem table (po/pl) and general lineitem...
erickson [Mon, 30 Aug 2010 17:27:37 +0000 (17:27 +0000)]
show lineitem ID for each lineitem in lineitem table (po/pl) and general lineitem summary blob (invoicing)

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

9 years agoBasic auto-grid based editor for copy templates. Useful esp. for serials.
senator [Mon, 30 Aug 2010 17:02:22 +0000 (17:02 +0000)]
Basic auto-grid based editor for copy templates.  Useful esp. for serials.

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

9 years agooption to not include claims returned circs in summary sidebar and under-button tallies
phasefx [Mon, 30 Aug 2010 16:49:00 +0000 (16:49 +0000)]
option to not include claims returned circs in summary sidebar and under-button tallies

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

9 years agoshow penalty/message notes on "Stop Sign Page"
phasefx [Mon, 30 Aug 2010 16:15:40 +0000 (16:15 +0000)]
show penalty/message notes on "Stop Sign Page"

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

9 years agoreceipt printer context
phasefx [Mon, 30 Aug 2010 15:36:24 +0000 (15:36 +0000)]
receipt printer context

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

9 years agoallows us to set printer context for list-based print actions
phasefx [Mon, 30 Aug 2010 15:36:23 +0000 (15:36 +0000)]
allows us to set printer context for list-based print actions

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

9 years agomail printer context
phasefx [Mon, 30 Aug 2010 15:36:20 +0000 (15:36 +0000)]
mail printer context

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

9 years agolabel printer context
phasefx [Mon, 30 Aug 2010 15:36:18 +0000 (15:36 +0000)]
label printer context

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