Searched defs:webutils (Results 1 - 19 of 19) sorted by relevance

/vbox/src/VBox/ValidationKit/common/
H A D__init__.py34 from common import webutils; namespace
/vbox/src/VBox/ValidationKit/testmanager/webui/
H A Dwuivcshistory.py38 from common import webutils; namespace
74 % ( webutils.escapeAttr(config.g_ksTracChangsetUrlFmt
79 sEntry += ' by <span class="tmvcstimeline-author">%s</span>' % ( webutils.escapeElem(oEntry.sAuthor), );
82 sEntry += ' <dd>%s</dd>\n' % ( webutils.escapeElem(oEntry.sMessage), );
H A Dwuiadminbuildcategory.py33 from common import webutils; namespace
69 sHtml += ' <li class="tmshowall">%s</li>\n' % (webutils.escapeElem(sOsArch),);
H A Dwuihlpgraphgooglechart.py33 from common import webutils; namespace
149 webutils.escapeAttrJavaScriptStringDQ(oSeries.asHtmlTooltips[0]),);
154 webutils.escapeAttrJavaScriptStringDQ(oSeries.asHtmlTooltips[i]),);
H A Dwuilogviewer.py32 from common import webutils; namespace
65 % (webutils.encodeUrlParams(dParams2).replace('%', '%%'), WuiMain.ksParamLogChunkNo,);
78 % ( WuiMain.ksParamLogChunkSize, webutils.encodeUrlParams(dParams2), WuiMain.ksParamLogChunkSize,);
154 % (iLine, iLine, iLine, offLine, webutils.escapeElem(sLine.rstrip()));
181 return (sTitle, '<p>%s</p>\n' % (webutils.escapeElem(oSizeOrError),),);
H A Dwuiadminbuildsource.py33 from common import utils, webutils; namespace
100 sHtml += ' <li class="tmshowall">%s</a></li>\n' % (webutils.escapeElem(sTmp),);
H A Dwuiadmintestcase.py33 from common import utils, webutils; namespace
88 webutils.escapeElem(oTmp.sArgs.replace('-', u'\u2011')),)
H A Dwuiadmintestgroup.py32 from common import utils, webutils; namespace
106 % ( webutils.escapeElem(oMember.oTestCase.sName),
142 webutils.escapeElem(oVar.sArgs), );
H A Dwuigraphwiz.py39 from common import utils, webutils; namespace
335 webutils.escapeAttr('return graphwizSetDefaultSizeValues("graphwiz-nav", "%s", "%s", "%s");'
H A Dwuitestresult.py45 from common import webutils, utils; namespace
63 return webutils.escapeElem(self.formatTsShort(oObject));
65 return webutils.escapeElem(oObject);
66 return webutils.escapeElem(str(oObject));
90 sHtml += u' <th scope="row">%s</th>\n' % (webutils.escapeElem(aoRow[0]),);
104 % ('red' if sStatus == 'failure' else 'green', webutils.escapeElem(sStatus.upper()))
111 if not webutils.hasSchema(sBinary):
113 aoRows.append([WuiLinkBase(webutils.getFilename(sBinary), sBinary, fBracketed = False),]);
130 sDisplayName = webutils.escapeElem(sName);
164 webutils
[all...]
H A Dwuicontentbase.py36 from common import webutils; namespace
85 self.sUrl += '?' + webutils.encodeUrlParams(dParams)
101 sExtraAttrs += 'onclick=\'return confirm("%s");\' ' % (webutils.escapeAttr(self.sConfirm),);
103 sExtraAttrs += 'title="%s" ' % (webutils.escapeAttr(self.sTitle),);
110 return sFmt % (sExtraAttrs, webutils.escapeAttr(self.sUrl), webutils.escapeElem(self.sName));
160 if not webutils.hasSchema(sUrl):
183 % (webutils.escapeAttr(sSpanClass), webutils.escapeElem(sText),));
367 len(oEntry.aoChanges) + 1, webutils
[all...]
H A Dwuibase.py36 from common import webutils, utils; namespace
133 self._sUrlBase += webutils.encodeUrlParams(self._dDbgParams) + '&';
179 sTopMenuItems += '<a href="' + webutils.escapeAttr(aoItem[1]) + '">' \
180 + webutils.escapeElem(aoItem[0]) + '</a></li>\n';
193 sSideMenuItems += '<a href="' + webutils.escapeAttr(asSubItem[1]) + '">' \
194 + webutils.escapeElem(asSubItem[0]) + '</a></li>\n';
655 % (webutils.escapeAttr(sKey), webutils.escapeAttrToStr(oValue),);
892 '?' + webutils.encodeUrlParams({self.ksParamAction: sRedirAction}), fStrict=fStrict)
905 '?' + webutils
[all...]
H A Dwuimain.py47 from common import webutils, utils; namespace
249 sExtraTimeNav += '&%s' % webutils.encodeUrlParams({sExtraParam: dCurParams[sExtraParam]})
280 '> Admin', 'admin.py?' + webutils.encodeUrlParams(self._dDbgParams), []
325 sHtmlTimeSelector += '\'?%s&%s=\' + ' % (webutils.encodeUrlParams(dParams), WuiDispatcherBase.ksParamEffectiveDate)
357 % (webutils.quoteUrl(sTimestamp),
362 % (webutils.quoteUrl(tsEffective), tsEffective)
392 % (webutils.encodeUrlParams(dParams),);
397 % (webutils.encodeUrlParams(dParams),);
418 sHtmlPeriodSelector += '\'?%s&%s=\' + ' % (webutils.encodeUrlParams(dParams), self.ksParamEffectivePeriod)
423 % (webutils
[all...]
H A Dwuiadmin.py37 from common import webutils namespace
502 '> Test Results', 'index.py?' + webutils.encodeUrlParams(self._dDbgParams), []
653 self._sPageBody += '<h3>%s (ID %#d)</h3>' % (webutils.escapeElem(oGroup.sName), oGroup.idSchedGroup);
659 % (webutils.escapeElem(str(oXcpt)),);
667 self._sPageBody += '<p>%s.</p>' % (webutils.escapeElem(oError[0]),);
670 # self._sPageBody += '<p>%s.</p>' % (webutils.escapeElem(oError[0]),);
672 # self._sPageBody += '<p>%s.</p>' % (webutils.escapeElem(oError[0]),);
675 % (webutils.escapeElem(oError[0]), webutils.escapeElem(str(oError[1])));
677 self._sPageBody += '<p>%s<p>\n' % (webutils
[all...]
/vbox/src/VBox/ValidationKit/testboxscript/
H A Dtestboxcommand.py38 from common import utils, webutils; namespace
232 fRc = webutils.downloadFile(sZipUrl, sDstFile, self._oTestBoxScript.getPathBuilds(), testboxcommons.log);
H A Dtestboxtasks.py45 from common import webutils; namespace
823 sDstFile = webutils.getFilename(sArchive);
831 if webutils.downloadFile(sArchive, sDstFile, self._oTestBoxScript.getPathBuilds(), self._log, self._log) is not True:
/vbox/src/VBox/ValidationKit/testdriver/
H A Dvboxinstaller.py51 from common import utils, webutils; namespace
134 sDstFile = os.path.join(self.sScratchPath, webutils.getFilename(sUrl));
398 if webutils.downloadFile(self._asBuildUrls[i], self._asBuildFiles[i],
/vbox/src/VBox/ValidationKit/testmanager/core/
H A Ddb.py40 from common import utils, webutils; namespace
560 webutils.escapeElem(aEntry[1]),
561 webutils.escapeElem(aEntry[4]),
567 % (webutils.escapeElem('\n'.join([aoRow[0] for aoRow in aEntry[5]])),);
H A Dwebservergluebase.py39 from common import webutils, utils; namespace
326 sBody = webutils.encodeUrlParams(self._dParams);
474 fnWrite(' <tr><td>' + webutils.escapeElem(sKey) + '</td><td>' \
475 + webutils.escapeElem(str(dDict.get(sKey))) \
502 fnWrite(' <tr><td>' + str(i) + '</td><td>' + webutils.escapeElem(str(aoStuff[i])) + '</td></tr>\n');

Completed in 136 milliseconds