Opened 12 years ago
Last modified 7 years ago
#10824 new enhancement
Project filter not used in ICalendar export
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
When I export the roadmap in ICalendar format (bottom button), the project filter is not used and I get all milestones...
Attachments (0)
Change History (9)
comment:1 follow-ups: 2 7 Changed 12 years ago by
Type: | defect → enhancement |
---|
comment:2 Changed 12 years ago by
Replying to anonymous:
Seems you know what you're talking about... what do you mean with this construction? Is it a patch already? Sorry, currently I'm in hurry... so I've just spent 1 minute to look at this ticket... maybe some more details could safe me for spending more...
comment:3 follow-up: 4 Changed 12 years ago by
For now the link on bottom let you get the milestones calendar (gets all projects milestones). I propose to add the project variable in the url to get the calendar of only this project. Hope I'm clear enough
comment:4 Changed 12 years ago by
Replying to anonymous:
...I propose to add the project variable in the url...
simplemultiprojectplugin/trunk/simplemultiproject/roadmap.py#L65 inserts the project multi-choice box by searching for html source pattern '//form[@id="prefs"]/fieldset/div[1]'
and then casting a stream = stream | filter.before......
spell... I suppose your proposed modification could be done in a similar way... searching for the pattern and then inject the change in the html source... I usually look at the html source of the roadmap page (which can be retrieved from your internet browser) and try to imagine what a significant pattern around that source location is... maybe could you try to patch it this way by yourself... ?
comment:7 Changed 12 years ago by
Replying to anonymous:
Also should be used to export project calendar like:
RewriteEngine on RewriteRule ([^/.]+)/roadmap/([^/.]+)/ics /$1/roadmap?user=$2&format=ics&project=myproject
Where did you copy this two lines from?
comment:8 Changed 12 years ago by
Owner: | changed from Christopher Paredes to falkb |
---|
comment:9 Changed 7 years ago by
Owner: | falkb deleted |
---|
Also should be used to export project calendar like: