Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Colin Kuskie
b8e088ff7a
Refactor Session/Icon to remove a bunch of copy/paste code. Update test to remove deprecated profileField calls.
2011-12-28 11:11:21 -08:00
Doug Bell
677ac978b6
Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8
...
Conflicts:
lib/WebGUI.pm
lib/WebGUI/Auth/WebGUI.pm
sbin/findBrokenAssets.pl
sbin/testEnvironment.pl
2011-05-13 18:20:52 -05: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
Scott Walters
7a994b59ce
File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. ( #11688 )
...
New API method: WebGUI::Response::sendFile; it, as appropriate, calls
setRedirect or setStreamedFile, depending on enableStreamingUploads config var.
setStreamedFile now kicks off the XSendfile process.
File.pm now uses this instead of trying to set both a redirect and a stream.
IO::File::WithPath blows up if a file doesn't exist so this raises an exception
now.
The http now no longer insist that '0' is not a valid filename to stream.
site.psgi, depending on enableStreamingUploads, enables either the Static
or XSendfile middleware.
2011-05-12 20:22:43 -04:00
Scott Walters
57d2dbed56
WebGUI::Session::Http should go away ( #11647 )
...
Move logic out of WebGUI::Session::HTTP and into WebGUI::Session::Response /
::Request; deprecate more functions; change references in core to use
$session->response instead; fix tests that broke because of the change but
not one that merely generate the deprecated warning because I want to know
that the proxying of depricated methods is working. These can be changed later.
2011-05-11 16:17:54 -04:00
Paul Driver
5c20e9c0be
Fixing a bunch of tests not to rely on HT being default parser
2011-04-04 18:47:18 -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
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