Doug Bell
0f9500b2cc
fix my tyops
2010-08-06 18:05:03 -05:00
Doug Bell
a13fee07a0
add getRevisionDates method
2010-08-06 17:50:28 -05:00
Scott Walters
483acbc382
Revert "Calls to set() and update() set attributes as well as "properties"."
...
This reverts commit 57fe0721ab .
2010-05-31 14:39:36 -04:00
Scott Walters
57fe0721ab
Calls to set() and update() set attributes as well as "properties".
...
Fixes t/Keywords.t number 11.
2010-05-27 22:26:37 -04:00
Colin Kuskie
9a9b33b4b3
Double my creates old version tag that is not found outside the scope.
2010-04-19 14:12:22 -07:00
Colin Kuskie
43413fe75c
Put back the skipNotification property into Asset.
2010-04-19 11:00:45 -07:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
953df9d6a9
Remove a bunch of circular dependencies, based on using WebGUI::Asset::Template
2010-04-07 15:03:48 -07:00
Colin Kuskie
a9f46c7443
More wg8 constructors in AssetVersioning.
2010-02-04 15:31:43 -08:00
Colin Kuskie
d66b3b891b
Make revisedBy a property, so it gets written on ->update. Change addRev not to write to the db when it does not need to. Update tests to verify that addRev does the right thing for tagId and revisedBy.
2010-01-25 22:49:22 -08:00
Colin Kuskie
451eb33f0f
Fix requestAutoCommit. All tests in t/Asset/Asset.t passing.
2010-01-22 15:10:23 -08:00
Colin Kuskie
8b52d3ff76
rework addRevision to work with Moose.
2010-01-15 16:59:01 -08:00
Colin Kuskie
1331bf9828
Remove more instances of direct hash access for properties.
2010-01-14 10:31:38 -08:00
Colin Kuskie
bf097ac337
Since assets are always created with defaults now, no need to introspect. Also, remove white space in "empty" lines.
2010-01-13 11:15:25 -08:00
Colin Kuskie
a8f251a5f2
Sessionize addRevision
2010-01-13 10:31:22 -08:00
Colin Kuskie
ce3edcf743
Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/;
2010-01-04 15:34:24 -08:00
Colin Kuskie
310c0add71
When addin a child under a parent that is not committed, adopt the parent's version tag. Fixes bug #11295
2009-12-15 14:25:02 -08:00
Colin Kuskie
fc68756975
Update tests for changes to skipNotification.
2009-11-05 16:30:17 -08:00
JT Smith
377c49d141
fixed a bunch of bugs...almost working
2009-10-23 11:07:02 -05:00
JT Smith
3938f9ff0d
removed last remnants of old definition
2009-10-22 17:00:45 -05:00
Colin Kuskie
d3e7f50e8f
Document order of revisions returned by getRevisions.
2009-10-21 10:23:49 -07:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Doug Bell
5c03cfbfbe
fixed #10544 : Child assets under uncommitted parents
2009-10-02 01:03:34 -05:00
Colin Kuskie
18a52b9aa2
Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
...
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Colin Kuskie
b7358fbceb
Forward port fix for updating property cache on editSave with autoCommit
...
so that the asset does not lie about its autocommit status.
2009-07-08 04:29:27 +00:00
Colin Kuskie
f0eaa51d3a
If adding an asset is added to another asset with an open version tag, put the
...
new asset in that version tag, too.
2009-06-23 19:32:40 +00:00
Colin Kuskie
61b4e1e826
Never delete an asset property key.
2009-06-20 00:16:34 +00:00
Colin Kuskie
b9b7066a1d
Update local property cache when performing version tag operations an $self.
2009-06-19 18:20:14 +00:00
Doug Bell
1d6831d055
merged 10739
2009-05-13 02:02:31 +00:00
Doug Bell
7a1d96f752
fix bug with packed extra head tags
2009-05-07 17:27:56 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Colin Kuskie
1c8dbfe5b4
fix POD related to asset mixin classes, Asset*.pm
2008-11-24 22:22:39 +00:00
Kaleb Murphy
d9c050423f
When you move an asset to a new version, only the current version is moved, instead of all of them.
2008-11-12 15:51:23 +00:00
Doug Bell
c7e2a131b3
rfe: Add Edit button to Manage Revisions page
2008-09-16 22:00:49 +00:00
Frank Dillon
58f231c87b
Better info for Assets that require commit before adding children. Add link is always availiable now, an error message is displayed if you try to post a child to an uncommitted parent. Additionally a new method was added to AssetVersionion.pm to determine whether or not an asset has been committed.
2008-09-16 20:08:15 +00:00
Colin Kuskie
847fcfcef3
rfe: add url column to assetHistory table
2008-09-15 16:46:06 +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
844f3b14ae
forgot to check for undef in properties
2008-08-14 21:32:02 +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
Doug Bell
ab0b1b2200
- add: Move revisions from one version tag to another
...
- add: Delete multiple revisions from a version tag at the same time
- add: Approval activities now have a better parent class and more
flexibility (multiple groups to approve, do on approve)
- fix: weirdness in upgrade file
2008-05-20 03:10:50 +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
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
Doug Bell
fb33859cc6
fix: when upgrading, two revisions of same asset in same second broke upgrade
2007-12-13 20:13:27 +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
Graham Knop
f8781fede9
setHelp not used anymore, clean up tests
2007-09-21 02:30:12 +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
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