Commit graph

271 commits

Author SHA1 Message Date
Colin Kuskie
30d171515a Optimize the Bucket analysis for speed.
Optimized in 3 ways.
1) Local caching and compiling of all regexps.
2) URL level bucket caching
3) Tweaked canShowDebug to speed it up.  This was ported back
   to the core.
2009-03-04 13:25:32 +11:00
Colin Kuskie
a0623c84ab If userId=0, then do not send emails when the workflow is done. 2009-03-04 13:24:24 +11:00
Colin Kuskie
c5bf65fdd8 Remove 45 second sleep used for testing. 2009-03-04 13:24:24 +11:00
Colin Kuskie
0b0962096e Real PA status, as described in the RFE. 2009-03-04 13:24:24 +11:00
Colin Kuskie
fa9a7ca87f Bucket activity now clears deltaLog based on settings.
It also logs that the log was deleted, and adds that to
the email that is sent out.
2009-03-04 13:24:23 +11:00
Colin Kuskie
aa6367d459 Bug fixes: sticky delta time and dropped 1st entry.
Make the delta time interval sticky in the form where the
workflow is launched.  Also, fix a bug where the first line
of data is dropped because the statement handle was read
twice.
2009-03-04 13:24:23 +11:00
Colin Kuskie
92841f2bf5 Must use stringy GUIDs to compare in Summarizer. 2009-03-04 13:24:23 +11:00
Patrick Donelan
f1968c9d40 passiveLog entry should land in the first bucket that matches, not all
buckets that match.

Added help info about escaping meta-characters in regexps.
2009-03-04 13:24:23 +11:00
Colin Kuskie
3de4e4ac87 Fix the name of the SummarizePassizeAnalytics workflow. 2009-03-04 13:24:23 +11:00
Colin Kuskie
eb844fd26e Add Passive Analytics modules, Workflow Activites, i18n and content
handler.
2009-03-04 13:24:23 +11:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
c1155d9ab9 Make sure that the URLs are set before comitting posts made from CS emails. 2009-02-15 01:25:48 +00:00
Graham Knop
bf9bd2f0d2 use proper JSON encoding/decoding 2009-02-10 21:41:36 +00:00
JT Smith
be42bb0856 - Added a switch to allow the use of non-WebGUI objects with the Workflow
engine.
2009-02-08 21:20:32 +00:00
Colin Kuskie
787697adce Add stub POD to these modules to get them to pass the POD test. 2009-01-26 23:35:51 +00:00
Colin Kuskie
08db6b5036 Emails sent about low stock should have status unread, not completed. 2009-01-19 18:45:05 +00:00
Colin Kuskie
da39f70f49 Remove the warnings pragma 2009-01-02 22:32:54 +00:00
JT Smith
c9dda0412c better pod 2008-12-18 23:10:41 +00:00
Colin Kuskie
5381f3038d Forward port graceful handling of the deletion of the Auth LDAPLink. 2008-12-15 22:59:25 +00:00
Colin Kuskie
415221fb4d Forward port Calendar location field fix in ical. 2008-12-09 04:29:22 +00:00
Colin Kuskie
aabec44de8 Forward porting singleton warn vs error for Cron. 2008-12-08 19:21:12 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
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