I've copied this to the general discussion mailing list, so we keep
others in the loop. Some responses below.
On Tue, Jun 1, 2010 at 1:01 PM, Nathan Kern <nk_ange...@hotmail.com> wrote:
> Dear Mr. Bieber,
>
> I’m a student worker at Union College, and one of my summer projects is to
> try to implement either repeating events or iCal import in the UNL Event
> Publisher. I was curious what work, if any, has been done on this
> previously, and which you would recommend focusing on.
Well, iCal import would be parsing vCards, and vCards have repeating
event details in them. Therefore it might be best to work on recurring
event support before tackling the vcard import?
I haven't had much time to look into either, but we do plan on making
some improvements to the events system this month. In particular I'm
interested in adding CalDAV support (which also would require vCard
parsing capabilities — I've been looking at this library from a fellow
developer, Evert Pot: http://code.google.com/p/sabredav/).
All of these sound like great additions. Please keep us in the loop if
you decide to try and tackle any of them.
--
Brett Bieber
University of Nebraska-Lincoln
Ideally the recurrence should refer to a single eventdatetime
instance. The recurrence would have its own entries that specify the
recurrence sequence for the specific date & time. I would begin by
building a model/schema for the table that will store the recurrence
information. Once you have the model for the how the data should be
stored, you'll know how to modify queries for the backend to get the
applicable dates for an event. I would think of it as the
eventdatetime record as the single, master date instance of an event,
the recurrence table should only specify the recurrence rule and just
reference the eventdatetime_id as a foreign key.
Hopefully that gives you some ideas. :-)
Feel free to shoot ideas back to the list and ask questions if you hit
any roadblocks.
Do you have a list of all the tables & fields added/modified in the database?
This file describes the entire database for the system:
http://code.google.com/p/unl-event-publisher/source/browse/UNL_UCBCN/trunk/UNL_UCBCN_db.xml
That file allows us to automatically upgrade the database of any Event
Publisher installation, so the changes should go in there.
> --
> You received this message because you are subscribed to the Google Groups "UNL Event Publisher" group.
> To post to this group, send email to unl-event...@googlegroups.com.
> To unsubscribe from this group, send email to unl-event-publi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/unl-event-publisher?hl=en.
No harm at all.
> Also, what shall I do when I'm ready to commit?
I'd just make unified .diff files available online, ideally as patches
attached to the issue tracker so we can take a look.
> Here's the list of tables/fields I added:
>
> added table "recurringdates" :
> ("id" int(10) unsigned not null auto_increment,
> "d" date not null,
> "event_id" int(10) unsigned not null,
> "recurrence_id" int(10) unsigned not null,
> ongoing bool,
> primary key ("id") );
>
> added columns to "eventdatetime":
> "recurringtype" varchar(255),
> "recurs_until" datetime,
> "rectypemonth" varchar(255)
Hmm, just simply "d" for the column name in the recurringdates table?
Also, all the other db tables are not plural, could the table be
'recurringdate' ?
I'd just caution against using reserved words. Just some ideas:
eventdate, startdate, recurringdate?
I would check other calendar applications and see what terminology
they've used. Sounds like "Edit instance of recurring event." ? As for
the UI, no clue.
This event is part of a recurring event. Would you like to edit: only this event, all events in the series, all following events?
Also, there's an issue that I'm not sure how I should handle. On my
phone, I can make recurring events, then edit individual details about
instances, but once I do that, the event is no longer linked to the
other instances. So when I edit another instance and choose "edit all
recurrences," it changes all instances except the ones where I
selected "edit this instance only."
To unsubscribe from this group, send email to unl-event-publi...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "UNL Event Publisher" group.
To post to this group, send email to unl-event...@googlegroups.com.
To unsubscribe from this group, send email to unl-event-publi...@googlegroups.com.
This sounds like a good way to go.
Hmm... why signed? Shouldn't all the PKs and FKs be unsigned ints?
I don't think it will matter much if you change it now, as long as it
is consistent with all the others.
Hmm, that's an interesting question. I would say yes, but I'm not a
regular user. From my experience, people really hate entering the
details again, so another eventdatetime is really helpful. But another
eventdatetime for an event which is already recurring, maybe that's
not required.