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
Graham Knop
d881a82fc3
fixing tests
2008-08-21 20:44:33 +00:00
Colin Kuskie
19987b53b4
Fix Stow to always return safe copies of stowed data.
...
And test it.
2008-08-02 22:47:15 +00:00
Colin Kuskie
6561a9d200
Add a lot more tests for forceSecureConnection
2008-07-26 02:08:37 +00:00
Colin Kuskie
70fd60698c
convert Session/Url.t to use Test::MockObject::Extends for ENV work
2008-07-25 18:44:24 +00:00
Colin Kuskie
788ec55e8c
convert Session/Env.t to use Test::MockObject::Extends
2008-07-25 18:24:08 +00:00
Colin Kuskie
344410b0c9
one test for forceSecureConnections
2008-07-25 18:15:08 +00:00
Graham Knop
87284a08e6
fix test for current debug messages
2008-07-25 06:49:06 +00:00
JT Smith
40e28848d0
fixed
2008-06-12 23:33:27 +00:00
Colin Kuskie
9c9da302f1
remove colons from END blocks, so they actually act like END blocks
2008-05-09 18:14:14 +00:00
Graham Knop
d2116bf797
fixing tests for new output method
2008-04-10 22:15:15 +00:00
Colin Kuskie
06f52bae9a
Fix how logging gets intercepted. It used to be on by default, now it must be turned on.
2008-02-29 22:09:32 +00:00
Colin Kuskie
39f1a3da3c
forward port slash handling fix from 7.4 branch
2008-02-14 23:51:17 +00:00
Colin Kuskie
04da356822
take more advantage of getTestCollateralPath file concat
2008-02-09 04:44:15 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
b27d14f2e5
forward porting editBranch ownerUserId fixes into HEAD
2008-02-05 16:36:45 +00:00
Colin Kuskie
fca9e9c633
Add a method that returns the regexp used to validate generated GUIDs. This should
...
prevent the regexp from proliferating all through tests and code.
Also, add a test for the method, which just checks that it returns a regexp.
2008-01-08 20:43:39 +00:00
Colin Kuskie
b309d108dc
Clean up all temporary session info in Session/Scratch.t
...
Add a preliminary run of DeleteExpiredSessions to DeleteExpiredSessions.t
to clean up any old, funky sessions which might just be lying around
and interfering with the test.
2008-01-03 18:37:34 +00:00