2006/8/30, Aral Balkan <[EMAIL PROTECTED]>:
> Oh man, tickets! They're attacking tickets?
> Do you know if Trac has something in the works for this? Can we start
> a project to add this to Trac if there isn't one already. We can
> contribute this back to them.
Well, you can do a things : remove possibilty to post a url into a
trac ticket :
in Ticket.py :
<code>
def create_ticket(self):
if not self.args.get('summary'):
raise util.TracError('Tickets must contain Summary.')
if self.args.get('summary').find('http://') != -1:
raise util.TracError('Antispam: Ticket summary cannot contain URL.')
if self.args.get('description').find('http://') != -1:
raise util.TracError('Antispam: Ticket description cannot
contain URL.')
ticket = Ticket()
ticket.populate(self.args)
ticket.setdefault('reporter',self.req.authname)
</code>
After recompile .pyc or .pyo and reboot apache.
Or :
http://trac.edgewall.org/wiki/SpamFilter
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org