Image macro and svn_prop.py ignore [trac] htdocs_location setting
— at Version 4
Reported by: |
Jun Omae |
Owned by: |
Jun Omae |
Priority:
|
normal
|
Milestone:
|
1.0.7
|
Component:
|
general
|
Version:
|
0.12-stable
|
Severity:
|
normal
|
Keywords:
|
htdocs_location
|
Cc:
|
|
Branch:
|
|
Release Notes:
|
- Uses
[trac] htdocs_location option for images:
[[Image]] macro with non-existent attachment
svn:needs-lock property
- Renamed
_chrome_resource_path to chrome_resource_path as a public api
|
API Changes:
|
|
Internal Changes:
|
|
Image macro and browser page for resources with svn:locks generate <tracenv>/chrome/common/...
url.
It should use [trac] htdocs_location
setting.
$ git grep 'chrome.*common/' 0.12-stable | sed -n '/tests/d; /[.]py:/p'
0.12-stable:trac/versioncontrol/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'),
0.12-stable:trac/web/chrome.py: `/chrome/common/`.
0.12-stable:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png')
$ git grep 'chrome.*common/' 1.0-stable | sed -n '/tests/d; /[.]py:/p'
1.0-stable:trac/web/chrome.py: `/chrome/common/`.
1.0-stable:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png')
1.0-stable:tracopt/versioncontrol/svn/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'),
$ git grep 'chrome.*common/' trunk | sed -n '/tests/d; /[.]py:/p'
trunk:trac/web/chrome.py: `/chrome/common/`.
trunk:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png')
trunk:tracopt/versioncontrol/svn/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'),
Change History
(4)
Keywords: |
htdocs_location added
|
Milestone: |
next-stable-1.0.x → 1.0.7
|
Owner: |
set to Jun Omae
|
Status: |
new → assigned
|
Release Notes: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Proposed changes in jomae.git@t11460.
In the changes,
_chrome_resource_path
is renamed tochrome_resource_path
to be a public api intrac.web.chrome
.