You are here: Foswiki>Tasks Web>Item11202 (31 Aug 2015, GeorgeClark)Edit Attach

Item11202: modernise CalendarPlugin

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: CalendarPlugin
Branches: master
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
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
 
Topic revision: r9 - 31 Aug 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy