Colin Kuskie
|
1331bf9828
|
Remove more instances of direct hash access for properties.
|
2010-01-14 10:31:38 -08:00 |
|
Colin Kuskie
|
02861471cb
|
Tests for update
|
2010-01-14 08:55:33 -08:00 |
|
Colin Kuskie
|
da6bbd1669
|
Fix setSize to work with Moose attributes. Update the SQL query.
|
2010-01-13 17:08:34 -08:00 |
|
Colin Kuskie
|
10ca1fd206
|
Tests for writing to the database.
|
2010-01-13 16:43:25 -08:00 |
|
Colin Kuskie
|
d14db689b8
|
Stubbing out tests for assetId, write.
|
2010-01-13 10:31:44 -08:00 |
|
Colin Kuskie
|
72c114d031
|
Testing Moose setters. They accept undef...
|
2010-01-07 13:48:09 -08:00 |
|
Colin Kuskie
|
0627d7adbf
|
add uiLevel asset attribute. Begin to work on write.
|
2010-01-04 19:14:53 -08:00 |
|
Colin Kuskie
|
ce3edcf743
|
Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/;
|
2010-01-04 15:34:24 -08:00 |
|
Colin Kuskie
|
b72e3a1cd1
|
getClassById encapculates getting a className from the database, indexed by assetId.
Also, work on newById, newByUrl.
|
2010-01-04 11:33:09 -08:00 |
|
Colin Kuskie
|
fde81306c6
|
Asset work related to class dispatch.
|
2010-01-04 10:59:48 -08:00 |
|
Colin Kuskie
|
38144bd58f
|
Add assetId attribute to Asset.pm, and tests.
|
2009-12-30 08:35:21 -08:00 |
|
Colin Kuskie
|
cb0ca14958
|
Add a test for get.
|
2009-12-29 12:05:23 -08:00 |
|
Colin Kuskie
|
6733595dfc
|
Fix title, menuTitle and url around modifiers. Tests for title, menuTitle.
menuTitle is set to be lazy because it depends on title as a default.
|
2009-12-28 18:36:19 -08:00 |
|
Colin Kuskie
|
0fd922daed
|
First work with BUILDARGS. Set defaults for the title,menuTitle. Some tests in t/Asset.t
From this point forward, WebGUI::Asset->new($session, $assetId)
will only return the Root node, and not any other classes.
|
2009-12-27 19:05:20 -08:00 |
|
Colin Kuskie
|
030f6bccf0
|
Force set to process properties in insertion order.
Note, we should look for a way to make this more efficient.
|
2009-12-18 15:28:10 -08:00 |
|
Colin Kuskie
|
cb9510d9b8
|
Break Definition.t into Defintion.t and Definition/Asset.t
|
2009-12-18 14:57:12 -08:00 |
|
Colin Kuskie
|
c50e2f9bcb
|
Fix tests.
|
2009-12-18 13:08:53 -08:00 |
|
Colin Kuskie
|
0e90ad00b8
|
Set up filtering on title, menuTitle and URL. This is done via "around".
|
2009-12-18 12:59:01 -08:00 |
|
Colin Kuskie
|
ed0eeb9bc5
|
Merge branch 'moose-definition' into static_definition. Moved Asset.pm over to the new Definition.
|
2009-12-18 11:40:33 -08:00 |
|
Colin Kuskie
|
456eb6f39a
|
Fix POD, condense Asset attributes. A test for tableName in the constructor.
|
2009-12-17 18:07:47 -08:00 |
|
Colin Kuskie
|
e1be2f9319
|
Make fieldType a required property option. Check for the presence of either noFormPost or label.
|
2009-12-17 13:25:27 -08:00 |
|
Colin Kuskie
|
3b31069b1c
|
Make fieldType a required parameter of a Definition Asset property.
|
2009-12-17 13:00:54 -08:00 |
|
Colin Kuskie
|
f997981d73
|
More tests for tableName, getProperty.
|
2009-12-16 17:48:24 -08:00 |
|
Colin Kuskie
|
c93bdc7950
|
add get_tables, and refactor out get_all_properties from get_property_list
|
2009-12-16 15:13:15 -08:00 |
|
Colin Kuskie
|
5b5d4783d0
|
Make get_property_list API compatible with get_attribute_list, by returning an array.
|
2009-12-16 13:31:48 -08:00 |
|
Colin Kuskie
|
8c358fa229
|
Remove Dumper.
|
2009-12-11 13:28:48 -08:00 |
|
Colin Kuskie
|
059bd6761d
|
Uniqueness check on attribute names in get_property_list. Add tests for that, and for get_attributes
|
2009-12-11 11:56:16 -08:00 |
|
Colin Kuskie
|
334f3414c3
|
Handle insertion order in multiple classes. This breaks overriding properties in the Definition.
|
2009-12-11 10:54:23 -08:00 |
|
Colin Kuskie
|
83e8d7ca12
|
More tests.
|
2009-12-10 19:49:28 -08:00 |
|
Colin Kuskie
|
19b784cd95
|
Fix get_property_list. Add tests.
|
2009-12-10 18:54:18 -08:00 |
|
Colin Kuskie
|
b8781044f3
|
Update tests. table -> tableName. Add comments to tests.
|
2009-12-10 17:49:43 -08:00 |
|
Graham Knop
|
c2fca8e178
|
some additional definition testing
|
2009-12-07 12:23:03 -06:00 |
|
Graham Knop
|
88aba652c7
|
moose based definition
|
2009-12-02 11:37:41 -06:00 |
|
Doug Bell
|
38d395e49f
|
added Tabsets. finished toHtml
|
2009-11-20 18:12:11 -06:00 |
|
Doug Bell
|
631f6ad267
|
more tests and moosification
|
2009-11-16 18:26:46 -06:00 |
|
Doug Bell
|
7ee8fec611
|
migrate FormBuilder to Moose. Start tests
|
2009-11-13 16:27:44 -06:00 |
|
JT Smith
|
908200869e
|
bug fixes
|
2009-10-23 18:11:37 -05:00 |
|
JT Smith
|
3938f9ff0d
|
removed last remnants of old definition
|
2009-10-22 17:00:45 -05:00 |
|
Graham Knop
|
d26c3c2ed3
|
enforce some restrictions for assets
|
2009-10-22 10:21:10 -05:00 |
|
Graham Knop
|
9b31593dae
|
return undef for ->get() with invalid property
|
2009-10-22 10:20:34 -05:00 |
|
Graham Knop
|
8b975cc810
|
don't set tableName on property elements if it is already specified
|
2009-10-22 09:35:35 -05:00 |
|
Graham Knop
|
0e94b4a783
|
automatically translate label and hoverHelp property elements for assets
|
2009-10-21 18:08:12 -05:00 |
|
Graham Knop
|
1bd76f9442
|
use methods for generating subs in definition
|
2009-10-19 10:22:50 -05:00 |
|
Graham Knop
|
cdbc94cdef
|
replace class's ISA instead of prepending to it
|
2009-10-19 05:05:02 -05:00 |
|
Graham Knop
|
d852c58a90
|
inject methods into a superclass instead of the class itself
|
2009-10-14 17:06:17 -05:00 |
|
Graham Knop
|
34182a39ee
|
first rev of new definition class
|
2009-10-12 05:41:04 -05:00 |
|
JT Smith
|
d16a220628
|
bug fixes
|
2009-09-28 17:36:10 -05:00 |
|
JT Smith
|
26c3bdac70
|
added hot sessions
|
2009-09-28 15:06:12 -05:00 |
|
JT Smith
|
2a94b0806c
|
added logging
|
2009-09-27 17:33:46 -05:00 |
|
JT Smith
|
af705232a8
|
added exceptions, docs, and removed disableCache
|
2009-09-25 18:41:03 -05:00 |
|