Example #1
0
 def __init__(self, project, env):
     Command.__init__(self)
     self.name = "NotifyAuthorAboutRestore"
     self.project = project
     self.notifier = NotificationSystem(env)
     from_email = env.config['notification'].get('smtp_from')
     replyto_email = env.config['notification'].get('smtp_replyto')
     self.from_email = from_email or replyto_email
Example #2
0
 def __init__(self, project, env):
     Command.__init__(self)
     self.name = "NotifyAuthorAboutRestore"
     self.project = project
     self.notifier = NotificationSystem(env)
     from_email = env.config["notification"].get("smtp_from")
     replyto_email = env.config["notification"].get("smtp_replyto")
     self.from_email = from_email or replyto_email
Example #3
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CleanUpArchiveFolder"
     self.project = project
Example #4
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RemoveProjectArchiveDbRecord"
     self.project = project
Example #5
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RestoreProjectDatabase"
     self.project = project
Example #6
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectTeam"
     self.project = project
     self.groups = CQDEUserGroupStore(project.trac_environment_key)
Example #7
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectDb"
     self.project = project
Example #8
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CreateProjectArchiveDbRecord"
     self.project = project
     self.archive_id = None
Example #9
0
 def __init__(self):
     Command.__init__(self)
     self.source = None
     self.destination = None
Example #10
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CleanUpArchiveFolder"
     self.project = project
Example #11
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RemoveProjectArchiveDbRecord"
     self.project = project
Example #12
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RestoreProjectDatabase"
     self.project = project
Example #13
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectTeam"
     self.project = project
     self.groups = CQDEUserGroupStore(project.trac_environment_key)
Example #14
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectDb"
     self.project = project
Example #15
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CreateProjectArchiveDbRecord"
     self.project = project
     self.archive_id = None
Example #16
0
 def __init__(self):
     Command.__init__(self)
     self.source = None
     self.destination = None