Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (319 - 321 of 332)

Ticket Resolution Summary Owner Reporter
#93 duplicate Attachments are added to tickets, but are broken bas planktr@…
Description

I have email2trac working on a Windows server using fetchmail+Cygwin. I have also had luck with GetMail?. Messages are being retrieved from Exchange 2003 server. I've tried using POP3 and IMAP. With either tool, attachments are being created on the tickets, but they don't open. For example, an image attachment is added to the ticket, but when clicked on, the file appears as a broken image. In the trac attachments folder, there are image files that are of the expected size, but they don't open.

Is there a configuration setting that would impact this?

When using GetMail?, i enabled the extract option and the attachments were stored separately, so i assume the attachments are arriving with the messages, it just seems like they aren't making it through the email2trac script.

Any ideas?

#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

#59 fixed are some of these config ints actually bools? bas zooko@…
Description

If "debug" and "replay_all" are actually bools (they can have one of two possible values), then their values should be written "True" and "False" instead of "1" and "0" in the config file.

Note: See TracQuery for help on using queries.