{"action":"opened","issue":{"number":11,"created_at":"2011-10-17T17:45:05Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Implement basic structure to allow adding, editing and removing event series.\r\n\r\n## Implementation proposal\r\n\r\n* Extract Superclass CalendarEntry from Event, the class (I think) has all the methods of the current Event class so that Event becomes an Empty subclass, wherever currently Event is used we shall continue using Event.\r\n\r\n    Rationale: an EventSeries is not an Event, yet Event and EventSeries have many properties in common, this are moved to the common superclass CalendarEntry. An Event is a single thing, a CalendarEntry is anything that a container can contain.\r\n\r\n* Create Class EventSeries which extends CalendarEntry with a field repetition which can have one of the following values (Enumeration): daily, weekly, yearly\r\n\r\n* Add a method addEventSeries(EventSeries) to EseCalendar, same for  removeEventSeries(EventSeries)\r\n\r\n* Add a package visible method getSerialEventsForDay(Date) returning a sorted List<SerialEvent> of serial events of the day containing the point in time specified by the argument (in the default timezone).  SerialEvent is a subclass of Event with a reference to the EventSeries it belongs to.\r\n\r\n* Adapt the frontend and controller so that the form to create an event contains a field \"repeat\" with the options never|daily|weekly|yearly. For selections other than \"never\" instead of an Event and EventSeries is added to the calendar.\r\n\r\n* Have EseCalandar.iterate(User,Date) mix in the serial events. For this an IteratorWrapper similar to ACFilteringIterator is created that uses the getSerialEventsForDay method.\r\n\r\n* Adapt frontend/controller so that EventSeries are modified/removed when the user modifies/removes a SerialEvent, the user is warned that the operation affects the whole series.\r\n\r\n\r\n\r\n","comments":0,"title":"Support repeated events","updated_at":"2011-10-17T17:45:05Z","url":"https://api.github.com/repos/ese-unibe-ch/ese2011-team2/issues/11","id":1931364,"assignee":null,"milestone":{"number":1,"created_at":"2011-10-13T17:03:27Z","due_on":"2011-10-19T07:00:00Z","title":"Week 1","creator":{"gravatar_id":"66ba51197ba0b7c15dd60eee30c41532","avatar_url":"https://secure.gravatar.com/avatar/66ba51197ba0b7c15dd60eee30c41532?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/panmari","id":719020,"login":"panmari"},"url":"https://api.github.com/repos/ese-unibe-ch/ese2011-team2/milestones/1","open_issues":4,"closed_issues":4,"description":"Our customer wants results!!!! Zomfg >.<","state":"open"},"closed_at":null,"user":{"gravatar_id":"c09ea6d88776aaac39f3f30c3a6af19b","avatar_url":"https://secure.gravatar.com/avatar/c09ea6d88776aaac39f3f30c3a6af19b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/retobg","id":110756,"login":"retobg"},"html_url":"https://github.com/ese-unibe-ch/ese2011-team2/issues/11","labels":[],"state":"open"},"legacy":{"number":11,"action":"opened","issue":1931364}}