Colin Kuskie
d9736ea032
One final config lookup removed, for the gateway method itself.
2011-01-13 13:33:31 -08:00
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
Colin Kuskie
86cb25acfc
getRequested no longer needs to correct for gateway since Plack does it for us.
2011-01-13 13:33:31 -08:00
Colin Kuskie
b0af5d2cd3
Remove use of gateway config option from getRequestedUrl.
2011-01-13 13:33:31 -08:00
Colin Kuskie
1d19269f7e
Don't need weaken twice.
2010-11-29 09:49:23 -08: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
cb938487cb
remove WebGUI::Utility::randint
2010-08-20 12:58:50 -05: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
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
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
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861
Merge commit ' 4969f31e1f' into WebGUI8
2010-06-26 14:37:31 -07:00
Graham Knop
4bf184009c
fix url generation
2010-06-15 07:09:05 -05:00
Colin Kuskie
d661d97d30
Referring to onesself in the third person is reserved for policitians like Bob Dole.
2010-06-13 19:58:33 -07:00
Graham Knop
e063818e2d
some URL fixes and removing some uses of PseudoRequest
2010-06-11 23:01:57 -05:00
Doug Bell
cc87552a22
weaken all session refs
2010-06-01 16:23:48 -05:00
Graham Knop
fc6d8e0016
workaround for url mapping when request unavailable
2010-05-10 17:02:32 -05:00
Graham Knop
30ed305b62
put all url validation in WebGUI::Session::Url instead of i18n
2010-05-08 12:22:01 -05:00
Graham Knop
22619cfb9a
clean up more uses of ->get
2010-04-18 18:47:16 -05:00
Graham Knop
2b78fe913b
classes under session should weaken their session references
2010-04-16 20:56:49 -05:00
Graham Knop
373be0881d
Merge branch 'WebGUI8' into HEAD
2010-04-16 20:52:46 -05:00
Patrick Donelan
2516ff12c1
Added URLMap support (e.g. virtual hosts and mounting)
2010-04-06 18:21:47 -04:00
Patrick Donelan
d858c6e1ab
Demo site loads
2010-04-06 18:21:46 -04:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Colin Kuskie
1c9908f490
Encapsulate logic for determining if an SSL request has been made.
...
Refactor core modules to use that.
2009-08-19 18:25:00 +00:00
Colin Kuskie
1441fe2e88
Forward port urlize changes, and tests.
2009-06-10 03:34:09 +00:00
Graham Knop
4636041f5e
fixed: assets can have urls with /./ or /../ in them, making them inaccessible
2009-06-10 00:42:37 +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
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Colin Kuskie
310d454162
Forward porting bug fixes for billing address and asset with uncommitted parent.
2009-01-23 15:33:30 +00:00
Graham Knop
5b1eb1c095
only escape dangerous characters
2008-10-21 18:11:32 +00:00
Graham Knop
d37ded3ddc
fixed: Cross site scripting issue on operation pages
2008-10-06 15:49:30 +00:00
Colin Kuskie
4508fcd1af
updating POD for Session/Url to talk about gateway URL
2008-09-04 20:26:57 +00:00
Colin Kuskie
6db3fc1005
forceSecureConnection: grab a url object and use it directly.
2008-07-26 02:09:09 +00:00
Colin Kuskie
59cc690859
fix a syntax error in Session/Url.pm
2008-07-25 17:39:29 +00:00
Kaleb Murphy
46562e9e8f
Session/Url forceSecureConnection regex fix.
2008-07-25 16:48:21 +00:00
Kaleb Murphy
eff953b5ed
Cart now redirects to ssl if the site is ssl enabled.
2008-07-24 19:56:54 +00:00
Colin Kuskie
39f1a3da3c
forward port slash handling fix from 7.4 branch
2008-02-14 23:51:17 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598
replaced return; with return undef;
2008-01-24 21:58:15 +00:00
Colin Kuskie
afcc90b130
Documented a regexp in Session/Url.pm
...
Add passthruUrls to the list of URLs that are changed by fixUrl.
Wrote a bunch of POD for fixUrl
Changed the regular expressions related to badUrl so they don't need to copy the data. This
will speed them up.
Fixed a bug where trailing slashes would defeat the badUrl check.
Re-indented according to WGBP.
Added tests to cover all of the changes.
2007-12-11 22:51:31 +00:00
Colin Kuskie
96178fd70c
first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
2007-12-05 00:30:43 +00:00
Colin Kuskie
72906e27fb
fixing handling of http:// calls in the Extras URL
2007-12-04 21:25:32 +00:00
Colin Kuskie
256b52a0d7
Final state and status fixes.
...
In these three files, any check for status=archived was removed, since
in each case it is possible that the Asset may want to be viewable
when it is archived, like Files, Posts, etc.
Updated Session/Url.t to remove tests for status=archived.
2007-11-22 18:46:17 +00:00
Colin Kuskie
f3b7b1bf8e
Start adding coverage to the getBackToSiteURL method.
...
Remove the old commented out MockObject request code. It's PseudoRequest or bust.
WGBP indent some of the Session/Url methods.
2007-11-09 21:23:00 +00:00