Commit graph

62 commits

Author SHA1 Message Date
Colin Kuskie
f417ddf0b1 Remove dead return code. 2012-08-13 16:17:18 -07:00
Paul Driver
e238f72278 www_copy and www_pasteList Forkified 2010-10-06 08:54:17 -07:00
khenn
053292a75b Added new API method commitAsUser allowing developers to commit version tags as other users 2010-06-03 21:44:29 -05:00
Colin Kuskie
a03e13ea4d When a version tag is deleted, delete it's workflow instance, if it exists. Fixes bug #11544. 2010-05-10 10:38:15 -07:00
Paul Driver
1a77fce843 make it impossible to have a locked working tag 2010-04-16 15:24:34 -07:00
Colin Kuskie
a866f143d0 Fix bug 11098. Create a VersionTag method that only clear the session for a single user. 2009-10-07 08:51:05 -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
Henry Tang
fe99aa7665 Fixed version tag modes bug #10689 2009-08-07 18:02:25 +00:00
Martin Kamerbeek
0f70c99873 Fixed a bug where VersionTag->get would return unsafe copies. Also added tests for this. 2009-07-15 06:50:33 +00:00
Colin Kuskie
7b5cf7518c Add progress bars for rollback, trash and their www methods. 2009-06-24 22:30:41 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Henry Tang
185a4c79de Updated comments (removed reference to AMH). Put SQL statements for upgrade 2008-11-07 14:33:55 +00:00
Henry Tang
d24714b2f5 AMH: implemented support for user override of versionTagMode 2008-10-31 14:57:50 +00:00
Henry Tang
d22214e0dd AMH: implemented version tag modes as site settings, removed autoRequestCommit setting 2008-10-31 14:57:39 +00:00
Graham Knop
26790fd1dd fix some issues with autocommit 2008-10-23 10:20:53 +00:00
Graham Knop
99a9da626d rfe #640: Refactored autocommit and autocomment
Autocommit assets like CS posts or Calendar Events can now be added before the
parent is committed.  They will go into the same version tag as their parent.
2008-10-22 16:04:10 +00:00
Kaleb Murphy
7e368c329c Fixed workflow checks on spectre so that workflows only error if they are a non realtime or failed realtime and spectre is down. 2008-10-21 21:02:57 +00:00
Kaleb Murphy
77913e956b RFE 549 commits now check for spectre connectivity before commiting and a new macro for showing spectre status. 2008-10-21 16:54:00 +00:00
Colin Kuskie
02acf13d48 revert back to key scanning until there is a better way to get column names from the db 2008-06-12 20:23:18 +00:00
Colin Kuskie
9cb3b26984 remove debug code from VersionTag 2008-06-12 17:44:29 +00:00
Colin Kuskie
b09009c252 use exists instead of iterating over all keys and doing string comparisons 2008-06-12 17:41:53 +00:00
Colin Kuskie
70e50ca329 revert the patch that checked spectre and canceled the commit if it could not talk to it 2008-06-05 04:37:04 +00:00
Frank Dillon
9d7adffefc Added Changes to allow start/end times to be set for version tags 2008-05-31 01:12:38 +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
01d9af6222 The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately. 2008-05-03 05:38:13 +00:00
Colin Kuskie
a21e710c72 um, add enough POD to by syntactically correct 2008-02-09 22:52:31 +00:00
Graham Knop
fb81012d1a fix rolling back version tags with an asset with a later revisionDate than a child 2008-02-08 02:10:46 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +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
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
9233864868 my sneaky trick didn't work 2007-07-24 20:54:02 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
JT Smith
3259da6750 - Added a realtime workflow option for content publishing.
- Added switches to auto request commit operations and skip adding comments.
2007-05-30 16:07:43 +00:00
Colin Kuskie
ec1d8dc2d1 Pre-work for DataForm bug fix.
Added POD to VersionTag.pm showing some of the properties that can be gotten via get.
2007-05-01 21:18:21 +00:00
JT Smith
fc2086e10a - Added better error handling for asset instanciation in version tags. 2007-04-17 18:43:07 +00:00
JT Smith
a0a055296b fix: Closed Posts Displaying in CS 2007-01-05 15:52:25 +00:00
JT Smith
282e1caacd - Made a change to version tag commits to deal with unusually long commit
times.
2006-11-09 20:57:53 +00:00
JT Smith
0e7711c279 fixing a little problem i created yesterday 2006-11-08 18:53:51 +00:00
JT Smith
9791c99d3b Uncommitted Collaborations and adding threads 2006-11-07 23:46:19 +00:00
JT Smith
6c24ea7aeb - Fixed a bug that caused workflows to fail if collaboration systems and
posts for that CS were in the same version tag at commit time.
2006-10-19 16:36:59 +00:00
JT Smith
51280b0b38 Rearranged the autotag name creation to be easier to read. 2006-10-02 17:29:00 +00:00
JT Smith
3f45819b49 fixed a bug that would only happen when you tried to deploy a package that contained collaboration systems with posts 2006-09-22 18:09:08 +00:00
JT Smith
b81d7cd974 fixed a typo in pod 2006-09-21 00:22:59 +00:00
Colin Kuskie
00de81868b Two bugs in rollback.
The check for rolling back the pbversion0000000000001 tag wouldn't log any
errors because it was after the return 0 statement.

If a set of assets that were programmatically generated were rolled
back, and the assets had a parent child relationship then there's
a race condition that could cause the parent to be purged before
child.  Since purging the parent _also_ purges the child, the system
would try to purge the child twice and this causes a fatal error.
Programmatically generating the assets causes their revisionDates
to be the same, and that causes the return order of the assets to
be uncertain.

The solution is to generate the list of assets to be rolled back
by revisionDate _AND_ lineage.  This guarantees that children are
purged first.

This bug was exposed in t/Macro/RootTitle.t  However, the bug
seems to be system dependent since the revisionDate depends on how
fast the system can create assets.
2006-07-28 23:40:06 +00:00
JT Smith
03b4b0ed33 - fix: Head Block in styles
- fix: select assetVersionTag
 - fix: Infinite recursion
 - fix: assetUiLevel override broken
 - fix: Indexing files failes (derck)
 - fix: Unable to approve New listings on Matrix
2006-07-25 17:15:57 +00:00
JT Smith
19e4da7a92 collaboration system posts now work fully with the workflow engine, including the approval denial process 2006-03-30 23:43:32 +00:00
JT Smith
299dd5aa09 converted cs to use workflow engine for moderation 2006-03-30 03:52:18 +00:00