working/Evergreen.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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