I just tried out the email notification support. A few comments:
- It seems redundant putting the project name both in the "From:" line
and in the subject... it also made me shorten one of my project
names.
- I needed to add 'link' under the [project] section in trac.ini to
get an X-URL in the email; this isn't populated by default and
doesn't seem to be documented
- I can't get the X-Trac-Ticket-URL to show me a URL including the
server name. I traced the code a bit and it seems it gets something
from SCRIPT_NAME, but I even manually set that in the Apache config:
SetEnv SCRIPT_NAME "https://source.med.uiuc.edu/trac/WebRoot"
with no luck; I guess the CGI handler overwrites it. Shouldn't it
just use the 'link' URL as above, or isn't that what it's for?
- The separator before the signature-like thing at the bottom of the
message:
--
Ticket URL: </trac/WebRoot/ticket/10>
UICOM-UC WebRoot <http://trac.edgewall.com/>
should have a space after the hyphens ("-- ") in order to be
recognized by email clients which colorize/relocate/remove such
things.
Otherwise, looks great; I love the ASCII table formatting :)
--
=Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
- It seems redundant putting the project name both in the "From:" line
and in the subject... it also made me shorten one of my project
names.
- I needed to add 'link' under the [project] section in trac.ini to
get an X-URL in the email; this isn't populated by default and
doesn't seem to be documented
- I can't get the X-Trac-Ticket-URL to show me a URL including the
server name. I traced the code a bit and it seems it gets something
from SCRIPT_NAME, but I even manually set that in the Apache config:
SetEnv SCRIPT_NAME "https://source.med.uiuc.edu/trac/WebRoot"
with no luck; I guess the CGI handler overwrites it. Shouldn't it
just use the 'link' URL as above, or isn't that what it's for?
- The separator before the signature-like thing at the bottom of the
message:
--
Ticket URL: </trac/WebRoot/ticket/10>
UICOM-UC WebRoot <http://trac.edgewall.com/>
should have a space after the hyphens ("-- ") in order to be
recognized by email clients which colorize/relocate/remove such
things.
Otherwise, looks great; I love the ASCII table formatting :)
--
=Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>