Commit graph

249 commits

Author SHA1 Message Date
Frank Dillon
a30520e871 removed irritating debug messages 2008-11-19 06:33:34 +00:00
JT Smith
bc5fd3c727 - Added a wait timeout parameter to the WAITING method, so that Spectre
doesn't have to check something that the workflow activity knows it will 
   have to wait on for a while.
 - Added --stop and --start aliases to spectre.pl.
2008-11-19 01:15:31 +00:00
Graham Knop
f362a72210 fixed: Get CS Mail workflow doesn't commit version tags created 2008-11-18 16:11:23 +00:00
Colin Kuskie
b2f641e723 refix the Workflow bug the correct way 2008-11-17 03:05:41 +00:00
JT Smith
2a7ffdc7fe a little better handling of scratch variables 2008-11-12 21:17:53 +00:00
Graham Knop
151e705286 Backing out Survey for now 2008-11-12 02:40:27 +00:00
Colin Kuskie
3af1b41542 fix i18n typos in NotifyAboutThing.pm 2008-11-08 20:18:36 +00:00
Kaleb Murphy
1dd08e25c9 The new survey is here. Make sure to wg-reset your test instances to get the new DB schema. 2008-11-06 20:48:18 +00:00
JT Smith
ef6aedc862 - The Syndicated Content asset was rewritten, and now uses 35% less memory and is 400% faster. 2008-11-06 02:32:10 +00:00
Doug Bell
18585200a7 fixed 8899 and 8891: Calendar feeds cause edit screen to fail and Calendar still pull feeds from the trash 2008-10-28 17:10:06 +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
Colin Kuskie
20c8ff13ca fix POD whitespace problem 2008-10-22 15:52:32 +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
Chris Nehren
921ee1ab96 Added the NotifyAboutThing workflow activity. Use this activity to create
workflows for the add / edit / delete workflows for a thingy's things.

Also fixed a typo in the POD for Thingy.
2008-10-20 20:00:51 +00:00
Colin Kuskie
71bfc31147 fix more broken i18n 2008-10-19 03:32:59 +00:00
Graham Knop
05a01201ff clear out some compile warnings 2008-10-01 22:43:29 +00:00
Frank Dillon
b607f625a5 Fixed a bug that would not have a subject in the email response error if for some reason the from address is empty and visitors cannot post to the CS 2008-09-26 13:06:11 +00:00
Colin Kuskie
57029b2a65 encode parameter JSON with canonical so that it is consistent 2008-09-18 21:44:55 +00:00
Kaleb Murphy
b9d7008001 Removed unused param to create sub $skipRealtime 2008-09-17 01:37:02 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Colin Kuskie
586164d8d0 rfe: VIM perl mode for skeletons 2008-09-16 22:28:17 +00:00
Doug Bell
46a6d404bf rfe: Added logged in time to Login History 2008-09-16 18:16:20 +00:00
Colin Kuskie
0c62ee3666 Add more tests, and fix the POD documentation for the new method. 2008-09-13 04:30:32 +00:00
Colin Kuskie
5689c08bbc Fix multiple bugs related to Singleton workflows:
Can't use undef in a where clause.
    Have to use the same JSON encoding in all places.
Added tests for singleton workflow instances.
2008-09-12 22:59:43 +00:00
Colin Kuskie
d94fb4460b Update Workflow/Instance.pm POD and one info message 2008-09-11 20:04:11 +00:00
Colin Kuskie
b65c7d4d12 check for valid data before decoding from JSON, undef still exists 2008-09-07 23:15:14 +00:00
Colin Kuskie
cbc830123a RFE: Add workflow that checks all products to see if they are close
to a user configured level, and email a group to let them know that
they are close to being out of stock.
2008-09-07 23:14:42 +00:00
Colin Kuskie
f566ccd5c3 rolling back 7389, since it seems to be causing problems with spectre 2008-09-04 04:14:18 +00:00
Colin Kuskie
4ab8102d63 set a default parameter hashref if none is passed to the set method of Workflow::Instance 2008-09-02 01:30:24 +00:00
Colin Kuskie
63a80e00ff fix double my in DeleteExportedFiles 2008-08-31 00:09:59 +00:00
Colin Kuskie
726bd5ee05 Export a method from Workflow::Activity for timeouts and use it in all current Workflows 2008-08-30 20:34:52 +00:00
Colin Kuskie
85ecaa9a09 Document that WAITING is for requeueing yourself. 2008-08-30 18:08:12 +00:00
Colin Kuskie
4e7130bee0 $limit not used in the query anymore, but it is used
to determine if the activity is done or not.
2008-08-26 15:32:17 +00:00
Doug Bell
afbc42dba3 fixed: PurgeOldInboxMessages just didnt work 2008-08-25 21:32:26 +00:00
Graham Knop
6357356355 prevent WebGUI from contacting Spectre needlessly for realtime workflows 2008-08-11 21:52:00 +00:00
Graham Knop
52ebbb05d5 better detection and logging for singleton workflows 2008-08-01 20:34:00 +00:00
Doug Bell
557775bb38 added some more information to an error message. 2008-07-10 16:26:04 +00:00
Graham Knop
3979d9c2e5 optimized PurgeOldInboxMessages workflow 2008-07-09 20:50:45 +00:00
JT Smith
b476dcc1b0 fixed a bug in the auto start realtime 2008-06-10 20:11:05 +00:00
Doug Bell
614b37e31d added: Two new approval activities, byLineage and byCommitterGroup
added: Show a message to users when they log in
fixed: Gallery search form doesn't work right in IE6
fixed: Minor bug in new gallery approval handling
2008-06-02 21:16:06 +00:00
Frank Dillon
aeb246aec3 Workflow Activity which waits until the start or end time of a version tag is reached before continuing 2008-05-31 01:14:04 +00:00
Martin Kamerbeek
156252af6e Fixed ExpireSubcriptionCode workflow activity to use the new system.
Added code to remove the ProcessRecurringPayments workflow activity from the config file.
2008-05-28 21:56:58 +00:00
JT Smith
4cfafd7c23 getting rid of even more stuf i forgot of in the commerce system 2008-05-28 18:57:25 +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
6a6886c818 throw warn instead of error 2008-05-07 15:05:30 +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
JT Smith
51019e5dca started migrating ems data 2008-05-03 03:42:57 +00:00
Doug Bell
aae6a32df4 added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again 2008-04-28 02:07:56 +00:00
Doug Bell
98992b8920 - added: Inbox is now pruned after 1 year
- Added about a hundred tests for Collaboration system, Post, and Thread 
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be 
usable now.
2008-04-26 02:23:10 +00:00
JT Smith
5fb4807edc merging commerce branch back into head 2008-04-20 18:08:26 +00:00