Home | History | Annotate | Download | only in share

Lines Matching refs:report

21 kReportFileRE = re.compile('(.*/)?report-(.*)\\.html')
52 # Insert report bug and open file links.
53 kReportReplacements.append((re.compile('<!-- REPORTBUG id="report-(.*)\\.html" -->'),
54 ('<td class="Button"><a href="report/\\1">Report Bug</a></td>' +
58 '<h3><a href="/">Summary</a> > Report %(report)s</h3>'))
61 '<td class="Button"><a href="report/%(report)s">Report Bug</a></td>'))
63 # Insert report crashes link.
66 # be enabled. Also the radar reporter needs to be fixed to report
71 # 'reports filed here: <a href="report_crashes">Report Crashes</a>.'))
86 def __init__(self, report, reporter, parameters, server):
88 self.report = report
100 self.status = self.reporter.fileReport(self.report, self.parameters)
244 def load_report(self, report):
245 path = os.path.join(self.server.root, 'report-%s.html'%report)
283 report = self.get_scalar_field('report')
302 return (False, "Invalid report method.")
311 'Missing field "%s" for %s report method.'%(name,
316 if report != 'None':
323 # Create the report.
338 report = self.get_scalar_field('report')
339 c = self.get_report_context(report)
341 reportingFor = "Report Crashes > "
345 reportingFor = '<a href="/%s">Report %s</a> > ' % (c.reportSource,
346 report)
347 fileBug = '<a href="/report/%s">File Bug</a> > ' % report
401 def send_open_report(self, report):
403 keys = self.load_report(report)
405 return self.send_error(400, 'Invalid report.')
424 def get_report_context(self, report):
427 if report is None or report == 'None':
455 c.navMarkup = "Report Crashes > "
472 # Check that this is a valid report.
473 path = posixpath.join(self.server.root, 'report-%s.html' % report)
475 raise ValueError, 'Invalid report ID'
476 keys = self.load_report(report)
486 c.reportSource = 'reportreport
487 c.navMarkup = """<a href="/%s">Report %s</a> > """ % (c.reportSource,
488 report)
493 def send_report(self, report, configOverrides=None):
501 # report is None is used for crashes
503 c = self.get_report_context(report)
516 <a href="/%s">View Bug Report</a>
591 <input type="hidden" name="report" value="%(report)s">
661 if name=='report':
743 variables['report'] = ''
746 variables['report'] = m.group(2)