Commit graph

3943 commits

Author SHA1 Message Date
Scott Walters
819cef2c17 $SIG{__DIE__} is a can of worms. Why doesn't try { } localize it...? 2011-05-22 15:36:40 -04:00
Doug Bell
258d939614 remove getValue for the third time maybe? 2011-05-19 19:23:51 -05:00
Doug Bell
01b9d95259 fix RichEdit merge 2011-05-17 11:49:00 -05: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
Doug Bell
ef2727f6f5 update usedBy when redeeming subscription code 2011-05-05 15:52:22 -05:00
Doug Bell
475a885146 shortcut now takes ?visitor=1 to edit visitor prefs from dashboard 2011-05-05 15:52:22 -05:00
Doug Bell
b0da37ec15 fix EMSSubmissionForm and all its tests 2011-05-04 15:33:04 -05:00
Doug Bell
19623178e7 fix Dashboard edit form 2011-05-03 17:09:13 -05:00
Colin Kuskie
61534779d5 Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. 2011-05-02 13:49:18 -07:00
Colin Kuskie
164852a712 Handle dates in iCal format with timezones. Clean up documentation for the icalFeed properties. Handle cases with missing uid, description, summary or location fields in the feed. Add tests to make sure that parsing one non-WebGUI iCal feed works. Fixes bug #12106. 2011-04-25 15:53:52 -07:00
Doug Bell
be33a59e90 add messageboard to test_content and fix revealed problems 2011-04-25 16:30:34 -05:00
Doug Bell
bdb803915e add Gallery to test_content and fix problems with RssFeed role 2011-04-25 15:53:55 -05:00
Doug Bell
ebdf0c28a3 add collaboration to test_content and fix bugs 2011-04-25 15:01:38 -05:00
Doug Bell
4bcd1e3976 fix Map/MapPoint editing 2011-04-22 17:02:06 -05:00
Doug Bell
5a12add79a test_content found a bug! event should use Calendar's cache timeout 2011-04-22 14:44:16 -05:00
Doug Bell
f0cd4ebbd5 add unarchiveall asset helper for collabs 2011-04-20 18:29:41 -05:00
Colin Kuskie
d4672a92f1 Consider search fields when doing search in a Thingy normally, or via Ajax. Fixes bug #12117. 2011-04-20 16:05:20 -07:00
Doug Bell
db9753eb01 default www_edit now returns template. add errors to edit template 2011-04-20 17:49:49 -05:00
Doug Bell
0299d7837c start on new layout draggables 2011-04-19 18:13:03 -05:00
Colin Kuskie
e5d94f3a5b Fix the display of the lastUpdated and lastResult fields for Calendar iCal feeds. Fix the name of the status field in the Asset definition. Update all revisions of all calendars to fix the issue. Fixes bug #12104. 2011-04-18 16:26:57 -07:00
Doug Bell
5612871d85 new, fully-javascript admin toolbars 2011-04-18 16:46:30 -05:00
Doug Bell
4a43f9fafb allow non-hash values in arrays, valid in TT templates 2011-04-13 16:53:00 -05:00
Colin Kuskie
96ee557586 Allow the Rich Editor used by the Carousel to be customized for each Carousel asset instead of inheriting the Editor from the site's Settings. Fixes bug #12100. 2011-04-11 15:48:15 -07:00
Doug Bell
caa1639617 fix syntax error :p 2011-04-11 13:33:30 -05:00
Doug Bell
adb67b2137 add style parameter to template assets to store a style template id 2011-04-07 21:49:23 -05:00
Doug Bell
13e8040190 add setParam, getParam, deleteParam to template assets 2011-04-07 20:46:21 -05:00
Doug Bell
5f66eaac45 remove the last references to addSubmenuItem in Survey 2011-04-07 19:22:31 -05:00
Doug Bell
70cf625c80 migrate survey submenu items to asset helpers 2011-04-07 19:20:33 -05:00
Chris Hanson
bc00c4b6e0 fixed #12056: Adding a Thing always creates a table 2011-04-07 14:07:58 -05:00
Paul Driver
f06db47a02 tiny bugfix for remote images in story 2011-04-07 09:48:26 -05:00
Paul Driver
f8021c3d3d rfe #12093: Remotely stored photos for Story assets 2011-04-05 15:16:45 -05:00
Colin Kuskie
83cb45d8d1 Fix a bad SQL lookup which affected the Survey Statistical Report. Fixes bug #12091 2011-04-04 18:57:50 -07:00
Paul Driver
76e9693f4b Export related assets 2011-04-04 18:47:37 -05:00
Colin Kuskie
8525e4b7ee Don't refund transactionItems unless the transaction is successful, or if the item is already canceled. Also, no not call onCancelRecurring for normal Sku's unless they're really recurring. Fixes bug #12089. 2011-04-04 14:45:53 -07:00
Paul Driver
3531c4d913 Snippets can now select a template parser
(instead of being restricted to the configured default)
2011-03-31 15:21:07 -05:00
Paul Driver
96ea65879c unbless MediaRSS hashes in SyndicatedContent 2011-03-30 09:58:45 -05:00
Paul Driver
c8098e2ca6 rfe #618: Syndicated Content Asset: Make images in the downloaded RSS-feeds available in the template. 2011-03-30 09:52:55 -05:00
Doug Bell
a45cdec243 add import/export helpers to the Product asset too 2011-03-29 23:28:22 -05:00
Doug Bell
1ae7a3c6e8 fat-finger 2011-03-29 23:26:15 -05:00
Doug Bell
01844b6fa2 migrate import and export products to Asset Helpers 2011-03-29 23:25:56 -05:00
Doug Bell
fbd573c9d6 move admin console links into asset helpers 2011-03-28 16:36:16 -05:00
Doug Bell
aee00bfad1 fix shortcut overrides and add helper 2011-03-28 16:26:23 -05:00
Doug Bell
205408336c change Annotate into asset helper
Annotate relies on a property of the asset, so it should
be a role and not a helper
2011-03-28 15:43:29 -05:00
Doug Bell
39e2c566fd migrate Crop to Asset Helper 2011-03-28 15:20:23 -05:00
Doug Bell
68cc2297f1 remove undo helper, will add it back when we have proper revisionId 2011-03-28 13:49:57 -05:00
Doug Bell
e8d600aa29 migrate image rotate to AssetHelper 2011-03-25 22:23:13 -05:00
Doug Bell
b84fd2adaf change image resize to AssetHelper 2011-03-25 21:53:31 -05:00