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.
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)
* 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.