Item11202: modernise CalendarPlugin
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Date and periodic data handeling needs core improvement, and
CalendarPlugin has been the dejur user facing definition of such data for 10 years. It needs to go into the core - but can't as it has no unit tests, and the 2001 style regex 'parsing' has shown itself to not lend itself to active maintainence.
So I'm starting by adding unit tests for the date and event definitions as I understand them, and then refactoring the code to allow us to work out how to redo things.
ideally, the bullet list event format should be re-usable, so that other plugins can re-use it, and pluggable, so that other data formats 'just work'
for eg,
TimeTablePlugin should use the parser (which means it needs to be subtly extendable), and
CalDAVPlugin would become just another data format.
--
SvenDowideit - 26 Oct 2011
I'd like to add the prettyer css by default too - presumably there will need to be a
calendar.SKIN.tmpl
--
SvenDowideit - 26 Oct 2011
Releasing this as-is. Looks like the css works was not completed. But unit tests are passing, and need to refresh this for Foswiki 2.0.
--
GeorgeClark - 31 Aug 2015