Commit graph

11025 commits

Author SHA1 Message Date
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
13a2c359e7 Get rid of the cargo culted code about sending a text reply if the browser didn't specify
that it understands HTML.  This interacts badly with Plack::Test and doesn't have much of
a point in real life anyway, and I accidentally sent the test up that dends on this being
gone without sending this too.  Argh.  If I could send up a coherent commit just once...
2011-05-05 21:42:38 -04:00
Doug Bell
2e720d6899 getEditForm returns FormBuilder and csrfToken should be added by www_edit 2011-05-05 19:43:32 -05:00
Doug Bell
18dd9a459d move export product tests and fix the export product helper 2011-05-05 19:27:22 -05:00
Doug Bell
140b5a546f move Shelf tests into AssetHelper tests (and fix the thing) 2011-05-05 18:51:42 -05: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
Scott Walters
2f45f306fb Doc improvements 2011-05-05 15:08:06 -04:00
Scott Walters
59a22f4101 set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was
making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the
error page up.
keep the HTML of the original page and tack it on to the end of the stack trace.
add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace,
but leave a comment for the other one in case people prefer it.
2011-05-05 14:58:04 -04:00
Scott Walters
617ca066dc Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text output; add the modules it uses to testEnvironment.pl; comment out the dumping of the asset tree for now; silence a warning in testEnvironment.pl by tweaking module test/load order 2011-05-05 14:58:03 -04:00
Scott Walters
a97c1c9d86 middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view
because that seemed like a good idea at the time.
2011-05-05 14:58:03 -04:00
Scott Walters
742db182e8 don't force an extra layer of streaming as doing so bypasses plack middlewares. 2011-05-05 14:58:03 -04:00
Doug Bell
423e19ae0e remember to pass the definition up the stack... 2011-05-05 11:23:05 -05:00
Doug Bell
b0da37ec15 fix EMSSubmissionForm and all its tests 2011-05-04 15:33:04 -05:00
Doug Bell
ecbaca599d formbuilder templatevar prefix must contain the underscore now 2011-05-04 13:48:19 -05: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
38eb9a8469 EditableToggle is no longer necessary 2011-05-04 12:48:12 -05:00
Doug Bell
d8d2ab0930 adminbar is no longer needed 2011-05-03 17:46:17 -05:00
Doug Bell
74b8e36552 add all the other assets 2011-05-03 17:09:14 -05:00
Doug Bell
7389128d99 must have a width/height in order to set width/height
Failing to give a proper width/height will cause ImageMagick to die
with an assertion error
2011-05-03 17:09:14 -05:00
Doug Bell
40805cee48 log the error when we have one, don't just return it 2011-05-03 17:09:13 -05:00
Doug Bell
19623178e7 fix Dashboard edit form 2011-05-03 17:09:13 -05:00
Colin Kuskie
88c9fa81b0 Remove the fields variable from the template variable help for Asset_Thing, viewThingData. 2011-05-02 20:06:54 -07:00
Scott Walters
ee212a16f3 WebGUI::Test::waitForAllForks optionally taking a number of seconds to wait;
t/AssetHelper/Copy.t using this as one of its tests; this creates a test failure out of a test suite deadlock for me
2011-05-02 18:25:21 -04:00
Scott Walters
6e12a8f78a simple cleanup logic for WebGUI::Fork; mark the fork "completed" even though it may not be just so that the next test that wants to do waitForAllForks doesn't get hung up on our fork 2011-05-02 17:59:07 -04: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
944c76040a Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. 2011-05-02 08:20:33 -07:00
Graham Knop
a82868c2d3 need to load modules in WebGUI::BestPractices 2011-04-28 15:35:10 -05:00
Doug Bell
de8c45b841 add story manager and survey, adding some error messages for silent problems 2011-04-25 19:28:54 -05: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
b7db85dcc6 add search asset and list all other assets 2011-04-22 18:06:52 -05:00
Doug Bell
9820e3e111 fix noFormPost in Asset->getFieldData. it's in the attribute 2011-04-22 17:40:11 -05:00
Doug Bell
4bcd1e3976 fix Map/MapPoint editing 2011-04-22 17:02:06 -05:00
Doug Bell
d86381d440 refactor getEditForm to make a sub to get field properties 2011-04-22 17:01:38 -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
713aa0f5e7 add Calendar to test_content 2011-04-22 14:38:30 -05:00
Colin Kuskie
38ccde6712 Propertly quote table names when purging revisions. 2011-04-22 09:33:03 -07:00
Colin Kuskie
3982b7ee39 ProfileFields were missing extras from their properties. Fixes bug #12102. 2011-04-22 08:59:14 -07:00
Colin Kuskie
ef08d0d481 i18n the controls for the JsonTable form plugin. Fixes bug #12116 2011-04-21 19:54:18 -07:00
Doug Bell
8d527d1de9 start the test_content webgui command with Articles 2011-04-21 18:59:12 -05:00
Doug Bell
54b8cfc5a9 default asset helpers are now i18ned 2011-04-20 19:08:56 -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
Doug Bell
8906c3f28a className is the full class name. type is the i18n name 2011-04-19 14:01:25 -05:00