Commit graph

90 commits

Author SHA1 Message Date
Colin Kuskie
21f9af32d2 Remove Clone from Spectre, too! 2012-11-16 09:34:21 -08:00
Colin Kuskie
e6ab688751 If a sitename is passed, filter based on sitename for spectre status. Fixes bug #11541. 2010-05-10 09:57:17 -07:00
Doug Bell
defc82198d fix 11507 Spectre Reports wrong workflow count 2010-03-31 12:32:17 -05:00
JT Smith
33f038359e Fixed a compatibility problem between WRE and new Spectre code. 2009-11-04 00:39:27 -06:00
JT Smith
bb4d7ab4a9 fixed the remaining bugs to make new spectre guts compatible with old subsystems 2009-11-03 15:45:28 -06:00
JT Smith
ba8ebc47d4 fixed bugs from rewrite 2009-11-03 14:44:21 -06:00
JT Smith
d14a93f399 converted to hash queue 2009-11-03 14:20:29 -06:00
JT Smith
4e00b2fa03 changed queue to hashref 2009-11-03 12:18:10 -06:00
JT Smith
630f1b0537 changed queue to an array 2009-11-03 12:04:24 -06:00
Colin Kuskie
7b4572ae34 Make spectre wait a little bit between submitting CRON jobs to be run. Fixes bug #11093 2009-10-20 17:22:27 -07:00
Graham Knop
de8b85c669 silence compiler warning 2009-08-11 17:08:32 +00:00
Colin Kuskie
f8b8f9da37 Forward porting spectre stop fix. Moved from IKC to interrupt based. 2009-07-29 23:30:52 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +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
b02b4823ff fixed: Scheduled workflows based on day of week run on wrong day 2008-08-19 17:36:11 +00:00
JT Smith
05aa0925aa - fix: Trapped an exception for corrupt config files. 2008-04-09 18:14: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
Colin Kuskie
0f99877bd5 More diagnostic info for failing to parse JSON data returned by WebGUI. 2008-01-31 04:52:56 +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
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
Chris Nehren
a7c0ff0dec Fix backwards compatability with existing code. Update the tests accordingly. 2007-11-05 20:10:42 +00:00
Chris Nehren
8688604ea4 Lots of fixes.
1. Restore original getJsonStatus functionality of returning data for just one
site, if sitename is passed.
2. Add a few comments to Spectre::Workflow::getJsonStatus to help explain what's
going on, and also add some whitespace to separate the code into logical pieces.
3. Add tests for this functionality, doubling the number of tests for
getJsonStauts to 20.
4. Per Colin's suggestion, use isa_ok rather than cmp_ok(ref ... , eq 'TYPE',
'...').
5. Fix broken indentation in a for loop.
6. Change for loops to foreach to be consistent with the rest of WebGUI.
2007-11-05 16:56:09 +00:00
Chris Nehren
dd53243b08 Fixups for the tests. I moved the nested key checking into a TODO block. I'm
not sure how to handle them, as they may / may not exist in the %output hash.
Sometimes they'll pass, sometimes they won't, depending upon the time you run
it and the status of Spectre overall.
2007-11-02 19:12:16 +00:00
Chris Nehren
3e2bad5cb4 Work towards having Spectre::Workflow::getJsonStatus return information about
all sites, needed for munging workflow monitoring into wremonitor.pl.
2007-11-02 18:08:20 +00:00
Graham Knop
0dab843407 better error messages from spectre 2007-10-05 15:55:10 +00:00
JT Smith
18b5da96d3 - Fixed a bug where crons wouldn't load into spectre's queue at startup.
- Fixed a bug in the Collaboration System where posts from the Safari browser
   would be submitted without changes.
2007-07-30 14:35:59 +00:00
JT Smith
1a3165e6ee better error handling 2007-07-06 19:00:31 +00:00
Colin Kuskie
00c91f1ad0 fix bad whitespace before POD directives 2007-07-01 16:47:44 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
James Tolley
60eeebdba9 spectre/workflows/priorities RFE 2007-06-26 23:48:41 +00:00
Graham Knop
c4ac66ce09 fix: spectre fails on Admin.pm because of env_proxy 2007-05-22 19:23:35 +00:00
Graham Knop
acc2be1f6b Added more detailed errors when spectre isn't able to connect to WebGUI. 2007-05-21 12:06:29 +00:00
Colin Kuskie
98e5d9ea56 spectre skips sundays due to an off by 1 diff between cron format and DateTime->dow 2007-03-12 15:26:21 +00:00
JT Smith
7db41c6c76 added a "last run time" column to the status output 2007-02-09 15:22:32 +00:00
JT Smith
3122e9e58f enhanced the status screen even more 2007-02-02 04:50:15 +00:00
JT Smith
533a128d52 improved the status report for spectre workflow 2007-02-02 01:57:46 +00:00
JT Smith
f92fe7786d - Added a basic status interface to spectre, for troubleshooting. 2007-02-01 21:50:47 +00:00
JT Smith
0ee42f1060 - fix: Spectre needs to be restarted every day 2007-02-01 21:34:28 +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
05c9bf85c4 fix Admin.pm 2007-01-30 21:50:13 +00:00
JT Smith
237c2213e9 fix: Spectre needs new watch batteries 2007-01-30 21:42:18 +00:00
JT Smith
e22c679421 - Removed the need for DateTime::Cron::Simple, which also added the ability
to use ! < and > in schedules.
2006-09-30 19:29:47 +00:00
Martin Kamerbeek
6f86645097 fix: Spectre::Admin Error Message 2006-08-29 14:13:14 +00:00
JT Smith
2ea58485c9 - Added an option to override the session cookie name. 2006-08-04 15:16:18 +00:00
JT Smith
07301c12bd few more bug fixes and preparing for 7.0.3 release 2006-07-26 20:05:43 +00:00
JT Smith
f420103b2e - fix: Shopping Cart Not Working
- fix: Editing Products Template wipes out SKU
 - fix: Email to RFE List Going to Spam
 - fix: 7.0.0-7.0.1 upgrade -- op called w/o passing session
 - fix: spectre.pl daemon error
 - Changed the Spectre tests to be a seperate option on the spectre.pl command
   line, which fixed a problem with the WRE monitor, and also enabled us to
   add more complete connectivity testing.
2006-07-24 20:00:53 +00:00
JT Smith
6864750168 oops, left in some debug 2006-07-20 00:56:59 +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