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
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
Colin Kuskie
21c4fcb75f
This patch adds user invitations, a way for existing users on a site
...
to send an email to their friends and invite them to create an account
on the site. The feature is enabled or disabled in the site Settings.
(Operation/Settings.pm)
It is implemented as a new operation, Invite (Operation/Invite.pm,
Help/Invite.pm, i18n/English/Invite.pm), and the option is displayed
as an option on the user's account screen. (Operation/Shared.pm).
The form is templated, and lives in the Invite namespace. Once
the invitation is submitted, if the user's email address is not
already in WebGUI, an email is sent and a record is stored in
the userInvitations table.
When the friend gets the invitation, they are taken to the account
creation screen, which conveniently has their email address already
filled in. This required changes in the Auth modules (Auth.pm, Auth/*.pm),
and ProfileField.pm. The latter was so that profile fields can have
their values manually set. The former changes handle inserting the
email address, bypassing the anonymous registration check, and
updating the record in ther userInvitations table.
I refactored some code out of the AdminConsole for finding the url
back to the site and added it to Session/Url.pm. The method is
called getBackToSiteUrl.
2007-06-10 16:38:43 +00:00
Yung Han Khoe
4112758902
Url's in rss feed don't use http_host because http_host includes port and sitenames in conf don't.
2007-04-25 16:20:45 +00:00
JT Smith
47c65b7d66
changed comma to colon to fix problems with macros that use commas as separators
2007-03-05 19:32:11 +00:00
Colin Kuskie
d995ff09fe
Fixed a bug with WebGUI::Session::Url::page where, if preventProxyCache
...
was enabled a noCache param was always added to the URL. In some
cases it would add 2 noCache params.
To fix this, I added a skipPreventProxyCache param to the gateway method,
and page just passes $pairs and $skipPreventProxyCache to gateway.
Added tests to Url.t to test gateway, page, makeAbsolute and urlize
to bring its coverage up to 100%.
Added tests to Stow.t to bring it's coverage up to 100% as well.
2006-09-30 17:23:44 +00:00