Commit graph

777 commits

Author SHA1 Message Date
Doug Bell
664e7686c6 fix bugs revealed by Test::Class tests 2011-06-02 19:44:06 -05:00
Scott Walters
f14f2e59c9 Failed calls to www_ methods generating stack traces when webgui.debug is on
is useful for developers; merely warning skips stack traces in
WebGUI::Middleware::StackTrace.  Make this an error.
2011-05-22 15:55:11 -04:00
Graham Knop
2a73f5ab63 fix undefined warnings 2011-05-19 19:25:13 -05:00
Doug Bell
1f750691c0 allow assetName to be a normal, non-i18n string 2011-05-17 11:52:03 -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
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
40805cee48 log the error when we have one, don't just return it 2011-05-03 17:09:13 -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
d86381d440 refactor getEditForm to make a sub to get field properties 2011-04-22 17:01:38 -05:00
Doug Bell
54b8cfc5a9 default asset helpers are now i18ned 2011-04-20 19:08:56 -05: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
5612871d85 new, fully-javascript admin toolbars 2011-04-18 16:46:30 -05:00
Doug Bell
9d6fa33e16 remove toggleToolbar and getToolbar state
These are not necessary with the new toolbars
2011-04-14 15:22:31 -05:00
Doug Bell
ad3231af73 change asset www_add and www_edit into templates 2011-04-13 16:52:07 -05:00
Doug Bell
d7fd89ce9d move save buttons out into www_add and www_edit
Buttons are specific to those views of the form, not to any other,
so they should only be included on www_add and www_edit.
2011-04-11 15:23:20 -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
Colin Kuskie
2195a7b04c Remove debug logging from www_editSave. 2011-03-14 10:03:01 -07:00
Colin Kuskie
88797c1d6c Add Asset Dashlets to Dashboard. Add required and static properties to Dashboard Assets. Add caching to StockData and WeatherData assets. Add LastModifiedBy macro. Add GroupManager to the Group form control. 2011-03-09 21:33:44 -08:00
Colin Kuskie
efcc4fe1a7 www_editSave needs permission checks to prevent extra assets from being added by unprivileged users. Partial fix for #12068. 2011-03-07 15:59:31 -08:00
Doug Bell
b27bc19e4d Tree view buttons now work. Changed progress bar helpers to use fork. Added forkId option to AssetHelpers. Added updateAsset service to Admin. 2011-03-03 19:25:20 -06:00
Colin Kuskie
dcfce60b5e Change class => className where func=add. 2011-03-01 18:45:00 -08: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
Doug Bell
8650e714b5 move createShortcut to an assetHelper 2011-02-25 15:45:42 -06:00
Doug Bell
d49bfbdaad remove old links to asset manager 2011-02-25 15:45:41 -06:00
Doug Bell
17b7fad4be remove www_changeUrl. It is now an AssetHelper 2011-02-10 16:53:35 -06:00
Arjan Widlaak
3d79b8b26c - fixed bug 11997: maximumAssets is ignored
- fixed bug 11998: maximumAssets prevents editing existing assets if maximum is reached
2010-12-17 23:06:27 +01:00
Doug Bell
1866c593ea almost done fixing addRevision changes 2010-12-03 15:01:31 -06:00
Doug Bell
3ce9198220 setVersionLock needs to be done only for tags 2010-12-03 15:01:30 -06:00
Doug Bell
f0df8b720b addSave will always be adding 2010-12-03 15:01:30 -06:00
Doug Bell
e89375622b move version tag stuff out of addRevision 2010-12-03 15:01:30 -06: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
dcff137cfa Merge branch 'Varless' into WebGUI8 2010-11-18 11:04:42 -08:00
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -08:00
Doug Bell
270f52aaaa fix 11954 Can't clear packed head tags 2010-11-16 18:47:51 -06:00
Paul Driver
8af425a2cf docpatch for outdated pod on Asset->newById 2010-11-16 11:16:28 -06:00
Colin Kuskie
db51217353 Fix double my syntax warning in Asset.pm 2010-11-11 14:49:45 -08:00
Doug Bell
5cab2c1639 always redirect, never just return content 2010-11-09 16:51:42 -06:00
Doug Bell
16bfacadca always call proceed on new object 2010-11-09 16:51:42 -06:00
Doug Bell
a64b769755 refactor "proceed" handling into subroutine 2010-11-09 16:51:42 -06:00
Doug Bell
a6b5b27977 split www_editSave to create www_addSave
www_addSave gets called when adding new assets
2010-11-09 16:51:42 -06:00
Paul Driver
a4edea1e3c Better integration of Fork into AssetHelpers, fork startup 2010-11-08 07:55:42 -06: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
87326192a3 Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2 2010-10-27 15:59:33 -07:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Paul Driver
c86ee12651 Fixing some failing tests 2010-10-07 16:14:48 -07:00
Paul Driver
04fa1ca794 VersionTag rollback moved to Fork 2010-10-06 08:54:18 -07:00
Paul Driver
895ce37917 Move trash functions to Fork 2010-10-06 08:54:17 -07:00
Paul Driver
e238f72278 www_copy and www_pasteList Forkified 2010-10-06 08:54:17 -07:00