Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Colin Kuskie
59d12c5c05
Allow it to return permission denied errors. Consider making this return an error object or exception later.
2011-12-01 15:22:55 -08:00
Colin Kuskie
234c6988ab
Restore default behavior for empty titles.
2011-12-01 13:13:34 -08:00
Graham Knop
74159f7655
load WebGUI::PassingProfiling in WebGUI::Asset
2011-12-01 12:42:27 -05:00
Colin Kuskie
e4de128f76
Fix the WikiPage title auto fill-in by using a Moose builder method that can be overridden by child classes.
2011-11-24 10:31:54 -08:00
Colin Kuskie
ce15690523
I18n the RSS tab for the RSS Feed role. Provide a way for additional tabs to be i18n'ed, like Subscribable.
2011-11-24 10:31:54 -08:00
Colin Kuskie
3ba6d43ec9
Allow noFormPost to be dynamically generated with a sub. Not all property settings allow this!
2011-11-04 11:54:31 -07:00
Colin Kuskie
a2a821822d
Merge commit 'v7.10.23' into WebGUI8. Tests need fixing.
2011-11-02 11:12:18 -07:00
Colin Kuskie
4855816a29
Merge commit 'v7.10.21' into WebGUI8. Also, add POD and fix broken tests.
2011-10-27 16:45:19 -07:00
Colin Kuskie
fdb979ca8a
Merge commit 'v7.10.20' into WebGUI8
2011-10-26 15:02:51 -07:00
Colin Kuskie
9bd2d09bf3
Comment out the "approved" checkbox, it isn't checked anywhere anyway.
2011-10-25 19:47:12 -07:00
Colin Kuskie
4bfabb9469
Make version tags mandatory again.
2011-10-25 19:44:58 -07:00
Colin Kuskie
71533cbba7
Make getPrototypeList catch exceptions.
2011-10-15 18:14:10 -07:00
Colin Kuskie
a2a3b2dcb9
Convert FilePile asset into an AssetHelper.
2011-10-11 14:52:00 -07:00
Scott Walters
ee121e9460
Mobile template is not being inherited ( #12246 )
...
Break get_add_instance out of www_add; subclass it in Layout to
pull mobileTemplateId and mobileStyleTemplateId from the parent
if the parent is also a Layout.
2011-09-07 20:19:50 -04:00
Scott Walters
b05c7ea810
Revert "Mobile template is not being inherited ( #12246 )"
...
... per perlDreamer's additional argument for his original design for this
This reverts commit 2628263384 .
2011-09-07 20:19:50 -04:00
Scott Walters
2628263384
Mobile template is not being inherited ( #12246 )
...
added extra_www_add_properties method to Asset.pm and subclassed it in as
Layout.pm as properties fix-up hook in child for www_add
2011-09-07 15:43:23 -04:00
Scott Walters
d65fd7e646
Pending perlDreamer's comments...:
...
Revert "Mobile template is not being inherited (#12246 )"
This reverts commit a4624663cf .
2011-09-06 20:32:50 -04:00
Scott Walters
a4624663cf
Mobile template is not being inherited ( #12246 )
...
Applied SquOnk's patch and added tests; modify www_add to inherit mobileStyleTemplateId
from the parent as well as mobileTemplateId. mobileTemplateId is only used by PageLayout
currently. If other assets start using this and this gets inherited cross asset types,
thing will break. A better design here would be to flag on a case-by-case basis in
asset definitions whether any given property should be inherited globally, of children
of the same asset class, or not at all.
2011-09-06 20:26:55 -04:00
Colin Kuskie
b3f5e89690
Take the object's default as a defaultValue for the form if there are no config file overrides. However, always provide one.
2011-08-09 20:19:40 -07:00
Doug Bell
aabb4648d6
allow edit templates without attached forms
...
This lets authors not use FormBuilder unless they really want to... for now.
2011-08-01 16:35:28 -05:00
Scott Walters
e945a94c63
Reworked error handling to propogate errors downward, especially when webgui.debug is set
2011-07-26 03:10:56 -04:00
Paul Driver
a4ee31feef
Re-fixed #11379 , with tests this time.
2011-07-19 16:41:51 -05:00
Doug Bell
5736e5eb3a
refactor www_add/www_edit to fix existing www_edit overrides
...
If you previously overrode www_edit to create a template, you must
instead override getEditTemplate and return your template from there.
Make sure to set your style template correctly.
2011-07-12 20:37:00 -05:00
Colin Kuskie
87d252ec26
Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186 .
2011-07-10 18:29:52 -07:00
Graham Knop
c4af0e33df
safer asset reading sql and better parameter validation
2011-07-05 08:35:26 -05:00
Doug Bell
795d88e7e5
Merge commit 'v7.10.17' into 8
...
Conflicts:
docs/upgrades/upgrade_7.9.13-7.10.0.pl
lib/WebGUI.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/AssetReport.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Form/Captcha.pm
lib/WebGUI/Macro/AdminBar.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/PayDriver.pm
lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm
lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Workflow/Instance.pm
lib/WebGUI/Workflow/Spectre.pm
lib/WebGUI/i18n/English/PayDriver.pm
t/Asset/Asset.t
t/Asset/AssetExportHtml.t
t/Asset/AssetLineage.t
t/Asset/Wobject/Thingy.t
2011-06-17 20:13:41 -05:00
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
Paul Driver
c1a29182ca
fixed #12129 : AdminBar calls canAdd as an object method
2011-05-16 16:11:42 -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