Commit graph

480 commits

Author SHA1 Message Date
Colin Kuskie
fbc6e55141 fix inheritUrlFromParent 2008-08-21 20:27:30 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Colin Kuskie
c6e9d322a8 Fix how update and addRevision handle defaults from the definition subroutine
when it returns an array ref.
2008-08-19 22:03:39 +00:00
JT Smith
824c789f71 - Changed update() so that it only updates fields passed in, and the defaults
for assets are processed in addRevision() instead.
 - Changed update() so it can autodetect missing fields in asset tables and 
   log them nicely instead of crashing.
2008-08-14 21:21:31 +00:00
Colin Kuskie
96a09a14b9 fix a typo in the YUI asset toolbar demote/promote 2008-08-01 14:51:45 +00:00
Colin Kuskie
ee9772d543 fix broken i18n labels in Asset export, and in the Shop 2008-07-27 02:59:33 +00:00
Graham Knop
2746e6933e asset context menu tweaks 2008-07-25 04:02:55 +00:00
Colin Kuskie
6850dcbbaa Fix default values in the asset meta data. 2008-07-24 20:55:37 +00:00
Chris Nehren
a32b0c04ab Remove a mostly unused $session variable and use $self->session-> instead. 2008-07-22 18:29:45 +00:00
Graham Knop
cb21f13d9f Converted asset context menus to YUI menus 2008-07-22 17:44:17 +00:00
Graham Knop
b06f405657 only generate toolbars in admin mode 2008-07-16 22:16:35 +00:00
Chris Nehren
35c220eefd Alphebetize the widget methods. 2008-07-12 02:59:01 +00:00
Colin Kuskie
59abc1231f fix getEditTabs reference code, and then make Sku and CS to be in the same style 2008-07-10 20:34:09 +00:00
Graham Knop
1e9b0277e3 fixed: List style Content profile fields broken 2008-07-10 20:13:42 +00:00
Colin Kuskie
b6363ce0c3 document how to add new tabs to getEditForm 2008-07-10 04:48:42 +00:00
Chris Nehren
05cf8fa24c Fixed: One can now turn off inheritUrlFromParent, and the code is now more
robust: moved from Asset->update to Asset->fixUrl.
2008-06-20 19:21:30 +00:00
Graham Knop
682885ac17 fixed: CS posts don't have correct URLs generated 2008-06-20 08:56:50 +00:00
Graham Knop
0efe1fabec cleaning up Asset->update checking assetData 2008-06-20 08:56:45 +00:00
Colin Kuskie
93d4e02cf6 pod syntax and markup fixes 2008-06-12 23:32:16 +00:00
Colin Kuskie
93995ae74f fix whitespace for POD 2008-06-12 23:29:16 +00:00
Colin Kuskie
578d28537a op=manageAssets => op=assetManager 2008-06-12 04:44:15 +00:00
Colin Kuskie
107792cca4 manageAssets => assetManager 2008-06-12 04:39:58 +00:00
Chris Nehren
5dfc9e3bfc bug fixes for widgets and exports. snippets were exported as index.html or the
like, and widget toolboxes weren't popping up in a widgetized view.
2008-05-31 19:42:38 +00:00
Chris Nehren
f5ad94c95e remove some commented out code from a previous implementation idea for
inheritUrlFromParent
2008-05-31 19:24:10 +00:00
Chris Nehren
c25700bb20 correct a comment to be less confusing 2008-05-31 16:22:27 +00:00
Chris Nehren
9c77fdcce7 Add the inheritUrlFromParent property, which causes the asset to prepend its
parent's URL to its own URL. Boolean, default off, found in the meta tab.
2008-05-30 23:38:07 +00:00
Doug Bell
03181810d6 missed some things 2008-05-29 18:39:13 +00:00
Colin Kuskie
3ad1668a21 Promote the getAllProducts to Asset.pm as getIsa. Move the tests
from Asset/Sku/Product.t into Asset/Asset.t, and add tests to check
that inheritance is respected.
2008-05-28 16:06:52 +00:00
Doug Bell
f3996eb316 Complete asset manager rewrite. 2008-05-26 22:07:16 +00:00
JT Smith
102b5fd1ae added coupons 2008-04-30 21:43:16 +00:00
JT Smith
82056c66aa Added an asset called Shelf, which allows you to create categories of Skus. 2008-04-29 01:26:45 +00:00
JT Smith
d744551c31 - rfe: Not being limited to single-worded Tags
- Exposed keywords API to all assets through edit screen. Now keywords are
   searchable and add metatags for all assets.
2008-04-26 19:46:13 +00:00
JT Smith
5fb4807edc merging commerce branch back into head 2008-04-20 18:08:26 +00:00
Colin Kuskie
c8e1c3c3d3 more work on translating Asset Products to Sku Products 2008-04-03 03:40:56 +00:00
JT Smith
50a4b564e5 added item and sku caching to cart
ribbon discounts now work
checklist form control works more like you'd expect
added badge groups
2008-04-02 22:46:40 +00:00
JT Smith
1623356e4b can now add a badge to your cart 2008-03-21 23:48:22 +00:00
Graham Knop
48d5d544eb fixed: Importing a package can break when updating a pending asset 2008-03-20 21:10:35 +00:00
JT Smith
3e6687ef7f updated tests for sku and fixed problems 2008-03-19 22:00:58 +00:00
Colin Kuskie
f1ca6d93f8 forward port better POD docs for Asset instanciators 2008-02-28 22:55:21 +00:00
Colin Kuskie
be2b76a7d0 add more POD docs about Asset constructors and instanciators 2008-02-28 22:48:00 +00:00
Colin Kuskie
409f78bb86 sideport new POD docs 2008-02-25 19:16:10 +00:00
Colin Kuskie
1d8461aa02 Update the POD for get and getValue. 2008-02-25 19:14:46 +00:00
Colin Kuskie
2b7928db0f add more POD to www_add 2008-02-12 21:59:25 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
3b9be36035 fix: newByDynamicClass cannot die if given bad arguments, should return undef instead. 2008-01-24 18:01:57 +00:00
Colin Kuskie
70a1c8c252 Better POD for logView Asset.pm entry.
Fix a bug with a bad description for the friends template variable in the manage friends template.
2008-01-24 16:18:20 +00:00
Colin Kuskie
df6f6a6f34 fix pad POD spacing in www_widgetView 2008-01-10 16:32:36 +00:00
Chris Nehren
81736fb322 Add the Widget macro. This enables assets to be widgetized (easily embedded in
another page). Usage as such: ^Widget(assetId, width, height, templateId);
assetId is the ID of the asset to widgetize, width and height are the size of
the iframe, templateId is the template ID of the template to use for the widget
itself. This will pop up an icon that shows you some markup to put on another
page to embed the asset in widget form. If no template given, will use the
ajaxInlineView of the asset.
2008-01-09 23:24:16 +00:00