On Sunday, October 29, 2017 at 4:08:13 PM UTC-7, Mike Dewhirst wrote:
>
> *Trac detected an internal error:* 
>
> TypeError: StringIO() argument 1 must be convertible to a buffer, not 
> Element 
>

I'll take a look. Please post the traceback from the log.
 

> I'm using Trac 1.2 and note that the plugin only seems compatible with 
> Trac 1.0 so I guess I can't expect there to be a fix for this already. 
>
> Does anyone have a recommendation for a plugin with 1.2 compatibility?
>

https://trac.edgewall.org/wiki/SpamFilter

Also, take a look at:
https://trac-hacks.org/tags/captcha?wiki=on
 

> A spammer created a ticket yesterday and I have no idea how many emails 
> might have been sent via the cc field. 
>
> Is there a way I can limit the number of emails sent via the cc field? 
>

I think your best move is to limit edits to the CC field. For example, 
don't grant TICKET_EDIT_CC to untrusted users.

Users with TICKET_CREATE can edit the CC field for new tickets even if they 
don't have TICKET_EDIT_CC. That could be dealt with a few different ways, 
such as implementing ITicketManipulator.
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator

Is the issue you encountered due to a spammer editing the CC field when 
creating a ticket?

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to