Comments (10)
How far into the future would you need them to exist? Just the next one?
from gettogether.
I think four events in the future would be good, with the next one created when the first one ends.
eg:
1/2, 1/3, 1/4, 1/5
On 1/3 there would be:
1/2,, 1/3, 1/4, 1/5, 1/6
etc.
from gettogether.
Putting this here for later reference, it looks like it would be useful in adding this feature:
https://django-recurrence.readthedocs.io/en/latest/usage/index.html
from gettogether.
Bumping this to 0.4.0 because I couldn't get django-recurrence working in Django 2.0, looks like this is going to require some debugging or upstream fixing
from gettogether.
There are timezone-related dragons lurking here; see #59 for discussion, and the section on recurring events in https://www.w3.org/TR/timezone/
from gettogether.
Hi guys,
I'm trying to decide how to implement recurring events. My options are to (1) add the recurrence information to a regular Event object, and create new Event objects based on that, or (2) create a RepeatingEvent model to store the recurrence information and act as a template for creating new Event objects.
The problem with (1) is that I'll end up with multiple Event records with the same recurrence information, which means I'd have to ignore all but one. Or I can leave it off all but the first, in which case deleting the first will delete the recurrence info also, and you'd have to change the first event to change the recurrence info.
The problem with (2) is that I will duplicate data between the "template" event and the real ones, and when exporting the recurrence info to iCal I would have to make sure to set it's start date to the next recurrence after the latest Event object created from it.
I'm leaning towards (2) right now, but I'm hoping to get your feedback and advice from our experiences doing similar work.
from gettogether.
I think (2) makes sense, in part because it's essentially a sequence with a start date and a stepping mechanism. Creating the events in the future may cause issues if the repeating events change for whatever reason.
(and yes, this goes against what I said earlier. I'm OK with changing my mind. ;) )
from gettogether.
Keep in mind the use case where an event typically occurs every Wednesday, but two months from now it'll be on Thursday, or won't happen at all that week, etc. Users will definitely need to make one-off changes to events in a series.
from gettogether.
Every actual event will be it's own Event instance, so that won't be a problem you can move it or cancel it or whatever. I'll just have to have a way to make sure the event repeater knows it's part of that series even if it's been moved, so it doesn't try to recreate it.
from gettogether.
I am struggling to remember the implementation details of the software I worked on, possibly due to the pain involved, but a one-to-many, "EventSeries has one or more Events" foreign key relation seems a safe bet, as long as you can reverse it from the Event?
from gettogether.
Related Issues (20)
- Requesting too broad OAuth permissions from Twitter
- After login: not enough arguments for format string HOT 3
- Event Comment loses line formatting in the email
- doesnt delete events HOT 3
- Cancelled events still appear in ics
- Pack for Debian
- iCal lacks time zone information HOT 4
- Telegram link in README shows invalid or expired, does not seem to exist HOT 1
- Locations no longer working on the main site (gettogether.community) HOT 1
- Github login yields server error on main site HOT 1
- "error: pathspec 'master' did not match any file(s) known to git" when running pre-commit
- Telegram Link expired (on gettogether.community/about/)
- GetTogether.community content is used to train LLMs
- Escape new lines from JSON-ld data
- gettogether.community is currently returning a 500 Internal Error
- Maintenance and moving GetTogether forward HOT 11
- Display timezone for Profiles and Events when creating, editing and viewing them
- Option to report spam events / block accounts.
- Viewing all teams on gettogether.community results in an error.
- Home health care tampa
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gettogether.