Commit graph

466 commits

Author SHA1 Message Date
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
Colin Kuskie
944c76040a Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. 2011-05-02 08:20:33 -07:00
Doug Bell
f5ebb6e916 change admin console to get asset info via ajax call after frame is loaded
this is step one in making the asset control toolbars work
correctly without having an "Admin Mode"
2011-04-14 15:08:35 -05:00
Doug Bell
c9250660e4 change docs for Session::DateTime to use form control 2011-02-25 15:45:39 -06:00
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
33698fcfde Remove old debugging code for validToken. 2011-01-10 10:16:34 -08:00
Colin Kuskie
1d19269f7e Don't need weaken twice. 2010-11-29 09:49:23 -08:00
Doug Bell
f727fe354b fix 11974 toolbar icons broken in webkit html5 2010-11-23 14:33:29 -06: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
d02472cfa6 Change Session::ID to no longer need a session. Instead, you pass it a seed for salting the hash generation. 2010-11-19 08:53:22 -08:00
Colin Kuskie
59c03b50e7 Change occurances of user->profileField to user->get 2010-11-18 16:12:03 -08:00
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -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
10b832b820 Fix mobile browser detection. 2010-11-03 10:29:31 -07:00
Colin Kuskie
5f3014aaee Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07: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
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Colin Kuskie
6fced77b37 Make the display of a textarea instead of an HTMLarea independent of whether mobile styles are configured for the site. Refixes #11902. 2010-10-25 15:30:23 -07:00
Colin Kuskie
aabb9ed214 Getting cookies can croak. Eval the fetching of cookies and do error handling. Fixes bug #11912. 2010-10-19 09:21:37 -07: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
1f42a0a24e Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset. 2010-09-24 08:03:09 -07:00
Colin Kuskie
65e2e0c3b1 Move logging level for validToken debugging from WARN to INFO. Fixes bug #11868 2010-09-23 16:11:36 -07:00
Colin Kuskie
ecbfc1a827 secondsToInterval has an inclusive interval comparison 2010-09-22 10:46:10 -07:00
Colin Kuskie
927781526f Move logging level for validToken debugging from WARN to INFO. Fixes bug #11868 2010-09-20 08:04:26 -07:00
Graham Knop
6fa07671cd use HTTP::BrowserDetect for browser detection 2010-09-11 03:09:27 -05: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
Colin Kuskie
0b5d4e4614 Write a bunch of POD for modules that don't have it. 2010-08-26 14:39:13 -07:00
Graham Knop
fadc4f34ea remove WebGUI::Utility::round 2010-08-25 12:38:14 -05:00
Graham Knop
29d1908e15 remove Tie::CPHash 2010-08-24 16:20:10 -05:00
Graham Knop
cb938487cb remove WebGUI::Utility::randint 2010-08-20 12:58:50 -05:00
Doug Bell
0f9500b2cc fix my tyops 2010-08-06 18:05:03 -05:00
Doug Bell
fd524c9e2a add revisions to asset data in admin console 2010-08-06 17:50:57 -05:00
Doug Bell
ba72d1914a get asset name from i18n 2010-07-29 14:38:35 -05:00
Doug Bell
f0d4bfff13 update Admin with asset even in operations 2010-07-29 14:35:40 -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
2e1589121a display asset helpers 2010-07-15 17:20:46 -05:00
Doug Bell
e891410075 tests and such 2010-07-15 11:55:24 -05:00