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

15 years agoinitial actions dropdown. some style tweaks
erickson [Thu, 19 Mar 2009 04:03:27 +0000 (04:03 +0000)]
initial actions dropdown.  some style tweaks

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

15 years agofixed label for consistency
erickson [Thu, 19 Mar 2009 04:02:56 +0000 (04:02 +0000)]
fixed label for consistency

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

15 years agoFix this missing getString() call, too.
dbs [Thu, 19 Mar 2009 03:48:01 +0000 (03:48 +0000)]
Fix this missing getString() call, too.
dbs--

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

15 years agomissing .getString. This was breaking the spine label print preview
phasefx [Thu, 19 Mar 2009 03:35:49 +0000 (03:35 +0000)]
missing .getString.  This was breaking the spine label print preview

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

15 years agoMostly mplement issues with combined dates (eg, May/June). Still don't do combined...
djfiander [Thu, 19 Mar 2009 00:51:10 +0000 (00:51 +0000)]
Mostly mplement issues with combined dates (eg, May/June). Still don't do combined years (2000/2001)

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

15 years agomore layout tweaks
erickson [Thu, 19 Mar 2009 00:06:02 +0000 (00:06 +0000)]
more layout tweaks

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

15 years agono need to special case the text widgets
erickson [Wed, 18 Mar 2009 23:04:46 +0000 (23:04 +0000)]
no need to special case the text widgets

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

15 years agoCasting a null into a String results in a string with a value of "null"; change test...
dbs [Wed, 18 Mar 2009 21:41:06 +0000 (21:41 +0000)]
Casting a null into a String results in a string with a value of "null"; change test accordingly

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

15 years agosome display cleanup
erickson [Wed, 18 Mar 2009 19:46:52 +0000 (19:46 +0000)]
some display cleanup

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

15 years agoIn oils_cstore.c:
scottmk [Wed, 18 Mar 2009 18:04:56 +0000 (18:04 +0000)]
In oils_cstore.c:

1. Verify that the BETWEEN operator receives
exactly two operands.

2. Validate the operator used in a simple predicate;
i.e. make sure it contains no semicolons or white space
(with the exception that "similar to" is allowed).
Purpose: prevent certain kinds of SQL injection.

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

15 years agodon't set ischanged if value is not changing, otherwise all copies are always updated
erickson [Wed, 18 Mar 2009 16:42:44 +0000 (16:42 +0000)]
don't set ischanged if value is not changing, otherwise all copies are always updated

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

15 years agolet the _impl caller handle transaction commits
erickson [Wed, 18 Mar 2009 16:42:16 +0000 (16:42 +0000)]
let the _impl caller handle transaction commits

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

15 years agoIn searchPredicate(): make sure that there is only one
scottmk [Wed, 18 Mar 2009 15:03:31 +0000 (15:03 +0000)]
In searchPredicate(): make sure that there is only one
predicate at a time for a field (currently we silently
ignore anything but the first one).

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

15 years agono need to flesh fund, since we're grabbing those anyway. set ischanged when item...
erickson [Wed, 18 Mar 2009 14:55:16 +0000 (14:55 +0000)]
no need to flesh fund, since we're grabbing those anyway.  set ischanged when item changes

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

15 years agoadded a copy (li_details) pane for creating a managing copies
erickson [Wed, 18 Mar 2009 14:44:14 +0000 (14:44 +0000)]
added a copy (li_details) pane for creating a managing copies

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

15 years agoadded batch lineitem detail CUD method
erickson [Wed, 18 Mar 2009 14:43:30 +0000 (14:43 +0000)]
added batch lineitem detail CUD method

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

15 years agothis.user might be an event, check for that
erickson [Wed, 18 Mar 2009 12:51:48 +0000 (12:51 +0000)]
this.user might be an event, check for that

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

15 years agoIn oils_cstore.c:
scottmk [Wed, 18 Mar 2009 05:51:38 +0000 (05:51 +0000)]
In oils_cstore.c:

1. Applied the const qualifier to several parameters.

2. Added some return checking to ensure that errors bubble
up to the top.

3. Complain if an IN list is empty.

4. Complain if a predicate is empty.

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

15 years agoadded some user sesssion and object-list caching
erickson [Wed, 18 Mar 2009 02:31:15 +0000 (02:31 +0000)]
added some user sesssion and object-list caching

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

15 years agoadded basic copy list grid (lineitem_details) linked from li table. other small...
erickson [Tue, 17 Mar 2009 22:10:28 +0000 (22:10 +0000)]
added basic copy list grid (lineitem_details) linked from li table.  other small tweaks

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

15 years agopcrud entries for fund. added some selector attrs and fixed an org_unit link
erickson [Tue, 17 Mar 2009 22:09:22 +0000 (22:09 +0000)]
pcrud entries for fund.  added some selector attrs and fixed an org_unit link

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

15 years agoprogress bar to show lineitem update progress. some small style cleanup
erickson [Tue, 17 Mar 2009 18:50:27 +0000 (18:50 +0000)]
progress bar to show lineitem update progress.  some small style cleanup

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

15 years agoadded simple show/hide funcs
erickson [Tue, 17 Mar 2009 18:49:24 +0000 (18:49 +0000)]
added simple show/hide funcs

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

15 years agoadding paging plugins to li table. showing entry count in picklist view.
erickson [Tue, 17 Mar 2009 16:54:17 +0000 (16:54 +0000)]
adding paging plugins to li table.  showing entry count in picklist view.

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

15 years agowhen searching bibs, don't start the cstore xact until after the results have returne...
erickson [Tue, 17 Mar 2009 16:52:43 +0000 (16:52 +0000)]
when searching bibs, don't start the cstore xact until after the results have returned to prevent connection timeout (and useless pinning of backend)

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

15 years agoset state explicitly so caller will have the state in the retrieved LIs
erickson [Tue, 17 Mar 2009 15:45:06 +0000 (15:45 +0000)]
set state explicitly so caller will have the state in the retrieved LIs

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

15 years agoImplement a NOT operator, expressed as "-not".
scottmk [Tue, 17 Mar 2009 15:36:42 +0000 (15:36 +0000)]
Implement a NOT operator, expressed as "-not".

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

15 years agoplug in li table to picklist display
erickson [Tue, 17 Mar 2009 15:32:12 +0000 (15:32 +0000)]
plug in li table to picklist display

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

15 years agoreset table before next round of search results
erickson [Tue, 17 Mar 2009 15:31:57 +0000 (15:31 +0000)]
reset table before next round of search results

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

15 years agodisplay localized labels for li attrs. added button to return to li list
erickson [Tue, 17 Mar 2009 14:53:33 +0000 (14:53 +0000)]
display localized labels for li attrs. added button to return to li list

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

15 years agoadded attr def fetching function
erickson [Tue, 17 Mar 2009 14:53:21 +0000 (14:53 +0000)]
added attr def fetching function

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

15 years agostarted lineitem info pane, which shows marc record and (eventually) all lineitem...
erickson [Tue, 17 Mar 2009 14:17:55 +0000 (14:17 +0000)]
started lineitem info pane, which shows marc record and (eventually) all lineitem attrs.  will also link to li_details

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

15 years agosome lineitem table style
erickson [Tue, 17 Mar 2009 03:13:11 +0000 (03:13 +0000)]
some lineitem table style

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

15 years agodisplay:none implies invisible. remove the visibilty part so un-hiding is simpler
erickson [Tue, 17 Mar 2009 03:12:48 +0000 (03:12 +0000)]
display:none implies invisible.  remove the visibilty part so un-hiding is simpler

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