Esempio n. 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
Esempio n. 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
Esempio n. 3
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CleanUpArchiveFolder"
     self.project = project
Esempio n. 4
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RemoveProjectArchiveDbRecord"
     self.project = project
Esempio n. 5
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RestoreProjectDatabase"
     self.project = project
Esempio n. 6
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectTeam"
     self.project = project
     self.groups = CQDEUserGroupStore(project.trac_environment_key)
Esempio n. 7
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectDb"
     self.project = project
Esempio n. 8
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CreateProjectArchiveDbRecord"
     self.project = project
     self.archive_id = None
Esempio n. 9
0
 def __init__(self):
     Command.__init__(self)
     self.source = None
     self.destination = None
Esempio n. 10
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CleanUpArchiveFolder"
     self.project = project
Esempio n. 11
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RemoveProjectArchiveDbRecord"
     self.project = project
Esempio n. 12
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "RestoreProjectDatabase"
     self.project = project
Esempio n. 13
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectTeam"
     self.project = project
     self.groups = CQDEUserGroupStore(project.trac_environment_key)
Esempio n. 14
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "ArchiveProjectDb"
     self.project = project
Esempio n. 15
0
 def __init__(self, project):
     Command.__init__(self)
     self.name = "CreateProjectArchiveDbRecord"
     self.project = project
     self.archive_id = None
Esempio n. 16
0
 def __init__(self):
     Command.__init__(self)
     self.source = None
     self.destination = None