Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Doug Bell
277faae8a1
Merge commit 'v7.10.15' into 8
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
docs/templates.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/Event.pm
lib/WebGUI/Asset/File.pm
lib/WebGUI/Asset/MapPoint.pm
lib/WebGUI/Asset/RichEdit.pm
lib/WebGUI/Asset/Sku/Product.pm
lib/WebGUI/Asset/Snippet.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Carousel.pm
lib/WebGUI/Asset/Wobject/Collaboration.pm
lib/WebGUI/Asset/Wobject/Dashboard.pm
lib/WebGUI/Asset/Wobject/DataForm.pm
lib/WebGUI/Asset/Wobject/Folder.pm
lib/WebGUI/Asset/Wobject/Map.pm
lib/WebGUI/Asset/Wobject/Search.pm
lib/WebGUI/Asset/Wobject/Shelf.pm
lib/WebGUI/Asset/Wobject/StockData.pm
lib/WebGUI/Asset/Wobject/StoryTopic.pm
lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Asset/Wobject/WeatherData.pm
lib/WebGUI/AssetClipboard.pm
lib/WebGUI/AssetCollateral/DataForm/Entry.pm
lib/WebGUI/AssetExportHtml.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetMetaData.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/AssetVersioning.pm
lib/WebGUI/Auth.pm
lib/WebGUI/Cache/CHI.pm
lib/WebGUI/Content/AssetManager.pm
lib/WebGUI/Fork/ProgressBar.pm
lib/WebGUI/Form/JsonTable.pm
lib/WebGUI/Form/TimeField.pm
lib/WebGUI/Form/Zipcode.pm
lib/WebGUI/Group.pm
lib/WebGUI/International.pm
lib/WebGUI/Macro/AssetProxy.pm
lib/WebGUI/Macro/FileUrl.pm
lib/WebGUI/Operation/SSO.pm
lib/WebGUI/Operation/User.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Shop/TransactionItem.pm
lib/WebGUI/Test.pm
lib/WebGUI/URL/Content.pm
lib/WebGUI/URL/Uploads.pm
lib/WebGUI/User.pm
lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
lib/WebGUI/Workflow/Activity/SendNewsletters.pm
lib/WebGUI/i18n/English/Asset.pm
lib/WebGUI/i18n/English/WebGUI.pm
sbin/installClass.pl
sbin/rebuildLineage.pl
sbin/search.pl
sbin/testEnvironment.pl
t/Asset/Asset.t
t/Asset/AssetClipboard.t
t/Asset/AssetLineage.t
t/Asset/AssetMetaData.t
t/Asset/Event.t
t/Asset/File.t
t/Asset/File/Image.t
t/Asset/Post/notification.t
t/Asset/Sku.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Wobject/Collaboration/templateVariables.t
t/Asset/Wobject/Collaboration/unarchiveAll.t
t/Asset/Wobject/Shelf.t
t/Auth.t
t/Macro/EditableToggle.t
t/Macro/FilePump.t
t/Shop/Cart.t
t/Shop/Transaction.t
t/Storage.t
t/User.t
t/Workflow.t
2011-05-13 18:15:11 -05:00
Paul Driver
add255388a
ignore webServerPort in session/url.t
2011-02-17 14:10:07 -06: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
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
995b04e7de
Remove getRedirectLocation and setRedirectLocation from Session::Http
2010-11-22 09:28:14 -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
a95ef168cc
remove use of FindBin in tests
2010-09-01 14:05:53 -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
d34377e45d
fix admintoggle tests
2010-07-15 12:52:13 -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
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
e5b82bc861
Merge commit ' 4969f31e1f' into WebGUI8
2010-06-26 14:37:31 -07:00
Colin Kuskie
6c3369d0cb
Revert "use temp config file for testing"
...
This reverts commit 9b725c6d42 .
2010-06-14 15:19:54 -07:00
Graham Knop
89d4f46a18
Merge branch 'psgi' into WebGUI8
2010-06-11 23:05:06 -05:00
Graham Knop
e063818e2d
some URL fixes and removing some uses of PseudoRequest
2010-06-11 23:01:57 -05:00
Graham Knop
6f102973dd
use temp config file for testing
2010-06-10 18:58:25 -05:00
Graham Knop
9b725c6d42
use temp config file for testing
2010-06-10 10:09:54 -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
b7b91a3143
Update test for property manipulation.
2010-05-06 12:24:38 -07:00
Graham Knop
e0f55e7e5e
change encode check for newer URI::Escape versions
2010-03-19 18:22:08 -05: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
4e78593395
Change tests to use the automatic backup of Settings in END blocks.
2009-03-30 20:41:02 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
5b1eb1c095
only escape dangerous characters
2008-10-21 18:11:32 +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
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
344410b0c9
one test for forceSecureConnections
2008-07-25 18:15:08 +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
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
484bc40569
leave notes as to future tests that need to be written for getBackToSiteURL
2007-11-12 05:20:52 +00:00
Colin Kuskie
dac78e161c
Coverage tests for getBackToSiteURL brings Session/Url coverage
...
up to 100%.
2007-11-12 05:18:05 +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
Colin Kuskie
14e907d589
begin converting Session/Url.t to PseudoRequest
2007-11-02 23:38:45 +00:00
Graham Knop
db59a2eb7a
Some test fixes.
2007-08-15 19:14:08 +00:00
Colin Kuskie
83310ba311
update copyright on tests
2007-07-07 03:56:44 +00:00
Colin Kuskie
91f0b5205c
adjust test for new noCache syntax
2007-03-09 17:27:43 +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
Colin Kuskie
b1a5c46fcb
add 6 more tests for page and clean up the POD
2006-09-29 22:51:18 +00:00
Colin Kuskie
2d2b780ed6
More comments and POD for Session/Url.pm.
...
Tests for escape, unescape, extras methods. Test code is big enough
that I've added section delimiting comments. This has helped make
the code a lot more readable.
2006-09-29 03:32:24 +00:00