evergreen/bjwebb.git
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

15 years agosome layout tweaks for event def grid
erickson [Mon, 30 Mar 2009 18:22:45 +0000 (18:22 +0000)]
some layout tweaks for event def grid

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

15 years agopass the default search class correctly, instead of rewriting the query (possibly...
miker [Mon, 30 Mar 2009 00:13:55 +0000 (00:13 +0000)]
pass the default search class correctly, instead of rewriting the query (possibly causing user confusion); require a valid class be passed to the middle layer code

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

15 years agoNaive implementation of protection against apostrophes in SlimPAC search. Fix for...
dbs [Sun, 29 Mar 2009 21:20:57 +0000 (21:20 +0000)]
Naive implementation of protection against apostrophes in SlimPAC search. Fix for #55.

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

15 years agoLet's fix this typo and see what breaks :)
dbs [Sun, 29 Mar 2009 21:03:10 +0000 (21:03 +0000)]
Let's fix this typo and see what breaks :)

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

15 years agoFix for #54 - make SlimPAC search respect title/keyword/author/subject/series index
dbs [Sun, 29 Mar 2009 20:36:46 +0000 (20:36 +0000)]
Fix for #54 - make SlimPAC search respect title/keyword/author/subject/series index

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

15 years agoadding some initial readonly parts
erickson [Fri, 27 Mar 2009 20:00:33 +0000 (20:00 +0000)]
adding some initial readonly parts

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

15 years agoplugged in intial lineitem table implementation
erickson [Fri, 27 Mar 2009 19:59:57 +0000 (19:59 +0000)]
plugged in intial lineitem table implementation

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

15 years agoadded an appendclear function to remove child nodes befor inserting a new one
erickson [Fri, 27 Mar 2009 19:58:50 +0000 (19:58 +0000)]
added an appendclear function to remove child nodes befor inserting a new one

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

15 years agoadded support for displaying the value from the 'selector' field for read-only widgets
erickson [Fri, 27 Mar 2009 19:58:21 +0000 (19:58 +0000)]
added support for displaying the value from the 'selector' field for  read-only widgets

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

15 years agoplugged in more streamlined PO creation. added progress meter and status updates...
erickson [Fri, 27 Mar 2009 18:37:33 +0000 (18:37 +0000)]
plugged in more streamlined PO creation.  added progress meter and status updates during PO creation

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

15 years agoset the provider on the lineitem at po create time. respond after lineitem update
erickson [Fri, 27 Mar 2009 18:36:49 +0000 (18:36 +0000)]
set the provider on the lineitem at po create time.  respond after lineitem update

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

15 years agousing new common cat code to in-transactoin bib/volume/copy creation. created stream...
erickson [Fri, 27 Mar 2009 14:33:16 +0000 (14:33 +0000)]
using new common cat code to in-transactoin bib/volume/copy creation.  created streamlined PO creation method that creates po, assets, and debits in one transaction.  moved asset create logic into financials.pm for consistency

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

15 years agoplugging in and tweaking PO creation. more to do
erickson [Thu, 26 Mar 2009 21:53:04 +0000 (21:53 +0000)]
plugging in and tweaking PO creation.  more to do

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

15 years agoassume auto-checkin for now for Mark Item Damaged
phasefx [Thu, 26 Mar 2009 20:29:26 +0000 (20:29 +0000)]
assume auto-checkin for now for Mark Item Damaged

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

15 years agoplugged in marc edit functionality for lineitems
erickson [Thu, 26 Mar 2009 19:22:00 +0000 (19:22 +0000)]
plugged in marc edit functionality for lineitems

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

15 years agoflesh copy objects on circ and hold events
erickson [Thu, 26 Mar 2009 18:35:00 +0000 (18:35 +0000)]
flesh copy objects on circ and hold events

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

15 years agosort acqdf entries by position
erickson [Thu, 26 Mar 2009 18:34:33 +0000 (18:34 +0000)]
sort acqdf entries by position

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

15 years agoplugged in inital action from dropdown, delete selected linitems. fetch distribution...
erickson [Thu, 26 Mar 2009 18:33:46 +0000 (18:33 +0000)]
plugged in inital action from dropdown, delete selected linitems.  fetch distribution formulas, but don't do anything with them yet

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

15 years agoplugged in batch event (notification, etc.) cancellation
erickson [Thu, 26 Mar 2009 17:25:22 +0000 (17:25 +0000)]
plugged in batch event (notification, etc.) cancellation

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

15 years agoinitial interface for managing pending notification events
erickson [Thu, 26 Mar 2009 16:10:40 +0000 (16:10 +0000)]
initial interface for managing pending notification events

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

15 years agoprovide a little more flexibility to the caller of open-ils.trigger.events_by_target...
erickson [Thu, 26 Mar 2009 15:58:06 +0000 (15:58 +0000)]
provide a little more flexibility to the caller of open-ils.trigger.events_by_target by allowing flesh fields to be passed in

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

15 years agoApply ampersand escaping globally in entityize (fixes a problem with names containing...
dbs [Thu, 26 Mar 2009 15:27:55 +0000 (15:27 +0000)]
Apply ampersand escaping globally in entityize (fixes a problem with names containing & in org_tree_html.pl)
We will probably need to escape < as well.

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

15 years agoadded an explicit error for a common occurence in autofieldwidget land
erickson [Thu, 26 Mar 2009 15:21:26 +0000 (15:21 +0000)]
added an explicit error for a common occurence in autofieldwidget land

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

15 years agoport the billing type UI to autogrid
erickson [Thu, 26 Mar 2009 14:45:44 +0000 (14:45 +0000)]
port the billing type UI to autogrid

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

15 years agoEven better indexing on afr - thanks miker!
dbs [Thu, 26 Mar 2009 03:04:12 +0000 (03:04 +0000)]
Even better indexing on afr - thanks miker!

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

15 years agoChange test for whether enumeration fields hold chronology:
djfiander [Thu, 26 Mar 2009 02:40:28 +0000 (02:40 +0000)]
Change test for whether enumeration fields hold chronology:
 $x subfield implies $a is volume number, $y doesnt matter any more.

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

15 years agoAdditional indexes on authority.full_rec. Thanks, EXPLAIN ANALYZE.
dbs [Thu, 26 Mar 2009 02:39:21 +0000 (02:39 +0000)]
Additional indexes on authority.full_rec. Thanks, EXPLAIN ANALYZE.
These reduced query times on a system with > 1 million authority records from 23000ms to 500ms. 'Nuff said!

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

15 years agofixed broken closing bracket, mild code reformatting
erickson [Wed, 25 Mar 2009 20:38:59 +0000 (20:38 +0000)]
fixed broken closing bracket, mild code reformatting

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

15 years agoLabel mismatch: "Update" should be "Upload" (for offline transactions)
dbs [Wed, 25 Mar 2009 20:12:50 +0000 (20:12 +0000)]
Label mismatch: "Update" should be "Upload" (for offline transactions)

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

15 years agoadded distribution formula admin UI
erickson [Wed, 25 Mar 2009 19:09:58 +0000 (19:09 +0000)]
added distribution formula admin UI

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

15 years agowhen non-IDL fields are added to the grid and a field order is defined, plop the...
erickson [Wed, 25 Mar 2009 16:57:04 +0000 (16:57 +0000)]
when non-IDL fields are added to the grid and a field order is defined, plop the explicit columns onto the end

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

15 years agoadded sequence entries for distrib formulas / entries
erickson [Wed, 25 Mar 2009 13:55:37 +0000 (13:55 +0000)]
added sequence entries for distrib formulas / entries

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

15 years agoReflect loading reality
dbs [Wed, 25 Mar 2009 03:33:07 +0000 (03:33 +0000)]
Reflect loading reality

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

15 years agoDedupe code by moving to a common implementation of entityize()
dbs [Wed, 25 Mar 2009 03:30:07 +0000 (03:30 +0000)]
Dedupe code by moving to a common implementation of entityize()
Well, almost common. Perhaps we should make strip_ctrl_chars() and ampersize() a standard part of entityize.

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

15 years agobad error message
phasefx [Wed, 25 Mar 2009 03:14:33 +0000 (03:14 +0000)]
bad error message

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

15 years agorepaired limit perm args to autofieldwidget
erickson [Tue, 24 Mar 2009 21:27:36 +0000 (21:27 +0000)]
repaired limit perm args to autofieldwidget

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

15 years agounless otherwise specified, use the workstation ou as the value for the org unit...
erickson [Tue, 24 Mar 2009 21:27:18 +0000 (21:27 +0000)]
unless otherwise specified, use the workstation ou as the value for the org unit selector

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

15 years agoplugged in PO creation to marc upload process. small bug fixes to upload UI
erickson [Tue, 24 Mar 2009 21:11:18 +0000 (21:11 +0000)]
plugged in PO creation to marc upload process.  small bug fixes to upload UI

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

15 years agofixed duplicate field
erickson [Tue, 24 Mar 2009 21:10:10 +0000 (21:10 +0000)]
fixed duplicate field

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

15 years agoadded a marc order record upload form for creating picklists and/or purchase orders...
erickson [Tue, 24 Mar 2009 20:50:01 +0000 (20:50 +0000)]
added a marc order record upload form for creating picklists and/or purchase orders from vendor records

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

15 years agotaught the vandelay upload form about some important acq-related fields
erickson [Tue, 24 Mar 2009 20:48:43 +0000 (20:48 +0000)]
taught the vandelay upload form about some important acq-related fields

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

15 years agoplugged in vandelay-upload-aware marc record processing utility for creating lineitem...
erickson [Tue, 24 Mar 2009 20:48:09 +0000 (20:48 +0000)]
plugged in vandelay-upload-aware marc record processing utility for creating lineitems for picklists and/or PO's

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

15 years agoIncrease support for serials in Evergreen.
dbs [Tue, 24 Mar 2009 19:27:37 +0000 (19:27 +0000)]
Increase support for serials in Evergreen.

The attached patch does the following:

Extends and modifies the serials schema:
 * adds a serial.record_entry (sre) and associated serial.full_rec table for storing MFHD records and their corresponding flattened representation; sre currently links to a bib record
 * makes serial.subscription.end_date nullable to represent current subscriptions in a simpler fashion; whereas the intent expressed at http://open-ils.org/dokuwiki/doku.php?id=acq:serials:model had been to have one subscription per year, it might be easier (at least for migrating existing data) to generate a single subscription record with a start_date representing the start of holdings and end_date null to indicate that the subscription is current (still receiving issues)
 * adds serial.issuance.location to give issuances the ability to have a shelving location without having a barcode
 * links the serial.*_summary tables to serial.subscription rather than to asset.call_number; serial.subscription already has a link to asset.call_number, and the existing DDL actually references serial.subscription even though the column name is "call_number"

 * adds IDL for the serials schema
 * adds a vestigial OpenILS::Application::Ingest::Serial package for ingesting serial records
 * adds a marc2sre.pl import script for generating sre JSON records, based on the MFHD generated by our system

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

15 years agoadded selector column for provider. updated po.ordering_agency link type
erickson [Tue, 24 Mar 2009 19:18:29 +0000 (19:18 +0000)]
added selector column for provider.  updated po.ordering_agency link type

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

15 years agosort on picklist name. ranged, fleshed distribution formula fetcher
erickson [Tue, 24 Mar 2009 17:47:29 +0000 (17:47 +0000)]
sort on picklist name.  ranged, fleshed distribution formula fetcher

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

15 years agoEnhance i18n support for Google Book Preview - addresses #50.
dbs [Tue, 24 Mar 2009 03:53:36 +0000 (03:53 +0000)]
Enhance i18n support for Google Book Preview - addresses #50.

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

15 years agoProperly parse holdings fields when the chronology is stored in the enumeration subfields
djfiander [Tue, 24 Mar 2009 02:26:56 +0000 (02:26 +0000)]
Properly parse holdings fields when the chronology is stored in the enumeration subfields

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

15 years agoBe careful with global changes
dbs [Mon, 23 Mar 2009 18:59:23 +0000 (18:59 +0000)]
Be careful with global changes

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

15 years agoRemove hardcoded URLs for en-US locale; pull the preferred locale from our preferences
dbs [Mon, 23 Mar 2009 18:42:12 +0000 (18:42 +0000)]
Remove hardcoded URLs for en-US locale; pull the preferred locale from our preferences

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

15 years agoadded display toggle method which will show/hide as necessary
erickson [Mon, 23 Mar 2009 02:24:15 +0000 (02:24 +0000)]
added display toggle method which will show/hide as necessary

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

15 years agoclear batch edit widgets on page re-draw. some css cleanup
erickson [Sun, 22 Mar 2009 23:37:59 +0000 (23:37 +0000)]
clear batch edit widgets on page re-draw.  some css cleanup

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

15 years agoadded batch update for copies
erickson [Sun, 22 Mar 2009 16:22:43 +0000 (16:22 +0000)]
added batch update for copies

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

15 years agoEnable IDL to validate with new oils_persist:restrict_primary attribute
dbs [Sat, 21 Mar 2009 19:14:33 +0000 (19:14 +0000)]
Enable IDL to validate with new oils_persist:restrict_primary attribute

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

15 years agoFix the bad status dialog. The acp in the payload used to be fleshed
phasefx [Fri, 20 Mar 2009 22:05:22 +0000 (22:05 +0000)]
Fix the bad status dialog.  The acp in the payload used to be fleshed

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

15 years agoallow batch creation of active events, restricted to one "pending" event per def...
miker [Fri, 20 Mar 2009 19:50:25 +0000 (19:50 +0000)]
allow batch creation of active events, restricted to one "pending" event per def+target

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

15 years agoIn oils_cstore.c: further tightening input validation.
scottmk [Fri, 20 Mar 2009 18:55:48 +0000 (18:55 +0000)]
In oils_cstore.c: further tightening input validation.

1. In searchValueTransform(): make sure that the JSON_ARRAY
received as a parameter is not empty.

2. In searchFunctionPredicate(): make sure that the operator
received as a parameter is acceptable, i.e. it isn't an
opportunity for SQL injection.  Also: changed a parameter name
"node_key" to the more descriptive "op".

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

15 years agolet's not clobber the loop variable
erickson [Fri, 20 Mar 2009 18:53:41 +0000 (18:53 +0000)]
let's not clobber the loop variable

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

15 years agoadd hooks for well-known penalty types
miker [Fri, 20 Mar 2009 18:18:17 +0000 (18:18 +0000)]
add hooks for well-known penalty types

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

15 years agoAdd <permacrud> entries for "acqdf" and "acqdfe" classes.
scottmk [Fri, 20 Mar 2009 15:39:10 +0000 (15:39 +0000)]
Add <permacrud> entries for "acqdf" and "acqdfe" classes.

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

15 years agoAdd ON DELETE CASCADE to distribution_formula_entry.formula
scottmk [Fri, 20 Mar 2009 15:21:15 +0000 (15:21 +0000)]
Add ON DELETE CASCADE to distribution_formula_entry.formula

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

15 years agoprotect against empty settings
erickson [Fri, 20 Mar 2009 15:20:39 +0000 (15:20 +0000)]
protect against empty settings

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

15 years agoAdd classes "acqdf" and "acqdfe".
scottmk [Fri, 20 Mar 2009 14:36:01 +0000 (14:36 +0000)]
Add classes "acqdf" and "acqdfe".

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

15 years agoteach the penalty code how to create events for system penalties returned from actor...
miker [Fri, 20 Mar 2009 14:28:14 +0000 (14:28 +0000)]
teach the penalty code how to create events for system penalties returned from actor.calculate_system_penalties

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

15 years agoinitial support for editing provider addrs, contacts, contact addrs. still got some...
erickson [Fri, 20 Mar 2009 14:26:39 +0000 (14:26 +0000)]
initial support for editing provider addrs, contacts, contact addrs.  still got some bugs to work out, but mostly functionaly.

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

15 years agoCreate two new tables: acq.distribution_formula
scottmk [Fri, 20 Mar 2009 12:42:01 +0000 (12:42 +0000)]
Create two new tables: acq.distribution_formula
and acq.distribution_formula_entry.

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

15 years agotypo
erickson [Fri, 20 Mar 2009 02:13:03 +0000 (02:13 +0000)]
typo

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

15 years agoCut a long complicated function in two
djfiander [Fri, 20 Mar 2009 00:58:37 +0000 (00:58 +0000)]
Cut a long complicated function in two

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

15 years agominor error checking
djfiander [Fri, 20 Mar 2009 00:57:45 +0000 (00:57 +0000)]
minor error checking

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

15 years agoapi call for canceling and reseting trigger events
erickson [Thu, 19 Mar 2009 20:29:31 +0000 (20:29 +0000)]
api call for canceling and reseting trigger events

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

15 years agouse the event def template for the bill note (thanks, miker) instead of using a param...
erickson [Thu, 19 Mar 2009 20:01:47 +0000 (20:01 +0000)]
use the event def template for the bill note (thanks, miker) instead of using a param.  Created a system billing type of Notification Fee, also so none is needed via event param.  Added first billing type const (yay).

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

15 years agorepaired event_params sequence config
erickson [Thu, 19 Mar 2009 19:21:07 +0000 (19:21 +0000)]
repaired event_params sequence config

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

15 years agoadded seed data entry for ApplyCircFee reactor
erickson [Thu, 19 Mar 2009 19:04:23 +0000 (19:04 +0000)]
added seed data entry for ApplyCircFee reactor

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

15 years agoreactor to apply fees to a circulation
erickson [Thu, 19 Mar 2009 19:02:30 +0000 (19:02 +0000)]
reactor to apply fees to a circulation

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

15 years agofixes the missing xulG.new_tab issue. The problem was nested browsers/progress listeners
phasefx [Thu, 19 Mar 2009 18:33:47 +0000 (18:33 +0000)]
fixes the missing xulG.new_tab issue.  The problem was nested browsers/progress listeners

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

15 years agowrap authoritative rollbacks in a try so that a failed rollback won't leave a stale...
erickson [Thu, 19 Mar 2009 16:36:01 +0000 (16:36 +0000)]
wrap authoritative rollbacks in a try so that a failed rollback won't leave a stale editor in the cache

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

15 years agoadded hook for lost.auto to handle items programatically marked lost (e.g. too long...
erickson [Thu, 19 Mar 2009 15:57:31 +0000 (15:57 +0000)]
added hook for lost.auto to handle items programatically marked lost (e.g. too long overdue).

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

15 years agosafari does not comply with cookieManager's requests to remove the cookie. dojo...
erickson [Thu, 19 Mar 2009 14:47:49 +0000 (14:47 +0000)]
safari does not comply with cookieManager's requests to remove the cookie.  dojo.cookie works in Safari.  Fixing the crucial cookies now.  more later.

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

15 years agoIn searchINPredicate function of oils_cstore.c: tighten
scottmk [Thu, 19 Mar 2009 13:55:48 +0000 (13:55 +0000)]
In searchINPredicate function of oils_cstore.c: tighten
input validation.

1. Require that the operand of IN or NOT IN be either a
JSON_ARRAY or a JSON_OBJECT.

2. Require that an item in an IN list be either a
JSON_STRING or a JSON_NUMBER.

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

15 years agoReally revert these files. Argh.
dbs [Thu, 19 Mar 2009 06:42:59 +0000 (06:42 +0000)]
Really revert these files. Argh.

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

15 years agoRevert accidental commit of record details enhancements; not yet approved
dbs [Thu, 19 Mar 2009 06:06:42 +0000 (06:06 +0000)]
Revert accidental commit of record details enhancements; not yet approved

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

15 years agoNow that we have localized org trees, let our tools pull them in
dbs [Thu, 19 Mar 2009 05:59:47 +0000 (05:59 +0000)]
Now that we have localized org trees, let our tools pull them in
Note that for now I've cheated on the staff client chrome and book bags and forced them to en-US

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