]>
git.evergreen-ils.org Git - working/Evergreen.git/log
erickson [Thu, 12 Feb 2009 22:37:01 +0000 (22:37 +0000)]
no need for a store if there is no tree data (don't attempt to access dataList[0])
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12167
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 12 Feb 2009 22:22:22 +0000 (22:22 +0000)]
repaired fkey column names
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12166
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 12 Feb 2009 22:12:54 +0000 (22:12 +0000)]
pcrud entries for action_trigger validator and reactor
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12165
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 12 Feb 2009 20:15:35 +0000 (20:15 +0000)]
Further testing suggests that dojox/resources/Grid.css is not needed, and in fact causes problems
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12164
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 12 Feb 2009 19:25:37 +0000 (19:25 +0000)]
Pass down an osrfMethodContext* where we need one.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12162
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 12 Feb 2009 17:27:04 +0000 (17:27 +0000)]
Revert r12071 until we port jubgrid.js over to the Dojo 1.2 DataGrid
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12161
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 12 Feb 2009 17:25:40 +0000 (17:25 +0000)]
added pcrud entries for trigger event def and hook
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12160
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 12 Feb 2009 17:01:53 +0000 (17:01 +0000)]
slight reformatting for readability
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12159
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 12 Feb 2009 17:01:20 +0000 (17:01 +0000)]
new provider ui, based on autogrid and moved into conify (editing static data). leaving other in place until all functionality is ported over
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12158
dcc99617 -32d9-48b4-a31d-
7c20da2025e4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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