evergreen/bjwebb.git
14 years agoAcq: this line unneeded; TagManager doesn't go here.
senator [Mon, 29 Mar 2010 15:52:34 +0000 (15:52 +0000)]
Acq: this line unneeded; TagManager doesn't go here.

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

14 years agoplugged in paging for viewing fund propagation results. added context org and org...
erickson [Mon, 29 Mar 2010 15:38:43 +0000 (15:38 +0000)]
plugged in paging for viewing fund propagation results.  added context org and org child selector to rollver actions.  moved some css to external acq css file

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

14 years agoWhen propagating funds: propagate the balance_warning_percent
scottmk [Mon, 29 Mar 2010 14:36:08 +0000 (14:36 +0000)]
When propagating funds: propagate the balance_warning_percent
and balance_stop_percent columns.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0219.schema.acq.propagate-fund-bal-pct.sql

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

14 years agomore patron update docs
erickson [Mon, 29 Mar 2010 13:10:25 +0000 (13:10 +0000)]
more patron update docs

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

14 years agoMore method reg docs and a minor touchup.
erickson [Mon, 29 Mar 2010 13:02:24 +0000 (13:02 +0000)]
More method reg docs and a minor touchup.

$err variable was not used.
trinary op makes clearer that logger only gets called once.

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

14 years agoFix typo: open-ils.actor.retrieve_by_shorname (see r16029)
dbs [Sun, 28 Mar 2010 21:55:12 +0000 (21:55 +0000)]
Fix typo: open-ils.actor.retrieve_by_shorname (see r16029)

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

14 years agoFix typo: open-ils.actor.retrieve_by_shorname (but keep the old one around just in...
dbs [Sun, 28 Mar 2010 21:54:13 +0000 (21:54 +0000)]
Fix typo: open-ils.actor.retrieve_by_shorname (but keep the old one around just in case)

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

14 years agoset an upper limit using the same value as the per-index-matchpoint search limit...
miker [Sat, 27 Mar 2010 21:04:01 +0000 (21:04 +0000)]
set an upper limit using the same value as the per-index-matchpoint search limit (effective upper limit) for safer sort-only browse

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

14 years agoadd useful fixed-field indexing for browse-by-FF support (yay for QueryParser!)
miker [Sat, 27 Mar 2010 20:55:28 +0000 (20:55 +0000)]
add useful fixed-field indexing for browse-by-FF support (yay for QueryParser!)

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

14 years agoadd pubdate filtering support to compat wrapper
miker [Sat, 27 Mar 2010 20:50:15 +0000 (20:50 +0000)]
add pubdate filtering support to compat wrapper

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

14 years agosafer date1 number sanitization
miker [Sat, 27 Mar 2010 20:49:49 +0000 (20:49 +0000)]
safer date1 number sanitization

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

14 years agomake empty queries safe
miker [Sat, 27 Mar 2010 20:06:30 +0000 (20:06 +0000)]
make empty queries safe

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

14 years agomore backward compat for staged search -> QueryParser transition; added some debug...
miker [Sat, 27 Mar 2010 19:21:51 +0000 (19:21 +0000)]
more backward compat for staged search -> QueryParser transition; added some debug logging to the compat wrapper function

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

14 years agoPatch from Dan Wells which allows restriction of renewal when the item in question...
miker [Sat, 27 Mar 2010 17:30:40 +0000 (17:30 +0000)]
Patch from Dan Wells which allows restriction of renewal when the item in question is needed to fulfill a hold.

There was concern initially about whether a patrons own holds should be ignored, but that is not the case in scripted circ rules, so the behavior, as implemented by Dan, is correct.

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

14 years agoshow fiscal rollover summary; insert newly created funds into the fund grid for displ...
erickson [Fri, 26 Mar 2010 21:09:09 +0000 (21:09 +0000)]
show fiscal rollover summary; insert newly created funds into the fund grid for display; TODO: plug in grid paging handlers for paging through dry-run propagate results; finish up css and move to css file

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

14 years agoAcq: Resurrect an old "view fund" interface, add some tag mapping managment
senator [Fri, 26 Mar 2010 20:30:56 +0000 (20:30 +0000)]
Acq: Resurrect an old "view fund" interface, add some tag mapping managment

From the "list funds" interface, you can click on the name of a fund and get
to the "view funds" interface for that fund.  That interface now how a "tags"
tab where you can attach and detach tags to/from the fund you're viewing.

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

14 years agofor sync login, return true/false to indicate login success. show login failures...
erickson [Fri, 26 Mar 2010 20:03:29 +0000 (20:03 +0000)]
for sync login, return true/false to indicate login success.  show login failures in web login dialog

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

14 years agono autoWidth, use auto cell width
erickson [Fri, 26 Mar 2010 20:03:28 +0000 (20:03 +0000)]
no autoWidth, use auto cell width

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

14 years agocalculate facets, cache them, return the facet key with the result set
miker [Fri, 26 Mar 2010 19:53:29 +0000 (19:53 +0000)]
calculate facets, cache them, return the facet key with the result set

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

14 years agoadded note about source of hash keys for user req form data param object
erickson [Fri, 26 Mar 2010 19:31:39 +0000 (19:31 +0000)]
added note about source of hash keys for user req form data param object

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

14 years agoBugfix: param should be params, and notes has issues.
erickson [Fri, 26 Mar 2010 19:27:29 +0000 (19:27 +0000)]
Bugfix: param should be params, and notes has issues.

Notes cannot coexist well w/ signature desc (notes is ignored).

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

14 years agosearch.biblio.multiclass.query docs in method reg.
erickson [Fri, 26 Mar 2010 19:27:28 +0000 (19:27 +0000)]
search.biblio.multiclass.query docs in method reg.

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

14 years agoadd support for DISTINCT on aggregate function, like COUNT( DISTINCT x )
miker [Fri, 26 Mar 2010 19:07:58 +0000 (19:07 +0000)]
add support for DISTINCT on aggregate function, like COUNT( DISTINCT x )

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

14 years agoadd support for an XPath expression to pull out just what is needed for facet values
miker [Fri, 26 Mar 2010 17:23:43 +0000 (17:23 +0000)]
add support for an XPath expression to pull out just what is needed for facet values

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

14 years agofirst, the pkey is alias, not id; also, need to add to initialization calls everywher...
miker [Fri, 26 Mar 2010 15:54:28 +0000 (15:54 +0000)]
first, the pkey is alias, not id; also, need to add to initialization calls everywhere. miker--

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

14 years agoAcq: make provider indicator in PO viewing interface a link to provider iface
senator [Fri, 26 Mar 2010 15:50:37 +0000 (15:50 +0000)]
Acq: make provider indicator in PO viewing interface a link to provider iface

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

14 years agoSet PO order date at PO activation time
erickson [Fri, 26 Mar 2010 15:09:31 +0000 (15:09 +0000)]
Set PO order date at PO activation time

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

14 years agoAcq: show provider name in the PO viewing interface
senator [Fri, 26 Mar 2010 14:37:12 +0000 (14:37 +0000)]
Acq: show provider name in the PO viewing interface

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

14 years agoMethod reg. docs for Order.pm
erickson [Fri, 26 Mar 2010 12:42:16 +0000 (12:42 +0000)]
Method reg. docs for Order.pm

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

14 years agoindex facets non-globbed, and only index the value column on facet entries; add facet...
miker [Fri, 26 Mar 2010 03:46:35 +0000 (03:46 +0000)]
index facets non-globbed, and only index the value column on facet entries; add facet-specific index support to QueryParser

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

14 years agoadd alias mapping table and QueryParser support -- particularly important for SRU
miker [Fri, 26 Mar 2010 02:52:58 +0000 (02:52 +0000)]
add alias mapping table and QueryParser support -- particularly important for SRU

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

14 years agoIsolate the "search" and "id_list" methods in their own functions,
scottmk [Fri, 26 Mar 2010 02:47:26 +0000 (02:47 +0000)]
Isolate the "search" and "id_list" methods in their own functions,
instead of performing them bodily within dispatchCRUDMethod().

This change is part of a project to refactor oils_cstore.c, in order
to make some of its functionality available to the new query
builder service.

Also: added some comments, and tinkered with others.

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

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

14 years agoMerge branch 'k3101'
phasefx [Thu, 25 Mar 2010 21:59:31 +0000 (21:59 +0000)]
Merge branch 'k3101'

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

14 years agoCleanup generally sound method reg. docs
erickson [Thu, 25 Mar 2010 21:27:05 +0000 (21:27 +0000)]
Cleanup generally sound method reg. docs

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

14 years agoComment on undocumented interaction.
erickson [Thu, 25 Mar 2010 21:27:04 +0000 (21:27 +0000)]
Comment on undocumented interaction.

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

14 years agomove the sequence update to after the commit to support parallel ingest
miker [Thu, 25 Mar 2010 20:30:12 +0000 (20:30 +0000)]
move the sequence update to after the commit to support parallel ingest

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

14 years agofieldmapper changes for db upgrade 0213
miker [Thu, 25 Mar 2010 20:17:25 +0000 (20:17 +0000)]
fieldmapper changes for db upgrade 0213

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

14 years agoReduce the use of conditional compilation, by replacing #ifdefs
scottmk [Thu, 25 Mar 2010 20:00:50 +0000 (20:00 +0000)]
Reduce the use of conditional compilation, by replacing #ifdefs
with ordinary "if" tests whenever possible.

This commit is part of a project to refactor oil_cstore.c so that
some of its functionality can be used for other services.

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

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

14 years agoAcq: correction to fund tag admin UI
senator [Thu, 25 Mar 2010 19:42:53 +0000 (19:42 +0000)]
Acq: correction to fund tag admin UI

The owner selector now correctly shows tags owned by selected OU or by an
ancestor, not by descendants.

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

14 years agoMaterial cleanup, many unused vars deleted, note many FIXMEs added
erickson [Thu, 25 Mar 2010 19:41:06 +0000 (19:41 +0000)]
Material cleanup, many unused vars deleted, note many FIXMEs added

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

14 years agoConditionals consolidated
erickson [Thu, 25 Mar 2010 19:41:05 +0000 (19:41 +0000)]
Conditionals consolidated

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

14 years agotrivial whitespace cleanup
erickson [Thu, 25 Mar 2010 19:41:04 +0000 (19:41 +0000)]
trivial whitespace cleanup

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

14 years agooptions is not actually used
erickson [Thu, 25 Mar 2010 19:41:03 +0000 (19:41 +0000)]
options is not actually used

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

14 years agoWhitespace prettyfication
erickson [Thu, 25 Mar 2010 19:41:02 +0000 (19:41 +0000)]
Whitespace prettyfication

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

14 years agoFormal documentation via method registration (KCLS #7409)
erickson [Thu, 25 Mar 2010 19:41:02 +0000 (19:41 +0000)]
Formal documentation via method registration (KCLS #7409)

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

14 years agofix typo: strin => string
erickson [Thu, 25 Mar 2010 19:41:01 +0000 (19:41 +0000)]
fix typo: strin => string

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

14 years agoFix warning from comparison with a possibly undef variable
dbs [Thu, 25 Mar 2010 18:57:31 +0000 (18:57 +0000)]
Fix warning from comparison with a possibly undef variable

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

14 years agoAcq: Fund tag admin UI - this is just the CRUD part, not application to funds
senator [Thu, 25 Mar 2010 18:47:14 +0000 (18:47 +0000)]
Acq: Fund tag admin UI - this is just the CRUD part, not application to funds

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

14 years agoReplace claim_interval column with claim_policy column, a foreign key
scottmk [Thu, 25 Mar 2010 18:07:56 +0000 (18:07 +0000)]
Replace claim_interval column with claim_policy column, a foreign key
pointing to acq.claim_policy.

(...thus bringing the history table back into sync with its source table.)

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0214.schema.acq.replace-claim-interval.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoadd a table to allow labelling (and eventual expansion) of search classes; index...
miker [Thu, 25 Mar 2010 17:24:02 +0000 (17:24 +0000)]
add a table to allow labelling (and eventual expansion) of search classes; index each node separately for facets, instead of (well, in addition to) globbing; remove extra (redundant) oils_xslt_process function

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

14 years agocapture multiple values (on pg 8.4) of an attr def
miker [Thu, 25 Mar 2010 16:06:03 +0000 (16:06 +0000)]
capture multiple values (on pg 8.4) of an attr def

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

14 years agoReplace acq.lineitem.claim_interval and acq.provider.default_claim_interval
scottmk [Thu, 25 Mar 2010 16:03:48 +0000 (16:03 +0000)]
Replace acq.lineitem.claim_interval and acq.provider.default_claim_interval
with foreign keys pointing to the new acq.claim_policy table.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0211.schema.acq.replace-claim-interval.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agofix some bugs that slipped in with AutoFieldWidget and .hide/.show (Set No Hold and...
phasefx [Thu, 25 Mar 2010 14:10:55 +0000 (14:10 +0000)]
fix some bugs that slipped in with AutoFieldWidget and .hide/.show (Set No Hold and View Picklist versus Add to Picklist)

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

14 years agorepaired signature params name
erickson [Thu, 25 Mar 2010 13:37:32 +0000 (13:37 +0000)]
repaired signature params name

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

14 years agoremoved unused vars for clarity, make use of the depth var instead of referencing...
erickson [Thu, 25 Mar 2010 13:33:01 +0000 (13:33 +0000)]
removed unused vars for clarity, make use of the depth var instead of referencing the original call params (apologies for the extra commits)

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

14 years agoAcq: Fixed fund dropdowns for new copies and copies without funds.
senator [Thu, 25 Mar 2010 13:31:27 +0000 (13:31 +0000)]
Acq: Fixed fund dropdowns for new copies and copies without funds.

Now these dropdowns, too, exclude inactive funds.

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

14 years agoCreate two tables in acq schema: claim_policy and claim_policy_action.
scottmk [Thu, 25 Mar 2010 13:31:06 +0000 (13:31 +0000)]
Create two tables in acq schema: claim_policy and claim_policy_action.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0210.schema.acq.claim-policy.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoMinor refactors for clarity:
erickson [Thu, 25 Mar 2010 13:19:57 +0000 (13:19 +0000)]
Minor refactors for clarity:

~ avoid name confusion between $holds and $holds[0] (@holds)
~ more consistent style (return X if X)
~ factor out common case from all conditional blocks

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

14 years agoMid-process of reworking the method registrations
erickson [Thu, 25 Mar 2010 13:19:56 +0000 (13:19 +0000)]
Mid-process of reworking the method registrations

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

14 years agoperltidy prepass
erickson [Thu, 25 Mar 2010 13:19:55 +0000 (13:19 +0000)]
perltidy prepass

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

14 years agoreverting d2c33efd962378c3fa211ef08b8151f074953052 in prep for new patch which covers...
erickson [Thu, 25 Mar 2010 13:19:54 +0000 (13:19 +0000)]
reverting d2c33efd962378c3fa211ef08b8151f074953052 in prep for new patch which covers the same territory

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

14 years agoCorrected version number in the update to config.upgrade.log
scottmk [Thu, 25 Mar 2010 13:11:14 +0000 (13:11 +0000)]
Corrected version number in the update to config.upgrade.log

M    Open-ILS/src/sql/Pg/upgrade/0209.schema.metabib.indexing-facets.sql

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

14 years agoremoved unused vars for clarity, make use of the depth var instead of referencing...
erickson [Thu, 25 Mar 2010 12:45:58 +0000 (12:45 +0000)]
removed unused vars for clarity, make use of the depth var instead of referencing the original call params

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

14 years ago1. In order to avoid repeated calls to the authentication server, cache
scottmk [Thu, 25 Mar 2010 05:43:48 +0000 (05:43 +0000)]
1. In order to avoid repeated calls to the authentication server, cache
the login information locally, as part of the userData stored by the
applicaton session.  This caching speeds up some queries by about 20%.
Actual results will of course vary according to circumstance.

2. Don't include the database password in log messages.

3. Tinkered a bit with white space and comments here and there.

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

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

14 years agoAcq: limit "Fund" dropdowns in LID table to active funds
senator [Wed, 24 Mar 2010 21:17:58 +0000 (21:17 +0000)]
Acq: limit "Fund" dropdowns in LID table to active funds

A dropdown will still include one inactive fund if the dropdown belongs to a
copy row whose fund has become inactive (but presumably wasn't originally
inactive).

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

14 years agoprovide indexes for the new faceting code
miker [Wed, 24 Mar 2010 20:46:31 +0000 (20:46 +0000)]
provide indexes for the new faceting code

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

14 years agoplan stability through casting for plpgsql; improve preferred language support
miker [Wed, 24 Mar 2010 20:18:50 +0000 (20:18 +0000)]
plan stability through casting for plpgsql; improve preferred language support

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

14 years agobreak before worksheet contents
erickson [Wed, 24 Mar 2010 19:58:28 +0000 (19:58 +0000)]
break before worksheet contents

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

14 years agoadded some data to the acq lineitem worksheet. added distib formula link from lineit...
erickson [Wed, 24 Mar 2010 19:50:43 +0000 (19:50 +0000)]
added some data to the acq lineitem worksheet.  added distib formula link from lineitems in the IDL

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

14 years agoCancel with Reason for User Requests (tweaked the ML to support that), and wired...
phasefx [Wed, 24 Mar 2010 19:43:49 +0000 (19:43 +0000)]
Cancel with Reason for User Requests (tweaked the ML to support that), and wired the interface into the staff client menu

Apologies for any bazaar merge metadata noise with this commit.

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

14 years agodebugging flag leaked in
miker [Wed, 24 Mar 2010 19:42:23 +0000 (19:42 +0000)]
debugging flag leaked in

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

14 years agosupport facet-only "search" Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver...
miker [Wed, 24 Mar 2010 19:24:54 +0000 (19:24 +0000)]
support facet-only "search" Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm

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

14 years agoconditionally quote strings that start with numbers using E-quotes instead of $-quoti...
miker [Wed, 24 Mar 2010 19:10:48 +0000 (19:10 +0000)]
conditionally quote strings that start with numbers using E-quotes instead of $-quoting, which confuses dbd::pg

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

14 years agoAcq: minor fix to the worksheet UI
senator [Wed, 24 Mar 2010 18:53:38 +0000 (18:53 +0000)]
Acq: minor fix to the worksheet UI

openils.Util is already included by js/ui/base.js, but what we do need to do
instead is load the localization string bundle.

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

14 years agoadded import profile selector and auto-merge-1-match options to main upload page
erickson [Wed, 24 Mar 2010 18:32:46 +0000 (18:32 +0000)]
added import profile selector and auto-merge-1-match options to main upload page

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

14 years agoadded selector display column to merge profile table
erickson [Wed, 24 Mar 2010 18:32:45 +0000 (18:32 +0000)]
added selector display column to merge profile table

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

14 years agosplit search/fact metadata; add facet syntax
miker [Wed, 24 Mar 2010 18:13:52 +0000 (18:13 +0000)]
split search/fact metadata; add facet syntax

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

14 years agoAcq: Add access to lineitem worksheet from LI table interfaces.
senator [Wed, 24 Mar 2010 17:32:37 +0000 (17:32 +0000)]
Acq: Add access to lineitem worksheet from LI table interfaces.

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

14 years ago"Active" in this context means "Enabled", not not-passive; let's avoid potential...
dbs [Wed, 24 Mar 2010 16:56:14 +0000 (16:56 +0000)]
"Active" in this context means "Enabled", not not-passive; let's avoid potential confusion

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

14 years agofor user requests, View Picklist instead of Add to Picklist where appropriate. TODO...
phasefx [Wed, 24 Mar 2010 16:08:17 +0000 (16:08 +0000)]
for user requests, View Picklist instead of Add to Picklist where appropriate.  TODO: change the cancel method wired up here

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

14 years agoClear up some muddlement in the design of query.from_relation.
scottmk [Wed, 24 Mar 2010 15:41:40 +0000 (15:41 +0000)]
Clear up some muddlement in the design of query.from_relation.

The table_alias column should be nullable, but it shouldn't be required
to be null for a core table.

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/0207.schema.query.nullable-table-alias.sql

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

14 years agoprovided a batch mode for open-ils.actor.container.item.create, w/ updated docs
erickson [Wed, 24 Mar 2010 14:32:25 +0000 (14:32 +0000)]
provided a batch mode for open-ils.actor.container.item.create, w/ updated docs

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

14 years agofor added security, allow for the configuration of a separate cache server for the...
erickson [Wed, 24 Mar 2010 14:16:44 +0000 (14:16 +0000)]
for added security, allow for the configuration of a separate cache server for the anonymous cache to prevent filling up the main cache with anon data

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

14 years agoanonymous cache service for web caching
erickson [Wed, 24 Mar 2010 03:11:33 +0000 (03:11 +0000)]
anonymous cache service for web caching

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

14 years agoswitching to the query parser ... truncation support!
miker [Tue, 23 Mar 2010 19:55:10 +0000 (19:55 +0000)]
switching to the query parser ... truncation support!

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

14 years agotypos in reservation logic
miker [Tue, 23 Mar 2010 17:49:13 +0000 (17:49 +0000)]
typos in reservation logic

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

14 years agoexclude server/ from build.tar with the bundle target, but likely limits us to GNU tar
phasefx [Tue, 23 Mar 2010 16:35:52 +0000 (16:35 +0000)]
exclude server/ from build.tar with the bundle target, but likely limits us to GNU tar

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

14 years agoprogressmeter as a "throbber" for page loads, etc. in staff client browser
phasefx [Tue, 23 Mar 2010 16:35:01 +0000 (16:35 +0000)]
progressmeter as a "throbber" for page loads, etc. in staff client browser

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

14 years agoAcq: optionally mark POs as prepayment_required; show/confirm it where needed
senator [Tue, 23 Mar 2010 16:00:26 +0000 (16:00 +0000)]
Acq: optionally mark POs as prepayment_required; show/confirm it where needed

The PO creation dialog box now has a checkbox for "prepayment required." This
will be checked or unchecked automatically when choosing a vendor from the
above dropdown based on whether that vendor's "prepayment required" value is
true.  The user can override the default value for a vendor, but will face a
confirmation dialog about it.

The PO viewing interface shows whether or not a PO is marked "prepayment
required," and if it is, when the user wishes to activate the PO, there will
be another confirmation dialog reminding the user to deal with payment.

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

14 years agoTweak to reflect a better understanding of oilsUtilsQuickReq().
scottmk [Tue, 23 Mar 2010 13:47:06 +0000 (13:47 +0000)]
Tweak to reflect a better understanding of oilsUtilsQuickReq().
If the latter calls a method that returns no result, it returns
a JSON_NULL, not a NULL.

(The previous version worked correctly, but kinda sorta by accident.)

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

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

14 years agoForward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds...
dbs [Mon, 22 Mar 2010 22:25:41 +0000 (22:25 +0000)]
Forward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds in example configuration file
Fix minor typos in HoldNotify.pm log messages

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

14 years agoAdd to Picklist function for acq user requests. Disable EditOnEnter for list view.
phasefx [Mon, 22 Mar 2010 21:31:15 +0000 (21:31 +0000)]
Add to Picklist function for acq user requests.  Disable EditOnEnter for list view.

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

14 years agoAdd the const qualifier to one variable. Tidy up white space.
scottmk [Mon, 22 Mar 2010 20:13:36 +0000 (20:13 +0000)]
Add the const qualifier to one variable.  Tidy up white space.

M    Open-ILS/src/extras/oils_requestor.c

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

14 years agoApplied the const qualifier to a couple of variables.
scottmk [Mon, 22 Mar 2010 20:00:17 +0000 (20:00 +0000)]
Applied the const qualifier to a couple of variables.
Also tidied up the white space.

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

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

14 years agoprotect ingest against < in the data -- subfield codes are still a problem; do not...
miker [Mon, 22 Mar 2010 19:47:32 +0000 (19:47 +0000)]
protect ingest against < in the data -- subfield codes are still a problem; do not delete metarecord mapping when we are not reingesting a record

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

14 years agomove the rule to /after/ we create the referenced schemas and tables
miker [Mon, 22 Mar 2010 17:39:32 +0000 (17:39 +0000)]
move the rule to /after/ we create the referenced schemas and tables

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

14 years agoFixing blooper in the version number of an upgrade script.
scottmk [Mon, 22 Mar 2010 16:18:54 +0000 (16:18 +0000)]
Fixing blooper in the version number of an upgrade script.

M    upgrade/0205.schema.force-reingest-flag-usage.sql

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

14 years agoprovide valid xml for the magical -1 precat record, so that we avoid xml errors;...
miker [Mon, 22 Mar 2010 03:48:51 +0000 (03:48 +0000)]
provide valid xml for the magical -1 precat record, so that we avoid xml errors; add a force-reingest flag to allow reingest when the MARC has not changed

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

14 years agoQueryParser-based stored proc, and adjustments to calling perl -- next up, a compat...
miker [Sun, 21 Mar 2010 20:08:18 +0000 (20:08 +0000)]
QueryParser-based stored proc, and adjustments to calling perl -- next up, a compat wrapper and testing

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

14 years agomake #metabib an alias for #metarecord
miker [Sun, 21 Mar 2010 20:05:38 +0000 (20:05 +0000)]
make #metabib an alias for #metarecord

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