Commit graph

212 commits

Author SHA1 Message Date
Doug Bell
1866c593ea almost done fixing addRevision changes 2010-12-03 15:01:31 -06:00
Colin Kuskie
8b6bbdb9f7 Remove setFilename, getFilename from Session::Http, and use Plack::Response methods instead. 2010-11-22 08:06:25 -08:00
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -08:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Colin Kuskie
1f42a0a24e Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset. 2010-09-24 08:03:09 -07:00
Colin Kuskie
4d0ef740d8 Add a method to get, store and cache the current Entry, since it's needed when creating the form data. 2010-09-23 16:34:41 -07:00
Colin Kuskie
2609e06a44 Code cleanup for moving form generation out of getFormTemplateVars 2010-09-23 16:34:22 -07:00
Colin Kuskie
dadb7cae00 Fix a double me, and don't remake the object since we cached it earlier. 2010-09-23 16:28:56 -07:00
Colin Kuskie
0787359c24 Refactor out code in the DataForm for finding fields and form fields, so that JS and CSS tags can go into the headblock. 2010-09-23 16:28:55 -07:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Graham Knop
6aa26c2e44 remove WebGUI::Utility::isIn 2010-09-07 12:33:15 -05:00
Colin Kuskie
ca9a3bd6c7 Merge branch 'master' into WebGUI8, up to 7.9.10. Some tests failing due to changes in default content. 2010-07-27 22:55:57 -07:00
khenn
078bc0e162 fixed #11745: Pagination doesn't work in DataForm list mode 2010-07-27 11:20:30 -05:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
f56bac9948 SUPER handling for most of Wobject/*.pm. There's a problem with Calendar, though. 2010-04-08 17:00:05 -07:00
Colin Kuskie
616d5cc866 Moose overrides for purge, purgeRevision, and purgeCache. 2010-04-07 16:43:16 -07:00
Colin Kuskie
87c00d41c1 appending to an attribute must quote the + 2010-03-09 13:43:22 -08:00
Colin Kuskie
a3aeae9a4e Continue change from define uiLevel to has uiLevel. 2010-03-09 13:07:14 -08:00
Colin Kuskie
814c2af249 Change calls to new to newById across Asset/ 2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes. 2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Doug Bell
8701842829 Merge branch 'innodb' into 8
Conflicts:
	lib/WebGUI/Asset/Wobject/DataForm.pm
2010-02-17 15:09:04 -06:00
Colin Kuskie
ae8c1a6124 Set cache control to "none" if the DataForm uses a captcha. Fixes bug #11381. 2010-02-08 14:42:42 -08:00
Colin Kuskie
9f06085054 Update DataForm for wg8. 2010-02-05 12:00:40 -08:00
Colin Kuskie
fb49a14547 Update POD. 2010-02-01 18:41:25 -08:00
JT Smith
682b7204f0 fixing another constraint 2009-10-20 16:03:59 -05:00
Colin Kuskie
c327630771 Add pagination to the DataForm list view. Fixes bug #10989.
Adds new code to Paginator, to handle paginating with an iterator.
2009-10-14 20:35:54 -07:00
Colin Kuskie
0e09072bc0 Prevent dataform from caching when the form contains a captcha. Fixes bug #11049 2009-10-02 16:14:35 -07:00
Graham Knop
1f2addb104 fixed: DataForm allows edits when locked by another version tag 2009-09-28 17:46:43 -05:00
Colin Kuskie
7349cf52b8 Use a fresh copy of the DataForm after doing autocommits for move and delete. 2009-09-17 12:02:30 -07:00
Colin Kuskie
f4d19c41f7 DataForms logs an error when it cannot load the requested form type. Fixes bug #10954. 2009-09-16 19:24:28 -07:00
Doug Bell
ed8a0dac5c added direct value access in DataForm list view 2009-09-15 20:16:31 -05:00
Graham Knop
718b166ae7 fixed #10790: Data Form doesn't always auto-commit version tags 2009-08-19 15:32:57 +00:00
Colin Kuskie
4664ab7035 Add the rest of the missing POD to the DataForm. 2009-07-06 05:19:56 +00:00
Colin Kuskie
2e28a9870a Add 40% to POD coverage in DataForm. 2009-07-06 03:54:26 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
76b9f01e77 Prevent head tags from appearing twice in wobjects.
prepareView sets the extra head tags.  Have all wobjects, in their www_view method,
tell processStyle not to set the extra head tags again.
2009-06-01 02:03:05 +00:00
Colin Kuskie
d309dbce6a i18n the choices for the new DataForm Rich Editor selector. 2009-05-14 00:13:49 +00:00
Eric Kennedy
b361e5db9c Implemented RFE 10253 - Select DataForm HTMLArea Rich Text Editor - Provides ability to specify the Rich Editor to be used for htmlArea fields on a given DataForm Wobject 2009-05-13 23:53:41 +00:00
Tom Suchy
7209895dbf stripped out some personal comments to clean it up 2009-04-17 01:52:19 +00:00
Tom Suchy
4e013703f4 Fix for bug # 10131 - WebGUI::Form::Integer returns 0 even if inbound value is empty, had to code a workaround (rather than change WebGUI::Form::Integer, which could have downstream effects) 2009-04-16 03:41:41 +00:00
Colin Kuskie
6ba8d34574 Help the DataForm deal with bad data in its JSON. 2009-03-15 22:57:18 +00:00
Colin Kuskie
a8979545ef Fix another DataForm deletion bug, deleting when there's no storage object. 2009-02-26 16:09:51 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
44ac8a42b9 Add a missing template variable, which prevented users from deleting
a DataForm entry when viewing that entry.
2009-02-19 06:10:52 +00:00
Colin Kuskie
021215c9bd Fix a hash lookup into a C::IO object in the DataForm, which isn't a hash. 2009-02-18 23:58:05 +00:00
Graham Knop
e345fd8706 fixed #9592: DataForm deleteAttachedFiles method can crash 2009-01-28 18:24:26 +00:00
Colin Kuskie
15531fc7b0 Make sure that the isMailField flag is preserved when editing the fields. 2008-12-24 02:18:29 +00:00