Commit graph

2964 commits

Author SHA1 Message Date
Colin Kuskie
ecbfc1a827 secondsToInterval has an inclusive interval comparison 2010-09-22 10:46:10 -07:00
Colin Kuskie
4e1ac0a8e3 ! binds more tightly than ~~ 2010-09-22 10:07:37 -07:00
Colin Kuskie
0180b11064 Merge commit 'b8845e25fa' into WebGUI8. Up to 7.10.0 2010-09-22 07:58:06 -07:00
Colin Kuskie
5faa77b2fb Also test for STYLE tags when making the DataForm form view. 2010-09-21 14:28:04 -07:00
Colin Kuskie
f34f8e59bd Add a test to make sure that view does not return CSS or JS links with src/href attributes. 2010-09-21 14:23:47 -07:00
Colin Kuskie
8750c4f488 The rest of the form plugins 2010-09-21 14:23:47 -07:00
Colin Kuskie
108065856f Tests for Form plugins C-I 2010-09-21 14:23:47 -07:00
Colin Kuskie
0b0c95522c Move method_check test, and add more methods. 2010-09-21 14:23:47 -07:00
Colin Kuskie
a25e40d6a5 Add tests for Captcha, ClassName, Codearea, HTMLArea, IntSlider, RadioList, Slider 2010-09-21 14:23:47 -07:00
Colin Kuskie
8326417f06 Fix inheritance for Hidden. 2010-09-21 14:23:47 -07:00
Colin Kuskie
dd527838ee Fix inheritance for SelectList, -Box. Add AdSpace, Asset, AssetReportQuery, Attachments. 2010-09-21 14:23:47 -07:00
Colin Kuskie
200970cfd9 Tests for List, Radio, Checkbox, SelectBox, SelectList, Username 2010-09-21 14:23:47 -07:00
Colin Kuskie
2b440003ae Add tests for Hexadecimal, Password, Phone, Textarea, Zipcode 2010-09-21 14:23:47 -07:00
Colin Kuskie
ab9b730a4b Class tests for Color, CsrfToken, Guid, Hidden 2010-09-21 14:23:46 -07:00
Colin Kuskie
48debf2904 Add tests for Button, Float, Integer, ReadOnly 2010-09-21 14:23:46 -07:00
Colin Kuskie
7e136f6047 Begin Test::Class suite for Forms 2010-09-21 14:23:46 -07:00
Colin Kuskie
f61e8faeb9 Rename template variables in the Account and Admin Toggle templates to not use underscores. 2010-09-21 11:17:29 -07:00
Colin Kuskie
f0476bdc82 Revert "Rename template variables in the Account and Admin Toggle templates to not use underscores."
This reverts commit 0b4e8d5460.
2010-09-21 11:17:01 -07:00
Colin Kuskie
0b4e8d5460 Rename template variables in the Account and Admin Toggle templates to not use underscores. 2010-09-20 15:20:28 -07:00
Colin Kuskie
b4c20a1203 Fix importing an Archive in default order. Update the test to now explicitly test for archive order. Fixes bug #11866. 2010-09-20 11:45:30 -07:00
Colin Kuskie
2eed74891a Restore addAttachments and restoreAttachments to the 7.x series. In 8.x, the object property will act like an arrayref, so they won't be necessary. Fixes bug #11861. 2010-09-14 10:42:59 -07:00
Colin Kuskie
1131a5b4bc Ignore trailing slashes in requested URLS. Fixes bug #11865. 2010-09-14 10:01:57 -07:00
Colin Kuskie
1fa03c3ad8 Add an explicit test for getThumbnailUrl and non-image files (like a PDF) 2010-09-14 09:15:32 -07:00
Colin Kuskie
927b986795 Forbid pasting content below a shortcut, to prevent loops on purge and other operations. Fixes bug #11855. 2010-09-13 18:47:17 -07:00
Colin Kuskie
1d99ee451e Allow users to enter 24:00:00 by hand, and have the Event handle it correctly. Fixes bug #11788 2010-09-13 11:04:03 -07:00
Colin Kuskie
7a3ec47f6d Test that the RSS Aspect propagates the URL fragment. 2010-09-12 22:38:09 -07:00
Colin Kuskie
587ff397b5 More cleanup from dispatch. Do not set the session asset if the requested URL does not exist. In RssFeed, pass the fragment to the next method. Fixes bug #11854. 2010-09-10 11:14:03 -07:00
Colin Kuskie
5608a43916 topStory template variables should be available in standAlone and not standAlone modes. Added template variables for delete and edit icons for the top story. Updated the tests, template and template variable help. Fixes bug #11851. 2010-09-09 11:56:50 -07:00
Graham Knop
5e75631f6b moving some more test modules to lib 2010-09-08 18:55:31 -05:00
Graham Knop
909240c0c1 fork instead of running a subprocess for Mail tests 2010-09-08 16:24:25 -05:00
Graham Knop
d1bac6ec66 remove hack needed for old version of Plack 2010-09-08 16:01:32 -05:00
Colin Kuskie
95487ae384 Fix a problem with newer DateTimes. 2010-09-07 21:18:21 -07:00
Colin Kuskie
e25014e107 Only run HTML::Template::Expr tests if the module is available. Temporarily place it into the config file so that it can be tested. 2010-09-07 21:14:12 -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
f65ae74e54 Format the subtotal variable in the Payment driver to 2 decimal places. Fixes bug #11813 2010-09-02 12:51:54 -07:00
Paul Driver
c89da43b58 variable downgrading 2010-09-01 14:42:44 -05:00
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Graham Knop
83f0cb7f6b diag -> note 2010-08-31 16:03:11 -05:00
Graham Knop
12e744a189 moving WebGUI::Test to lib 2010-08-31 16:01:04 -05:00
Graham Knop
3570b413d3 remove WebGUI::PseudoRequest 2010-08-31 16:01:04 -05:00
Graham Knop
1fd17ef320 add test for WebGUI::Macro::transform 2010-08-27 13:46:08 -05:00
Colin Kuskie
3f0a229f17 Don't hardcode the library. 2010-08-25 13:30:12 -07:00
Scott Walters
8fd164143a Remove some of the debugging cruft. 2010-08-25 09:19:29 -04:00
Scott Walters
ddf9b7e13b A Story should have a Wobject::Folder for a direct parent with StoryArchive above that. Otherwise the Story can't render itself. 2010-08-25 09:08:30 -04:00
Colin Kuskie
a28dffd4c4 Update the number of tests in t/Utility.t 2010-08-25 11:46:05 -07:00
Colin Kuskie
d3e3c90a42 Fix encoding problems with the SC asset. Update the encodings test to no longer require an ENV variable to run. Fixes bug #11795 2010-08-25 11:44:02 -07:00
Colin Kuskie
26eca2ff06 Fix RSS test files for Russian. 2010-08-25 11:44:01 -07:00
Colin Kuskie
d13acd164d Refactor SC tests, separating encodings out into their own test file. TEST_ENCODINGS=1 to run this new test. 8/13 tests fail. 2010-08-25 11:44:01 -07:00
Colin Kuskie
91e0b46d7e Alter the UTF-8 URL test to also check for lc in English. 2010-08-25 11:44:01 -07:00