Re: ogo task reminder
"Sebastian Reitenbach" <[email protected]> Sun, 18 Mar 2007 10:33:39 +0100
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Organization | L00 bugdead prods. |
| Message-ID | <[email protected]> |
Hi, > > I just wonder if, for the sake of getting something sooner, if a simpler > solution wouldn't work. > > In my understanding tasks have a due *DATE* and not a start *TIME* like > an appointment. Would it be sufficient to simply store a "reminder" > property on the task, and to process the tasks for the day? Early in I prefer it not to change the way how it works right now, in my eyes it is the cleanest way to go. > the day an e-mail could be sent to user(s) concerning what tasks they > have due in DAY + 1 (Mon - Thu) or TODAY + 3 (Fri). ah, yes, I see now, I removed the labels from the webui to select reminder values smaller than a day ;) > > Or make the property an int, number of days 1, 2, 3, or 4. Then you'd > only need to scan the tasks due in the next 4 days - even at large sites > that shouldn't be more than a few hundred. the database field is an int, but stores the reminder value in minutes. > > In the morning the user could have an e-mail "Your due tasks" or some > such. > yes, good idea, maybe the user should be able to configure whether he wants to have an e-mail for each due job, or a summary of all in one. > I do something like this with SQL, but with no OGo/WebUI integration, > you just get the message for all your tasks. Just making that optional > would be a huge improvement. > > > > Makes sense to me. I'd image than the adding of the logic command and > > > the adding of the tool should be separate patches. Maybe "skyjobnotify" > > > should be "ogojobnotify". renamed it, and splitted the patch into the logic, and the ogojobnotify tool including the webui patches. > That would break people's existing crontabs, etc... so probably not. yeah, makes sense. > > > > - In the webui, a default reminder preference can be defined by the user > > > >in the jobs preferences page > > > What is the name of the default created? job_defnotifytime > > > > - when creating a job, the user can choose the reminder time from a > > > > popup, same > > > > as for appointment reminders > > > > - when a reminder is set, and not yet sent out, then it shows up in the > > > > webui most likely there are bugs in it, but as far as i tested for now, it > > > > works, despite still some quirks in the webui, where the reminder time is not > > > > shown correctly. maybe improvements: > > > > - reminder could be sent to the creator, if he is not one of the > > > > executors > > > Hmmm, I don't know. Doesn't seem very useful. I *assume* the creator > > > has an interest and keeps a better eye on things than the executant. : ;) > > > > - improved template for the notification, e.g. including the url link to > > the > > > > task in ogo. > > > I think including the link is imperative. > > well I need to find out, how to generate the link, and make it available in skyaptnotify does not include a link to the appointment too, so it's not a big deal in not having a link included yet. When I get an idea on how to add it, then I think it might be easy to add it there too. > > the e-mail... > > > > - maybe more... > > > What happens if the executant is a team? > > I have not tested, but I think the same will happen, as when a team is an > > appointment participant. I only copied it from skyaptnotify. I checked again, and found out that teams as executants would not work at all. Now I changed it, to send to the team email, if set, or to resolve all team members, and send individual email to each team member. kind regards Sebastian > -- OpenGroupware.org Discussion [email protected] http://mail.opengroupware.org/mailman/listinfo/discuss