Commit graph

614 commits

Author SHA1 Message Date
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
Chris Nehren
1651cbd3fb Add a check in update() for whether isExportable exists, preventing problems
with users upgrading from previous versions of WebGUI. Tested in an upgrade
from 7.4.0 -> SVN head (i.e., 7.5.0).
2008-01-05 00:39:14 +00:00
Chris Nehren
f6f20d27d6 Maintain status quo and keep the default of exporting all assets. 2008-01-02 23:01:16 +00:00
Chris Nehren
7accc3c57f Add fine-grained export controls. You can now specify whether you want specific
assets to be exportable. If any of an asset's parents aren't exportable, that
asset also won't be exportable.
2008-01-02 22:32:40 +00:00
Colin Kuskie
cf968818b4 WGBP indent Asset::canView.
Add coverage tests for canView.
2007-12-27 06:36:04 +00:00
Colin Kuskie
9ebae3087e Untab canAdd and canEdit.
Tweak the POD docs for formatting.
2007-12-23 05:39:02 +00:00
Colin Kuskie
060dd85963 Add tests to cover fixId and one test for fixTitle.
Fix a bug where fixId would pass integers of any length.
2007-12-21 22:57:06 +00:00
Doug Bell
01c6379224 fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go... 2007-12-19 16:41:39 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Colin Kuskie
8e52096a0a Re-indent some fixUrl code and realign comments.
Add more fixUrl tests for coverage.  Leading zeroes are
handled strangely.
2007-12-16 22:59:00 +00:00
Colin Kuskie
b70ef9d23a Add tests to cover the removal of extensions in the "directory"
parts of the path.  Refactor out the while loop with match and
nested s/// into a single regexp.
2007-12-16 04:13:53 +00:00
JT Smith
1fc11fbda8 Added pluggable URL and content handlers. 2007-12-14 22:08:09 +00:00
Colin Kuskie
d168c809da forward porting url extension bugfix from branch 2007-12-12 05:32:28 +00:00
Colin Kuskie
afcc90b130 Documented a regexp in Session/Url.pm
Add passthruUrls to the list of URLs that are changed by fixUrl.
Wrote a bunch of POD for fixUrl
Changed the regular expressions related to badUrl so they don't need to copy the data.  This
will speed them up.
Fixed a bug where trailing slashes would defeat the badUrl check.
Re-indented according to WGBP.
Added tests to cover all of the changes.
2007-12-11 22:51:31 +00:00
Colin Kuskie
ac6651cdcd forward porting fixUrl bugfix and test 2007-12-11 16:40:05 +00:00
Doug Bell
f966bc572a fix: Auto Request Commit setting creates extra version tag if asset is commited by another process 2007-12-07 23:02:55 +00:00