Commit graph

89 commits

Author SHA1 Message Date
Colin Kuskie
5bf3e44ad6 Accept time zones with spaces or underscores to help users. 2009-11-16 18:35:01 -08:00
daviddelikat
707215cf3f recover lost work from git 2009-11-06 11:05:59 -06:00
Colin Kuskie
3c985a5eed Finish reverting EMS Submissions.
This reverts commit aab3a74026.
2009-11-05 17:03:28 -08:00
daviddelikat
9805541a6e Merge branch 'master' of git@github.com:plainblack/webgui 2009-10-19 22:09:13 -05:00
Colin Kuskie
7866120459 Handle bad dates in datetime related form plugins. Fixes bug #11128
Also, better date parsing by _splitMysql and reformat Thingy.
2009-10-15 12:53:39 -07:00
daviddelikat
a357685672 added test code for Form::Div control 2009-10-08 10:07:00 -05:00
Colin Kuskie
9b76e0e162 Date form plugin should display dates in user's format when passed an epoch. 2009-10-01 13:47:27 -07:00
Colin Kuskie
25b4a0b139 Fix multiple Date and DateTime bugs. bug #11079 and bug #11071 2009-09-30 16:50:08 -07:00
Colin Kuskie
8374a88046 More test tweaks for zipcode. 2009-09-24 09:34:25 -07:00
Colin Kuskie
6a3d1588be Uppercase any lowercase zipcode letters entered. Fixes 11018. 2009-09-24 09:32:14 -07:00
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