Changeset 192


Ignore:
Timestamp:
12/07/07 09:12:37 (16 years ago)
Author:
bas
Message:

email2trac.py.in,

  • Added two patches that must fix the notify function for trac version 0.11

ChangeLog?:

  • Added the credits
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r191 r192  
    33          closes bug #23
    44          Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de
    5           Fixed By   : Bas van der Vlies
     5
     6          Fixed By: Bas van der Vlies
    67
    78        * Added check if syslog module is available. If it is not available
    89          disable the syslog functionality.
    9           Author     : michael.th add gmx dot net
     10          Author: michael.th add gmx dot net
     11
     12          Implemented by: Bas van der Vlies
    1013
    1114        * Added strip_quotes function, default settings:
    1215                strip_quotes: <int> (default: 0)
    1316                mail_quote: <quote chars> (default: "> ")
    14           Author     : nicolasm @ opera dot com
    15 
     17          Author: nicolasm @ opera dot com
     18
     19          Implemented by: Bas van der Vlies
     20
     21        * Added patch to make notify email work with trac 0.11 dev.
     22          Author: tbaschak add ktc dot mb dot ca       
     23          Author: andrei2102 add gmail dot com
     24
     25          Implemented by: Bas van der Vlies
     26           
    16272007-07-18
    1728
  • trunk/email2trac.py.in

    r191 r192  
    539539
    540540                # Get current time
    541                 #
    542                 when = int(time.time())
     541                # to do
     542                #when = int(time.time())
     543                #
     544                utc = UTC()
     545                when = datetime.now(utc)
    543546
    544547                try:
     
    624627
    625628                #when = int(time.time())
     629                #
    626630                utc = UTC()
    627631                when = datetime.now(utc)
     
    832836                        # create false {abs_}href properties, to trick Notify()
    833837                        #
    834                         self.env.abs_href = Href(self.get_config('project', 'url'))
    835                         self.env.href = Href(self.get_config('project', 'url'))
     838                        if not self.version == 0.11:
     839                                self.env.abs_href = Href(self.get_config('project', 'url'))
     840                                self.env.href = Href(self.get_config('project', 'url'))
    836841
    837842                        tn = TicketNotifyEmail(self.env)
Note: See TracChangeset for help on using the changeset viewer.