Commit graph

308 commits

Author SHA1 Message Date
Graham Knop
9f2db435ba prevent Workflow from trying to run an activity if it didn't get an object 2009-09-09 01:16:49 -05:00
Graham Knop
6f3980a9c9 fixed #10838: Forwarded forum post email to new CS adds reply to original thread 2009-09-01 22:40:08 +00:00
Colin Kuskie
22d462166f Move Calendar feeds into the Calendar Asset table as JSON collateral.
Update tests and workflows to follow.
2009-08-26 22:14:04 +00:00
Patrick Donelan
808a558ec8 Minor bug fix for ExpireIncompleteSurveyResponses
Removed unnecessary sql clause from ExpireIncompleteSurveyResponses
workflow activity
2009-08-17 10:10:48 +00:00
Colin Kuskie
072aee2f38 Remove debug code from RemoveOldCarts workflow. 2009-08-10 15:24:13 +00:00
Patrick Donelan
146373937d Fixed two new Survey bugs
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).

* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it  to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
2892aedf71 Forward porting iCal end day date math fix. 2009-08-03 23:06:14 +00:00
Colin Kuskie
aa65b6ca22 Fix a common misspelling of the word definition, in POD. 2009-07-10 21:04:41 +00:00
Colin Kuskie
c30614bdf6 Forward porting fixes for iCal escaping and unescaping, and line wrapping. 2009-07-01 22:18:57 +00:00
Colin Kuskie
755d7909a5 Fix iCal processing in the Calendar module and workflow. Errors with
generation and processing.
2009-06-30 15:43:40 +00:00
JT Smith
7961ff0cac Stats now send over SSL rather than straight HTTP. 2009-05-26 21:33:53 +00:00
Colin Kuskie
1e52f21fcb Fix errors in the getInstancesForObject and code that used it. 2009-05-21 15:20:25 +00:00
Colin Kuskie
c6a0abe8c1 Remove a duplicate subroutine and some syntax problems. 2009-05-21 15:13:26 +00:00
Graham Knop
8b86d56ec0 added: Activate, Deactivate, Delete User workflow activities 2009-05-21 14:49:28 +00:00
Graham Knop
edf1794a33 some additional methods on WebGUI::Workflow::Instance 2009-05-21 14:49:19 +00:00
JT Smith
716bc78db9 typo causing data to not send 2009-05-14 20:28:43 +00:00
JT Smith
b6da052e08 - Added the WebGUI stats system, which will allow site admins to submit
information about their site to a central repository on webgui.org which 
   help the developers make WebGUI better.
2009-05-14 19:42:37 +00:00
Stephen Opal
cb5207c268 Add retain last login yesNo option. If configured to retain, workflow will determine if
the last login would be removed from the login history and will skip deleting that entry.
2009-05-13 17:14:09 +00:00
Graham Knop
121d3683e2 fix Thingy Record expiry workflow activity 2009-05-07 15:42:58 +00:00
Doug Bell
bc2ed6a3c1 added #9289: Extending the "Request Approval For Version Tag" activity (Bernd Kalbfuß-Zimmermann) 2009-04-30 18:02:25 +00:00
Colin Kuskie
19f703dc9b Merge with HEAD, 10472 2009-04-24 17:12:17 +00:00
Graham Knop
3d35cbfc8e fix syntax and help issues 2009-04-23 16:22:28 +00:00
Graham Knop
41c92199ac restore original user when running workflows 2009-04-23 16:22:07 +00:00
Doug Bell
70fc3e2d11 missed some files 2009-04-19 02:10:50 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00
Colin Kuskie
60a3906b05 Add a creation date to the Cart.
Use that date to expire carts older than an interval, via a new workflow.
Config file changes, tests, i18n.
2009-04-02 21:58:45 +00:00
Colin Kuskie
c052468a5b Fix POD copy/paste problems. 2009-04-02 18:27:13 +00:00
Colin Kuskie
25acb1acf2 Add a workflow activity for archiving old stories, i18n and tests. 2009-03-25 01:07:28 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Martin Kamerbeek
7f7b85e06a fixed: Commit w/ approval workflow can crash under race conditions resulting in permanently locked content. 2009-03-13 10:15:29 +00:00
Graham Knop
a7b6754a19 fix i18n usage 2009-03-12 21:50:55 +00:00
Patrick Donelan
e93f02c16b Merge branch 'passive_analytics_without_flux' into master
* passive_analytics_without_flux:
  Added Passive Analytics to upgrade script
  Removed DataTable edits from this topic branch
  Merge branch 'master' into passive_analytics_without_flux
  Added Passive Analytics icon
  Added PASSIVE_ANALYTICS_README.txt
  Added some screenshots
  Optimize the Bucket analysis for speed.
  Test for running benchmarking.
  If userId=0, then do not send emails when the workflow is done.
  And add the logging class.
  Add an enable button, to disable Logging.
  Provide CVS data for all logs.
  Generalized the CSV creation routine, then made wrappers for all log types.
  Remove 45 second sleep used for testing.
  Real PA status, as described in the RFE.
  Tweak the display a little more to make it nice.
  Passive Analytics Workflow status checks.
  Label for regular expression errors on rule save.
  Basic regexp checking for submitted rules.
  Patch HTMLForm to make dynamically generated forms sticky.
  Bucket activity now clears deltaLog based on settings.
  Add admin settings for interval and table cleanup.
  Bug fixes: sticky delta time and dropped 1st entry.
  Must use stringy GUIDs to compare in Summarizer.
  passiveLog entry should land in the first bucket that matches, not all buckets that match.
  Perl code for user selectable columns in the data table.
  Let the user choose which columns get sorted in a DataTable, js changes.
  Log the complete URI, with query fragment.
  Fix the name of the SummarizePassizeAnalytics workflow.
  Minor changes to sbin/installPassiveAnalytics.pl so that script would run.
  Add Passive Analytics modules, Workflow Activites, i18n and content handler.
  Add logging to the Asset Content handler.
  Add file to install Passive Analytics in the db and config file.
2009-05-27 14:47:17 -05:00
Patrick Donelan
634706efc1 Merge branch 'master' into passive_analytics_without_flux
* master:
  Fixed Survey Take template
  Squashed commit of the following: (from survey-rfe branch)
  Fix a POD typo.
  correct inbox message from user preface
  Fix a typo in the Default gallery view template
  Documentation bug in buildArrayRefOfHashRefs
  changed screenshots in Matrix Listing view to popup
  matrix privileging fixes
  Fix an i18n typo in the Post user defined variables.
  Remove debugging code.
  approval workflow fix
  matrix upgrade and privileging fixes
  fixed: Template parser cannot be set
  forward porting gallery bug fixes
  preparing for 7.7.0 dev
  parser should be a selectbox, not a selectlist.
  labeling survey as beta
  fixeding my borkes to the changelog
  fixed #9852: Users can accept private messages from Visitor, but Visitor cannot send messages
2009-03-11 18:53:58 +11:00
Patrick Donelan
7ec5cab126 Merge branch 'master' into survey
* master: (121 commits)
  Fix a POD typo.
  correct inbox message from user preface
  Fix a typo in the Default gallery view template
  Documentation bug in buildArrayRefOfHashRefs
  changed screenshots in Matrix Listing view to popup
  matrix privileging fixes
  Fix an i18n typo in the Post user defined variables.
  Remove debugging code.
  approval workflow fix
  matrix upgrade and privileging fixes
  fixed: Template parser cannot be set
  forward porting gallery bug fixes
  preparing for 7.7.0 dev
  parser should be a selectbox, not a selectlist.
  labeling survey as beta
  fixeding my borkes to the changelog
  fixed #9852: Users can accept private messages from Visitor, but Visitor cannot send messages
  preparing for 7.6.14 release
  fix AdSpace, Ad tests
  Restore the original properties for the profile category that was modified for test.
  ...

Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.6.10-7.6.11.pl
	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/SurveyJSON.pm
2009-03-11 15:26:07 +11:00
Yung Han Khoe
5b2a5b620f approval workflow fix 2009-03-06 05:26:14 +00:00
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
Kaleb Murphy
ef548cbfee Time multiplier was set wrong 2009-02-17 14:20:35 +00:00
Kaleb Murphy
9fe2b5328e Added workflow (and email template to WebGUI/) to delete expired surveys and notify users via email. 2009-02-16 23:49:16 +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