working/Evergreen.git
10 years agoSupport function calls with subfields, e.g. (func(args))."id".
scottmk [Mon, 28 Jun 2010 15:43:28 +0000 (15:43 +0000)]
Support function calls with subfields, e.g. (func(args))."id".

Note that this support treats the subfield as an optional
component of the functional call, not as a type of expression
in its own right.  A subsequent commit will eliminate the "xfld"
expression type.

M    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_storedq.c
M    Open-ILS/src/c-apps/buildSQL.c

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

10 years agothinko when trying to preserve any user change to the internal_flag version of the...
miker [Mon, 28 Jun 2010 15:25:07 +0000 (15:25 +0000)]
thinko when trying to preserve any user change to the internal_flag version of the ingest.disable_authority_linking enabled setting

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

10 years agoCorrect syntax for dojo.string.substitute() and remove offending unpaired parens
dbs [Sun, 27 Jun 2010 17:37:37 +0000 (17:37 +0000)]
Correct syntax for dojo.string.substitute() and remove offending unpaired parens

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

10 years agoproxied added content support for ContentCafe
phasefx [Fri, 25 Jun 2010 22:11:36 +0000 (22:11 +0000)]
proxied added content support for ContentCafe

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

10 years agoadd stored procs to implement authority propagation if links exist; add trigger to...
miker [Fri, 25 Jun 2010 20:32:58 +0000 (20:32 +0000)]
add stored procs to implement authority propagation if links exist; add trigger to optionally fire this propagation (default ON)

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

10 years agoadd bib-authority linking table; add stored proc to extract linking; add hook to...
miker [Fri, 25 Jun 2010 17:31:21 +0000 (17:31 +0000)]
add bib-authority linking table; add stored proc to extract linking; add hook to ingest (controlled by internal_flag) to implement authority link extraction

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

10 years agoAcq: fixing misc UI glitches
senator [Fri, 25 Jun 2010 16:00:36 +0000 (16:00 +0000)]
Acq: fixing misc UI glitches

Creating allocations and credits in the Funding Source Details interface
didn't populate the appropriate grid immediately, but now it does.

New tags didn't seem to persist in the Fund Details interface if you switched
tabs and then came back to the Tags tab.  Fixed.

Changed some tab names of misc Acq interfaces to match their current names in
the staff client menu.

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

10 years agoMake CentOS/RHEL use Class::DBI::Frozen::301 and remove Class::DBI::Pg (not necessary)
dbs [Fri, 25 Jun 2010 15:16:41 +0000 (15:16 +0000)]
Make CentOS/RHEL use Class::DBI::Frozen::301 and remove Class::DBI::Pg (not necessary)

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

10 years agowe will use a real mapping table instead
miker [Fri, 25 Jun 2010 15:16:16 +0000 (15:16 +0000)]
we will use a real mapping table instead

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

10 years agovandelay.add_field bug fix; add stored procs to 1) create an authority-based overlay...
miker [Fri, 25 Jun 2010 14:47:56 +0000 (14:47 +0000)]
vandelay.add_field bug fix; add stored procs to 1) create an authority-based overlay template and 2) allow simple application of said template directly with marcxml

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

10 years agoProvide support for Class::DBI::Frozen::301 via UNIVERSAL::require
dbs [Fri, 25 Jun 2010 03:54:46 +0000 (03:54 +0000)]
Provide support for Class::DBI::Frozen::301 via UNIVERSAL::require

Class::DBI changed its API interfaces after the 3.0.1 release, causing much
pain (and incompatibility for existing applications like Evergreen). Some
distributions package Class::DBI 0.96 or 3.0.1, but newer distributions
package an incompatible 3.0.17. An alternative is to install the
Class::DBI::Frozen::301 module from source; UNIVERSAL::require enables us
to try loading both and use whichever one we find.

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

10 years agoReturn NULL if we don't have anything else to return (keeps the compiler happy)
dbs [Thu, 24 Jun 2010 23:52:29 +0000 (23:52 +0000)]
Return NULL if we don't have anything else to return (keeps the compiler happy)

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

10 years agodoh, another thinko. spotted by Scott McKellar
miker [Thu, 24 Jun 2010 18:51:57 +0000 (18:51 +0000)]
doh, another thinko. spotted by Scott McKellar

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

10 years ago1. Degrade (relatively) gracefully when the database connection dies.
scottmk [Thu, 24 Jun 2010 17:15:16 +0000 (17:15 +0000)]
1. Degrade (relatively) gracefully when the database connection dies.

Problem to be solved: a server drone that loses its database connection
immediately becomes unusable.  It might manage to reconnect, but that
wouldn't help if a transaction was in progress at the time of the failure.

If the drone merely reports an error and then makes itself available
for more requests, every request that it services thereafter will fail.
It will continue to fail repeatedly until it reaches the max_requests
limit, or until someone kills it manually.

Solution: terminate immediately, without waiting for max_requests or a
DISCONNECT request.  The listener can replace it with a new drone,
which will try to establish its own database connection.

2. Correct an oversigt in doUpdate() and doDelete().

If the database operation fails, report an error to the client.
The old code would log an error message but otherwise behave as if
the operation had succeeded.

It is conceivable that this change will appear to break something,
because an operation will fail that would otherwise have appeared
to succeed.  However if that happens, whatever breaks was already
broken; the appearance of success was a snare and a delusion.

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_sql.c

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

10 years agoarg ... thinkos. 0315 will work now
miker [Thu, 24 Jun 2010 17:02:03 +0000 (17:02 +0000)]
arg ... thinkos. 0315 will work now

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

10 years agoadd agency-stripping and btrim normalizers; add identifier|arcn index def as facet
miker [Thu, 24 Jun 2010 16:57:30 +0000 (16:57 +0000)]
add agency-stripping and btrim normalizers; add identifier|arcn index def as facet

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

10 years agoand imagine that, the ou passed to actor.org_unit_descendants(INT) might also be...
miker [Thu, 24 Jun 2010 15:12:58 +0000 (15:12 +0000)]
and imagine that, the ou passed to actor.org_unit_descendants(INT) might also be null. super.

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

10 years ago0314 Baseline data
atz [Thu, 24 Jun 2010 14:05:04 +0000 (14:05 +0000)]
0314 Baseline data

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16804 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoUse a valid validator for 3 Day Pre-Overdue notice event
dbs [Thu, 24 Jun 2010 13:17:26 +0000 (13:17 +0000)]
Use a valid validator for 3 Day Pre-Overdue notice event

Curse traitorous middle-click and my tired eyes.

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

10 years agoMake '3 Day Pre-Overdue Notice' work in seed data; we were missing a validator
dbs [Thu, 24 Jun 2010 05:18:05 +0000 (05:18 +0000)]
Make '3 Day Pre-Overdue Notice' work in seed data; we were missing a validator

This was inserted properly in upgrade 0054, so we're just playing catch-up here

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

10 years agoFix compile error due to undefined LONG_MAX constant, which is defined in limits.h
dbs [Thu, 24 Jun 2010 04:41:29 +0000 (04:41 +0000)]
Fix compile error due to undefined LONG_MAX constant, which is defined in limits.h

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

10 years agoFix Fedora 13 compiling for libdbi/libdbd
dbs [Thu, 24 Jun 2010 04:36:20 +0000 (04:36 +0000)]
Fix Fedora 13 compiling for libdbi/libdbd

  * Add libdbi-devel as a prereq
  * Add Fedora's 64-bit location for the dbd driver libraries

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

10 years agoWe don't need to install plpython for PostgreSQL;
dbs [Thu, 24 Jun 2010 03:38:40 +0000 (03:38 +0000)]
We don't need to install plpython for PostgreSQL;
also, add a target for the Fedora PostgreSQL server prereqs.

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

10 years agoFirst stab at Fedora 13 support in prerequisite installer
dbs [Thu, 24 Jun 2010 03:29:02 +0000 (03:29 +0000)]
First stab at Fedora 13 support in prerequisite installer

Of possible concern: the use of -JS_THREADSAFE in JavaScript::SpiderMonkey.
Need to test this change on other distros - but it enabled me to avoid
the libperl.so linking hacks used on RHEL and CentOS.

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

10 years agoremove duplicate entries for tag 760 from MARC21 tag list
gmc [Thu, 24 Jun 2010 03:18:30 +0000 (03:18 +0000)]
remove duplicate entries for tag 760 from MARC21 tag list

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

10 years agoWhenever a database call fails -- i.e. whenever dbi_conn_query() or
scottmk [Thu, 24 Jun 2010 02:57:58 +0000 (02:57 +0000)]
Whenever a database call fails -- i.e. whenever dbi_conn_query() or
dbi_conn_queryf() returns NULL -- call dbi_conn_error() to get a
description of the error, and include that description in the log
message.

M    Open-ILS/src/c-apps/oils_sql.c

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

10 years agoCancel reasons from EDI spec
atz [Wed, 23 Jun 2010 21:27:32 +0000 (21:27 +0000)]
Cancel reasons from EDI spec

Technically, these aren't all cancellation reasons, they are just
"Action request/notification description codes".  A "5" (or 1005, here)
actually means success, for example.

Examine the EDI list here: http://www.stylusstudio.com/edifact/D04B/1229.htm

Include keep_debits field although it does not necessarily apply to each row.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16795 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoAdd an explicit link to the favicon.ico per http://www.w3.org/2005/10/howto-favicon
dbs [Wed, 23 Jun 2010 20:36:23 +0000 (20:36 +0000)]
Add an explicit link to the favicon.ico per w3.org/2005/10/howto-favicon

Yeah, we're not using the profile attribute on the HEAD element. Do we really need that?

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

10 years agoa bit more protection for non-cached values; beware the null depth in the two-param...
miker [Wed, 23 Jun 2010 19:14:39 +0000 (19:14 +0000)]
a bit more protection for non-cached values; beware the null depth in the two-param version of actor.org_unit_descendants!

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

10 years agoproper spelling of this trademark
phasefx [Wed, 23 Jun 2010 18:19:00 +0000 (18:19 +0000)]
proper spelling of this trademark

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

10 years agocorrect the logic for detecting whether ChiliFresh has been configured, and add simil...
phasefx [Wed, 23 Jun 2010 18:09:13 +0000 (18:09 +0000)]
correct the logic for detecting whether ChiliFresh has been configured, and add similar support for Novelist

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

10 years agoprotect templated slots from errors when there are no template variables
miker [Wed, 23 Jun 2010 18:03:42 +0000 (18:03 +0000)]
protect templated slots from errors when there are no template variables

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

10 years agoSIP Callnumber extensions, POD
atz [Wed, 23 Jun 2010 17:56:45 +0000 (17:56 +0000)]
SIP Callnumber extensions, POD

Use org_unit shortname everywhere, no owning_lib.

Checkin response and Item Info response now return callnumber w/ current SIP code.

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

10 years agoScript for git-svn repos (with possible github remote)
atz [Tue, 22 Jun 2010 22:07:06 +0000 (22:07 +0000)]
Script for git-svn repos (with possible github remote)

Please heed WARNING in the script comments.

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

10 years agoadd 954.data.marc21expand880.sql to build-db.sh so that it gets picked up during...
gmc [Tue, 22 Jun 2010 20:32:12 +0000 (20:32 +0000)]
add 954.data.marc21expand880.sql to build-db.sh so that it gets picked up during new installations

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

10 years agocaching extention for org tree traversal
miker [Tue, 22 Jun 2010 20:09:11 +0000 (20:09 +0000)]
caching extention for org tree traversal

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

10 years agoAcq: make the PO summary pane less monstrously vertical; add PO history link
senator [Tue, 22 Jun 2010 17:58:31 +0000 (17:58 +0000)]
Acq: make the PO summary pane less monstrously vertical; add PO history link

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

10 years agoAcq: add a Create PO interface for workflows starting with new, blank POs
senator [Tue, 22 Jun 2010 17:07:38 +0000 (17:07 +0000)]
Acq: add a Create PO interface for workflows starting with new, blank POs

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

10 years agothis should place things better across different browsers re: Chilifresh
phasefx [Tue, 22 Jun 2010 16:39:46 +0000 (16:39 +0000)]
this should place things better across different browsers re: Chilifresh

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

10 years agobetter way of setting these environment variables
phasefx [Tue, 22 Jun 2010 15:34:16 +0000 (15:34 +0000)]
better way of setting these environment variables

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

10 years agoremoved deprecated MaxPassiveDelayAge validator from default courtesy notice definition
erickson [Tue, 22 Jun 2010 14:51:27 +0000 (14:51 +0000)]
removed deprecated MaxPassiveDelayAge validator from default courtesy notice definition

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

10 years agoadded warnings for missing params to MinPassiveTargetAge validator; missing params...
erickson [Tue, 22 Jun 2010 14:51:26 +0000 (14:51 +0000)]
added warnings for missing params to MinPassiveTargetAge validator; missing params results in invalid for all target objects (noop_false)

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

10 years agowhen you execute MARC, it opens a portal to the hellmouth
erickson [Tue, 22 Jun 2010 14:51:25 +0000 (14:51 +0000)]
when you execute MARC, it opens a portal to the hellmouth

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

10 years agobug #597245: remove ersatz $7 "tags" from MARC tag selector
gmc [Tue, 22 Jun 2010 12:45:41 +0000 (12:45 +0000)]
bug #597245: remove ersatz $7 "tags" from MARC tag selector

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

10 years ago1. In oils_sql.c: make the functions is_identifier() and is_good_operator()
scottmk [Tue, 22 Jun 2010 12:34:43 +0000 (12:34 +0000)]
1. In oils_sql.c: make the functions is_identifier() and is_good_operator()
global instead of static.

2. Use them to protect qstore against various forms of sql injection.

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_storedq.c
M    Open-ILS/src/c-apps/oils_sql.c

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

10 years agorough cut at integrating ChiliFresh reviews with OPAC search results and record detai...
phasefx [Mon, 21 Jun 2010 20:41:59 +0000 (20:41 +0000)]
rough cut at integrating ChiliFresh reviews with OPAC search results and record details page.  Needs polish

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

10 years agoAcq: yet another menu-reorganizing commit
senator [Mon, 21 Jun 2010 20:35:57 +0000 (20:35 +0000)]
Acq: yet another menu-reorganizing commit

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

10 years agoAcq: add default sort order to canned searches, and provide middle layer
senator [Mon, 21 Jun 2010 20:20:57 +0000 (20:20 +0000)]
Acq: add default sort order to canned searches, and provide middle layer
support for sort order for unified search generally.  The UI for that may
come later.

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

10 years agoApply RHEL5 prerequisite installer patch by Lee Dickens <ldickens@esilibrary.com>
dbs [Sat, 19 Jun 2010 03:01:48 +0000 (03:01 +0000)]
Apply  RHEL5 prerequisite installer patch by Lee Dickens <ldickens@esilibrary.com>

Tweaked slightly to break some long lines over multiple shorter lines

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

10 years agoadd serials holdings to the holdings_xml data for bibs
miker [Fri, 18 Jun 2010 19:40:14 +0000 (19:40 +0000)]
add serials holdings to the holdings_xml data for bibs

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

10 years agoexpose the internal record id and create date for a user as a tooltip over the user...
phasefx [Fri, 18 Jun 2010 19:24:26 +0000 (19:24 +0000)]
expose the internal record id and create date for a user as a tooltip over the user's name in the patron display

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

10 years agostop the autoscrolling behavior with AutoFieldWidget
phasefx [Fri, 18 Jun 2010 17:57:21 +0000 (17:57 +0000)]
stop the autoscrolling behavior with AutoFieldWidget

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

10 years agoAcq: more menu reorganization
senator [Fri, 18 Jun 2010 17:13:30 +0000 (17:13 +0000)]
Acq: more menu reorganization

New entry points to selection list, PO, and invoice interfaces. Also replaced
visible references to "Pick List" with "Selection List" wherever I could think
of, for consistency's sake.

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

10 years agomake sure $depth is defined, and used
miker [Fri, 18 Jun 2010 16:55:57 +0000 (16:55 +0000)]
make sure $depth is defined, and used

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

10 years agoadd serial.subscription.owning_lib
miker [Fri, 18 Jun 2010 16:10:59 +0000 (16:10 +0000)]
add serial.subscription.owning_lib

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

10 years ago0312 - JEDI template support for multiple ISBNs
atz [Fri, 18 Jun 2010 15:56:57 +0000 (15:56 +0000)]
0312 - JEDI template support for multiple ISBNs

of same or different types.  The first ISBN-13 is treated as
primary, if there is one.  Otherwise the first ISBN-10 is used.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16759 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoLog message to both STDERR and log.
atz [Fri, 18 Jun 2010 15:56:56 +0000 (15:56 +0000)]
Log message to both STDERR and log.

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

10 years agoExtra field in display (slight reorder)
atz [Fri, 18 Jun 2010 15:56:55 +0000 (15:56 +0000)]
Extra field in display (slight reorder)

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

10 years agoRepo note
atz [Fri, 18 Jun 2010 15:56:55 +0000 (15:56 +0000)]
Repo note

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

10 years agoEDI/JEDI Translator test client
atz [Fri, 18 Jun 2010 15:56:54 +0000 (15:56 +0000)]
EDI/JEDI Translator test client

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16755 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agosetting the noGCF cookie to expire after a year, instead of at the end of the browser...
miker [Fri, 18 Jun 2010 15:28:40 +0000 (15:28 +0000)]
setting the noGCF cookie to expire after a year, instead of at the end of the browser session

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

10 years agoadd prompt to install Google Chrome Frames when in IE
miker [Fri, 18 Jun 2010 15:13:41 +0000 (15:13 +0000)]
add prompt to install Google Chrome Frames when in IE

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

10 years agoDefine some stock datatypes in query.datatype.
scottmk [Fri, 18 Jun 2010 14:59:12 +0000 (14:59 +0000)]
Define some stock datatypes in query.datatype.

Set the sequence for query.datatype to leave room for more
stock datatypes if we want to add them.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/008.schema.query.sql
A    Open-ILS/src/sql/Pg/upgrade/0311.data.query-seed-datatypes.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

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

10 years agopushing unapi depth support back into trunk
miker [Fri, 18 Jun 2010 14:54:24 +0000 (14:54 +0000)]
pushing unapi depth support back into trunk

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

10 years agosupport unapi tag embedding in authority records
miker [Fri, 18 Jun 2010 14:41:23 +0000 (14:41 +0000)]
support unapi tag embedding in authority records

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

10 years ago1. Disable fleshing for PCRUD. Otherwise fleshing would provide a
scottmk [Thu, 17 Jun 2010 19:16:45 +0000 (19:16 +0000)]
1. Disable fleshing for PCRUD.  Otherwise fleshing would provide a
back door whereby a user could see stuff he has no permission to see.

2. For the id_list method: strip out the "flesh_fields" entry, not
the "flesh_columns" entry (which doesn't exist).  This actually makes
no difference, but if we're going to do something useless, we might
as well do it right.

M    Open-ILS/src/c-apps/oils_sql.c

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

10 years agoAcq: Remove the "Selection Lists" entry from the staff client's menu
senator [Thu, 17 Jun 2010 18:45:16 +0000 (18:45 +0000)]
Acq: Remove the "Selection Lists" entry from the staff client's menu

The unified search interface now does everything that the Selection Lists
interface could.

Also, merging selection lists now updates the edit_time field on the lead
list.

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

10 years agorecord evidence of the perl-xpath experiment ... not faster enough to warrant the...
miker [Thu, 17 Jun 2010 18:14:15 +0000 (18:14 +0000)]
record evidence of the perl-xpath experiment ... not faster enough to warrant the danger of XML::LibXML

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

10 years agotypo
phasefx [Thu, 17 Jun 2010 18:08:02 +0000 (18:08 +0000)]
typo

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

10 years agoprotecting facet_xpath from returning empty nodesets
miker [Thu, 17 Jun 2010 17:05:44 +0000 (17:05 +0000)]
protecting facet_xpath from returning empty nodesets

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

10 years agoKludge to fix ISO timestamp parsing in AutoFieldWidget
phasefx [Thu, 17 Jun 2010 15:31:05 +0000 (15:31 +0000)]
Kludge to fix ISO timestamp parsing in AutoFieldWidget

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

10 years agomore column id collisions and code to rename such id's if they slip through in the...
phasefx [Thu, 17 Jun 2010 03:58:39 +0000 (03:58 +0000)]
more column id collisions and code to rename such id's if they slip through in the future

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

10 years agocorrectly sort date/timestamp columns in xul lists now that they're localized
phasefx [Thu, 17 Jun 2010 03:39:22 +0000 (03:39 +0000)]
correctly sort date/timestamp columns in xul lists now that they're localized

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

10 years agoid collision preventing proper use of these columns
phasefx [Thu, 17 Jun 2010 03:39:21 +0000 (03:39 +0000)]
id collision preventing proper use of these columns

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

10 years agoSupport CAST expressions, taking care to avoid SQL injection.
scottmk [Thu, 17 Jun 2010 03:01:32 +0000 (03:01 +0000)]
Support CAST expressions, taking care to avoid SQL injection.

M    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_storedq.c
M    Open-ILS/src/c-apps/buildSQL.c

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

10 years agoAcq: remove PO search interface from staff client's acquisitions menu
senator [Wed, 16 Jun 2010 20:53:59 +0000 (20:53 +0000)]
Acq: remove PO search interface from staff client's acquisitions menu

The PO search interface is redundant with the generalized Acquisitions Search
interface

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

10 years agoAcq: Fix display failure in fund tag interface. Add admin interfaces for
senator [Wed, 16 Jun 2010 20:39:00 +0000 (20:39 +0000)]
Acq: Fix display failure in fund tag interface. Add admin interfaces for
invoice_payment_method and invoice_item_type.

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

10 years agosplit registration of authority browse urls out from record; add authority formats...
miker [Wed, 16 Jun 2010 19:41:27 +0000 (19:41 +0000)]
split registration of authority browse urls out from record; add authority formats ML method

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

10 years agotypo in json_query for authority browse
miker [Wed, 16 Jun 2010 19:25:15 +0000 (19:25 +0000)]
typo in json_query for authority browse

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

10 years agoadd authority marcxml retrieve method, switch on record type
miker [Wed, 16 Jun 2010 19:21:48 +0000 (19:21 +0000)]
add authority marcxml retrieve method, switch on record type

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

10 years agouse the authority, instead of bib, general tag browse method
miker [Wed, 16 Jun 2010 19:11:16 +0000 (19:11 +0000)]
use the authority, instead of bib, general tag browse method

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

10 years agosteps toward wiring up authority browse via supercat
miker [Wed, 16 Jun 2010 19:01:36 +0000 (19:01 +0000)]
steps toward wiring up authority browse via supercat

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

10 years agoupdate the documentation for browse methods re status/location filters
miker [Wed, 16 Jun 2010 18:48:44 +0000 (18:48 +0000)]
update the documentation for browse methods re status/location filters

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

10 years agoAcq: bugfixes for "Import Catalog Records by ID"
senator [Wed, 16 Jun 2010 17:41:25 +0000 (17:41 +0000)]
Acq: bugfixes for "Import Catalog Records by ID"

Previously, this interface did not correctly interpret realistic CSV data as
produced by the Reporter module, as it was intended to do.

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

10 years agomake logout with receipt the default for self-check
erickson [Wed, 16 Jun 2010 17:32:08 +0000 (17:32 +0000)]
make logout with receipt the default for self-check

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

10 years agoadd support for status and copy location filters to supercat browse apis for call...
miker [Wed, 16 Jun 2010 16:55:21 +0000 (16:55 +0000)]
add support for status and copy location filters to supercat browse apis for call number, title/author/etc, item age and general tag browsing

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

10 years agothe layer/bundle version of dojo I was using hid the need for this dojo.require line
phasefx [Wed, 16 Jun 2010 14:54:40 +0000 (14:54 +0000)]
the layer/bundle version of dojo I was using hid the need for this dojo.require line

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

10 years agoAcq: misc minor bugfixes to various admin interfaces that didn't load
senator [Tue, 15 Jun 2010 21:50:15 +0000 (21:50 +0000)]
Acq: misc minor bugfixes to various admin interfaces that didn't load
consistently.  Also a little more menu re-org.

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

10 years agono need to start a xact in lineitem search api call, especially if it's not closed...
erickson [Tue, 15 Jun 2010 21:00:34 +0000 (21:00 +0000)]
no need to start a xact in lineitem search api call, especially if it's not closed out when done

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

10 years agospecify @autoscroll=false for xul browser elements
phasefx [Tue, 15 Jun 2010 19:45:08 +0000 (19:45 +0000)]
specify @autoscroll=false for xul browser elements

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

10 years agoAcq: minor menu reorganization. Move admin-oriented interfaces to admin menu.
senator [Tue, 15 Jun 2010 19:31:19 +0000 (19:31 +0000)]
Acq: minor menu reorganization. Move admin-oriented interfaces to admin menu.

Also remove "Purchase Order Events" from the acq menu: it's outmoded.

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

10 years agosupport pre-indexing normalizers for facet value normalization (negative pos value...
miker [Tue, 15 Jun 2010 18:57:12 +0000 (18:57 +0000)]
support pre-indexing normalizers for facet value normalization (negative pos value in the field-norm map)

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

10 years agoAvoid spurious errors when searching more granular indexes
dbs [Tue, 15 Jun 2010 18:36:37 +0000 (18:36 +0000)]
Avoid spurious errors when searching more granular indexes

The storage service automatically generates methods for each top-level search
class, like open-ils.storage.authority.keyword.see_from.controlled.atomic, but
here we were trying to access more granular methods (which storage does not
know about) when a granular index was used. This generated an ugly error in
the logs.

To avoid these errors, we'll only look for cross references from the broad
index class to which the granular index belonds.

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

10 years agoin patron editor, prevent Save and Save & Clone from working with an invalid form...
phasefx [Tue, 15 Jun 2010 04:01:23 +0000 (04:01 +0000)]
in patron editor, prevent Save and Save & Clone from working with an invalid form, or duplicate barcode or usrname

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

10 years agothe dojo code now behind the util.date iso8601 formatter neither needs nor likes...
phasefx [Mon, 14 Jun 2010 20:20:31 +0000 (20:20 +0000)]
the dojo code now behind the util.date iso8601 formatter neither needs nor likes us appending timestamps to dates like that

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

10 years agoTiny bug in 16714; fixing it prevents a useless logline in some cases
senator [Mon, 14 Jun 2010 17:07:38 +0000 (17:07 +0000)]
Tiny bug in 16714; fixing it prevents a useless logline in some cases

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

10 years agoIn the unlikely event of an error in a payment transaction following
senator [Mon, 14 Jun 2010 17:03:54 +0000 (17:03 +0000)]
In the unlikely event of an error in a payment transaction following
sucessful external credit card processing, keep the information from the
payment processor and
    a) attach it to the ilsevent that we return, and
    b) log it at the "error" loglevel

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

10 years agoMake the estimated hold queue position method aware of the cut_in_line field
phasefx [Mon, 14 Jun 2010 16:24:55 +0000 (16:24 +0000)]
Make the estimated hold queue position method aware of the cut_in_line field

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

10 years agoremoved unused method retrieved from method_lookup. apart from being unused, the...
erickson [Mon, 14 Jun 2010 15:39:43 +0000 (15:39 +0000)]
removed unused method retrieved from method_lookup.  apart from being unused, the call was attempting to fetch a nonexistent method ('auth' vs. 'authority') and hilarity ensued

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

10 years agoBetter documentation of payment outcomes, particularly credit card declines
senator [Mon, 14 Jun 2010 14:27:37 +0000 (14:27 +0000)]
Better documentation of payment outcomes, particularly credit card declines

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