buschmais / redmics

Plug-in for Redmine (http://www.redmine.org/) to export project issues and versions as ICalendar (ICS) files
41 stars 18 forks source link

Setting to ignore issues with missing start+due date #11

Closed h0jeZvgoxFepBQ2C closed 10 years ago

h0jeZvgoxFepBQ2C commented 10 years ago

Hey,

first of all - thanks for the great work! I just wanted to create my own ics adapter and found your updated version! Really thanks for that! Most redmine plugins are outdated and more or less useless - due to a big list of open bugs. So: Thanks a lot! :)

I have a suggestion: Since i only want to see the important issues in my calendar, i would like to ignore the issues, which dont have a start+due date. At the moment, all tickets are shown (if they dont have a start+due date, then they are shown on the creation day - i would like to hide them).

What do you think? Thanks!

fs5 commented 10 years ago

If I am not mistaken, there is no fallback to the creation-date for "rendering" the ical-events. It should already be the way you want it to be. (Redmine is setting the start-date automatically when creating new tickets - which can be unset, of course.)

Are you aware of the configuration options? You can configure the plugin at global scope, you have the same options at user scope and again (as a hidden feature) for the individual ical-urls (by appending "&render_issues=0" (0-3) and/or "&render_versions=0" (0-3).

I can think of introducing another option like "Issue rendered as": "all-day event for the end date if there is a start date". It would be better however to find a way to tap into the saved queries feature (aka "Custom queries"/"Benutzerdefinierte Abfragen") - so everyone is free to create their own selection(s).

fs5 commented 10 years ago

I just committed some changes to support custom queries. To use this feature:

One caveat thought: This way there will be no "version" entries in the ics export so far.

h0jeZvgoxFepBQ2C commented 10 years ago

Cool, thanks!!!

artembeloglazov commented 10 years ago

Thank you very much!