Opened 16 years ago
Closed 14 years ago
#3921 closed enhancement (fixed)
[Patch] Configuration options for default values and YUI base URL
Reported by: | Owned by: | Prentice Wongvibulsin | |
---|---|---|---|
Priority: | normal | Component: | TracTicketStatsPlugin |
Severity: | normal | Keywords: | |
Cc: | simon@… | Trac Release: | 0.11 |
Description
To get TracTicketStatsPlugin working on our intranet I needed to change the URLs to various YUI scripts to a local YUI setup. I'd like this to be configurable.
I have attached a patch attached that adds a configuration option, yui_base_url, as well as options for the default interval and days to show on the graph, under a ticketstats section.
Attachments (1)
Change History (12)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Added a '/' after yui_base_url in the template, so both http://yui.yahooapis.com/2.5.2/ and http://yui.yahooapis.com/2.5.2 work.
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied patch in [6379].
Thanks!
comment:4 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The trunk seems to haven't applied the patch. I attach the patch file for the review 7633. Thanks!
Changed 15 years ago by
Attachment: | ticketstats-r7633.patch.tgz added |
---|
comment:5 Changed 14 years ago by
Summary: | Configuration options for default values and YUI base URL → [Patch] Configuration options for default values and YUI base URL |
---|
comment:6 Changed 14 years ago by
It appears that the code on the trunk defines the option yui_base_url, but then does not use it.
comment:7 Changed 14 years ago by
The syntax used in this patch is clearsilver templating syntax. The replacement <?cs var:yui_base_url ?> -> ${yui_base_url} should be made.
comment:9 Changed 14 years ago by
This will be added in the next commit. Can someone let me know what is the typical location that the Yahoo APIs would be placed in a local installation?
comment:10 Changed 14 years ago by
comment:11 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Attachment got rejected as spam because of too many external URLs. Find the patch at: http://bleah.co.uk/~simon/stuff/ticketstats-conf.diff