]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
15 years agofixed wiget value accessor/mutator which resulted in values with embedded wiget objec...
erickson [Thu, 12 Feb 2009 16:33:20 +0000 (16:33 +0000)]
fixed wiget value accessor/mutator which resulted in values with embedded wiget objects (resulting in infinite recursion in js2JSON)

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

15 years agoadding IN subquery support
miker [Thu, 12 Feb 2009 06:31:32 +0000 (06:31 +0000)]
adding IN subquery support

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

15 years agono, we want that, really
miker [Wed, 11 Feb 2009 21:33:10 +0000 (21:33 +0000)]
no, we want that, really

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

15 years agoadd idl field documenation table and accompanying IDL entry ... crazy recursive docs
miker [Wed, 11 Feb 2009 21:31:05 +0000 (21:31 +0000)]
add idl field documenation table and accompanying IDL entry ... crazy recursive docs

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

15 years agofixed broken array ref handling
erickson [Wed, 11 Feb 2009 21:18:28 +0000 (21:18 +0000)]
fixed broken array ref handling

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

15 years agouse copy buckets instead (for precats) and verify the copy bucket mechanism is global...
erickson [Wed, 11 Feb 2009 20:43:00 +0000 (20:43 +0000)]
use copy buckets instead (for precats) and verify the copy bucket mechanism is globally configured

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

15 years ago1. Corrected the enforcement of the readonly attribute for classes.
scottmk [Wed, 11 Feb 2009 18:55:11 +0000 (18:55 +0000)]
1. Corrected the enforcement of the readonly attribute for classes.
It was backwards, but harmlessly so because the enforcement is
redundant.

2. Reversed the default for the "virtual" attribute of a field.
Formerly it defaulted to true; now it defaults to false.

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

15 years agofix off-by-one on function literal construction (for function-in-from and literal...
miker [Wed, 11 Feb 2009 17:02:19 +0000 (17:02 +0000)]
fix off-by-one on function literal construction (for function-in-from and literal value transforms); use the function name as the from clause alias, avoiding "(null)" as the alias

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

15 years agoplugged in checkout history bucket population to checkout process
erickson [Wed, 11 Feb 2009 04:33:16 +0000 (04:33 +0000)]
plugged in checkout history bucket population to checkout process

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

15 years agoDoh! slight HTML problem
dbs [Wed, 11 Feb 2009 04:15:19 +0000 (04:15 +0000)]
Doh! slight HTML problem

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

15 years ago1. Applied a uniform standard to determine whether a string represents
scottmk [Wed, 11 Feb 2009 04:12:08 +0000 (04:12 +0000)]
1. Applied a uniform standard to determine whether a string represents
true or false.  A few remaining spots are unchanged for now because
they are dubious on other grounds.

2. In one spot: replaced jsonParseString("true") with jsonNewBoolObject( 1 ).

3. In oilsMakeFieldmapperFromResult(): broke up a confusing "if" test
into two simpler ones.

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

15 years agoinitial support for adding entries to a patron's items-checked-out list
erickson [Tue, 10 Feb 2009 22:44:51 +0000 (22:44 +0000)]
initial support for adding entries to a patron's items-checked-out list

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

15 years agotake advantage of the new billable_transaction_summary table. also, force caller...
erickson [Tue, 10 Feb 2009 21:24:39 +0000 (21:24 +0000)]
take advantage of the new billable_transaction_summary table.  also, force caller to make_mbts to pass an editor in

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

15 years agoallow approval of pending address, even if it does not replace any other address
erickson [Tue, 10 Feb 2009 20:51:55 +0000 (20:51 +0000)]
allow approval of pending address, even if it does not replace any other address

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

15 years agoreturn addr id for consistency
erickson [Tue, 10 Feb 2009 20:49:11 +0000 (20:49 +0000)]
return addr id for consistency

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

15 years agoset pending true on altered addresses
erickson [Tue, 10 Feb 2009 20:46:58 +0000 (20:46 +0000)]
set pending true on altered addresses

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

15 years agoentry for usr address pending flag
erickson [Tue, 10 Feb 2009 20:46:31 +0000 (20:46 +0000)]
entry for usr address pending flag

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

15 years agohandle case where an address is pending but replaces no other address
erickson [Tue, 10 Feb 2009 20:46:08 +0000 (20:46 +0000)]
handle case where an address is pending but replaces no other address

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

15 years agohandle item notes on cascade delete. created item note CUD method. more cstoreditor...
erickson [Tue, 10 Feb 2009 19:41:10 +0000 (19:41 +0000)]
handle item notes on cascade delete.  created item note CUD method.  more cstoreditor-ification

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

15 years agoGet the real org_unit_type depth from aout
dbs [Tue, 10 Feb 2009 19:16:33 +0000 (19:16 +0000)]
Get the real org_unit_type depth from aout

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

15 years agoadded bucket item notes virtual fields
erickson [Tue, 10 Feb 2009 19:08:51 +0000 (19:08 +0000)]
added bucket item notes virtual fields

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

15 years agoflesh item notes on retrieval. refactor retrieval to use cstoreditor
erickson [Tue, 10 Feb 2009 19:06:53 +0000 (19:06 +0000)]
flesh item notes on retrieval.  refactor retrieval to use cstoreditor

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

15 years agoforward port craftsman skin : svn merge -r12127:12130 svn://svn.open-ils.org/ILS...
erickson [Tue, 10 Feb 2009 18:17:32 +0000 (18:17 +0000)]
forward port craftsman skin : svn merge -r12127:12130 svn://svn.open-ils.org/ILS/branches/rel_1_4

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

15 years agosort bucket items by 'pos' field
erickson [Tue, 10 Feb 2009 17:05:53 +0000 (17:05 +0000)]
sort bucket items by 'pos' field

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

15 years agoMiscellaneous tweaks:
scottmk [Tue, 10 Feb 2009 03:46:33 +0000 (03:46 +0000)]
Miscellaneous tweaks:

1. Simplified the logic in searchValueTransform().

2. In a debug message: changed format specification to %p for pointer
values, instead of %d.  Using %d will garble the output if ints and
pointers don't have the same size (and they don't on my laptop).

3. Corrected a typo in another message. The word "non-existant"
is non-existent.

4. For clarity: in several places, reversed the logic of some
if/elses so that we test for a positive condition instead of
a negative condition.

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

15 years agoA bunch of untested code to support serials predictions
djfiander [Tue, 10 Feb 2009 02:52:54 +0000 (02:52 +0000)]
A bunch of untested code to support serials predictions

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

15 years agoby default, don't show sequence columns, which will usually be 'id' columns. configu...
erickson [Mon, 9 Feb 2009 21:54:27 +0000 (21:54 +0000)]
by default, don't show sequence columns, which will usually be 'id' columns.  configurable

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

15 years agocreated read-only version of a single widget and edit pane
erickson [Mon, 9 Feb 2009 21:53:48 +0000 (21:53 +0000)]
created read-only version of a single widget and edit pane

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

15 years agomoved currency type config into conify, using autogrid
erickson [Mon, 9 Feb 2009 18:51:24 +0000 (18:51 +0000)]
moved currency type config into conify, using autogrid

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

15 years agocan now specify post update and create handlers. wrap re-focus in try
erickson [Mon, 9 Feb 2009 18:47:25 +0000 (18:47 +0000)]
can now specify post update and create handlers.  wrap re-focus in try

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

15 years agoremoved some unnecessary console logs
erickson [Mon, 9 Feb 2009 18:09:43 +0000 (18:09 +0000)]
removed some unnecessary console logs

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

15 years agonot sure why views[1] was working before, but it's not now
erickson [Mon, 9 Feb 2009 17:56:49 +0000 (17:56 +0000)]
not sure why views[1] was working before, but it's not now

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

15 years agoteach the IDL about the existence of pkey sequences
erickson [Mon, 9 Feb 2009 17:56:19 +0000 (17:56 +0000)]
teach the IDL about the existence of pkey sequences

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

15 years agofunction to wrap up a xact-base storage request in 1 call
erickson [Mon, 9 Feb 2009 14:12:41 +0000 (14:12 +0000)]
function to wrap up a xact-base storage request in 1 call

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

15 years agoreplace the (very slow) view with the materialized version
miker [Mon, 9 Feb 2009 03:34:48 +0000 (03:34 +0000)]
replace the (very slow) view with the materialized version

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

15 years agoIE does not yet support Array.forEach ... so we fake it with dojo
miker [Mon, 9 Feb 2009 03:34:12 +0000 (03:34 +0000)]
IE does not yet support Array.forEach ... so we fake it with dojo

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

15 years agoinit datalist at startup so each successive instance isn't appending to the same...
erickson [Mon, 9 Feb 2009 01:05:05 +0000 (01:05 +0000)]
init datalist at startup so each successive instance isn't appending to the same array

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

15 years agouse new built-in autogrid fetch & load
erickson [Sun, 8 Feb 2009 16:06:36 +0000 (16:06 +0000)]
use new built-in autogrid fetch & load

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

15 years agoautogrid can now fetch and load all data of a given class
erickson [Sun, 8 Feb 2009 16:05:20 +0000 (16:05 +0000)]
autogrid can now fetch and load all data of a given class

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

15 years agono need to publish provider contacts in reporter-store
erickson [Sun, 8 Feb 2009 14:59:49 +0000 (14:59 +0000)]
no need to publish provider contacts in reporter-store

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

15 years agomore provider data. address, contact, and contact address
erickson [Sun, 8 Feb 2009 14:43:43 +0000 (14:43 +0000)]
more provider data.  address, contact, and contact address

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

15 years agoadd a record bucket type for reading lists
miker [Sun, 8 Feb 2009 02:37:56 +0000 (02:37 +0000)]
add a record bucket type for reading lists

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

15 years agoadding IDL for note tables for all bucket and item tables; adding IDL for pos field...
miker [Sun, 8 Feb 2009 02:33:03 +0000 (02:33 +0000)]
adding IDL for note tables for all bucket and item tables; adding IDL for pos field for optional ordering of items within a bucket

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

15 years agoadding note tables for all bucket and item tables; adding pos field for optional...
miker [Sun, 8 Feb 2009 02:12:31 +0000 (02:12 +0000)]
adding note tables for all bucket and item tables; adding pos field for optional ordering of items within a bucket

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

15 years agoMore tweaks, mostly to SELECT():
scottmk [Sun, 8 Feb 2009 00:28:13 +0000 (00:28 +0000)]
More tweaks, mostly to SELECT():

1. When building the select list, insert a separator comma in one
place instead of duplicating the code.

2. Narrowed the scope of fname.

3. Created a new transform_str variable instead of reusing _column
for a different purpose.

4. Juggled _column and _alias a bit so as to eliminate a strdup()
and a free().

5.In searchFieldTransform(): plugged a memory leak in the event of
an error return.

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

15 years agoMake all FKs deferrable again
dbs [Sat, 7 Feb 2009 19:01:44 +0000 (19:01 +0000)]
Make all FKs deferrable again

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

15 years agodon't attempt to retrieve the linked selector objects if the data is not retrievable...
erickson [Fri, 6 Feb 2009 22:11:32 +0000 (22:11 +0000)]
don't attempt to retrieve the linked selector objects if the data is not retrievable via pcrud

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

15 years agouse method_lookup instead of direct call ($self is not what you think...)
miker [Fri, 6 Feb 2009 17:58:04 +0000 (17:58 +0000)]
use method_lookup instead of direct call ($self is not what you think...)

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

15 years agonew method for un-canceling holds. request_time and expire_time are reset if appropr...
erickson [Fri, 6 Feb 2009 17:52:57 +0000 (17:52 +0000)]
new method for un-canceling holds.  request_time and expire_time are reset if appropriate org-unit-setting is enabled

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

15 years agoadded support for displaying the last X cancelled holds, most recently cancelled...
erickson [Fri, 6 Feb 2009 16:15:14 +0000 (16:15 +0000)]
added support for displaying the last X cancelled holds, most recently cancelled holds first

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

15 years agopassing hold cancellation reason from opac-cancelled holds
erickson [Fri, 6 Feb 2009 15:55:06 +0000 (15:55 +0000)]
passing hold cancellation reason from opac-cancelled holds

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

15 years agoadded support for passing in cancellation cause and note
erickson [Fri, 6 Feb 2009 15:52:21 +0000 (15:52 +0000)]
added support for passing in cancellation cause and note

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

15 years agofixed problem with async widget building and saving (by using my own code as it was...
erickson [Fri, 6 Feb 2009 15:42:12 +0000 (15:42 +0000)]
fixed problem with async widget building and saving (by using my own code as it was meant to be used)

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

15 years ago/actually/ pin the ids, and set the sequence appropriately
miker [Fri, 6 Feb 2009 15:24:02 +0000 (15:24 +0000)]
/actually/ pin the ids, and set the sequence appropriately

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

15 years agoteaching everyone how to note the pkey delete restriction policy for specific classes
miker [Fri, 6 Feb 2009 15:05:41 +0000 (15:05 +0000)]
teaching everyone how to note the pkey delete restriction policy for specific classes

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

15 years agoadd patron-opac cause, and comments about IDs
miker [Fri, 6 Feb 2009 14:28:30 +0000 (14:28 +0000)]
add patron-opac cause, and comments about IDs

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

15 years agoMiscellaneous tweaks:
scottmk [Fri, 6 Feb 2009 09:32:44 +0000 (09:32 +0000)]
Miscellaneous tweaks:

1. In searchFieldTransform(): simplified the way we append subcolumns, to
reduce the churning of memory.

2. I found it confusing that we were using _column for two different
(though similar) things.  So I split it into two separate variables in two
separate scopes: col_name and _column.

3. Don't bother looking up "i18n" if it's disabled anyway.

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

15 years agoadding hold-cancel cause and note table and fields; teaching hold targeter how to...
miker [Fri, 6 Feb 2009 02:07:42 +0000 (02:07 +0000)]
adding hold-cancel cause and note table and fields; teaching hold targeter how to use the cancel_cause field

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

15 years agoadded support for auto-building select options from has_a links, using the selector...
erickson [Fri, 6 Feb 2009 00:08:37 +0000 (00:08 +0000)]
added support for auto-building select options from has_a links, using the selector attribute when defined.  mostly functional, needs some tweaking

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

15 years agorepaired old pylons-ism with TT context locale. note, the locale will need some...
erickson [Thu, 5 Feb 2009 23:10:29 +0000 (23:10 +0000)]
repaired old pylons-ism with TT context locale.  note, the locale will need some cleaning-up in EGWeb.pm to be wholly functional

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

15 years agoadded selector attr to currency type
erickson [Thu, 5 Feb 2009 22:00:41 +0000 (22:00 +0000)]
added selector attr to currency type

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

15 years agooutput the deleted flag from the bre
phasefx [Thu, 5 Feb 2009 18:25:39 +0000 (18:25 +0000)]
output the deleted flag from the bre

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

15 years agoconsistent focus handling after user clicks cancel/save in edit dialog. still funky...
erickson [Thu, 5 Feb 2009 17:53:05 +0000 (17:53 +0000)]
consistent focus handling after user clicks cancel/save in edit dialog.  still funky when same actions are done from the create dialog

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

15 years agomore style tidying
erickson [Thu, 5 Feb 2009 17:52:24 +0000 (17:52 +0000)]
more style tidying

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

15 years agoVarious tweaks, mainly to the SELECT function.
scottmk [Thu, 5 Feb 2009 16:35:44 +0000 (16:35 +0000)]
Various tweaks, mainly to the SELECT function.

1. Moved some IDL lookups out of a loop where their results were loop invariants.

2. Narrowed the scope of _alias.

3. Eliminated some calls to jsonObjectToSimpleString() and strdup(), along with
the associated mallocs and frees.

4. Eliminated a couple of needlessly repeated calls to jsonObjectGetKey() by
caching the results of the first ones.

5. Uncommented a couple of commented-out calls to jsonIteratorFree(), because
I don't see anything wrong with them.

6. Moved another commented-out call back into a scope where it would compile
if uncommented (but left it commented out for now).

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

15 years agoallow for definition of default cell width. (can still be overridden by defining...
erickson [Thu, 5 Feb 2009 16:21:43 +0000 (16:21 +0000)]
allow for definition of default cell width.  (can still be overridden by defining cell widths in the grid)

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

15 years agostart of single label + action bar to sit above the grid
erickson [Thu, 5 Feb 2009 16:04:36 +0000 (16:04 +0000)]
start of single label + action bar to sit above the grid

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

15 years agogive dojo a td and it will replace it with the dijit node, so give dojo a sub-node...
erickson [Thu, 5 Feb 2009 16:03:25 +0000 (16:03 +0000)]
give dojo a td and it will replace it with the dijit node, so give dojo a sub-node to clobber instead

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

15 years agoadded option to launch creation dialog from auto grid. passing final pcrud response...
erickson [Thu, 5 Feb 2009 14:36:42 +0000 (14:36 +0000)]
added option to launch creation dialog from auto grid.  passing final pcrud response to onPostSubmit handler

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

15 years agocleaned up to match latest autogrid
erickson [Thu, 5 Feb 2009 04:48:35 +0000 (04:48 +0000)]
cleaned up to match latest autogrid

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

15 years agoselected-ness follow mouse and key navigation in a uniform fashion.
erickson [Thu, 5 Feb 2009 04:36:08 +0000 (04:36 +0000)]
selected-ness follow mouse and key navigation in a uniform fashion.

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

15 years agono need to import 2 grid css's, nor the private _grid css
erickson [Wed, 4 Feb 2009 22:51:11 +0000 (22:51 +0000)]
no need to import 2 grid css's, nor the private _grid css

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

15 years agowhen using the popup dialog, overide the default focus handling. this is still exper...
erickson [Wed, 4 Feb 2009 22:50:23 +0000 (22:50 +0000)]
when using the popup dialog, overide the default focus handling.  this is still experimental

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

15 years agoIn SELECT(): further rewrote, and festooned with comments, the code
scottmk [Wed, 4 Feb 2009 21:49:06 +0000 (21:49 +0000)]
In SELECT(): further rewrote, and festooned with comments, the code
that verifies that every column in the SELECT clause comes from a
class in the FROM clause.

Also, for readability: reversed an "if" test that treats functions
differently from classes.

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

15 years agofixed bug where subsequent dialogs were appending to the the class-level fieldList...
erickson [Wed, 4 Feb 2009 21:28:53 +0000 (21:28 +0000)]
fixed bug where subsequent dialogs were appending to the the class-level fieldList array.  can now hit Enter to save instead of having to click Save

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

15 years agorely on the stored grid data to reconstitute a fm object for building the edit dialog
erickson [Wed, 4 Feb 2009 21:27:44 +0000 (21:27 +0000)]
rely on the stored grid data to reconstitute a fm object for building the edit dialog

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

15 years agouse built-in edit dialog
erickson [Wed, 4 Feb 2009 18:41:44 +0000 (18:41 +0000)]
use built-in edit dialog

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

15 years agoIn SELECT(): simplify and clarify the logic for building a default
scottmk [Wed, 4 Feb 2009 16:48:49 +0000 (16:48 +0000)]
In SELECT(): simplify and clarify the logic for building a default
select list.  Also, for a minor performance boost: don't look up the
core fields unless we're actually going to use them.

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

15 years agoauto-grid now has the ability to pop up an edit dialog for the given fieldmapper...
erickson [Wed, 4 Feb 2009 16:43:03 +0000 (16:43 +0000)]
auto-grid now has the ability to pop up an edit dialog for the given fieldmapper object

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

15 years agoadded pcrud as controller for asva
erickson [Wed, 4 Feb 2009 16:12:52 +0000 (16:12 +0000)]
added pcrud as controller for asva

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

15 years agoadded pending column to represent pending approval from staff.
erickson [Wed, 4 Feb 2009 15:41:15 +0000 (15:41 +0000)]
added pending column to represent pending approval from staff.

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

15 years agoadded some rough exchange rate editing code using auto widgets. essentially function...
erickson [Wed, 4 Feb 2009 04:49:23 +0000 (04:49 +0000)]
added some rough exchange rate editing code using auto widgets.  essentially functions, but more later

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

15 years agobetter handle case where grid structure may exist but just have no columns yet defined
erickson [Wed, 4 Feb 2009 04:47:38 +0000 (04:47 +0000)]
better handle case where grid structure may exist but just have no columns yet defined

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

15 years agoallow caller to pass additional onpostapply and oncancel handlers
erickson [Wed, 4 Feb 2009 04:46:55 +0000 (04:46 +0000)]
allow caller to pass additional onpostapply and oncancel handlers

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

15 years agoAnd now make old-school gateway requests behave in the OPAC.
dbs [Wed, 4 Feb 2009 04:37:46 +0000 (04:37 +0000)]
And now make old-school gateway requests behave in the OPAC.

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

15 years agoThis update tweaks the SELECT function, at the point commented
scottmk [Wed, 4 Feb 2009 01:43:25 +0000 (01:43 +0000)]
This update tweaks the SELECT function, at the point commented
"make sure the target relation is in the join tree".

The new logic should be equivalent to the old, except that
the old code potentially invokes undefined behavior by
reading through a null pointer.

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

15 years agoMinor tweaks to the SELECT function:
scottmk [Tue, 3 Feb 2009 22:44:48 +0000 (22:44 +0000)]
Minor tweaks to the SELECT function:

1. Narrowed the scope of the idlClass variable.

2. Made cname const,

3. In the loop for building the column list: eliminated an IDL lookup
for the class name, because we already have it.  The IDL stores it
redundantly in two different places, and we don't need to find both.

4. Renamed __column and __alias to _column and _alias.  Identifiers
beginning with two underscores are reserved.

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

15 years agoDojo wants locales in xx-yy format, not xx-YY.
dbs [Tue, 3 Feb 2009 20:54:03 +0000 (20:54 +0000)]
Dojo wants locales in xx-yy format, not xx-YY.
Avoids #39 + 1.

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

15 years agoDojo wants locales passed to it in xx-yy format, not xx-YY.
dbs [Tue, 3 Feb 2009 20:49:54 +0000 (20:49 +0000)]
Dojo wants locales passed to it in xx-yy format, not xx-YY.
Closes #39.

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

15 years agoadded pcrud entries for exchange_rate
erickson [Tue, 3 Feb 2009 19:24:16 +0000 (19:24 +0000)]
added pcrud entries for exchange_rate

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

15 years agoMake pcrud a publicly available service, just like permacrud
dbs [Tue, 3 Feb 2009 18:12:43 +0000 (18:12 +0000)]
Make pcrud a publicly available service, just like permacrud

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

15 years agoAdded a couple of sanity checks to SELECT(). Return NULL if
scottmk [Tue, 3 Feb 2009 17:53:48 +0000 (17:53 +0000)]
Added a couple of sanity checks to SELECT().  Return NULL if
(1) the input jsonObject for the join tree is neither a hash,
nor an array, nor a string; or (2) it's a hash with more than
one element.

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

15 years agofixed streaming vs. non-streaming logic error in currency_type retrieve. took oppor...
erickson [Tue, 3 Feb 2009 17:33:51 +0000 (17:33 +0000)]
fixed streaming vs. non-streaming logic error in currency_type retrieve.   took opportunity to port to pcrud

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

15 years agoInitial attempt to add acquisitions to default configuration
dbs [Tue, 3 Feb 2009 16:42:14 +0000 (16:42 +0000)]
Initial attempt to add acquisitions to default configuration

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

15 years agoadded a cascading survey delete operation.
erickson [Tue, 3 Feb 2009 16:26:58 +0000 (16:26 +0000)]
added a cascading survey delete operation.

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

15 years agoThis kind of typo might cause headaches
dbs [Mon, 2 Feb 2009 20:12:10 +0000 (20:12 +0000)]
This kind of typo might cause headaches

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

15 years agoIt's important to mark this as application/octet-stream
dbs [Mon, 2 Feb 2009 07:02:04 +0000 (07:02 +0000)]
It's important to mark this as application/octet-stream

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

15 years agoAdd 98 Nepali MARC records to the test datasets
dbs [Mon, 2 Feb 2009 06:53:55 +0000 (06:53 +0000)]
Add 98 Nepali MARC records to the test datasets

On a stock OpenSRF 1.0.3 / Evergreen 1.4.0.1 machine, only 20 of these
records are successfully added using the standard marc2bre / direct_ingest /
pg_loader toolchain. Looks like errors decoding JSON containing exotic
characters; also some strange fingerprints.

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

15 years agokeys is more efficient than map, since we already have the id list as the hash keys
miker [Sun, 1 Feb 2009 21:35:44 +0000 (21:35 +0000)]
keys is more efficient than map, since we already have the id list as the hash keys

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

15 years agoneed the full hook, not just idlist
miker [Sun, 1 Feb 2009 21:34:34 +0000 (21:34 +0000)]
need the full hook, not just idlist

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