Commit graph

73 commits

Author SHA1 Message Date
Colin Kuskie
6e164dc2dd Better, cleaner test cleanup. 2011-11-21 11:06:08 -08:00
Colin Kuskie
6ed275b133 Rework PA again to not try and sort the passiveLog. Instead, we iterate and store "last" data in a new database table. 2011-10-06 10:22:39 -07:00
Colin Kuskie
45b5370469 Allow Passive Analytics to scale to analyzing millions of log entries without nuking MySQL in the process. More thorough test cleanup. 2011-09-25 18:45:19 -07:00
Colin Kuskie
0871ceb56a Fix the WaitForUserConfirmation test to make sure that TT is enabled in the config file. 2011-09-07 17:01:49 -07:00
Paul Driver
182fc16021 added WaitForUserConfirmation activity 2011-07-25 14:07:01 -05:00
Colin Kuskie
f728b22843 Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164 2011-06-27 14:40:46 -07:00
Colin Kuskie
164852a712 Handle dates in iCal format with timezones. Clean up documentation for the icalFeed properties. Handle cases with missing uid, description, summary or location fields in the feed. Add tests to make sure that parsing one non-WebGUI iCal feed works. Fixes bug #12106. 2011-04-25 15:53:52 -07:00
Colin Kuskie
73261e4651 Batch of test cleaups for leaking objects. 2011-04-04 18:57:50 -07:00
Colin Kuskie
64eafc61ba Skip testing the anniversay event if we didn't get one in the CalendarUpdateFeeds test. 2011-02-17 11:56:08 -08:00
Colin Kuskie
8ae16ba37c Have the Calendar iCal feed pass along the timeZone of events. Fixes bug #12030.
Squashed commit of the following:

commit ce957db5311c7fb11c7d780b9f63c1b0adc17cda
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon Jan 31 19:00:23 2011 -0800

    Changelog notice for the ical bugfix with timezones.

commit 24a3bc1c74b20ca6ba689641fa0187b659dc3c5e
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon Jan 31 15:32:50 2011 -0800

    Transfer the time zone as one of the WebGUI specific items for the Event.

commit 36f87539ba8b090a5e5c9f1879cd40b6f6e69afc
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Sun Jan 30 21:18:12 2011 -0800

    Refactor the code so that the Event adds itself to a calendar object, giving it access to add other things to the calendar, like a timezone definition.

commit f401966bd53b51950f1402a5a19b92b13dcc6b06
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Sun Jan 30 19:42:49 2011 -0800

    Document which version of Data::ICal that we're now using.

commit 689522e30b26fc445da5b59b81789c0d72e157d4
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Sat Jan 29 14:27:25 2011 -0800

    Fix a typo in the Event preventing menuTitle from being sent out.  Fix issue with the menuTitle being set twice.  Update the test to fix long string handling.

commit 59043eee1536e60d92f23313a33dc54da6f15122
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Fri Jan 28 19:48:16 2011 -0800

    Move iCal generation over to Data::ICal.  Give each event the ability to return itself as an Data::ICal::Entry::Event object.

commit eec448b38c101b599c0fb695f442012e311385fb
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Fri Jan 28 19:47:14 2011 -0800

    Document new testing module.  It't only required if you're doing testing.

commit 3d1e82229423834330dcdd31c0a81df986df0f32
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Fri Jan 28 17:05:09 2011 -0800

    Fix setting the title in the iCal feed.

commit 458f4d2e0e1faa1cc6dcb7107040d06b51b97d36
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Fri Jan 28 13:37:52 2011 -0800

    Rewrite of CalendarUpdateFeeds to use Data::ICal

commit 1a271ebc78bbe8b21a26f7a0dba61d1462922f30
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Fri Jan 28 10:49:27 2011 -0800

    Begin building an ICal object for parsing the ical feeds.
2011-01-31 19:05:04 -08:00
Colin Kuskie
a083737ab3 Do not extend recurrent for events in the trash. Do not extend them in the clipboard either, since it'll either make a mess in the clipboard or pop them up on the calendar automatically. Fixes bug #11995 2011-01-03 17:24:29 -08:00
Colin Kuskie
b911f05125 Commit events created by the ExtendCalendarRecurrences workflow activity. Fixes bug #11994. 2011-01-03 17:01:26 -08:00
Colin Kuskie
dd7e6016dc Add a workflow activity that reverifies that all subscribers to a CS can still view the CS, otherwise, remove them. Hook up the workflow to the update method in Collaboriation.pm and create an instance for it if the groupIdView changes. Add tests for the activity. Add a new workflow. Update the default WebGUI.conf. 2010-11-30 15:07:49 -08:00
Colin Kuskie
ce7a7394b5 Handle assets that can't be instanciated in ExtendCalendarRecurrences. Fixes bug #11956. 2010-11-10 08:46:08 -08:00
Colin Kuskie
40b8bd8667 Fix this test, so that it will pass every day of every month. 2010-06-29 13:46:37 -07:00
Colin Kuskie
b7ba9f2118 Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678 2010-06-23 14:12:42 -07:00
Colin Kuskie
fecc2bec54 Yet more END block cleanups. 2010-06-15 16:40:06 -07:00
Colin Kuskie
94699417a7 END block cleanup. 2010-06-14 18:24:21 -07:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
6d2d950f52 Fix the delete expired events workflow (again). Fixes bug #11619 2010-06-09 11:28:00 -07:00
Colin Kuskie
7034e2cf57 More END block cleanups. 2010-06-07 19:07:45 -07:00
Colin Kuskie
dbca5b31d9 Cleanup more tests that are leaking carts due to address book useId issues. 2010-05-02 00:17:03 -07:00
Colin Kuskie
2ce0ab7f3a Case sensitive tables in the ExtendCalendarRecurrences test. 2010-04-06 14:52:39 -07:00
Paul Driver
c356a7acc6 DateTime::Event::ICal in Calendar, workflow to extend recurrence 2010-04-05 17:08:11 -07:00
Colin Kuskie
ba91560a96 Fix Notify About Low Stock email to be more user friendly. Fixes bug #11364. 2010-01-21 11:56:01 -08:00
Colin Kuskie
47276ce4ad Fix exception handling by the NotifyAboutLowStock workflow activity. Fixes bug #11343. 2010-01-12 11:07:43 -08:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
af20594535 Fix looping construct in NotifyAboutLowStock activity. Fix tests. 2009-12-08 21:24:20 -08:00
Colin Kuskie
c845849da0 Fix bug #11286: Tell the difference between end of Workflow, and unable to load WorkflowActivity.
Tests are added for new methods.  The changes to Workflow::Instance->run are peripherally
tested in Workflow Activity tests.
2009-12-07 13:07:46 -08:00
Colin Kuskie
89ea0e7cea use addToCleanup instead of an END block. 2009-12-07 13:07:11 -08:00
Patrick Donelan
e4b18757d8 Fixes bug in ExpireIncompleteSurveyResponses
Use a left outer join on userProfileData so that the workflow processes
responses for users that have been deleted
2009-10-20 16:50:00 +11:00
Colin Kuskie
d088386e2c Use better cleanup technology. 2009-09-25 19:45:02 -07:00
Colin Kuskie
5144dfa04f More test cleanups. 2009-09-25 19:35:23 -07:00
Patrick Donelan
549f9ce650 Fix bugs in ExpireIncompleteSurveyResponses Workflow
Need to join on revisionDate otherwise one email per Survey revision
will be sent. (Added explicit test for this)

Some standard template vars were also missing - username and userId.

(forward-port from webgui-7.7)
2009-09-25 14:13:15 +10:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
b57dff3e3e Fix a bad template variable in SendNewletters workflow activity, bug #10953 2009-09-14 18:58:10 -07:00
Graham Knop
e6f38dcf44 add new API for mocking assets in tests 2009-09-09 12:14:07 -05:00
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
f6be0746f3 use consistant messages for WEBGUI_LIVE tests 2009-09-09 01:16:48 -05:00
Colin Kuskie
8fd0be0dc4 Purge tests before cleaning up version tags. Fix a leaky test. 2009-09-04 19:59:26 -07: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
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
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +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
Colin Kuskie
5fdb7d8f02 Clean up queued email created when the inbox message is added. 2009-05-20 01:13:50 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00