evergreen/bjwebb.git
14 years agoadded CentOS/RHEL packages for Business::ISBN and friend
gmc [Fri, 6 Aug 2010 14:45:31 +0000 (14:45 +0000)]
added CentOS/RHEL packages for Business::ISBN and friend

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

14 years agobug 614150: bail out on ACTOR_USER_NOT_FOUND
gmc [Fri, 6 Aug 2010 01:21:31 +0000 (01:21 +0000)]
bug 614150: bail out on ACTOR_USER_NOT_FOUND

This fixes a bug where uploading an offline checkout
that refers to a missing patron returns an INTERNAL_SERVER_ERROR
instead of ACTOR_USER_NOT_FOUND.  More generally, this avoids
an exception in case case where a circ operation is made
without checking the existence of the patron record beforehand.

mk_env could use a better name, too.

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

14 years agobug 614132: fix glitch when used cached permission group widget
gmc [Fri, 6 Aug 2010 00:49:37 +0000 (00:49 +0000)]
bug 614132: fix glitch when used cached permission group widget

Fixes bug where the initial permission group value in a circ or
hold matrix entry was not displayed when editing an
existing matchpoint.

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

14 years agoFixed form validation with surveys (the filteringSelect dijits were treating themselv...
phasefx [Thu, 5 Aug 2010 21:16:01 +0000 (21:16 +0000)]
Fixed form validation with surveys (the filteringSelect dijits were treating themselves as invalid if not set)
Some I18N for form validation
Removed some lingering (and annoying) scrollOnFocus behavior with the non-autoField widgets

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

14 years agoadded oils_obj:required attrs for circ_matrix_matchpoint
erickson [Thu, 5 Aug 2010 20:19:48 +0000 (20:19 +0000)]
added oils_obj:required attrs for circ_matrix_matchpoint

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

14 years agohonoring IDL 'required' attr for autofieldwidget for styling
erickson [Thu, 5 Aug 2010 20:19:47 +0000 (20:19 +0000)]
honoring IDL 'required' attr for autofieldwidget for styling

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

14 years agoupdated IDL parser to 1) load oils_object:required attr at field level
erickson [Thu, 5 Aug 2010 20:19:46 +0000 (20:19 +0000)]
updated IDL parser to 1) load oils_object:required attr at field level
instead of class level and 2) added the oils_persist:i18n attr as
another field-level boolean

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

14 years agofix open-ils.circ.prev_renewal_chain.retrieve_by_circ.summary to return the correct...
phasefx [Thu, 5 Aug 2010 19:08:08 +0000 (19:08 +0000)]
fix open-ils.circ.prev_renewal_chain.retrieve_by_circ.summary to return the correct user for the previous circ chain, and some debugging tweaks to Item Status Alternate View and avoid a widget collision with hold patrons

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

14 years agorepaired primary key column; removed trailing semi's from SQL
erickson [Thu, 5 Aug 2010 16:27:49 +0000 (16:27 +0000)]
repaired primary key column; removed trailing semi's from SQL

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

14 years agoprev commit left some un-esacped <'s. fixed
erickson [Thu, 5 Aug 2010 16:02:05 +0000 (16:02 +0000)]
prev commit left some un-esacped <'s.  fixed

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

14 years agospeed up open circ counting and listing
miker [Thu, 5 Aug 2010 15:30:51 +0000 (15:30 +0000)]
speed up open circ counting and listing

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

14 years agoCorrecting some mistakes. Sequence names must be qualified by schema.
scottmk [Thu, 5 Aug 2010 15:24:23 +0000 (15:24 +0000)]
Correcting some mistakes.  Sequence names must be qualified by schema.

M    Open-ILS/examples/fm_IDL.xml

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

14 years agoLog the found matchpiont with indb circ policy test
erickson [Thu, 5 Aug 2010 15:21:01 +0000 (15:21 +0000)]
Log the found matchpiont with indb circ policy test

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

14 years agoreturn the matched circ rule during inspect
erickson [Thu, 5 Aug 2010 15:21:00 +0000 (15:21 +0000)]
return the matched circ rule during inspect

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

14 years agoThe old default skin is the new default skin
dbs [Thu, 5 Aug 2010 14:40:40 +0000 (14:40 +0000)]
The old default skin is the new default skin

We need people willing to maintain the craftsman skin, as it is falling
behind "default" in functionality and goes for long periods in a broken state.

This change gives Evergreen the most functional and most likely to work skin
by default, which is important for making positive first impressions on
possible adopters of the project.

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

14 years agoRemove OpenILS::Utils::FlatXML - code that has been unused since before 1.0
dbs [Thu, 5 Aug 2010 14:27:08 +0000 (14:27 +0000)]
Remove OpenILS::Utils::FlatXML - code that has been unused since before 1.0

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

14 years agoremoved some deprecated code
erickson [Thu, 5 Aug 2010 14:17:37 +0000 (14:17 +0000)]
removed some deprecated code

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

14 years agodisable Create/Modify button in item attribute editor if Required fields are Unset
phasefx [Thu, 5 Aug 2010 07:50:37 +0000 (07:50 +0000)]
disable Create/Modify button in item attribute editor if Required fields are Unset

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

14 years agofix color highlighting for xulrunner 1.9.2
phasefx [Thu, 5 Aug 2010 07:50:35 +0000 (07:50 +0000)]
fix color highlighting for xulrunner 1.9.2

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

14 years agothe caption id was important after all, for keyboard navigation
phasefx [Thu, 5 Aug 2010 07:50:33 +0000 (07:50 +0000)]
the caption id was important after all, for keyboard navigation

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

14 years agoupdating some auditor tables that were causing problems in cstore with missing column...
phasefx [Thu, 5 Aug 2010 04:46:38 +0000 (04:46 +0000)]
updating some auditor tables that were causing problems in cstore with missing columns, but not sure how to reset the _lifecycle views

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

14 years agoFix typo in --boostrap option, keeping it as an alias for possible automated scripts
dbs [Thu, 5 Aug 2010 04:10:57 +0000 (04:10 +0000)]
Fix typo in --boostrap option, keeping it as an alias for possible automated scripts

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

14 years agobug 613703: normalize backdate on item checkin better
gmc [Thu, 5 Aug 2010 03:03:15 +0000 (03:03 +0000)]
bug 613703: normalize backdate on item checkin better

Fixes bug that appears to cause all checkins uploaded
via offline circ to fail with an "invalid date format"
error.

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

14 years agoadd Required to copy stat cat editor, add User Summary to patron stat cat editor...
phasefx [Wed, 4 Aug 2010 22:28:34 +0000 (22:28 +0000)]
add Required to copy stat cat editor, add User Summary to patron stat cat editor for initial stat cat creation, and fix a bug where editing an existing copy stat cat would attempt to set usr_summary.  Modified behavior a bit so that an update is attempted whenever the user presses update, and not just if data is changed (this was me punting instead of trying to modify the test for both copy and patron stat cats)

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

14 years agono need to search for patron summary, instead retrieve directly by usr id
erickson [Wed, 4 Aug 2010 22:09:30 +0000 (22:09 +0000)]
no need to search for patron summary, instead retrieve directly by usr id

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

14 years agoProvide a handy method for dojo-based interfaces to correctly show timestamps
senator [Wed, 4 Aug 2010 21:22:40 +0000 (21:22 +0000)]
Provide a handy method for dojo-based interfaces to correctly show timestamps
from fieldmapper object fields.

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

14 years agorequired column for item stat cats
phasefx [Wed, 4 Aug 2010 20:43:44 +0000 (20:43 +0000)]
required column for item stat cats

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

14 years agoallow ACQ-driven ordering and claiming of serial items
miker [Wed, 4 Aug 2010 20:36:10 +0000 (20:36 +0000)]
allow ACQ-driven ordering and claiming of serial items

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

14 years agorequire latest last_xact_id for payments
erickson [Wed, 4 Aug 2010 20:19:14 +0000 (20:19 +0000)]
require latest last_xact_id for payments

To prevent accidental multiple payments on the transaction or payments
against stale information, require the latest user last_xact_id to be
passed into the payment API call.  Update staff client (thanks jason)
and self-check payment interfaces to match.

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

14 years agotweak to item attribute editor to support hiding of fields with cat_custom.css
phasefx [Wed, 4 Aug 2010 19:56:26 +0000 (19:56 +0000)]
tweak to item attribute editor to support hiding of fields with cat_custom.css

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

14 years agoa glue method used to apply a template to a set of records
miker [Wed, 4 Aug 2010 19:46:59 +0000 (19:46 +0000)]
a glue method used to apply a template to a set of records

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

14 years agosegregate the old version of facet-modified JS to be craftsman-specific
miker [Wed, 4 Aug 2010 19:12:58 +0000 (19:12 +0000)]
segregate the old version of facet-modified JS to be craftsman-specific

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

14 years agoFirefox is picky about having attribute values quoted, let's oblige it
dbs [Wed, 4 Aug 2010 18:57:21 +0000 (18:57 +0000)]
Firefox is picky about having attribute values quoted, let's oblige it

Still some generated dojo.query() expressions throwing warnings but we can tackle those... later

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

14 years agoClose LP bug 613551 - JS error in Internet Explorer from google.loader.callbacks...
dbs [Wed, 4 Aug 2010 18:45:02 +0000 (18:45 +0000)]
Close LP bug 613551 - JS error in Internet Explorer from google.loader.callbacks.books

Bizarre, this line does not appear to be necessary at all. Vamoose it.

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

14 years agoupdated patron fee amount call to use cstore for speed
erickson [Wed, 4 Aug 2010 14:46:17 +0000 (14:46 +0000)]
updated patron fee amount call to use cstore for speed

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

14 years agoprint missing pieces slip
phasefx [Wed, 4 Aug 2010 08:48:50 +0000 (08:48 +0000)]
print missing pieces slip

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

14 years agoprevious changes to better support the embedded browser Print button broke printing...
phasefx [Wed, 4 Aug 2010 08:48:47 +0000 (08:48 +0000)]
previous changes to better support the embedded browser Print button broke printing elsewhere

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

14 years agoSimple 1-line feature for EDI translator
atz [Wed, 4 Aug 2010 03:56:35 +0000 (03:56 +0000)]
Simple 1-line feature for EDI translator

Allows us to know what the effective version of openils-mapper is.

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

14 years agoNew org unit setting type: serial.prev_issuance_copy_location
scottmk [Tue, 3 Aug 2010 20:45:45 +0000 (20:45 +0000)]
New org unit setting type: serial.prev_issuance_copy_location

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

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

14 years ago0358 more values for acq.cancel_reason
atz [Tue, 3 Aug 2010 20:21:56 +0000 (20:21 +0000)]
0358 more values for acq.cancel_reason

Note: we won't be using all of them, the set is just there for completeness.

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

14 years agoadded open-ils.circ.copy.due_date.retrieve API call to return the due date for a...
erickson [Tue, 3 Aug 2010 20:11:22 +0000 (20:11 +0000)]
added open-ils.circ.copy.due_date.retrieve API call to return the due date for a given copy if it's circulating.  method does not require auth, so only the due date is exposed, not the circ or user, etc.

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

14 years agoSlight overhaul of ISBN indexing focused on the translate_isbn1013 function
dbs [Tue, 3 Aug 2010 03:14:49 +0000 (03:14 +0000)]
Slight overhaul of ISBN indexing focused on the translate_isbn1013 function

  * Switch to a PLPERLU function built on Business::ISBN for more robust
    indexing of records with problematic ISBNs; thanks to Jason Stephenson
    <jstephenson@mvlc.org> for the initial implementation

  * Remove the first_word, naco_normalize, and split_date_range normalizers
    from the indexing chain for ISBNs, as these unnecessarily munge the
    ISBNs. We can trust Business::ISBN to determine what is a real ISBN,
    hyphens and all.

  * Index all ISBNs in a given record and generate the corresponding
    ISBN10/ISBN13 variations. Also, fix the checksum if given an ISBN with
    a bad checksum, but be sure to index the original bad-checksum ISBN as
    well.

  * Add a set of 10 MARC records with bad ISBNs (thanks to Jason Stephenson
    again for these) for testing purposes to Open-ILS/tests/datasets

  * Add the Business::ISBN Perl module as a prerequisite to the installer

  * Remove contrib/isn from the PostgreSQL install instructions

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

14 years agoCorrect DDL for creating a fresh schema - match upgrade 0356
dbs [Tue, 3 Aug 2010 02:24:24 +0000 (02:24 +0000)]
Correct DDL for creating a fresh schema - match upgrade 0356

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

14 years agoescape more in the cn label for browse xml
miker [Mon, 2 Aug 2010 20:01:04 +0000 (20:01 +0000)]
escape more in the cn label for browse xml

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

14 years ago0356 fixup - the updates otherwise failed for syntax or dependent constraints
atz [Mon, 2 Aug 2010 19:16:02 +0000 (19:16 +0000)]
0356 fixup - the updates otherwise failed for syntax or dependent constraints

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

14 years agocreate correct primary key constraints for some view-based / inheritted tables
miker [Mon, 2 Aug 2010 17:17:55 +0000 (17:17 +0000)]
create correct primary key constraints for some view-based / inheritted tables

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

14 years agoupdate schema list for Slony replication
miker [Mon, 2 Aug 2010 15:00:51 +0000 (15:00 +0000)]
update schema list for Slony replication

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

14 years agotoward printing slip and letter for missing pieces
phasefx [Mon, 2 Aug 2010 14:17:02 +0000 (14:17 +0000)]
toward printing slip and letter for missing pieces

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

14 years agoAdmin Menu link for viewing EDI Messages
atz [Fri, 30 Jul 2010 20:27:14 +0000 (20:27 +0000)]
Admin Menu link for viewing EDI Messages

Modifies and uses the existing page for viewing one PO's messages.

TODO: Other kinds of filtering/searching.
TODO: Display PO number where name unavailable.

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

14 years agorepaired copy/paste thinko in the vandelay auto-overlay-with-merge-profile logic
erickson [Thu, 29 Jul 2010 23:12:34 +0000 (23:12 +0000)]
repaired copy/paste thinko in the vandelay auto-overlay-with-merge-profile logic

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

14 years agoThis patch replaces the result page sidebar new-search trees
miker [Thu, 29 Jul 2010 21:08:36 +0000 (21:08 +0000)]
This patch replaces the result page sidebar new-search trees
(implemented before "faceting" became a thing, and designed for
new-search, not drill-down) with and implementation of what has become
the generally accepted "way to do faceting".  This is implemented as a
Dojo Dijit, and the markup and code footprints within the OPAC proper
are small, just  a couple <div>s and a little bit of glue code to help
the facet rendering engine find the data it needs.  The set and order
of facet classes to display in a given facet bar (title, author,
subject, etc) is configurable in the markup, as are the number of
values displayed for each facet when collapsed (before the [More...]
button is pushed).

Also included is a Searcher Dijit which implements an embeddable
advanced search interface.  This is mainly useful for constructing
boolean-chained searches (we support AND and OR now, though they're
spelled && and || in the query string), and has the beginnings of
support for filters and modifiers.

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

14 years agoAcq: better labels for adding catalog record based item to PL or PO
senator [Thu, 29 Jul 2010 18:54:07 +0000 (18:54 +0000)]
Acq: better labels for adding catalog record based item to PL or PO

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

14 years agoNeed to die if we fail to find a picklist, symmetric to the top of the conditional.
atz [Thu, 29 Jul 2010 17:08:37 +0000 (17:08 +0000)]
Need to die if we fail to find a picklist, symmetric to the top of the conditional.

Otherwise, we crash out on $conn->respond($picklist->id);

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

14 years agoAdd Developer Instructions section, like the OpenSRF README, per tsbere's suggestion
dbs [Thu, 29 Jul 2010 16:23:21 +0000 (16:23 +0000)]
Add Developer Instructions section, like the OpenSRF README, per tsbere's suggestion

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

14 years agoBuild a threadsafe libjs so that JavaScript::SpiderMonkey can be threadsafe
dbs [Thu, 29 Jul 2010 02:56:48 +0000 (02:56 +0000)]
Build a threadsafe libjs so that JavaScript::SpiderMonkey can be threadsafe

Thomas Berezansky <tsbere@mvlc.org> reported problems building
JavaScript::SpiderMonkey on 64-bit Ubuntu and offered some
patches to build it without -JS_THREADSAFE. The real problem, however,
was that libjs was not itself being built with the JS_THREADSAFE
option.

Enabling the JS_THREADSAFE option pulls in the requirement of
the nspr4-dev package on Ubuntu and Debian.

Tested on 64-bit Ubuntu Lucid and 64-bit Debian Lenny. 64-bit Fedora 13
worked previously because it uses the packaged version of libjs - which
was already built with the JS_THREADSAFE option.

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

14 years agoPatch from Jason Stephenson:
miker [Thu, 29 Jul 2010 00:55:52 +0000 (00:55 +0000)]
Patch from Jason Stephenson:

The patch adds (BinaryEncoding => 'UTF-8') wherever MARC::File::XML is used in the database
PgPerl functions where it is not already being done. This stops the functions like
maintain_control_number() from trying to convert records from MARC8 to UTF-8 and blowing up,
when the records are already UTF-8.

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

14 years agoSyntax error in serials schema file.
senator [Wed, 28 Jul 2010 15:51:35 +0000 (15:51 +0000)]
Syntax error in serials schema file.

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

14 years agodocumentation for facet value retrieve method
miker [Wed, 28 Jul 2010 14:37:00 +0000 (14:37 +0000)]
documentation for facet value retrieve method

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

14 years agomiddle layer support and client-side utility function. missing messagecat for missin...
phasefx [Tue, 27 Jul 2010 22:33:34 +0000 (22:33 +0000)]
middle layer support and client-side utility function.  missing messagecat for missing pieces dialog

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

14 years agosince we're re-circulating to previous patrons sometimes as a poor man's check-in...
phasefx [Tue, 27 Jul 2010 22:33:10 +0000 (22:33 +0000)]
since we're re-circulating to previous patrons sometimes as a poor man's check-in undo, give us the power to turn off these fee-generating features.  berick++

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

14 years agoflesh out scan item as missing pieces dialog
phasefx [Tue, 27 Jul 2010 22:33:01 +0000 (22:33 +0000)]
flesh out scan item as missing pieces dialog

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

14 years agoentry point and function stub for Mark Item as Missing Pieces
phasefx [Tue, 27 Jul 2010 22:32:56 +0000 (22:32 +0000)]
entry point and function stub for Mark Item as Missing Pieces
entry point for scanning item as missing pieces and stub dialog

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

14 years agoput these command elements into the overlay, closer to where they're being used
phasefx [Tue, 27 Jul 2010 22:32:53 +0000 (22:32 +0000)]
put these command elements into the overlay, closer to where they're being used

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

14 years agoPrevent years in "New Fund" dialog from being displayed with a comma separator
dbs [Tue, 27 Jul 2010 21:34:43 +0000 (21:34 +0000)]
Prevent years in "New Fund" dialog from being displayed with a comma separator

Also limit to a seemingly reasonable range of 2000 - 2200 for the year

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

14 years agoReverse dojo.mixin() order in AutoFieldWidget to favour passed-in constraints; otherw...
dbs [Tue, 27 Jul 2010 21:27:24 +0000 (21:27 +0000)]
Reverse dojo.mixin() order in AutoFieldWidget to favour passed-in constraints; otherwise we stomp them

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

14 years agoMerge Dan Wells' changes to the serial schema from the
scottmk [Tue, 27 Jul 2010 17:27:01 +0000 (17:27 +0000)]
Merge Dan Wells' changes to the serial schema from the
seials-integration branch.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0352.schema.serials-integration.sql
M    Open-ILS/src/sql/Pg/210.schema.serials.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoWe require Buttons on this form. Continuing the good work senator started.
dbs [Tue, 27 Jul 2010 03:29:19 +0000 (03:29 +0000)]
We require Buttons on this form. Continuing the good work senator started.

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

14 years agotweak hold "status" for canceled holds. And one whitespace fix
phasefx [Mon, 26 Jul 2010 18:09:10 +0000 (18:09 +0000)]
tweak hold "status" for canceled holds.  And one whitespace fix

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

14 years agoNew table: actor.usr_saved_search
scottmk [Mon, 26 Jul 2010 16:18:09 +0000 (16:18 +0000)]
New table: actor.usr_saved_search

M    Open-ILS/src/sql/Pg/005.schema.actors.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0351.schema.usr_saved_search.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoimprove description of VIEW_PERMIT_CHECKOUT and VIEW_HOLD_PERMIT permissions
gmc [Mon, 26 Jul 2010 14:09:07 +0000 (14:09 +0000)]
improve description of VIEW_PERMIT_CHECKOUT and VIEW_HOLD_PERMIT permissions

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

14 years agoMention oils_web.xml in the README
dbs [Mon, 26 Jul 2010 13:15:11 +0000 (13:15 +0000)]
Mention oils_web.xml in the README

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

14 years agoUpdate README and prereq installer for Evergreen trunk:
dbs [Mon, 26 Jul 2010 12:50:22 +0000 (12:50 +0000)]
Update README and prereq installer for Evergreen trunk:

  * Favour PostgreSQL 8.4
  * Add ISN contrib
  * Update Dojo to 1.3.3
  * Add Ubuntu Lucid as a target
  * Remove Gentoo support (until we have a volunteer)
  * Remove Ubuntu Karmic support (can add back in at release time if warranted)

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

14 years agoAdd procedure action.apply_fieldset.
scottmk [Fri, 23 Jul 2010 17:38:40 +0000 (17:38 +0000)]
Add procedure action.apply_fieldset.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0350.schema.action-apply-fieldset.sql

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

14 years agoForward-port r17024: include null fields, via .toStoreItem(), when creating a permiss...
miker [Fri, 23 Jul 2010 17:21:24 +0000 (17:21 +0000)]
Forward-port r17024: include null fields, via .toStoreItem(), when creating a permission map store item

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

14 years agologic error preventing deletion of addresses in patron editor
phasefx [Fri, 23 Jul 2010 16:18:58 +0000 (16:18 +0000)]
logic error preventing deletion of addresses in patron editor

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

14 years agosupport printing of stat cats and surveys from patron editor
phasefx [Fri, 23 Jul 2010 15:57:51 +0000 (15:57 +0000)]
support printing of stat cats and surveys from patron editor

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

14 years agolog the IP address of the connecting client
erickson [Fri, 23 Jul 2010 14:36:34 +0000 (14:36 +0000)]
log the IP address of the connecting client

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

14 years agoAcq: revert something I didn't mean in r17013
senator [Thu, 22 Jul 2010 21:43:27 +0000 (21:43 +0000)]
Acq: revert something I didn't mean in r17013

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

14 years agoAdded option to link a (freerange) lineitem to a catalog
erickson [Thu, 22 Jul 2010 21:39:33 +0000 (21:39 +0000)]
Added option to link a (freerange) lineitem to a catalog
record via simple pop-up search page.

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

14 years agofixed bug in related lineitems page where it was attempting to fetch the bib record...
erickson [Thu, 22 Jul 2010 21:39:32 +0000 (21:39 +0000)]
fixed bug in related lineitems page where it was attempting to fetch the bib record based on the lineitem id

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

14 years agobug #608937: make barcode search from main patron search form case-insensitive
gmc [Thu, 22 Jul 2010 21:37:59 +0000 (21:37 +0000)]
bug #608937: make barcode search from main patron search form case-insensitive

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

14 years agoAcq: attempt to fix issue where adding copies in an LI table's copies
senator [Thu, 22 Jul 2010 21:33:32 +0000 (21:33 +0000)]
Acq: attempt to fix issue where adding copies in an LI table's copies
interface, then returning to the table view, then going back to copies
doesn't show the most recent saved changes.

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

14 years agoAcq: always show "add to new selection list" / "create new PO" buttons in
senator [Thu, 22 Jul 2010 20:59:52 +0000 (20:59 +0000)]
Acq: always show "add to new selection list" / "create new PO" buttons in
related lineitems interface

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

14 years agoupgrade script and version bump for r17007
miker [Thu, 22 Jul 2010 01:03:33 +0000 (01:03 +0000)]
upgrade script and version bump for r17007

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

14 years agoretain the indicators on located uri 856 merge during asset merge; update script...
miker [Thu, 22 Jul 2010 00:58:49 +0000 (00:58 +0000)]
retain the indicators on located uri 856 merge during asset merge; update script and backporting to come

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

14 years agoadded an 'Add Brief Record' button to the PO interface, which is visible when there...
erickson [Wed, 21 Jul 2010 21:35:50 +0000 (21:35 +0000)]
added an 'Add Brief Record' button to the PO interface, which is visible when there are no lineitems on an existing PO.

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

14 years agoadd collection code as non-i18n version of shelving location
erickson [Wed, 21 Jul 2010 21:17:00 +0000 (21:17 +0000)]
add collection code as non-i18n version of shelving location

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

14 years agopushed view-in-catalog link up to the main lineitem display.
erickson [Wed, 21 Jul 2010 21:16:59 +0000 (21:16 +0000)]
pushed view-in-catalog link up to the main lineitem display.
moved pl/po/worksheet/catalog links to a row of their own for a more consistent location (visually).
replaced 'PO:' 'PL:' with small icons to easier catch the eye;
added 'worksheet' tag to the worksheet icon for clarity
TODO: plug in bib discovery and linking mechanism for freerange lineitems

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

14 years agoprotect acn, acp and auri from our $lib faking
miker [Wed, 21 Jul 2010 20:06:56 +0000 (20:06 +0000)]
protect acn, acp and auri from our $lib faking

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

14 years agoadd parameter support to acn, acp and auri unapi axes
miker [Wed, 21 Jul 2010 19:58:44 +0000 (19:58 +0000)]
add parameter support to acn, acp and auri unapi axes

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

14 years agoadd copy_circ_lib and copy_owning_lib to circ matrix matchpoints, closer one (if...
miker [Wed, 21 Jul 2010 18:17:23 +0000 (18:17 +0000)]
add copy_circ_lib and copy_owning_lib to circ matrix matchpoints, closer one (if both are set) is more important to the ordering

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

14 years agoimprove documentation of macros available to receipt templates
gmc [Wed, 21 Jul 2010 16:00:53 +0000 (16:00 +0000)]
improve documentation of macros available to receipt templates

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

14 years agoindex which /greatly/ speeds collection of pending active events
miker [Wed, 21 Jul 2010 15:36:52 +0000 (15:36 +0000)]
index which /greatly/ speeds collection of pending active events

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

14 years agoTwo new tables in action schema: fieldset and fieldset_col_val.
scottmk [Wed, 21 Jul 2010 15:07:04 +0000 (15:07 +0000)]
Two new tables in action schema: fieldset and fieldset_col_val.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/999.functions.global.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0346.schema.action-fieldset.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoset truncation to 1 for all biblios.net Z39.50 attributes
gmc [Tue, 20 Jul 2010 22:36:06 +0000 (22:36 +0000)]
set truncation to 1 for all biblios.net Z39.50 attributes

Thanks to Anoop Atre for spotting the problem.

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

14 years agologin just before starting work and log out after each request is handled. this...
erickson [Tue, 20 Jul 2010 21:16:00 +0000 (21:16 +0000)]
login just before starting work and log out after each request is handled.  this is removes the need to check for bad authtokens and re-login mid-process

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

14 years agoflush the xmpp socket before attempting to process new marc stream requests
erickson [Tue, 20 Jul 2010 21:16:00 +0000 (21:16 +0000)]
flush the xmpp socket before attempting to process new marc stream requests

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

14 years agoadded support for selecting individual copy statuses that will prevent checkout at...
erickson [Tue, 20 Jul 2010 21:15:59 +0000 (21:15 +0000)]
added support for selecting individual copy statuses that will prevent checkout at self-check even when the generic copy_not_available event has been overridden to allow for non-standard copy circs from selfcheck.  TODO: ui for managing the list

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

14 years agoPatch from John Craig providing a saner timestamp cleansing setup for backdated circs
miker [Tue, 20 Jul 2010 19:54:38 +0000 (19:54 +0000)]
Patch from John Craig providing a saner timestamp cleansing setup for backdated circs

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

14 years agobackporting r16982: use the correct table and field, caught by Doug Kyle and reported...
miker [Tue, 20 Jul 2010 15:58:48 +0000 (15:58 +0000)]
backporting r16982: use the correct table and field, caught by Doug Kyle and reported via IRC

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