side by side
lines around each change
Show the changes in full context
White space changes
Apr 12, 2008, 7:53:48 AM (
'''Author:''' [wiki:tcoulter] [[BR]]
For Tim (to be removed soon!):
<coderanger> what are you _actually_ trying to do
<timathome> Create a plugin that looks at what sites are linking to tickets in an attempt to figure out "who's talking" about a specific ticket.
That way, trac users can get a sense of how their bugs affect the community.
<coderanger> okay, so examine all incoming traffic, separate out anything internal, and build a list of the other links that is visible on the ticket form
nifty, I like it :-)
<timathome> Yep. That's it. :)
<timathome> I've just started writing trac tickets. (I've edited one; this'll be my first).
It's a lot easier than I expected.
<coderanger> plugins you mean
<timathome> Ah, ya. Sorry!
<coderanger> I would look at using urlparse (a standard module) to break down the referrer header and just compare the hostname to a list of "internal hostnames"
probably keeping the whitelist in trac.ini
(look at ListOption)
unless you have "external" traffic thats just a different path on the same host
<timathome> Where would I find the ListOption class in the source? For some reason, I'm having trouble googling trac classes/interfaces.
--> hpnadig (n=hpnadig_@wikipedia/kn/HPNadig) has joined #trac
it defines all the config descriptor classes
our developer documentation is somewhat ... lacking
in that I comprise most of it :P
<timathome> Nice. This'll work great.