Commit graph

230 commits

Author SHA1 Message Date
Colin Kuskie
cbee62e407 Don't look in the config file to get the gateway, look in the request object. Maybe someday we'll be able to use URI. 2011-01-13 13:33:31 -08:00
Doug Bell
bcb14eaa61 remove MIME::Base64::URLSafe as they do it reversely 2011-01-13 15:00:50 -06:00
Colin Kuskie
a7623ed20e Remove debug comments, make sure that the snippets do not have parent assets with style templates and that they get cleaned up. 2011-01-04 11:32:34 -08:00
Colin Kuskie
25b981baec Import node can't be used to test getBackToSiteURL since that forces the user back to the default asset. 2011-01-04 10:56:48 -08:00
Doug Bell
7c14d1e6c4 almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Colin Kuskie
8cf5ce1950 Testing code moved out of t/Session/Http.t into t/Session/Request.t 2010-11-29 16:51:19 -08:00
Colin Kuskie
e7fcf33a4d Move ifModifiedSince into WebGUI::Session::Request 2010-11-22 09:53:03 -08:00
Colin Kuskie
995b04e7de Remove getRedirectLocation and setRedirectLocation from Session::Http 2010-11-22 09:28:14 -08:00
Colin Kuskie
8b6bbdb9f7 Remove setFilename, getFilename from Session::Http, and use Plack::Response methods instead. 2010-11-22 08:06:25 -08:00
Colin Kuskie
fd8f03a186 Change getMimeType and setMimeType to response->content_type. 2010-11-21 22:35:26 -08:00
Colin Kuskie
e5adc07a05 Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status. 2010-11-21 21:11:41 -08:00
Graham Knop
e71e95544f add WebGUI::GUID and make WebGUI::Session::Id a wrapper around that 2010-11-19 18:32:39 -06:00
Colin Kuskie
678406d54d Fix tests that were using var. 2010-11-18 08:40:22 -08:00
Colin Kuskie
39dc7323f3 Finish moving over Var tests into session. Remove Session::Var. 2010-11-17 16:18:51 -08:00
Colin Kuskie
a90eadda7c Merge commit 'bfe9780ce0' into WebGUI8. Merged up to 7.10.3 2010-11-02 14:49:33 -07:00
Doug Bell
f57ce0c9a6 rename variables for consistency 2010-10-27 13:06:25 -05:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05: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
11e89a1771 Comment out trouble some browsers not recognized by HTTP::BrowserDetect 2010-09-22 21:50:01 -07:00
Colin Kuskie
5e7c980442 smart match binding problem 2010-09-22 11:47:56 -07:00
Colin Kuskie
fa5764dbc1 Add tests for inclusive intervals for secondsToDuration 2010-09-22 10:49:40 -07:00
Colin Kuskie
ecbfc1a827 secondsToInterval has an inclusive interval comparison 2010-09-22 10:46:10 -07:00
Colin Kuskie
0180b11064 Merge commit 'b8845e25fa' into WebGUI8. Up to 7.10.0 2010-09-22 07:58:06 -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
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Graham Knop
3570b413d3 remove WebGUI::PseudoRequest 2010-08-31 16:01:04 -05:00
Colin Kuskie
3f0a229f17 Don't hardcode the library. 2010-08-25 13:30:12 -07:00
Colin Kuskie
ca9a3bd6c7 Merge branch 'master' into WebGUI8, up to 7.9.10. Some tests failing due to changes in default content. 2010-07-27 22:55:57 -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
Doug Bell
d34377e45d fix admintoggle tests 2010-07-15 12:52:13 -05:00
Doug Bell
e891410075 tests and such 2010-07-15 11:55:24 -05:00
Doug Bell
708b47d73c Merge remote branch 'upstream/WebGUI8' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/VersionTag.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	t/AdSpace.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Story.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/InOutBoard.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Group.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Url.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -05:00
Doug Bell
cd1e450c32 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.9.8-7.9.9.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	t/Asset/Asset.t
	t/Mail/Send.t
	t/Session/Url.t
	t/lib/WebGUI/Test.pm
2010-07-14 17:06:19 -05:00
Doug Bell
29b1f794cd fix merge problems 2010-07-12 15:52:38 -05:00
Doug Bell
babfa74209 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Inbox.pm
	lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	sbin/testEnvironment.pl
	t/AdSpace.t
	t/AdSpace/Ad.t
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/EMSSubmissionForm.t
	t/Asset/Event.t
	t/Asset/File/GalleryFile/Photo/00base.t
	t/Asset/File/GalleryFile/Photo/comment.t
	t/Asset/File/GalleryFile/Photo/download.t
	t/Asset/File/GalleryFile/Photo/edit.t
	t/Asset/File/GalleryFile/Photo/exif.t
	t/Asset/File/GalleryFile/Photo/makeResolutions.t
	t/Asset/File/GalleryFile/Photo/makeShortcut.t
	t/Asset/File/Image/setfile.t
	t/Asset/File/setfile.t
	t/Asset/Post.t
	t/Asset/Post/Thread/getAdjacentThread.t
	t/Asset/Sku.t
	t/Asset/Sku/ProductCollateral.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/GalleryAlbum/delete.t
	t/Asset/Wobject/Matrix.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Config.t
	t/Group.t
	t/Help/isa.t
	t/International.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Operation/Auth.t
	t/Pluggable.t
	t/Session.t
	t/Session/DateTime.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Stow.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/PayPalStd.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Transaction.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/Workflow/Activity/ArchiveOldStories.t
	t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
	t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05: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
e0177dc666 Remove Session::Env, migrate code to Plack::Request object in Session, and WebGUI::Session::Request 2010-07-01 17:40:12 -07:00
Colin Kuskie
005b9da1ac Move session->env->getIp into session->request->address 2010-07-01 13:11:01 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -07:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Colin Kuskie
faf04f724c Update privilege test for the removal of status description. 2010-06-17 09:40:33 -07:00
Colin Kuskie
f0e0ed328b Update Session/Style for using Plack for capturing output. 2010-06-17 09:17:10 -07:00
Colin Kuskie
3593001869 Update this test for Plack. 2010-06-17 09:12:47 -07:00
Graham Knop
18525e7c1b use callback for log interception instead of on/off 2010-06-17 10:27:09 -05:00
Colin Kuskie
19c2c5fa1c Remove status description from Session/Http, and update all users of setStatus. 2010-06-17 08:18:24 -07:00
Colin Kuskie
4cf75513d3 Remove SKIP 2010-06-16 18:20:24 -07:00
Colin Kuskie
a07bf9b84f Update Session/Http for Plack. 2010-06-16 17:37:55 -07:00
Graham Knop
a3d1bb22e6 fix Session/Icon test 2010-06-15 07:18:32 -05:00