Commit graph

56 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
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
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
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
JT Smith
b476dcc1b0 fixed a bug in the auto start realtime 2008-06-10 20:11:05 +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
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
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
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
JT Smith
1b4022205a converted workflow system to use WebGUI::Pluggable 2008-01-04 19:15:13 +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
7f87da35f6 fix: workflow engine reporting "error" in status screen even when it's
"waiting"
2007-09-20 00:17:03 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
4de39b7fe5 forward port of getAllInstances fixes, so that it never returns undef but logs warnings instead 2007-06-22 17:55:25 +00:00
Colin Kuskie
016b8a72b8 add missing use line 2007-05-30 21:31:11 +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
Doug Bell
fe5bc93a52 Added an error message to SQLForm if we can't find the privileges of the database link
fix: Sometimes the error message for the Calendar Update Feeds is part of the content response.
fix: Serial workflows no longer get held up in the queue
2007-05-02 20:05:31 +00:00
JT Smith
b19bf14389 - Simplified Spectre's initial data load, and reduced memory footprint in the
process.
2007-02-01 18:48:23 +00:00
JT Smith
2ea58485c9 - Added an option to override the session cookie name. 2006-08-04 15:16:18 +00:00
JT Smith
35e0a63262 - fix: spectre
- fix: Spectre tries to delete the same workflow instance twice
 - Fixed part of the Spectre memory leak. See gotcha.txt for details.
2006-07-20 00:55:05 +00:00
JT Smith
255ec42344 switcharoo on debug and info 2006-06-09 17:24:06 +00:00
JT Smith
a3b9509090 bug fixes to make webgui work with the wre demo system 2006-05-15 00:23:54 +00:00
JT Smith
d24ac0b273 fixing a problem with hex and JSON
gettign rid of the migration.txt script, because it's now published on the site instead since all changes are complete
2006-05-03 00:11:54 +00:00
JT Smith
f0bb16fb0b added a screen for displaying the status of running workflows 2006-04-30 18:54:05 +00:00
JT Smith
dc1a0c7703 added a user form field type 2006-04-23 23:50:40 +00:00
JT Smith
b43cb6aaeb changed the old isSerial to isSingleton and created a new isSerial that would do what you'd expect 2006-04-22 21:59:15 +00:00
JT Smith
a7df0f7a55 fixing some bugs relaed to cs mail replies
fixed a bug in the user manager where the user would take on the username/alias of the visitor
fixed a bug in error handling where debug was being spewed for errors in approriately
2006-04-11 22:50:11 +00:00
JT Smith
9ef6621cc3 some more ui improvements
updated the wg
fixed some more cs mail bugs
2006-04-11 02:07:14 +00:00
JT Smith
1f6a6a2ba1 several bug fixes 2006-04-10 03:47:39 +00:00
JT Smith
eef3a0b654 getting closer to having approvals work 2006-03-23 00:01:35 +00:00
JT Smith
62101408ed oops, accidentally broke workflow...fixed now 2006-03-20 15:45:51 +00:00
JT Smith
0ee2d2ad66 more workflow bug fixes 2006-03-19 22:26:46 +00:00
JT Smith
9dac1d5178 a couple small bug fixes 2006-03-19 21:50:49 +00:00
JT Smith
524ea87d36 cron officially works!!! 2006-03-19 20:25:52 +00:00
JT Smith
2467dc32dc better queue for workflow 2006-03-19 16:51:21 +00:00
JT Smith
9b9b63cc12 fixed several workflow/spectre related bugs 2006-03-18 23:25:31 +00:00
JT Smith
ccf1b3633f workflows now run, but with errors, must fix that next 2006-03-18 17:40:49 +00:00
Wouter van Oijen
34782a784b Fixed error 2006-03-17 16:01:07 +00:00
JT Smith
71b2634741 adding debug to spectre 2006-03-16 23:32:18 +00:00