working/Evergreen.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoinfrastructure for context sensitive print setting
phasefx [Mon, 30 Aug 2010 15:36:16 +0000 (15:36 +0000)]
infrastructure for context sensitive print setting

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

11 years agoMake "show item details" consistent for top AND bottom of patron items out
senator [Mon, 30 Aug 2010 14:57:56 +0000 (14:57 +0000)]
Make "show item details" consistent for top AND bottom of patron items out

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

11 years agoComplete the label font settings namespace change and replace some debug values for...
dbs [Mon, 30 Aug 2010 14:56:55 +0000 (14:56 +0000)]
Complete the label font settings namespace change and replace some debug values for spine margin

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

11 years agoAdd upgrade script to go along with r13763 (thanks for the reminder, senator)
dbs [Mon, 30 Aug 2010 14:47:37 +0000 (14:47 +0000)]
Add upgrade script to go along with r13763 (thanks for the reminder, senator)

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

11 years agoDisplay blank instead of 'undefined' for undefined label prefixes and suffixes
dbs [Mon, 30 Aug 2010 14:23:17 +0000 (14:23 +0000)]
Display blank instead of 'undefined' for undefined label prefixes and suffixes

When you saved an "undefined" prefix or suffix, that string would actually be stuffed
into the database, which is not optimal.

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

11 years agoUse different label printing strategies for XUL 1.9.2 vs. 1.9.0
dbs [Mon, 30 Aug 2010 14:13:00 +0000 (14:13 +0000)]
Use different label printing strategies for XUL 1.9.2 vs. 1.9.0

r16421 contained a fix for printing in XUL 1.9.2 that appears to have
broken printing in XUL 1.9.0. This change should switch back to the old
style of printing if XUL 1.9.0 is detected, and otherwise uses the 1.9.2
strategy for any other version of XUL.

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

11 years agoRefine the backspace operation in spine label editor
dbs [Mon, 30 Aug 2010 12:26:04 +0000 (12:26 +0000)]
Refine the backspace operation in spine label editor

Make backspace at the start of a line also move up to the previous row.

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

11 years agoTeach the spine label editor to use the label prefixes and suffixes
dbs [Fri, 27 Aug 2010 21:58:24 +0000 (21:58 +0000)]
Teach the spine label editor to use the label prefixes and suffixes

If label_prefix or label_suffix are defined in asset.copy_location, the
spine label editor will now prefix or suffix them to the call number
label respectively.

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

11 years agoSerials: closer to full working receiving in the batch receive interface
senator [Fri, 27 Aug 2010 21:50:28 +0000 (21:50 +0000)]
Serials: closer to full working receiving in the batch receive interface

Units are actually created now, one per item. Plus misc bug fixes.
For more flexible binding of items into units, see the serial control view.

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

11 years agoAdd label_prefix and label_suffix columns to asset.copy_location
dbs [Fri, 27 Aug 2010 21:11:05 +0000 (21:11 +0000)]
Add label_prefix and label_suffix columns to asset.copy_location

These columns will be used to (optionally) set label prefixes and suffixes
when printing spine labels for copies at a given copy location.

The copy location editor has been taught to be aware of these new columns,
but right now a NULL prefix or suffix will be turned into an empty string
once the copy location has been edited. That might not be a big deal, but
I'm a foolish hobgoblin and like consistency.

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

11 years agosupport hiding of patron credit functionality. To do this, create a server/skin...
phasefx [Fri, 27 Aug 2010 18:13:26 +0000 (18:13 +0000)]
support hiding of patron credit functionality.  To do this, create a server/skin/global_custom.css file containing  .hide_patron_credit { display: none }

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

11 years agoCleaner implementation of LC subclass / Cutter spine label splitting
dbs [Fri, 27 Aug 2010 16:08:22 +0000 (16:08 +0000)]
Cleaner implementation of LC subclass / Cutter spine label splitting

TODO: detect whether this library is configured as an LC library and
only invoke these call number machinations if that is the case. That
leaves the door open for implementations of preferred Dewey splitting
mechanisms, etc.

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

11 years agoSplit spine labels between the alpha and numeric part of the LC subclass
dbs [Fri, 27 Aug 2010 14:10:27 +0000 (14:10 +0000)]
Split spine labels between the alpha and numeric part of the LC subclass

Some sites jam the alpha and numberic parts of the LC subclass together;
for example "QA76.76" instead of "QA 76.76". Without the space, Evergreen
was not inserting a line break. This commit will insert a line break
automatically if the first element of a call number contains 1 to 3 alpha
characters followed immediately by 1 or more numbers.

This should not affect Dewey or most other classification systems, but will
have the effect of making call numbers split as follows:

Given "QA76.76 S93 1998", generate:

QA
76.76
S93
1998

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

11 years agoRestrict authority record fields to 1xx and 5xx when offering a match
dbs [Fri, 27 Aug 2010 01:19:26 +0000 (01:19 +0000)]
Restrict authority record fields to 1xx and 5xx when offering a match

When you right-click on a subfield eligible for authority control and display
the list of authority records that match the left-truncated subfield, we should
not display every field in the matching authority records; the 1xx and 5xx seem
like the obvious options to which the selection should be limited.

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

11 years agomissing COMMIT;
phasefx [Thu, 26 Aug 2010 19:19:29 +0000 (19:19 +0000)]
missing COMMIT;

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

11 years agouse openils.Util.printHtmlString for invoice printing; added progress dialog while...
erickson [Thu, 26 Aug 2010 18:14:12 +0000 (18:14 +0000)]
use openils.Util.printHtmlString for invoice printing; added progress dialog while wiating for invoices to arrive

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

11 years agoadded support for returning hold shelf expire time (CM field) in item info response...
erickson [Thu, 26 Aug 2010 17:03:06 +0000 (17:03 +0000)]
added support for returning hold shelf expire time (CM field) in item info response when an item has been captured for a hold.  value is populated if item is on holds shelf or in transit to holds shelf

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

11 years agodepth could be 0, don't undef on false; repaired url param addition of depth
erickson [Thu, 26 Aug 2010 17:03:05 +0000 (17:03 +0000)]
depth could be 0, don't undef on false; repaired url param addition of depth

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

11 years agoexamples of how to specify default preferred language and weight values
miker [Thu, 26 Aug 2010 16:53:51 +0000 (16:53 +0000)]
examples of how to specify default preferred language and weight values

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

11 years agoFix mismatches between cat.spine.font.* and cat.label.font.* that phasefx caught
dbs [Thu, 26 Aug 2010 15:16:19 +0000 (15:16 +0000)]
Fix mismatches between cat.spine.font.* and cat.label.font.* that phasefx caught

The font settings apply to both spine and pocket labels, and I committed
the original upgrade and SQL scripts half-way through adjusting for that
realization.

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

11 years agoFix OPAC renewals, broken by an imperfect booking test.
senator [Thu, 26 Aug 2010 14:39:59 +0000 (14:39 +0000)]
Fix OPAC renewals, broken by an imperfect booking test.

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

11 years agoSpine label editor: make ENTER at the end of a line move to next line
dbs [Thu, 26 Aug 2010 12:49:16 +0000 (12:49 +0000)]
Spine label editor: make ENTER at the end of a line move to next line

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

11 years agoProvide a visual delimiter for the spine/pocket label groupbox
dbs [Thu, 26 Aug 2010 03:49:20 +0000 (03:49 +0000)]
Provide a visual delimiter for the spine/pocket label groupbox

This just wraps a black border around the area where users edit
the spine/pocket label, to give an idea of the area that can
be edited according to the line width / length settings.

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

11 years agoAdd explicit identification of the master authority record when merging
dbs [Thu, 26 Aug 2010 03:07:39 +0000 (03:07 +0000)]
Add explicit identification of the master authority record when merging

We now generate a table with the first cell containing either "Master"
(indicating the record into which the other records will be merged) and
or "Target" (indicating that the record will be merged into the master.

This also adds a horizontal rule to delineate between the form buttons
at the top, and adds borders to provide more clarity between the mergebox
contents.

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

11 years agoAdd font-weight to label settings to support boldness
dbs [Thu, 26 Aug 2010 01:38:54 +0000 (01:38 +0000)]
Add font-weight to label settings to support boldness

  * font-weight gets its own user-editable setting on the label generator UI,
along with a library setting, so now you too can have bold spine labels applied
uniformly at your library (but overridden for individual labels)
  * Convert a few hardcoded labels to entities in passing

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

11 years agoMake spine label settings configurable as org unit settings
dbs [Thu, 26 Aug 2010 00:16:11 +0000 (00:16 +0000)]
Make spine label settings configurable as org unit settings

Note that due to the persist attribute on these XUL elements, a user
who has manually changed their spine label settings may not see the
org unit setting defaults for those particular settings if those
org unit settings are created or changed.

Now that the infrastructure is in place, We could make the org unit
settings take precedence over the persisted attributes if we think
that's the right way to go.

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

11 years agoupdate standing penalty query for blocked barcode list, trunk style!
miker [Wed, 25 Aug 2010 21:51:55 +0000 (21:51 +0000)]
update standing penalty query for blocked barcode list, trunk style!

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

11 years agoadded sample apache config for the IP-based redirector
erickson [Wed, 25 Aug 2010 16:58:10 +0000 (16:58 +0000)]
added sample apache config for the IP-based redirector

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

11 years agoadded support for configuring redirect depth, skin, and locale during IP-based org...
erickson [Wed, 25 Aug 2010 16:58:09 +0000 (16:58 +0000)]
added support for configuring redirect depth, skin, and locale during IP-based org unit redirection

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

11 years agotsbere to the rescue for the server-xul make target if in the staff client directory
phasefx [Wed, 25 Aug 2010 16:38:04 +0000 (16:38 +0000)]
tsbere to the rescue for the server-xul make target if in the staff client directory

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

11 years agocirc.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing...
phasefx [Wed, 25 Aug 2010 15:57:33 +0000 (15:57 +0000)]
circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing Pieces workflow.

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

11 years agoProvide i18n support for some coust labels and descriptions
dbs [Wed, 25 Aug 2010 14:33:47 +0000 (14:33 +0000)]
Provide i18n support for some coust labels and descriptions

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

11 years agoTeach the spine label editor some manners: insert/delete rows, cursor up + down
dbs [Wed, 25 Aug 2010 03:12:00 +0000 (03:12 +0000)]
Teach the spine label editor some manners: insert/delete rows, cursor up + down

Tested with single and multiple spine labels at a time. Lots of DOM
manipulation going on here, but seems to work nicely.

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

11 years agoone more label change for the trunk client
phasefx [Tue, 24 Aug 2010 19:25:39 +0000 (19:25 +0000)]
one more label change for the trunk client

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

11 years agochange Evergreen Staff Client folder and link names to Evergreen Staff Client Trunk...
phasefx [Tue, 24 Aug 2010 19:04:25 +0000 (19:04 +0000)]
change Evergreen Staff Client folder and link names to Evergreen Staff Client Trunk for now, to sidestep an issue with installing over old-style installations

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

11 years agoStaff Client Build/Update Enhancements patch from Thomas Berezansky
phasefx [Tue, 24 Aug 2010 19:04:20 +0000 (19:04 +0000)]
Staff Client Build/Update Enhancements patch from Thomas Berezansky

Among other things, allows cross-compilation of Windows installers from Unix environments via NSIS, and enables Mozilla's upgrade mechanism for performing upgrades without needing to download and execute external files.

See https://bugs.launchpad.net/evergreen/+bug/616452/ for more details.

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

11 years agoa suggestion from tsbere, this raises the existing login window if the staff client...
phasefx [Tue, 24 Aug 2010 18:05:16 +0000 (18:05 +0000)]
a suggestion from tsbere, this raises the existing login window if the staff client is invoked when it is already running

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

11 years ago1-line fix for false 404 from sylvar
atz [Tue, 24 Aug 2010 15:22:03 +0000 (15:22 +0000)]
1-line fix for false 404 from sylvar

solves "The requested URL /xul/rel_1_6_0_7/server/patron/ue.xhtml&clone=112879 was not found on this server."

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

11 years agoCorrecting some miscellaneous anomalies in the org unit setting types.
scottmk [Tue, 24 Aug 2010 13:29:02 +0000 (13:29 +0000)]
Correcting some miscellaneous anomalies in the org unit setting types.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

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

11 years agomore typos, arg, let's try this again
erickson [Mon, 23 Aug 2010 19:32:45 +0000 (19:32 +0000)]
more typos, arg, let's try this again

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

11 years agotypos in path name for new circ conify UIs
erickson [Mon, 23 Aug 2010 19:27:11 +0000 (19:27 +0000)]
typos in path name for new circ conify UIs

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

11 years agoconify UIs for config.rule_ stuff;
erickson [Mon, 23 Aug 2010 19:19:51 +0000 (19:19 +0000)]
conify UIs for config.rule_ stuff;

Includes duration, recurring fine, max fine, and age hold protect

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

11 years agoAllow true deletion of existing addresses in patron editor. Let summary sidebar...
phasefx [Mon, 23 Aug 2010 18:36:26 +0000 (18:36 +0000)]
Allow true deletion of existing addresses in patron editor.  Let summary sidebar anticipate dissappearing addresses on refresh.

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

11 years agoPaste error
atz [Mon, 23 Aug 2010 18:23:04 +0000 (18:23 +0000)]
Paste error

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

11 years agoPerltidy
atz [Mon, 23 Aug 2010 17:56:31 +0000 (17:56 +0000)]
Perltidy

death to tabs

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

11 years agoFailure to open a file(handle) should be a fatal error.
atz [Mon, 23 Aug 2010 17:54:35 +0000 (17:54 +0000)]
Failure to open a file(handle) should be a fatal error.

Otherwise we aren't getting any output anyway.

Also a few formatting touchups for readability.

TODO: use warnings!  use Cronscript for standardized lockfile and options.

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

11 years agodisplay copy counts correctly in staff search results
gmc [Mon, 23 Aug 2010 15:09:13 +0000 (15:09 +0000)]
display copy counts correctly in staff search results

Also fixes following warning:

Useless use of a constant in void context at .../OpenILS/Application/Search/Biblio.pm line 263.

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

11 years agoperl 5.8 requires quotes around the version #
erickson [Mon, 23 Aug 2010 14:50:39 +0000 (14:50 +0000)]
perl 5.8 requires quotes around the version #

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