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
Doug Bell
53439e4d08
old AssetManager is obsolete
2011-05-04 12:58:04 -05:00
Doug Bell
129eb2b3d5
adminbar macro no longer exists
2011-05-04 12:57:39 -05:00
Doug Bell
bdb803915e
add Gallery to test_content and fix problems with RssFeed role
2011-04-25 15:53:55 -05:00
Colin Kuskie
28e4f9f245
Lower the priority of the scratch variables used to store classnames and page numbers. Fixes bug #12076
2011-04-04 18:57:50 -07:00
Doug Bell
698f40a6dd
add "asset" property to AssetHelpers.
...
Simplifies the API and allows us to have getForm and getUrl to make
asset helpers easier to build.
2011-03-25 14:49:44 -05:00
Doug Bell
b9e879b7aa
change AssetHelpers to have short IDs instead of class names
...
This will make better code reuse: The Asset Manager will instead
call the AssetHelper with the id of "cut" or "copy" to get the
correct operation.
2011-02-25 15:45:42 -06:00
Colin Kuskie
116a3c21ca
In the Asset Manager search window, let the title of the asset be a link to view the asset. Fixes bug #12048 .
2011-02-21 13:54:00 -08:00
Colin Kuskie
648ea286ea
Uh, and the code change for Visitor Account privileges.
2011-01-02 12:41:54 -08:00
Colin Kuskie
e7fcf33a4d
Move ifModifiedSince into WebGUI::Session::Request
2010-11-22 09:53:03 -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
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
Doug Bell
250967c898
add admin plugins API and start testing
2010-10-27 22:15:11 -05:00
Doug Bell
199c4e4960
change ErrorHandler to Log
2010-10-27 12:50:12 -05:00
Bart Jol
d11cd6f4f7
Changed package name in POD
2010-10-25 13:00:56 +02: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
0d2c4d6ba8
Ignore trailing slashes in requested URLS. Fixes bug #11865 .
2010-09-23 16:09:53 -07:00
Colin Kuskie
e99ae4740f
More cleanup from dispatch. Do not set the session asset if the requested URL does not exist. In RssFeed, pass the fragment to the next method. Fixes bug #11854 .
2010-09-23 16:01:23 -07:00
Colin Kuskie
1131a5b4bc
Ignore trailing slashes in requested URLS. Fixes bug #11865 .
2010-09-14 10:01:57 -07:00
Colin Kuskie
587ff397b5
More cleanup from dispatch. Do not set the session asset if the requested URL does not exist. In RssFeed, pass the fragment to the next method. Fixes bug #11854 .
2010-09-10 11:14:03 -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
JT Smith
5723af9b73
updated facebook auth to work with new facebook change/brokeness
2010-09-01 12:16:05 -05:00
Colin Kuskie
440df9879e
Fix UTF-8 URL handling in dispatch. Added tests for creating assets and accessing assets with UTF-8 urls. Fixes bug #11785
2010-08-25 11:44:01 -07:00
Graham Knop
476d9250fa
convert page performance indicators to performance debug panel again
2010-08-25 13:39:26 -05:00
Doug Bell
9093642793
properly load the wizard class
2010-08-24 17:30:34 -05:00
Doug Bell
7a58fcffcd
Do not close the session ourselves when 304
...
Only WebGUI.pm and WebGUI::Middleware::Session should ever
close the session during a normal request cycle. This is because
of the possibility of streaming content.
2010-08-24 16:16:20 -05:00
Graham Knop
006a5003c2
remove WebGUI::Utility::formatBytes
2010-08-20 12:09:58 -05:00
Colin Kuskie
4bf7eb4cfb
Fix UTF-8 URL handling in dispatch. Added tests for creating assets and accessing assets with UTF-8 urls. Fixes bug #11785
2010-08-17 16:55:00 -07:00
Colin Kuskie
11ac13c349
Prune out a method call from db->dbh->quote_identifier.
2010-08-14 17:51:25 -07:00
Colin Kuskie
3e8e2d452c
Merge branch 'master' into WebGUI8. Merged up to 7.9.12
2010-08-13 12:25:19 -07:00
Colin Kuskie
7b218942b3
Merge commit ' 63865eb39f' into WebGUI8. up to 7.9.11
2010-08-13 11:52:08 -07:00
Colin Kuskie
02121fb7a9
Fix problems with getting the default page. Fixes bug #11778 .
2010-08-11 08:37:21 -07:00
Colin Kuskie
98d3ecc16f
Set the session asset, added tests.
2010-08-10 10:27:45 -07:00
Colin Kuskie
3e60133e10
Call the right subroutine.
2010-08-10 10:27:45 -07:00
Colin Kuskie
18bdd2f809
Rework the handler sub to use dispatch. Remove dead code.
2010-08-10 10:27:45 -07:00
Colin Kuskie
76c86aec74
PassiveAnalytics logging. addMissing.
2010-08-10 10:27:45 -07:00
Colin Kuskie
25fb019a18
Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors.
2010-08-10 10:27:45 -07:00
Colin Kuskie
7a1abd7bc0
Alter URL permutations to handle the cases when there is a leading / in the URL. Add the dispatch subroutine.
2010-08-10 10:27:45 -07:00
Colin Kuskie
35284c0753
getUrlPermutations, and a stub for Content::Asset::dispatch so the test doesn't die.
2010-08-10 10:27:44 -07:00
Doug Bell
c7bd22cf09
add method to process ?op=assetHelper
2010-07-30 14:20:57 -05:00
Doug Bell
4d9144989c
add use line
2010-07-15 11:55:25 -05: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
565cf955d7
Merge commit ' 469c2b72b4' into WebGUI8. All tests passing.
2010-07-01 10:13:22 -07:00
Colin Kuskie
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00