Work Request Management System - now with CalDAV support!
While watching the Test The Nation hosting all go swimmingly I decided to add CalDAV support to WRMS and after wrestling with it for a few hours, I now have rudimentary support for entering timesheets into WRMS using a CalDAV calendar.
Rudimentary means "all of the existing timesheets show up" but also "I successfully inserted a timesheet event by entering something into a CalDAV calendar in Evolution". It doesn't mean it's stable, and particularly it's not stable when editing pre-existing timesheet entries. It also doesn't implement permissions much yet, other than ensuring you can only muck with your own timesheet.
So it isn't quite ready for real time, but it's given me enough clues that I know what it will look like when I rewrite it tomorrow, or so.
I really hope that entering timesheets through a calendar application will make this easier. I do know that at present the timesheet form has all sorts of issues, and I really hope this should solve most of them.
Some possibly useful features will come for free too. E.g. in Evolution it is possible to move/copy appointments from one calendar to another, so that could also be a useful trick for scheduled events. Perhaps having a shared calendar will mean that (e.g.) a meeting event can be copied into your timesheet.
Well, as long as the meeting summary matches
/^wr[^1-9]*([1-9][0-9]*)[ \/-]*(.*)$/im it should work fine anyway... :-)
But now it's time for bed.