Commit graph

170 commits

Author SHA1 Message Date
Paul Driver
5c20e9c0be Fixing a bunch of tests not to rely on HT being default parser 2011-04-04 18:47:18 -05:00
Paul Driver
add255388a ignore webServerPort in session/url.t 2011-02-17 14:10:07 -06:00
Colin Kuskie
19a87ea003 Variable hour formats don't add an extra space any longer. Fixes bug #11915. 2010-10-18 10:32:45 -07:00
Colin Kuskie
fa5764dbc1 Add tests for inclusive intervals for secondsToDuration 2010-09-22 10:49:40 -07:00
Colin Kuskie
3f0a229f17 Don't hardcode the library. 2010-08-25 13:30:12 -07:00
Colin Kuskie
49374b43eb Operations should be able to handle UTF-8 urls, too. Fixes bug #11683 2010-07-27 15:37:53 -07:00
Colin Kuskie
1abe035183 Refactor test to move makeCompliant tests out of urlize. Tweak makeCompliant for speed and clarity. 2010-07-06 10:21:41 -07:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Colin Kuskie
8bcf653f66 END block cleanup for session/scratch.t 2010-06-13 21:25:08 -07:00
Colin Kuskie
f50d3b7adb END block cleanups 2010-06-13 21:19:17 -07:00
Graham Knop
9b725c6d42 use temp config file for testing 2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Graham Knop
f852bd8866 better cleanup code 2010-05-17 05:26:26 -05:00
Graham Knop
3ee212142c test more url forms including international characters 2010-05-17 05:26:00 -05:00
Colin Kuskie
e71a6bead3 More headBlock => extraHeadTags cleanup 2010-05-06 12:21:30 -07:00
Colin Kuskie
d7ee5f0768 Update test due to the removal of the headBlock. 2010-05-06 12:19:57 -07:00
Graham Knop
e0f55e7e5e change encode check for newer URI::Escape versions 2010-03-19 18:22:08 -05:00
Colin Kuskie
b86d244939 update test for new icon code. 2010-02-09 15:51:51 -08:00
Colin Kuskie
e1c77cf314 Fix the issue with Assets with macro based content not showing the new content to Visitors. Fixes bug #11200. 2009-11-19 10:04:19 -08:00
Bart Jol
bb4d14d944 Language override file changes 2009-10-28 12:41:55 -05:00
Colin Kuskie
cef20f0165 Clean-up a session created for a test. 2009-09-24 13:35:28 -07:00
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05: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
084da8e159 fix #10891: Change session->output->print to skip macros based on detecting the mime-type. 2009-09-04 09:06:23 -07:00
Colin Kuskie
f34dce2c10 More DateTime test fixes. 2009-07-24 02:48:47 +00:00
Colin Kuskie
3c4ae9aa82 Refactor exact duration intervals into a separate method. 2009-07-23 23:47:45 +00:00
Graham Knop
56773eefc1 fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks 2009-07-23 22:04:27 +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
1441fe2e88 Forward port urlize changes, and tests. 2009-06-10 03:34:09 +00:00
Randall Schwartz
2fc4f3b54d CDN: perltidy on new/changed code 2009-05-14 00:35:41 +00:00
Randall Schwartz
acd3fded45 Content Delivery Network (CDN) - optional, for either uploads only or both uploads & extras (rfe 9134) 2009-05-13 21:12:05 +00:00
Colin Kuskie
b19279a13d Add a has method to Session/Setting, so that it's easy to check if a setting
already exists.  Very handy for upgrade scripts.
2009-05-13 17:32:49 +00:00
Colin Kuskie
004b8095a1 Add method to clean up test sessions. This has to be done
after ALL other types of objects have been cleaned up.
More test clean-up for users, groups and sessions.
2009-05-01 02:02:12 +00:00
Graham Knop
17cd847378 adjusting tests for new behavior 2009-04-10 00:51:49 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Colin Kuskie
05d62c92b7 Have Setting's get work like other gets by returning a hashref when
no param is requested.
2009-03-30 19:46:16 +00:00
Graham Knop
db226238ce silence warning in errorhandler test 2009-03-12 23:27:50 +00:00
David Delikat
8adae35947 fixed postfix object notation 2009-02-23 04:51:45 +00:00
David Delikat
af5ad84fc8 added code and test suite for a series of functions that
identify non-human web clients so that advertising can
eliminate ghost impressions and ghost clicks
2009-02-23 00:20:46 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
c90fa56507 Make WebGUI::PseudoRequest work with fatals. Cookies are now mocked and
tied off inside that package.  ErrorHandler uses the session request object,
instead of RequestUtil.
2009-02-18 02:46:59 +00:00
Colin Kuskie
96c15c56b2 Optimize canShowDebug for speed by caching the calculated check. 2009-02-16 21:03:31 +00:00
Colin Kuskie
312d1f2f8b Update test to match fixed code. 2009-01-04 03:49:42 +00:00
JT Smith
c76d533c31 got it before perlDreamer did! 2008-12-20 16:12:09 +00:00
Doug Bell
0d9dcbfb12 merge 8376 2008-11-14 23:08:10 +00:00
Graham Knop
5b1eb1c095 only escape dangerous characters 2008-10-21 18:11:32 +00:00
Colin Kuskie
334ce4791f Update test to work with XSS fix. 2008-10-07 21:30:27 +00:00
Colin Kuskie
3fcdee6094 Update test to track code change for escaping requested URLs. 2008-10-07 19:34:12 +00:00
Colin Kuskie
eca9729d94 update Session/Http to match altered code 2008-09-17 16:18:01 +00:00