Commit graph

440 commits

Author SHA1 Message Date
Colin Kuskie
be2b76a7d0 add more POD docs about Asset constructors and instanciators 2008-02-28 22:48:00 +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
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Colin Kuskie
256b52a0d7 Final state and status fixes.
In these three files, any check for status=archived was removed, since
in each case it is possible that the Asset may want to be viewable
when it is archived, like Files, Posts, etc.
Updated Session/Url.t to remove tests for status=archived.
2007-11-22 18:46:17 +00:00
Graham Knop
20e496d002 fix broken SSL redirection 2007-11-13 18:25:26 +00:00
Doug Bell
7e12c6c2f0 merged with SVN to get friends stuff 2007-10-26 00:50:05 +00:00
Doug Bell
f684e728c8 fix: Shortcuts now follow their linked asset when trashing, purging, and restoring from trash 2007-10-05 00:27:14 +00:00
Graham Knop
183242a6ce fix automatic module loading 2007-10-04 18:29:51 +00:00
JT Smith
978be4dc47 fix: Can't add assets when not using preload.perl. 2007-10-04 16:03:45 +00:00
Graham Knop
f8781fede9 setHelp not used anymore, clean up tests 2007-09-21 02:30:12 +00:00
JT Smith
e9a0c29618 rfe: search assets on class without keywords 2007-09-17 23:46:40 +00:00
Doug Bell
adddef9e93 fix: DataForm doesn't show a link to view the entries to those users who can view the entries 2007-09-07 20:23:05 +00:00
JT Smith
2b4f4e8120 API error - definition 2007-09-07 17:59:18 +00:00
Graham Knop
28c30cc5c1 make asset panel obey ui levels 2007-08-24 06:41:47 +00:00
JT Smith
2879033a8d TagCloud (Keywords.pm) 2007-08-14 19:42:11 +00:00
Graham Knop
714757158b Added export to context menu in asset manager 2007-08-14 15:10:50 +00:00
JT Smith
1e9e4d810f fix: purge old asset revisions could purge the most recent revision if the
database had some referential integrity probems
2007-07-30 18:41:39 +00:00
JT Smith
40a4c3c487 fixing bugs reported by tests 2007-07-29 21:26:35 +00:00
JT Smith
66e4b82f8a - Added new registration search and management interface to the EMS.
- Added badge printing support to the EMS.
2007-07-29 16:08:19 +00:00
JT Smith
3affd7add4 Color coded most buttons, green for proceed and red for go back. 2007-07-27 03:50:19 +00:00
JT Smith
350d7f6e01 - api: You may now use a displayOnly attribute in your asset properties list
that will display a field, but is not settable via the update() method.
 - api: You may now use a customDrawMethod attribute in your asset properties
   list that will enable you to add custom display options for that fields when
   the edit form is automatically generated.
 - Added file attachments to the Wiki.
 - Added a new attachments form control.
 - Added a form control skeleton.
2007-07-25 22:22:49 +00:00
JT Smith
2082506efb Added Site Starter to WebGUI Initial Configuration. 2007-07-23 19:44:05 +00:00
Colin Kuskie
7018d38f15 Refactor out the Wobject level www_edit code that switches between Add Wobject and
Edit Wobject into an Asset level method.  Convert Wobject.pm and Snippet.pm to use it.
Build a very bare bones test method for it.
2007-07-20 23:04:43 +00:00
JT Smith
6524a3c815 Asset properties that have default values are now enforced by the API as they always have been by the user interface. 2007-07-19 23:08:02 +00:00
James Tolley
f33e7533f4 copy asset pop-up menu 2007-07-11 00:07:17 +00:00
James Tolley
de4da68884 put the unsubscribe link in the CS notification template 2007-07-10 21:39:11 +00:00