evergreen/bjwebb.git
15 years agoadded support for choosing to create bib/copy/callnumber entries at order record...
erickson [Fri, 10 Apr 2009 15:17:42 +0000 (15:17 +0000)]
added support for choosing to create bib/copy/callnumber entries at order record upload time

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

15 years agoset copy location on li detail on import
erickson [Fri, 10 Apr 2009 15:17:09 +0000 (15:17 +0000)]
set copy location on li detail on import

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

15 years agoplugged in debit creation
erickson [Fri, 10 Apr 2009 14:33:40 +0000 (14:33 +0000)]
plugged in debit creation

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

15 years agousr_attr got destroyed in a previous revision, repairing
erickson [Fri, 10 Apr 2009 14:27:37 +0000 (14:27 +0000)]
usr_attr got destroyed in a previous revision, repairing

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

15 years agofix for nasty little copy/paste regression, trying to support null ilsevent's. This...
phasefx [Thu, 9 Apr 2009 20:20:07 +0000 (20:20 +0000)]
fix for nasty little copy/paste regression, trying to support null ilsevent's.  This was preventing Force this Action dialogs for multiple overridable events

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

15 years agofixed order by clause
erickson [Thu, 9 Apr 2009 18:48:22 +0000 (18:48 +0000)]
fixed order by clause

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

15 years agoAvoid a warning about testing against an undefined value
dbs [Thu, 9 Apr 2009 17:09:55 +0000 (17:09 +0000)]
Avoid a warning about testing against an undefined value

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

15 years agolet's try reposition the Register button so it doesn't scroll offscreen.. could work...
phasefx [Thu, 9 Apr 2009 16:53:07 +0000 (16:53 +0000)]
let's try reposition the Register button so it doesn't scroll offscreen.. could work on scrollbars too

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

15 years agoLots of people are stumbling over the "opensrf" (OpenSRF) vs. "osrf" (EG) username...
dbs [Thu, 9 Apr 2009 16:40:24 +0000 (16:40 +0000)]
Lots of people are stumbling over the "opensrf" (OpenSRF) vs. "osrf" (EG) username, so bring them into sync

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

15 years agogo ahead and sort ancestor list by depth so that tree-ification is not strictly required
erickson [Thu, 9 Apr 2009 15:46:49 +0000 (15:46 +0000)]
go ahead and sort ancestor list by depth so that tree-ification is not strictly required

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

15 years agoA long time ago, miker said we could correct typos in the schema as long as we add...
dbs [Thu, 9 Apr 2009 15:35:26 +0000 (15:35 +0000)]
A long time ago, miker said we could correct typos in the schema as long as we add corresponding upgrade logic
Let's take advantage of his openness before we hit 2.0 :)

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

15 years agolet's go ahead and import the new order.pm even though it's not done
erickson [Thu, 9 Apr 2009 15:18:03 +0000 (15:18 +0000)]
let's go ahead and import the new order.pm even though it's not done

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

15 years agoadded some debugging for now and initial status updates
erickson [Thu, 9 Apr 2009 15:17:19 +0000 (15:17 +0000)]
added some debugging for now and initial status updates

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

15 years agoevents not guaranteed to have a code, treat display as such
erickson [Thu, 9 Apr 2009 15:16:53 +0000 (15:16 +0000)]
events not guaranteed to have a code, treat display as such

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

15 years agooops, result in true
erickson [Thu, 9 Apr 2009 15:16:05 +0000 (15:16 +0000)]
oops, result in true

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

15 years agocontinuing to slog through the import process
erickson [Thu, 9 Apr 2009 15:15:36 +0000 (15:15 +0000)]
continuing to slog through the import process

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

15 years ago1. In osrfAppChildInit(): reduce the scope of the attr variable. Don't call
scottmk [Thu, 9 Apr 2009 14:42:24 +0000 (14:42 +0000)]
1. In osrfAppChildInit(): reduce the scope of the attr variable.  Don't call
dbi_result_get_field_attribs() unless you're going to use the result.

2. In dbi_result_get_field_attribs(): Eliminate the round trip from string to
number and back to string; just use the string that's already available.

If the string is in a JSON_NUMBER, it's guaranteed to be numeric.  If the
string is in a JSON_STRING, it might not be numeric, and if it isn't, then
PostgreSQL will choke on it.  The old code would silently convert it to zero,
or possibly to some other unintended value.

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

15 years agomore import work, more to come
erickson [Wed, 8 Apr 2009 16:07:41 +0000 (16:07 +0000)]
more import work, more to come

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

15 years agoadded permacrud entries for acqphsm and acqlipad
erickson [Wed, 8 Apr 2009 15:09:24 +0000 (15:09 +0000)]
added permacrud entries for acqphsm and acqlipad

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

15 years agoadding note and circ_modifier to acq.lineitem_detail; moving some IDL definitions...
miker [Wed, 8 Apr 2009 15:00:42 +0000 (15:00 +0000)]
adding note and circ_modifier to acq.lineitem_detail; moving some IDL definitions out of the "example" area

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

15 years agoadded entries for acq::provider_holding_subfield_map, updated acq::lineitem_provider_...
erickson [Wed, 8 Apr 2009 14:50:12 +0000 (14:50 +0000)]
added entries for acq::provider_holding_subfield_map, updated acq::lineitem_provider_attr_definition entries

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

15 years agoFix open-ils.ingest.full.biblio.record_list by passing a reference to the list, rathe...
dbs [Wed, 8 Apr 2009 04:08:08 +0000 (04:08 +0000)]
Fix open-ils.ingest.full.biblio.record_list by passing a reference to the list, rather than a scalar
Fix the return value of open-ils.ingest.full.biblio.record_list by returning a true count, rather than a sum of the processed IDs

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

15 years agomoved marc upload into Order.pm
erickson [Tue, 7 Apr 2009 21:07:34 +0000 (21:07 +0000)]
moved marc upload into Order.pm

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

15 years agoporting some more functionality over to the common area
erickson [Tue, 7 Apr 2009 18:31:08 +0000 (18:31 +0000)]
porting some more functionality over to the common area

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

15 years agotrying to bring some coherence to the basic components of an order/picklist. separat...
erickson [Tue, 7 Apr 2009 16:48:13 +0000 (16:48 +0000)]
trying to bring some coherence to the basic components of an order/picklist.  separating across modules complicates the process.  more to follow

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

15 years agoReverting the unique index on bre.id; it's a primary key and already has one by defin...
dbs [Tue, 7 Apr 2009 14:07:07 +0000 (14:07 +0000)]
Reverting the unique index on bre.id; it's a primary key and already has one by definition
Creating the index probably improved the speed of ingest as a side effect;
a reindex would probably have the same effect without additional index overhead.
More investigation required.

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

15 years agoAdd a unique index on biblio.record_entry.id
dbs [Tue, 7 Apr 2009 13:44:40 +0000 (13:44 +0000)]
Add a unique index on biblio.record_entry.id
On a large system (2M records), this reduced ingest time from 45-60 seconds / record to 5 seconds / record

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

15 years agoIn oils_cstore.c:
scottmk [Tue, 7 Apr 2009 13:12:36 +0000 (13:12 +0000)]
In oils_cstore.c:

1. Check the return code from all calls to SELECT().

2. In searchValueTransform(): insist that the function name be in a
JSON_STRING.

3. In searchFieldTransformPredicate(): screen the operator string for
SQL injection.

4. In searchFieldTransformPredicate(): insert another layer of
parentheses to avoid ambiguity.

5. Eliminated extraneous parameters on some calls to osrfLogError().

6. In searchFieldTransformPredicate(): disallow comparisons to
nulls and booleans.

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

15 years agoUse the new JSON parser
scottmk [Tue, 7 Apr 2009 06:33:03 +0000 (06:33 +0000)]
Use the new JSON parser

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

15 years agoteach acq to extract holding-related data from a named tag and configured subfields
miker [Tue, 7 Apr 2009 05:24:26 +0000 (05:24 +0000)]
teach acq to extract holding-related data from a named tag and configured subfields

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

15 years agoStart getting ready to handle more complex publication patterns.
djfiander [Tue, 7 Apr 2009 01:47:33 +0000 (01:47 +0000)]
Start getting ready to handle more complex publication patterns.

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

15 years agoa bit more refactoring of Caption & Holding
djfiander [Tue, 7 Apr 2009 00:53:52 +0000 (00:53 +0000)]
a bit more refactoring of Caption & Holding

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

15 years agosave some space in the selector colum
erickson [Mon, 6 Apr 2009 21:21:14 +0000 (21:21 +0000)]
save some space in the selector colum

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

15 years agofor now, update the price when it's changed. will probably make this more interactiv...
erickson [Mon, 6 Apr 2009 20:34:59 +0000 (20:34 +0000)]
for now, update the price when it's changed.  will probably make this more interactive in the future

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

15 years agoset provider on lineitem at import
erickson [Mon, 6 Apr 2009 20:31:34 +0000 (20:31 +0000)]
set provider on lineitem at import

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

15 years agoadded delete operation
erickson [Mon, 6 Apr 2009 20:12:29 +0000 (20:12 +0000)]
added delete operation

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

15 years agoadded delete-selected buttons
erickson [Mon, 6 Apr 2009 18:02:57 +0000 (18:02 +0000)]
added delete-selected buttons

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

15 years agoplugged in mark-po-received action
erickson [Mon, 6 Apr 2009 16:28:02 +0000 (16:28 +0000)]
plugged in mark-po-received action

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

15 years agoadded a mark-po-received method
erickson [Mon, 6 Apr 2009 16:27:27 +0000 (16:27 +0000)]
added a mark-po-received method

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

15 years agomake PO formatting hooks passive; remove PO print hook, add PO html and pdf hooks
miker [Mon, 6 Apr 2009 16:08:44 +0000 (16:08 +0000)]
make PO formatting hooks passive; remove PO print hook, add PO html and pdf hooks

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

15 years agostarted plugging in PO printing, at least to HTML. this assumes a format.po.html...
erickson [Mon, 6 Apr 2009 15:22:40 +0000 (15:22 +0000)]
started plugging in PO printing, at least to HTML.  this assumes a format.po.html trigger hook

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

15 years agomoved generic object/event firing to apputils function. plugged in PO formatting...
erickson [Mon, 6 Apr 2009 14:43:55 +0000 (14:43 +0000)]
moved generic object/event firing to apputils function.  plugged in PO formatting call

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

15 years agorepaired the disable widget logic
erickson [Mon, 6 Apr 2009 13:15:39 +0000 (13:15 +0000)]
repaired the disable widget logic

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

15 years agomore autogridding
erickson [Mon, 6 Apr 2009 13:06:54 +0000 (13:06 +0000)]
more autogridding

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

15 years agoMove 'next' calcuations into MFHD::Caption, since they depend primarily on the captio...
djfiander [Sun, 5 Apr 2009 00:57:26 +0000 (00:57 +0000)]
Move 'next' calcuations into MFHD::Caption, since they depend primarily on the caption and pattern fields.
Leave Holding::next() where it is, so a holding statement can report
on the 'next' date.

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

15 years agoProperly pad dates with leading 0
djfiander [Sun, 5 Apr 2009 00:28:00 +0000 (00:28 +0000)]
Properly pad dates with leading 0

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

15 years agoused admin_ perm structure
erickson [Fri, 3 Apr 2009 22:12:03 +0000 (22:12 +0000)]
used admin_ perm structure

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

15 years agodo appendClear so we're not growing with new tests
erickson [Fri, 3 Apr 2009 20:49:31 +0000 (20:49 +0000)]
do appendClear so we're not growing with new tests

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

15 years ago"Hold Slip" accidentally replaced "Transit Slip" during i18n-ization
phasefx [Fri, 3 Apr 2009 20:20:39 +0000 (20:20 +0000)]
"Hold Slip" accidentally replaced "Transit Slip" during i18n-ization

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

15 years agoFix hold shelf display for solitary item. We expect an array here, but if the array...
phasefx [Fri, 3 Apr 2009 20:02:31 +0000 (20:02 +0000)]
Fix hold shelf display for solitary item.  We expect an array here, but if the array only has one element, then RemoteRequest is just returning that element

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

15 years agosort item attribute editor templates alphabetically
phasefx [Fri, 3 Apr 2009 19:14:01 +0000 (19:14 +0000)]
sort item attribute editor templates alphabetically

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

15 years agogo ahead and protect tracker retrieval as well
erickson [Fri, 3 Apr 2009 18:33:58 +0000 (18:33 +0000)]
go ahead and protect tracker retrieval as well

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

15 years agoadded initial 'test circ event def by barcode' functionality
erickson [Fri, 3 Apr 2009 18:26:58 +0000 (18:26 +0000)]
added initial 'test circ event def by barcode' functionality

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

15 years agopopup progress bar
erickson [Fri, 3 Apr 2009 18:26:09 +0000 (18:26 +0000)]
popup progress bar

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

15 years agoreturn the fleshed event from fire-event-by-barcode
erickson [Fri, 3 Apr 2009 18:25:09 +0000 (18:25 +0000)]
return the fleshed event from fire-event-by-barcode

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

15 years agofixed fund currency type datatype
erickson [Fri, 3 Apr 2009 15:39:00 +0000 (15:39 +0000)]
fixed fund currency type datatype

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

15 years agoFix broken Z39.50 import due to XMLENT manipulating <script> elements
dbs [Fri, 3 Apr 2009 06:00:50 +0000 (06:00 +0000)]
Fix broken Z39.50 import due to XMLENT manipulating <script> elements

Thanks to Jeff Godin <jeff@tcnet.org> for the patch!

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: Jeff Godin <jeff@tcnet.org>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12773 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoAvoid a PostgreSQL 8.3 type conversion problem.
dbs [Fri, 3 Apr 2009 05:49:21 +0000 (05:49 +0000)]
Avoid a PostgreSQL 8.3 type conversion problem.
Thanks to Jeff Godin for the suggested fix on IRC.

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

15 years agoauto grid column width
erickson [Thu, 2 Apr 2009 21:26:02 +0000 (21:26 +0000)]
auto grid column width

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

15 years agoimplemented select/deselect all. removed some debugging. disable sort when clicking...
erickson [Thu, 2 Apr 2009 21:25:45 +0000 (21:25 +0000)]
implemented select/deselect all.  removed some debugging.  disable sort when clicking on selector column header

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

15 years agoadded delete all button
erickson [Thu, 2 Apr 2009 20:16:39 +0000 (20:16 +0000)]
added delete all button

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

15 years agoadded an option selection column with associated methods. this is separate from...
erickson [Thu, 2 Apr 2009 20:16:01 +0000 (20:16 +0000)]
added an option selection column with associated methods.  this is separate from the dojo grid selection api, this it is often unwieldy and complicates keyboard navigation.  still need to implement selectall

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

15 years agothe key changes depending on which stored proc is called. use whatever key is given...
erickson [Thu, 2 Apr 2009 18:56:00 +0000 (18:56 +0000)]
the key changes depending on which stored proc is called.  use whatever key is given to access the value

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

15 years agotypo, descendents -> descendants
erickson [Thu, 2 Apr 2009 18:48:44 +0000 (18:48 +0000)]
typo, descendents -> descendants

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

15 years agoallow the caller to define a function that tells the autofield widget to disable...
erickson [Thu, 2 Apr 2009 15:35:30 +0000 (15:35 +0000)]
allow the caller to define a function that tells the autofield widget to disable itself if it returns true

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

15 years agoPrevent error messages with many lines from scrolling off the bottom of the screen...
dbs [Thu, 2 Apr 2009 03:33:29 +0000 (03:33 +0000)]
Prevent error messages with many lines from scrolling off the bottom of the screen, by truncating messages at 30 lines.
Also, fix some FIMXEs, in case anyone ever gets ambitious about grepping for FIXMEs :)

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

15 years agoAdd test cases for semi-monthly publication on fixed dates, omitted issues
djfiander [Thu, 2 Apr 2009 01:35:07 +0000 (01:35 +0000)]
Add test cases for semi-monthly publication on fixed dates, omitted issues

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

15 years agoAdd support for split issue numbers
djfiander [Thu, 2 Apr 2009 00:38:53 +0000 (00:38 +0000)]
Add support for split issue numbers

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

15 years agoFix code that loads MARC test data, add a couple of tests,
djfiander [Thu, 2 Apr 2009 00:38:09 +0000 (00:38 +0000)]
Fix code that loads MARC test data, add a couple of tests,
indicate that a bunch of tests are no longer "TODO"

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

15 years agoautogrid the circ_modifier config ui
erickson [Wed, 1 Apr 2009 20:11:51 +0000 (20:11 +0000)]
autogrid the circ_modifier config ui

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

15 years agoupdated, autogrid-ified currency_type list page
erickson [Wed, 1 Apr 2009 20:07:26 +0000 (20:07 +0000)]
updated, autogrid-ified currency_type list page

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

15 years agoupdated to use trigger for generating templated output
erickson [Wed, 1 Apr 2009 19:44:31 +0000 (19:44 +0000)]
updated to use trigger for generating templated output

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

15 years agoinstead of generic format.po hook, let's use specific format.po.jedi and format.po...
erickson [Wed, 1 Apr 2009 19:15:13 +0000 (19:15 +0000)]
instead of generic format.po hook, let's use specific format.po.jedi and format.po.print so we can find the right event_def at runtime

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

15 years agoadded ProcessTemplate reactor and new hook, format.po
erickson [Wed, 1 Apr 2009 19:03:58 +0000 (19:03 +0000)]
added ProcessTemplate reactor and new hook, format.po

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

15 years agosimple reactor that just processes a template
erickson [Wed, 1 Apr 2009 19:03:24 +0000 (19:03 +0000)]
simple reactor that just processes a template

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

15 years agorecursive calls to _object_by_path need their own copy of the path array so that...
erickson [Wed, 1 Apr 2009 17:38:57 +0000 (17:38 +0000)]
recursive calls to _object_by_path need their own copy of the path array so that sibling calls aren't left with an empty path

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

15 years agodisabling editing of sequenced fields is better handled in the widgetLoaded function...
erickson [Wed, 1 Apr 2009 16:16:15 +0000 (16:16 +0000)]
disabling editing of sequenced fields is better handled in the widgetLoaded function.  removing this less smart version

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

15 years agoUpdated the IDL to match the table name in the sql: template_output => event_output
erickson [Wed, 1 Apr 2009 13:54:42 +0000 (13:54 +0000)]
Updated the IDL to match the table name in the sql:  template_output => event_output
Added an is_error column to event_output
Updated event.error_output to link to event_output table
Storing error text in event_output table with is_error='t'

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

15 years agoreordering table due to fkey
miker [Wed, 1 Apr 2009 11:08:08 +0000 (11:08 +0000)]
reordering table due to fkey

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

15 years agocreated method that takes a circ-based event def and a copy barcode, creates the...
erickson [Tue, 31 Mar 2009 21:37:50 +0000 (21:37 +0000)]
created method that takes a circ-based event def and a copy barcode, creates the event if possible and fires the event.  this is primarily for testing notifications

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

15 years agofixed var name
erickson [Tue, 31 Mar 2009 21:36:08 +0000 (21:36 +0000)]
fixed var name

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

15 years agoin batches, 'event' is an array of events
erickson [Tue, 31 Mar 2009 20:56:25 +0000 (20:56 +0000)]
in batches, 'event' is an array of events

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

15 years agoremoved remaining assumptions of an 'id' field on all objects. use Identity column...
erickson [Tue, 31 Mar 2009 20:55:47 +0000 (20:55 +0000)]
removed remaining assumptions of an 'id' field on all objects.  use Identity column everywhere

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

15 years agoadd method for creating events by definition(s) (array accepted), including testing...
miker [Tue, 31 Mar 2009 20:32:04 +0000 (20:32 +0000)]
add method for creating events by definition(s) (array accepted), including testing of inactive events, for a specific target instead of by hook key

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

15 years agoprevent some warnings in the logs
erickson [Tue, 31 Mar 2009 20:19:24 +0000 (20:19 +0000)]
prevent some warnings in the logs

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

15 years agoset the nostore var
erickson [Tue, 31 Mar 2009 18:21:54 +0000 (18:21 +0000)]
set the nostore var

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

15 years agofixed closing tag
erickson [Tue, 31 Mar 2009 18:21:26 +0000 (18:21 +0000)]
fixed closing tag

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

15 years agogive the environment built by O::A::T::Event[Group] access to the event proccessing...
miker [Tue, 31 Mar 2009 17:36:14 +0000 (17:36 +0000)]
give the environment built by O::A::T::Event[Group] access to the event proccessing object; teach O::A::T::Reactor::run_TT how to use this special EventProcessor env element, optionally turning this off via a "nostore" flag to run_TT

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

15 years agoadding template_output table to support storing just one copy of batch output
miker [Tue, 31 Mar 2009 16:51:44 +0000 (16:51 +0000)]
adding template_output table to support storing just one copy of batch output

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

15 years agotypo:actor.org_unit_descendents. run_time is now a date string instead of a query
erickson [Tue, 31 Mar 2009 16:50:24 +0000 (16:50 +0000)]
typo:actor.org_unit_descendents.  run_time is now a date string instead of a query

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

15 years agosome formatting
erickson [Tue, 31 Mar 2009 14:25:59 +0000 (14:25 +0000)]
some formatting

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

15 years agoadded provider addresses link
erickson [Tue, 31 Mar 2009 14:15:35 +0000 (14:15 +0000)]
added provider addresses link

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

15 years agoadded address info
erickson [Tue, 31 Mar 2009 13:53:56 +0000 (13:53 +0000)]
added address info

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

15 years agotest script for printing a purchase order
erickson [Tue, 31 Mar 2009 13:39:50 +0000 (13:39 +0000)]
test script for printing a purchase order

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

15 years agoPlugged some massive memory leaks.
scottmk [Tue, 31 Mar 2009 13:28:16 +0000 (13:28 +0000)]
Plugged some massive memory leaks.

In one case we were leaking an osrfHash whenever we didn't use it.
I rearranged matters so that we won't create the osrfHash unless
we're going to use it.

The other leaks involved various libxml2 functions that return
allocated strings that need to be freed.  In many of those cases
we had been stdruping the strings and leaking the originals.
Eliminating all those strdups should boost performance a bit,
and reduce the memory footprint.

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

15 years agorepaired copy/paste 'editor' field name for acqpl links
erickson [Tue, 31 Mar 2009 12:41:32 +0000 (12:41 +0000)]
repaired copy/paste 'editor' field name for acqpl links

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

15 years agoFix closed dates editor.
dbs [Tue, 31 Mar 2009 04:20:57 +0000 (04:20 +0000)]
Fix closed dates editor.
  * XMLENT forces quirks mode, and tr/table needs an intervening td
  * XMLENT likes its JavaScript inside double-quotes on onclick attributes
  * Cookie.js was triggering 404 errors

Thanks to dchristens from IRC for reporting the problem and Jeff of TADL for finding the solution.

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

15 years agomove the select list creation actoin in with the rest of the linietem actions (dropdown)
erickson [Mon, 30 Mar 2009 22:51:15 +0000 (22:51 +0000)]
move the select list creation actoin in with the rest of the linietem actions (dropdown)

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

15 years agoself is not defined here, use this
erickson [Mon, 30 Mar 2009 22:49:37 +0000 (22:49 +0000)]
self is not defined here, use this

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

15 years agorepaired array positions
erickson [Mon, 30 Mar 2009 21:42:11 +0000 (21:42 +0000)]
repaired array positions

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