Commit graph

232 commits

Author SHA1 Message Date
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
Chris Nehren
684ce5a7ca The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
JT Smith
02c24aa44a fixed more c2 bugs
added a workflow activity that removes EMS items from the cart if they've been in there too long
2008-04-09 22:48:15 +00:00
JT Smith
3f283d7df5 fix: Syntax error in GetCsMail 2008-04-04 00:46:57 +00:00
Graham Knop
b6d66e6daf typo 2008-04-03 14:53:39 +00:00
Graham Knop
357b2b3c5c improved behavior of CS mail message filtering 2008-04-01 14:42:42 +00:00
Graham Knop
9ed284beec use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
Graham Knop
16f541276e fixed: Unable to communicate with Spectre under alternate locales 2008-03-28 23:49:01 +00:00
Graham Knop
b65defdf03 fixed: Syndicated Content URLs using macros not updated by caching workflow 2008-03-25 20:53:03 +00:00
JT Smith
e4d76f0b3b very close to having ship driver management working 2008-03-08 00:11:09 +00:00
Colin Kuskie
b1990836d0 Refactor out the getEditForm code from WebGUI::Workflow::Activity and
put it into HTMLForm.  Now HTMLForm can generate dynamic, definition
based forms for WebGUI.
2008-02-24 04:04:36 +00:00
Doug Bell
4b82481594 changed User.t and Group.t to use a less used ip address to make tests pass on my network that uses 192.168.0.0/16\
fixed a logic bug in WebGUI/Workflow/Cron
2008-02-18 06:08:16 +00:00
JT Smith
e40881c861 additional health check 2008-02-15 21:26:56 +00:00
JT Smith
1f5e3ffcad faulty ref check 2008-02-15 18:05:49 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
0a17df8174 fixed problem with JSON sanity checking 2008-02-01 17:48:43 +00:00
Colin Kuskie
63668be0d0 Alter Workflow::Instance and Cron to return empty hashrefs instead
of undef.
Fix JSON handling in Commerce::Transaction->shippingOptions.  This probably isn't a problem
now since it is never called as an accessor.
2008-01-31 05:34:12 +00:00
Colin Kuskie
ada1a76b87 Make same change as in Workflow::Cron in Workflow::Instance. 2008-01-31 05:00:31 +00:00