Commit graph

96 commits

Author SHA1 Message Date
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
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
Graham Knop
75d9a3f08a Allow editing previous revisions of assets in the current version tag 2007-07-24 19:15:23 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
ec569fdd6a make getRevision return revisions in order or revisionDate 2007-03-12 03:06:47 +00:00
JT Smith
f43fb782f4 - Changed Manage Revisions screen to order revisions by descending revision
date.
2007-03-08 17:19:00 +00:00
JT Smith
e594cb3d6c - Fixed a problem where you couldn't upgrade directly to 7.3.9 from versions
earlier than 7.3.8.
2007-02-15 23:27:09 +00:00
Frank Dillon
52e413ad71 added skipNotification flag to addRevision method 2007-02-02 21:24:29 +00:00
Doug Bell
6e8547169a fixed changelog and some formatting issues 2007-02-01 20:24:00 +00:00
Colin Kuskie
fe39696e79 fixing whitespace issues with POD 2007-02-01 17:13:41 +00:00
Doug Bell
d6be45a1c0 Updated docs for AssetVersioning, WebGUI::DateTime
Added some Help/i18n for Calendar
Fixed some Asset::Event formatting issues
Step one in fixing AssetExportHtml
2007-02-01 16:36:48 +00:00
JT Smith
02622ea55c - fix: notifications from postings
- Refactored the autocommit system to fix the notifications bug above.
2007-01-17 21:34:49 +00:00
JT Smith
430583ef1c fixed a couple of bugs with the new autocommit functionality for cs posts and the like 2006-12-07 00:17:54 +00:00
JT Smith
eb580be7f1 removing the autocommit jury rig that posts and wikipage's were using 2006-12-06 17:35:36 +00:00
JT Smith
5800dc1596 very close now 2006-12-05 02:14:11 +00:00
JT Smith
0e7711c279 fixing a little problem i created yesterday 2006-11-08 18:53:51 +00:00
JT Smith
aeba6ec83c merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
Drake
aac32d24bd Multiple enhancements:
- Perform RFE "js-confirmation-operation/user.pm".
  - Perform RFE "js-confirmation-operation/group.pm".
  - Perform RFE "locked-by-who".
    (Displays in title and alt of img, but not in body text.)
2006-08-29 16:49:25 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
5ff84c5fef preparing for 6.99.4 release 2006-06-16 16:46:16 +00:00