Commit graph

79 commits

Author SHA1 Message Date
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
1671aefee5 Write a test that says that loading Form plugins from a place other than /data/WebGUI/lib/WebGUI works. 2009-09-08 17:05:00 -07:00
Colin Kuskie
2a966c79e9 Update Form tests to work with CSRF. 2009-07-16 21:38:05 +00:00
Colin Kuskie
5e4db3adb4 Provide a framework for CSRF protection, with tests.
Add CSRF protection to Asset editSave, AssetManager, VersionTags and Group operations.
2009-07-06 16:58:57 +00:00
Colin Kuskie
9b41c21407 Add more tests to reveal Form/Integer behavior. 2009-04-16 04:33:51 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
2bc81f7757 fixing tests for Form changes 2009-01-28 16:39:38 +00:00
Colin Kuskie
869aa3e64d Fix the TimeField form control, and add lots of tests. 2008-12-09 16:43:39 +00:00
Graham Knop
5a1619f4f7 use proper method of formatting text for display in Textarea form
control
2008-12-03 00:32:18 +00:00
Colin Kuskie
d3f8a075a7 forward port Thingy newline display fix (Form/Textarea) 2008-11-26 19:13:46 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Doug Bell
ac80e166a4 added testing for DataTable form and asset 2008-10-29 21:28:45 +00:00
Colin Kuskie
0b21273065 update Form/ClassName to match new code 2008-10-20 00:38:28 +00:00
Colin Kuskie
481fded7e7 update the RichEditor test 2008-08-28 13:35:10 +00:00
Colin Kuskie
cf060371a4 adjust number of tests since one was added 2008-08-09 18:00:47 +00:00
Kaleb Murphy
173c2a12cd Form/* now all use getOriginalValue and getDefaultValue. This resolves the Layout bug where all the check lists could not be unchecked. Tests were updated, but still need a major overhaul. 2008-08-08 14:52:53 +00:00
Kaleb Murphy
2cce90f150 Rolled back to 7186 removing CheckList changes 2008-08-07 20:33:07 +00:00
Kaleb Murphy
a300ce8194 Layout can now uncheck all hidden assets. CheckList now has its own getValue which does not call getDefaultValue. 2008-08-07 19:21:12 +00:00
Kaleb Murphy
e7f5948ce1 Fixed Form Date and DateTime to properly handle mysql and epoch times. Added tests to make sure they work. 2008-08-04 20:23:13 +00:00
Kaleb Murphy
a81999d5ea Date and DateTime tests. 2008-08-04 18:33:28 +00:00
Graham Knop
ea3f9291fc silence another blessed warning 2008-06-26 20:51:19 +00:00
Graham Knop
1acca9fa47 fix list form test 2008-06-12 23:42:20 +00:00
Colin Kuskie
c930c73d67 Fix Hidden, Radio and Checkbox, which wouldn't allow
a value of zero to be set in them.  It was translated to
the empty string.
2008-05-05 22:20:16 +00:00
Colin Kuskie
0e1c5b35c3 update SelectBox test for new Form api 2008-04-27 03:09:31 +00:00
Colin Kuskie
3abd3988c7 Update this test for the new API. Note that Captcha, Asset, User, Color
and some other form fields are now profile enabled.
2008-04-25 23:18:55 +00:00
Colin Kuskie
bcdafdc84b Fix the test to work with the new form API.
However, the test fails miserably.  Something happened to the
profileEnabled field of all form fields.  This needs to be fixed
and then Operation/ProfileSettings updated as well.
2008-04-25 22:23:47 +00:00
Colin Kuskie
89829bb4da add more email addresses for testing in Form/Email.t 2008-04-24 23:23:13 +00:00
Colin Kuskie
0bc02e173d update Form/Text.t to work with new form api code 2008-04-24 23:13:34 +00:00
Colin Kuskie
e430a2fe47 update Form/Phone test to work with the update form API 2008-04-24 21:10:37 +00:00
Colin Kuskie
75ea5c87de update Form/GetName test to work with the update form API 2008-04-24 21:06:30 +00:00
Colin Kuskie
5b16fcca51 side port new email address test 2008-04-17 21:43:45 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Doug Bell
4d36c1e6c2 add: WebGUI::Form::CheckList now has optional select all button 2007-09-12 00:50:54 +00:00
Graham Knop
db59a2eb7a Some test fixes. 2007-08-15 19:14:08 +00:00
JT Smith
40a4c3c487 fixing bugs reported by tests 2007-07-29 21:26:35 +00:00
Colin Kuskie
07cb430be4 update ProfileEnabled test for new SubscriptionGroup form control. It is not supposed to be profile enabled 2007-07-24 03:37:00 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
James Tolley
c09b2cae1b EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Colin Kuskie
3930e1415d update test to track core change in Form/Checkbox.pm 2007-01-19 16:14:30 +00:00
Colin Kuskie
d3fbe15ca7 fix test cleanup for AdSpace, add leading 0 test to Form::Text 2006-09-12 04:35:35 +00:00
Colin Kuskie
70bea40b94 update Form/Email test now that single character usernames work 2006-08-16 23:20:25 +00:00
Colin Kuskie
091ad048ea add test for single character username at domain 2006-08-15 23:39:58 +00:00
Colin Kuskie
8f4dcfe900 fix typos in test comments 2006-07-15 03:17:02 +00:00
Wouter van Oijen
3f9331a774 Removing diag to clean up smoke test output 2006-07-14 10:53:15 +00:00
Colin Kuskie
a880b058a5 update SelectList to go with XHTML changes by Wouter 2006-05-20 04:04:12 +00:00
Colin Kuskie
b018b8e61e Document return value for Storage::rename
Add simple new test for Text.t
Add ClassName.t test
Prevent Form/ClassName from passing classes with spaces in them and
remove redundant test for digits in regexp.
Add a new test to Storage.t for getLastError
2006-05-11 17:37:42 +00:00
Colin Kuskie
b4441a0c93 Add Slider to list of non-profile enabled form elements 2006-05-09 16:45:26 +00:00
Colin Kuskie
c4d6c351ec add User form to list of non profile-enabled forms 2006-04-24 16:13:29 +00:00