Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 332)

Ticket Resolution Summary Owner Reporter
#296 fixed A small patch that adds a configurable strip_signature_regex bas steverweber@…
Description

Find attached... A small patch that adds a configurable strip_signature_regex

We have been using email2trac for some time and been maintaining a private copy with a small change.. I feel it would be best if it was merged into your version of the.. email2trac.py.in

The attached file is in .py format and differs a little because I just need the simple script..

Anyways it allows email2trac.ini to have a.. strip_signature_regex = -----Original Message-----$|-- $|--$

it adds

    def setup_parameters(self):
        if self.parameters.umask:
            os.umask(self.parameters.umask)
----------
        if not self.parameters.strip_signature_regex:
            self.parameters.strip_signature_regex = '^-----Original Message-----$|^-- $|^--$'
----------

and

    def strip_signature(self, text):
        """
        Strip signature from message, inspired by Mailman software
        """
        self.logger.debug('function strip_signature')

        body = []
        for line in text.splitlines():
----------
            if re.match(self.parameters.strip_signature_regex, line):
----------
                break
            body.append(line)

please merge something along those lines into the trunk/master.. I probably should have compiled the regex instead of using it like i did wasting cpu... but you should get the idea..

Thanks

#121 fixed Configuration of smtp_replyto on a per-project basis bas steve.brown@…
Description

Hi there,

We're using email2trac 0.30 quite nicely with Trac 0.11.2 - thanks for your efforts!

In our org, we funnel support requests from each customer to special email addresses. Ideally, I'd like the reply-to email address in the email notification to be configurable from email2trac.conf on a per project basis. That way the recipient of the ticket notification can just Reply to the notification (to update, say) and ensure it gets sent to the correct 'special' email address originally used.

Hope that makes sense?

I've poked around and not being a Python guru am not too sure how to reset self.replyto_email - it seems to be set to the value in trac.ini by notification.py. Any clues gratefully received!

Steve

#130 fixed ticket owner, version and milestone for new ticket bas steve
Description

Hi,

great tool, thanks! Would it be possible to add functionality to parse the header for owner,version and milestone information of the new ticket.

For example a header (subject-line) may look like: Ticketname?owner=steve&version=0.1&milestone=1

Would be a great feature i think ;-)

Note: See TracQuery for help on using queries.