working/Evergreen.git
16 years agoSQL thinko causing over-zealous reshelving of copies not yet out of their delay time...
miker [Wed, 23 Sep 2009 16:47:16 +0000 (16:47 +0000)]
SQL thinko causing over-zealous reshelving of copies not yet out of their delay time.  Problem spotted and fix suggested by Bill Ott of GRPL.

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

16 years agobiblios Z39 search requires truncation on title attr. call child_init on Z39 module...
erickson [Wed, 23 Sep 2009 16:25:26 +0000 (16:25 +0000)]
biblios Z39 search requires truncation on title attr.  call child_init on Z39 module from top-level search service child init

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

16 years agorepresent due date in local time zone (eventually org unit time zone). cleaned up...
erickson [Wed, 23 Sep 2009 16:23:11 +0000 (16:23 +0000)]
represent due date in local time zone (eventually org unit time zone).  cleaned up the due-date calculation code

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

16 years agoBackport r14098 from trunk: fix typo in CDBI/config.pm (courtesy Jason Stephenson)
dbs [Tue, 22 Sep 2009 20:35:29 +0000 (20:35 +0000)]
Backport r14098 from trunk: fix typo in CDBI/config.pm (courtesy Jason Stephenson)

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

16 years agobackporting r14089 and r14091: IE does not appreciate direct parent/child CSS selecto...
miker [Tue, 22 Sep 2009 17:57:06 +0000 (17:57 +0000)]
backporting r14089 and r14091: IE does not appreciate direct parent/child CSS selectors, so we will use the more generic descendant selector; improve the display of title data by providing a space between subfields (XML processors, particularly those rendering HTML, normalizes whitespace by default)

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

16 years agoproperly populate %services hash of configured Z servers
miker [Mon, 21 Sep 2009 15:12:01 +0000 (15:12 +0000)]
properly populate %services hash of configured Z servers

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

16 years agoif no legacy map for in-db checkout/renew is defined, default to the fail message...
erickson [Fri, 18 Sep 2009 21:34:39 +0000 (21:34 +0000)]
if no legacy map for in-db checkout/renew is defined, default to the fail message from the in-db process

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

16 years agoBug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader...
miker [Fri, 18 Sep 2009 17:25:16 +0000 (17:25 +0000)]
Bug reported by Wiktor Rzeczkowski from McMaster University: [parallel_]pg_loader.pl was not taught about the changes to the materialized_simple_record trigger

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

16 years agoduring inspect, return policy data even if the patron is not allowed to checkout...
erickson [Tue, 15 Sep 2009 16:26:19 +0000 (16:26 +0000)]
during inspect, return policy data even if the patron is not allowed to checkout without override

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

16 years agofor now, don't allow inspect calls on copies that have not been created in the db...
erickson [Tue, 15 Sep 2009 16:13:00 +0000 (16:13 +0000)]
for now, don't allow inspect calls on copies that have not been created in the db, IOW pre-cat copies that have never circulated

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

16 years agoPatch from Warren Layton for asciibetical ordering of services in z39.50 client....
phasefx [Sun, 13 Sep 2009 15:11:11 +0000 (15:11 +0000)]
Patch from Warren Layton for asciibetical ordering of services in z39.50 client. Native Catalog always goes to the top. Thanks!

---

The attached patch presents the Z39.50 targets in the Staff Client in
alphabetical order - a problem for us because we're starting to have
quite a few configured.

I'm not sure if this is the most elegant solution so feedback is
definitely welcome.

Cheers,

    Warren

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

16 years agoPatch from Ben Ostrowsky to add some comments to the z39 config table
erickson [Fri, 11 Sep 2009 13:27:44 +0000 (13:27 +0000)]
Patch from Ben Ostrowsky to add some comments to the z39 config table

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

16 years agoPatch from Joe Atzberger to repair fund delete param description
erickson [Thu, 10 Sep 2009 18:21:31 +0000 (18:21 +0000)]
Patch from Joe Atzberger to repair fund delete param description

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

16 years agoprevent negative paging display offset. added paginator to event def grids
erickson [Wed, 9 Sep 2009 13:17:11 +0000 (13:17 +0000)]
prevent negative paging display offset.  added paginator to event def grids

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

16 years agothere's no valid reason to call ingest from within the bib create/overlay code before...
erickson [Fri, 4 Sep 2009 20:50:35 +0000 (20:50 +0000)]
there's no valid reason to call ingest from within the bib create/overlay code before the changes have been committed.  removed embedded ingest logic and the no-ingest flags passed by everyone that uses them

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

16 years agocapture override as a var because using =~ in an arg list is non-good
erickson [Fri, 4 Sep 2009 20:42:32 +0000 (20:42 +0000)]
capture override as a var because using =~ in an arg list is non-good

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

16 years agoon marc record import, call ingest after the create xact has been committed
erickson [Fri, 4 Sep 2009 20:17:29 +0000 (20:17 +0000)]
on marc record import, call ingest after the create xact has been committed

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

16 years agoplug baseWidgetValue setting for readOnly widgets back in with try/catch and comment...
erickson [Fri, 4 Sep 2009 19:58:38 +0000 (19:58 +0000)]
plug baseWidgetValue setting for readOnly widgets back in with try/catch and comment.  typo: state -> state()

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

16 years agotighter control over displaying mark-recived and update-barcodes links in lineitem...
erickson [Fri, 4 Sep 2009 19:26:23 +0000 (19:26 +0000)]
tighter control over displaying mark-recived and update-barcodes links in lineitem table.  showing lineitem and PO state in the UI.  Added PO activate routine which effectively marks a PO as 'ready to send to vendor'

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

16 years agoLoosened constraint on group penalty thresholds. You can now define threholds for...
erickson [Fri, 4 Sep 2009 17:26:02 +0000 (17:26 +0000)]
Loosened constraint on group penalty thresholds.  You can now define threholds for the same group as long as they have a different context org unit

To Update:

ALTER TABLE permission.grp_penalty_threshold DROP CONSTRAINT penalty_grp_once;
ALTER TABLE permission.grp_penalty_threshold ADD CONSTRAINT penalty_grp_once UNIQUE (grp,penalty,org_unit);

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

16 years agoexpose PO ID and PO name. plugged in option to change the PO name
erickson [Fri, 4 Sep 2009 15:24:09 +0000 (15:24 +0000)]
expose PO ID and PO name.  plugged in option to change the PO name

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

16 years agouse a separate pcrud instance for each object deletion so that a single instances...
erickson [Tue, 1 Sep 2009 20:55:54 +0000 (20:55 +0000)]
use a separate pcrud instance for each object deletion so that a single instances isn't trying to create transactions while it's already in the middle of transactions, pending async responses.  added some docs

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

16 years agoadded ability to clone event_def environment when an event_def is cloned
erickson [Tue, 1 Sep 2009 18:41:21 +0000 (18:41 +0000)]
added ability to clone event_def environment when an event_def is cloned

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

16 years agopass the clone object to the postsubmit handler. allow caller to specificy post...
erickson [Tue, 1 Sep 2009 18:41:07 +0000 (18:41 +0000)]
pass the clone object to the postsubmit handler.  allow caller to specificy post-clone handler. added some docs

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

16 years agocalling widget.attr on readonly objects occaisonally results in errors from (as yet...
erickson [Tue, 1 Sep 2009 14:19:21 +0000 (14:19 +0000)]
calling widget.attr on readonly objects occaisonally results in errors from (as yet unexplained) dojo race condition.  however, basewidgetvalue is not needed for readOnly widgets, since displaystring is used, so bypasss for now;  use dojo.create

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

16 years agopass the ID not the bib object to the reporter.simple_rec_update stored proc
erickson [Fri, 28 Aug 2009 22:02:04 +0000 (22:02 +0000)]
pass the ID not the bib object to the reporter.simple_rec_update stored proc

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

16 years agoCreate tables acq.fiscal_calendar and acq.fiscal_year.
scottmk [Thu, 27 Aug 2009 13:05:10 +0000 (13:05 +0000)]
Create tables acq.fiscal_calendar and acq.fiscal_year.

Create function acq.find_bad_fy to do sanity checks on
acq.fiscal_year.

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

16 years agomisnamed dojo tab
erickson [Mon, 24 Aug 2009 21:52:24 +0000 (21:52 +0000)]
misnamed dojo tab

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

16 years agoChange constraint on acq.provider. Instead of making
scottmk [Mon, 24 Aug 2009 17:53:14 +0000 (17:53 +0000)]
Change constraint on acq.provider.  Instead of making
code unique by itself, make code + owner unique.

For changing an existing table:

ALTER TABLE acq.provider
DROP CONSTRAINT provider_code_key;

ALTER TABLE acq.provider
ALTER COLUMN code SET NOT NULL;

ALTER TABLE acq.provider
ADD CONSTRAINT code_once_per_owner
UNIQUE (code, owner);

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

16 years agoAdd columns to acq.purchase_order: order_date and name, along
scottmk [Mon, 24 Aug 2009 16:24:02 +0000 (16:24 +0000)]
Add columns to acq.purchase_order: order_date and name, along
with some triggers for the name.

To apply to an existing table:

-- Add new columns; populate name

ALTER TABLE acq.purchase_order
ADD COLUMN order_date TIMESTAMP WITH TIME ZONE;

ALTER TABLE acq.purchase_order
ADD COLUMN name TEXT;

UPDATE acq.purchase_order
SET name = id::TEXT;

ALTER TABLE acq.purchase_order
ALTER COLUMN name SET NOT NULL;

-- Name should default to the id.  We can't do that with a DEFAULT
-- clause but we can do it with a trigger.

CREATE OR REPLACE FUNCTION acq.purchase_order_name_default () RETURNS TRIGGER
AS $$
BEGIN
IF NEW.name IS NULL THEN
NEW.name := NEW.id::TEXT;
END IF;

RETURN NEW;
END;
$$ LANGUAGE PLPGSQL;

CREATE TRIGGER po_name_default_trg
  BEFORE INSERT OR UPDATE ON acq.purchase_order
  FOR EACH ROW EXECUTE PROCEDURE acq.purchase_order_name_default ();

-- Name should be unique for a given ordering_agency and day, where
-- order_date is not null.  We can't do that with a check constraint
-- because it would require a subquery, so we use a trigger.

CREATE INDEX acq_po_org_name_order_date_idx
ON acq.purchase_order( ordering_agency, name, order_date );

CREATE OR REPLACE FUNCTION acq.po_org_name_date_unique () RETURNS TRIGGER
AS $$
DECLARE
collision INT;
BEGIN
--
-- If order_date is not null, then make sure we don't have a collision
-- on order_date (truncated to day), org, and name
--
IF NEW.order_date IS NULL THEN
RETURN NEW;
END IF;
--
-- In the WHERE clause, we compare the order_dates without regard to time of day.
-- We use a pair of inequalities instead of comparing truncated dates so that the
-- query can do an indexed range scan.
--
SELECT 1 INTO collision
FROM acq.purchase_order
WHERE
ordering_agency = NEW.ordering_agency
AND name = NEW.name
AND order_date >= date_trunc( 'day', NEW.order_date )
AND order_date <  date_trunc( 'day', NEW.order_date ) + '1 day'::INTERVAL
AND id <> NEW.id;
--
IF collision IS NULL THEN
-- okay, no collision
RETURN NEW;
ELSE
-- collision; nip it in the bud
RAISE EXCEPTION 'Colliding purchase orders: ordering_agency %, date %, name ''%''',
NEW.ordering_agency, NEW.order_date, NEW.name;
END IF;
END;
$$ LANGUAGE PLPGSQL;

CREATE TRIGGER po_org_name_date_unique_trg
  BEFORE INSERT OR UPDATE ON acq.purchase_order
  FOR EACH ROW EXECUTE PROCEDURE acq.po_org_name_date_unique ();

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

16 years agoChange uniqueness constraint on acq.fund.code so as to
scottmk [Mon, 24 Aug 2009 15:07:46 +0000 (15:07 +0000)]
Change uniqueness constraint on acq.fund.code so as to
include org and year

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

16 years agotypo, reporter.reporter.
erickson [Fri, 21 Aug 2009 18:33:52 +0000 (18:33 +0000)]
typo,  reporter.reporter.

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

16 years agomore work on pcrud filter dialog. added filter option to autogrid. repaired faulty...
erickson [Fri, 21 Aug 2009 15:33:58 +0000 (15:33 +0000)]
more work on pcrud filter dialog.  added filter option to autogrid.  repaired faulty linked object caching in autogrid.  with caching repaired, made linked grid cell data fetching synchronous to prevent excessive network requests (1st instance of an object is cached)

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

16 years agoNew field: action.hold_request.shelf_time
scottmk [Thu, 20 Aug 2009 21:17:35 +0000 (21:17 +0000)]
New field: action.hold_request.shelf_time

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

16 years agoset hold.shelf_time when item hits the shelf. updated hold notify event def to use...
erickson [Thu, 20 Aug 2009 21:13:08 +0000 (21:13 +0000)]
set hold.shelf_time when item hits the shelf.  updated hold notify event def to use shelf_time as the delay field

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

16 years agoNew column: acq.hold_request.shelf_time
scottmk [Thu, 20 Aug 2009 20:56:39 +0000 (20:56 +0000)]
New column: acq.hold_request.shelf_time

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

16 years agobackport of r13897: thinko in recent ingest fix
miker [Thu, 20 Aug 2009 15:35:29 +0000 (15:35 +0000)]
backport of r13897: thinko in recent ingest fix

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

16 years agobackporting r13894: moving the simple-rec synchronization out of the DB for insert...
miker [Thu, 20 Aug 2009 15:12:35 +0000 (15:12 +0000)]
backporting r13894: moving the simple-rec synchronization out of the DB for insert/update, and as a new trigger for "delete".  This should finally address the ingest issues seen at some sites through the 1.4 series

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

16 years agobackport changeset 13889 for fixing regression with renewing multiple items at once...
phasefx [Thu, 20 Aug 2009 08:07:51 +0000 (08:07 +0000)]
backport changeset 13889 for fixing regression with renewing multiple items at once in staff client

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

16 years agoif the requested hook does not exist, gracefully back out
erickson [Wed, 19 Aug 2009 15:59:16 +0000 (15:59 +0000)]
if the requested hook does not exist, gracefully back out

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

16 years agoadd lib shortname to overdue script xml output
erickson [Wed, 19 Aug 2009 14:11:09 +0000 (14:11 +0000)]
add lib shortname to overdue script xml output

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

16 years agodon't call ->content if there is no response
erickson [Tue, 18 Aug 2009 17:44:41 +0000 (17:44 +0000)]
don't call ->content if there is no response

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

16 years agobackport changesets 13842 and 13862 for working copy/paste context menus in marc...
phasefx [Tue, 18 Aug 2009 06:46:07 +0000 (06:46 +0000)]
backport changesets 13842 and 13862 for working copy/paste context menus in marc editor

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

16 years agobackport changeset 13857: fixed regression with default search field not being refocu...
phasefx [Tue, 18 Aug 2009 05:34:26 +0000 (05:34 +0000)]
backport changeset 13857: fixed regression with default search field not being refocused after using the Clear Form button.  Also have the default field come into focus when the whole tab leaves focus and is later revisited.

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

16 years agoturned on paging for po list. set up the state filter differently so that the browse...
erickson [Mon, 17 Aug 2009 20:10:33 +0000 (20:10 +0000)]
turned on paging for po list.  set up the state filter differently so that the browser won't choose a default value.  no longer showing and fleshing the owner column since it was causing the render flickering... will reassess later.

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

16 years agoset page title
erickson [Mon, 17 Aug 2009 20:10:25 +0000 (20:10 +0000)]
set page title

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

16 years agobackporting -r13845:13848. fund year list api call, suppresse linked fields, fund...
erickson [Mon, 17 Aug 2009 16:16:22 +0000 (16:16 +0000)]
backporting -r13845:13848.  fund year list api call, suppresse linked fields, fund year selector in fund list page using new call

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

16 years agoadded support to autogrid for loading paged data via callback for UIs that load their...
erickson [Sun, 16 Aug 2009 15:49:33 +0000 (15:49 +0000)]
added support to autogrid for loading paged data via callback for UIs that load their own data.  added paging to fund list page.  added paging options to fund by org fetcher

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

16 years agobackporting 13830:13834. initial pagination support. when enabled, back/prev links...
erickson [Thu, 13 Aug 2009 21:11:53 +0000 (21:11 +0000)]
backporting 13830:13834.  initial pagination support.  when enabled, back/prev links appear in a small nav pane just above the grid, added support for limit/offset to pcrud search and retrieveall calls, turn on pagination in the provider list page, fixed some bugs in creating new picklists by name

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

16 years agoadded ability to auto-override configured checkout/renewal events at selfcheck. ...
erickson [Wed, 12 Aug 2009 17:19:29 +0000 (17:19 +0000)]
added ability to auto-override configured checkout/renewal events at selfcheck.  also, pull in JS files directly so we're not unnecessarily running opac-only code

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

16 years agoselected columns in a json_query need to be in an array
erickson [Tue, 11 Aug 2009 16:38:40 +0000 (16:38 +0000)]
selected columns in a json_query need to be in an array

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

16 years agoBackport changeset 13791 from trunk: restore raw z39.50 PQN search feature
phasefx [Mon, 3 Aug 2009 20:55:14 +0000 (20:55 +0000)]
Backport changeset 13791 from trunk: restore raw z39.50 PQN search feature

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

16 years agobackport 13764: added example translator memcache server config
erickson [Wed, 29 Jul 2009 03:23:09 +0000 (03:23 +0000)]
backport 13764: added example translator memcache server config

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

16 years agoset the grp_perm_map sequence before inserting grp_perm_map rows. Thanks Dan!
phasefx [Tue, 28 Jul 2009 18:20:30 +0000 (18:20 +0000)]
set the grp_perm_map sequence before inserting grp_perm_map rows.  Thanks Dan!

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

16 years agoBackport r13751 from trunk: Make i18n scripts stricter about UTF-8 input/output handling.
dbs [Tue, 28 Jul 2009 13:42:29 +0000 (13:42 +0000)]
Backport r13751 from trunk: Make i18n scripts stricter about UTF-8 input/output handling.

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

16 years agoBackport r13750 from trunk: Avoid a mixed-content (HTTP vs. HTTPS) warning
dbs [Tue, 28 Jul 2009 13:41:21 +0000 (13:41 +0000)]
Backport r13750 from trunk: Avoid a mixed-content (HTTP vs. HTTPS) warning

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

16 years agoBackport r13749 from trunk: Attempt to avoid clashes with browsers that treat 'delete...
dbs [Tue, 28 Jul 2009 13:40:16 +0000 (13:40 +0000)]
Backport r13749 from trunk: Attempt to avoid clashes with browsers that treat 'delete' as a reserved JavaScript keyword

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

16 years agobug fix: Item Status, once spawned from the Copy Buckets interface, would keep spawni...
phasefx [Mon, 27 Jul 2009 19:38:58 +0000 (19:38 +0000)]
bug fix: Item Status, once spawned from the Copy Buckets interface, would keep spawning on every bucket change

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

16 years agobackporting changeset 13735: faster method for bill retrieval
phasefx [Fri, 24 Jul 2009 19:42:08 +0000 (19:42 +0000)]
backporting changeset 13735: faster method for bill retrieval

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

16 years agoadded authoritative option so some billing methods
erickson [Fri, 24 Jul 2009 19:25:23 +0000 (19:25 +0000)]
added authoritative option so some billing methods

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

16 years agochanged ACQ label in staff client to Acquisitions (Preview) to prevent confusion
erickson [Fri, 24 Jul 2009 14:24:50 +0000 (14:24 +0000)]
changed ACQ label in staff client to Acquisitions (Preview) to prevent confusion

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

16 years agofixed what appears to be a typo in the oils_i18n_gettext pkey param for 'author of...
erickson [Thu, 23 Jul 2009 21:35:52 +0000 (21:35 +0000)]
fixed what appears to be a typo in the oils_i18n_gettext pkey param for 'author of work' entry

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

16 years agoopen-ils.cat.biblio.records.merge uses in_db merge now to take advantage of URI handl...
erickson [Thu, 23 Jul 2009 19:20:06 +0000 (19:20 +0000)]
open-ils.cat.biblio.records.merge uses in_db merge now to take advantage of URI handling (and speed, etc.).  added a perm test to in_db_merge.  removed old bib merge code

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

16 years agopatch from Ben Ostrowsky to fix log entry typos: ciculator -> circulator
erickson [Thu, 23 Jul 2009 15:00:02 +0000 (15:00 +0000)]
patch from Ben Ostrowsky to fix log entry typos: ciculator -> circulator

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

16 years agoPatch from Bill Ott to clear the advanced search form prior to populating with cached...
erickson [Thu, 23 Jul 2009 13:42:01 +0000 (13:42 +0000)]
Patch from Bill Ott to clear the advanced search form prior to populating with cached search data to prevent doubling of search rows

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

16 years agoFix typo in typo fix - thanks to Warren Layton for finding & reporting
dbs [Thu, 23 Jul 2009 01:44:23 +0000 (01:44 +0000)]
Fix typo in typo fix - thanks to Warren Layton for finding & reporting

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

16 years agoPatch from Warren Layton for support of RIS format in SuperCat - thanks Warren!
dbs [Wed, 22 Jul 2009 18:11:23 +0000 (18:11 +0000)]
Patch from Warren Layton for support of RIS format in SuperCat - thanks Warren!

===

I've put together another SuperCat feed, this type for the RIS format.
This can be used with most bibliographic citation software, such as
Reference Manager and Endnote. Combined with the previous "MARC text"
feed for RefWorks, most software should be covered.

I have only included the changes to add the feed and the XSLT file.
The patch (against trunk) doesn't include any changes to the OPAC, but
I'm willing to put something together if needed.

The MARC21slim2RIS.xsl transform makes a few assumptions:
* Any authors listed in 100, 110, or 111 fields are considered
"primary authors" (A1)
* Any individuals listed in 700 fields are considered primary authors
(A1) if their last name is found in the statement of responsibility
(245c). Otherwise, they are considered secondary authors (A2). It's
not 100% accurate, but it's certainly a step up from just turning all
700-level authors into A2s.
* Corporate authors listed in 710 fields are always considered
secondary authors (A2).
* Meetings in 711 fields are always converted into "Title Series" (T3)
(i.e., a talk at a conference would have the conference name listed as
the "Title Series", with the title of the talk listed as "T1", primary
title).
* Apart from field 520 (used for Abstracts, "N2"), no 5xx fields are used
* Subfields in the 650 and 651 fields are used as keywords ("KW")

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I

    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best

    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other

    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution

    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Warren Layton
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@13701 dcc99617-32d9-48b4-a31d-7c20da2025e4

16 years agoUpdate the README for the 1.6 release
dbs [Wed, 22 Jul 2009 18:00:21 +0000 (18:00 +0000)]
Update the README for the 1.6 release

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

16 years agoMerge r13692 from trunk for default ACQ permissions in seed data
dbs [Wed, 22 Jul 2009 17:23:50 +0000 (17:23 +0000)]
Merge r13692 from trunk for default ACQ permissions in seed data

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

16 years agoMerge upgrade script changes r13686, r13687, r13691 from trunk (default permissions)
dbs [Wed, 22 Jul 2009 17:23:17 +0000 (17:23 +0000)]
Merge upgrade script changes r13686, r13687, r13691 from trunk (default permissions)

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

16 years agoTemporary script to deal with ingest trigger issues
miker [Wed, 22 Jul 2009 16:48:24 +0000 (16:48 +0000)]
Temporary script to deal with ingest trigger issues

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

16 years agoFollowing r13680, don't create the tables that we have now dropped from the schema
dbs [Wed, 22 Jul 2009 13:30:53 +0000 (13:30 +0000)]
Following r13680, don't create the tables that we have now dropped from the schema

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

16 years agoMerge 13680 from trunk: FTS on serials records is unnecessary bloat
dbs [Wed, 22 Jul 2009 13:22:45 +0000 (13:22 +0000)]
Merge 13680 from trunk: FTS on serials records is unnecessary bloat

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

16 years agoadded hold notification trigger event def
erickson [Tue, 21 Jul 2009 16:14:01 +0000 (16:14 +0000)]
added hold notification trigger event def

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

16 years agoadd 1.6 upgrade sql (and remove 2.0 stub)
miker [Tue, 21 Jul 2009 16:00:25 +0000 (16:00 +0000)]
add 1.6 upgrade sql (and remove 2.0 stub)

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

16 years agoIE does not support Array.map(), use dojo.map(). dojox.data.dom.textContent() return...
erickson [Tue, 21 Jul 2009 15:04:57 +0000 (15:04 +0000)]
IE does not support Array.map(), use dojo.map().  dojox.data.dom.textContent() returns nothing in IE -- use innerHTML instead when using IE.

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

16 years agoMerge r13661 and r13662 from trunk: rely on pcrud to delete MFHD records, i18n-ize...
dbs [Tue, 21 Jul 2009 14:08:30 +0000 (14:08 +0000)]
Merge r13661 and r13662 from trunk: rely on pcrud to delete MFHD records, i18n-ize another string, and enable dojo.require() to work in rdetail.js

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

16 years agouse the editor's allowed() method for checking perms. added context org to perm...
erickson [Tue, 21 Jul 2009 13:04:45 +0000 (13:04 +0000)]
use the editor's allowed() method for checking perms.  added context org to perm check.  removed info/activity logs since editor logs queries at info and updates at activity already.  changed 'record' param to 'record_id' for clarity.  returning the new id on create instead of the editor object.

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

16 years agoMerge r13643 from trunk: avoid one useless call to google.com for Google Book Preview
dbs [Tue, 21 Jul 2009 05:39:13 +0000 (05:39 +0000)]
Merge r13643 from trunk: avoid one useless call to google.com for Google Book Preview

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

16 years agoMerge r13649 from trunk: Expose create and delete MFHD records as UI elements in...
dbs [Tue, 21 Jul 2009 05:36:01 +0000 (05:36 +0000)]
Merge r13649 from trunk: Expose create and delete MFHD records as UI elements in staff client record display

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

16 years agoMerge r13648 from trunk: add crude methods for creating and deleting MFHD record
dbs [Tue, 21 Jul 2009 05:34:33 +0000 (05:34 +0000)]
Merge r13648 from trunk: add crude methods for creating and deleting MFHD record

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

16 years agoMerge r13647 from trunk: do not display serial holdings from deleted MFHD records
dbs [Tue, 21 Jul 2009 05:33:22 +0000 (05:33 +0000)]
Merge r13647 from trunk: do not display serial holdings from deleted MFHD records

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

16 years agolocaleStrings variable getting clobbered by some other global var. give it a namespa...
erickson [Mon, 20 Jul 2009 20:42:18 +0000 (20:42 +0000)]
localeStrings variable getting clobbered by some other global var.  give it a namespace to protect it

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

16 years agoin general, you want the router to operate at loglevel 2 (warn) unless you are debugg...
erickson [Mon, 20 Jul 2009 19:56:39 +0000 (19:56 +0000)]
in general, you want the router to operate at loglevel 2 (warn) unless you are debugging something

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

16 years agospecific cookie path not playing nicely when communicating with staff client cookies...
erickson [Mon, 20 Jul 2009 19:40:09 +0000 (19:40 +0000)]
specific cookie path not playing nicely when communicating with staff client cookies, in particular, change operator functionality.  go back to global cookies

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

16 years agodisplay label strings for linked objects instead of bare pkeys. still need to look...
erickson [Mon, 20 Jul 2009 03:22:27 +0000 (03:22 +0000)]
display label strings for linked objects instead of bare pkeys.  still need to look at resizing the cell

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

16 years agoadded seed data for hold-available notifications. update holdisavail validator to...
erickson [Sun, 19 Jul 2009 15:36:12 +0000 (15:36 +0000)]
added seed data for hold-available notifications.  update holdisavail validator to use same basic logic as hold status method

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

16 years agoadded option to import holdings from main record import screen. Give the user the...
erickson [Fri, 17 Jul 2009 16:05:09 +0000 (16:05 +0000)]
added option to import holdings from main record import screen.  Give the user the option to choose which item import profile,  when bibs are done importing, attempt to import holdings for successfully imported records.  Still needs a UI for configuring new import profiles and ways to import holdings from the queue interface

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

16 years agoGive cataloguers a chance to recover from errors, or add holdings to an empty MFHD...
dbs [Thu, 16 Jul 2009 05:53:56 +0000 (05:53 +0000)]
Give cataloguers a chance to recover from errors, or add holdings to an empty MFHD record

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

16 years agoMerging 13602 from trunk: check for a null circ mod on an item when doing a non-null...
miker [Wed, 15 Jul 2009 16:49:48 +0000 (16:49 +0000)]
Merging 13602 from trunk: check for a null circ mod on an item when doing a non-null circ_mod test

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

16 years agoMerging 13599 from trunk: Protect against duplicate Located URIs at ingest time
miker [Wed, 15 Jul 2009 16:15:55 +0000 (16:15 +0000)]
Merging 13599 from trunk: Protect against duplicate Located URIs at ingest time

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

16 years agobackporting 13579 : added duplicate phone / address searching. added and started...
erickson [Wed, 15 Jul 2009 15:20:51 +0000 (15:20 +0000)]
backporting 13579 : added duplicate phone / address searching. added and started using locale strings bundle

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

16 years agobackporting 13584 : org fleshing depth
erickson [Tue, 14 Jul 2009 16:38:54 +0000 (16:38 +0000)]
backporting 13584 : org fleshing depth

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

16 years agoBackport r13424 and r13580 from trunk: RefWorks export support
dbs [Tue, 14 Jul 2009 02:37:04 +0000 (02:37 +0000)]
Backport r13424 and r13580 from trunk: RefWorks export support

Patch from Warren Layton implementing RefWorks export via SuperCat:

"The patch a new transform, MARC21slim2MARCtxt.xsl, which converts MARC
into the MARC-ish plain text format accepted by RefWorks (see [1]).
The patch also adds a new feed to SuperCat, called "marctxt"."

As well as a reworked patch for the default opac skin to expose this
functionality as a link next to the "Place a Hold" link.

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

16 years agoMerge r13574 from trunk: fix for reporter due to removal of virtual attribute
dbs [Mon, 13 Jul 2009 16:25:59 +0000 (16:25 +0000)]
Merge r13574 from trunk: fix for reporter due to removal of virtual attribute

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

16 years agocapture the timeout argument to json_query
erickson [Mon, 13 Jul 2009 13:32:04 +0000 (13:32 +0000)]
capture the timeout argument to json_query

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

16 years agoMerge r13563 from trunk: Update to latest libyaz; install z39.50 server library out...
dbs [Sat, 11 Jul 2009 04:42:46 +0000 (04:42 +0000)]
Merge r13563 from trunk: Update to latest libyaz; install z39.50 server library out of the box

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

16 years agoMerge r13549, r13550, r13551 for a perfect set of i18n scripts
dbs [Thu, 9 Jul 2009 03:23:01 +0000 (03:23 +0000)]
Merge r13549, r13550, r13551 for a perfect set of i18n scripts

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

16 years agoMerge r13546 from trunk: Need to generate the opac.js Dojo string file, too
dbs [Thu, 9 Jul 2009 02:55:30 +0000 (02:55 +0000)]
Merge r13546 from trunk: Need to generate the opac.js Dojo string file, too

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

16 years agoMerge 13541 from trunk: set explicit encoding for database i18n input
dbs [Thu, 9 Jul 2009 02:14:28 +0000 (02:14 +0000)]
Merge 13541 from trunk: set explicit encoding for database i18n input

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