Marked a couple of locations in the calendar code with comments
authorArt Cancro <ajc@citadel.org>
Sat, 17 Mar 2007 04:59:53 +0000 (04:59 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 17 Mar 2007 04:59:53 +0000 (04:59 +0000)
that include the tag "FIXME CONNECTOR DEV" making note of places
where we need to convert the code to handle icalendar components
that may or may not be embedded inside multipart messages.

citadel/serv_calendar.c

index ecad5e88f9b7c0d44535e36e41d44bbcf9d8156b..f41e1706abaa4465560051de90147a34aea331d9 100644 (file)
@@ -971,6 +971,7 @@ void ical_hunt_for_conflicts(icalcomponent *cal) {
 
        cprintf("%d Conflicting events:\n", LISTING_FOLLOWS);
 
+       /* FIXME CONNECTOR DEV -- we need to handle calendar items embedded inside multipart */
        CtdlForEachMessage(MSGS_ALL, 0, NULL, "^[Tt][Ee][Xx][Tt]/[Cc][Aa][Ll][Ee][Nn][Dd][Aa][Rr]$",
                NULL,
                ical_hunt_for_conflicts_backend,
@@ -1276,6 +1277,7 @@ void ical_freebusy(char *who) {
 
        /* Add busy time from events */
        lprintf(CTDL_DEBUG, "Adding busy time from events\n");
+       /* FIXME CONNECTOR DEV -- we need to handle calendar items embedded inside multipart */
        CtdlForEachMessage(MSGS_ALL, 0, NULL, "^[Tt][Ee][Xx][Tt]/[Cc][Aa][Ll][Ee][Nn][Dd][Aa][Rr]$",
                NULL, ical_freebusy_backend, (void *)fb
        );
@@ -1416,6 +1418,7 @@ void ical_getics(void)
        icalcomponent_set_method(encaps, ICAL_METHOD_PUBLISH);
 
        /* Now go through the room encapsulating all calendar items. */
+       /* FIXME CONNECTOR DEV -- we need to handle calendar items embedded inside multipart */
        CtdlForEachMessage(MSGS_ALL, 0, NULL,
                "^[Tt][Ee][Xx][Tt]/[Cc][Aa][Ll][Ee][Nn][Dd][Aa][Rr]$",
                NULL,