_reg_classname: /^[A-Z][a-zA-Z0-9_/]*(\.(p(hp?)?)?)?$/,
_reg_cvs_nopostfix: /^(?:archive|conf|default|phpincludes|symfoni|titoonic-includes)$/,
_reg_cvs_rootfolders: /^\/(((Java|build|inc|opdatering|robot|scripts|sql|template|views|php|php5|fonts|webroot)(\/|$)|\/))/,
+ _reg_cvs_dnsdomains: /^\/(tv2|tv2news|tv2film|sputnik|charlie|zulu)(\.|\.d|\.dk)?$/,
_sitetypes: ['opdatering', 'robot', 'template'],
_envs: ['test', 'snapshot'],
updateQuickbox: function(manual) {
} else if (this._reg_cvs_nopostfix.exec(cvs_sitename)) {
url += cvs_sitename;
cvs_root = '';
+ if (cvs_sitename == 'conf') {
+ // Magic shortcuts for the 'conf' project:
+ var magicChangeShowSource = true;
+ var magicToShowSource = true;
+ if (uriOnly=='/dns') {
+ uriOnly = '/hosts/dns-master/master/';
+ magicToShowSource = false;
+ } else if (dns_domain=this._reg_cvs_dnsdomains.exec(uriOnly)) {
+ uriOnly = '/hosts/dns-master/master/'+dns_domain[1]+'.dk';
+ } else if (uriOnly=='/cron') {
+ uriOnly = '/hosts/robot-new/cronrun.crontab';
+ } else if (uriOnly=='/cron4') {
+ uriOnly = '/hosts/robot/cronrun.crontab';
+ } else {
+ magicChangeShowSource = false;
+ }
+ if (magicChangeShowSource && !manual && cvs_viewsource != magicToShowSource) {
+ // auto default to show source for files, not for directories
+ this._autoChange = true;
+ cvs_viewsource = document.getElementById('viewsource').checked = magicToShowSource;
+ this._autoChange = false;
+ }
+ }
} else {
url += cvs_sitename + '.tv2.dk';
}
var entered_root = null;
if (uriOnly && (entered_root=this._reg_cvs_rootfolders.exec(uriOnly))) {
+ // checks for standard cvs project root folders like: webroot, inc, opdatering, scripts, ...
cvs_root = '';
if (entered_root[1]=='/') {
- // you can exclude 'webroot' by written two slashes: '//'
+ // you can exclude 'webroot/opdatering' by written two slashes: '//'
uriOnly = uriOnly.substr(1);
} else if (entered_root[4]!='/') {
// be clever and add the missing slash
pref('tv2developer.firstRun', true);
pref('tv2developer.developer-initials', 'CHANGE-THIS');
pref('tv2developer.lastaction-linktype', 'tango/entry');
-pref('tv2developer.php4sites', '2000,auth,betaling,betalingsputnik,harris,inc,konsol,loginsputnik,playmoney,pokermoney,preview3finans,preview3nyhederne,preview3sporten,preview3tour,preview3film,preview324,spil,spil-deal,spil-million,spil-solo,titoonic,tvsputnik,vejnet,wptmoney,zulu');
+pref('tv2developer.php4sites', '2000,auth,betaling,betalingsputnik,harris,inc,konsol,loginsputnik,playmoney,pokermoney,preview3finans,preview3nyhederne,preview3sporten,preview3tour,preview3film,preview324,spil,spil-deal,spil-million,spil-solo,titoonic,tvsputnik,vejnet,wptmoney,oldzulu');
pref('tv2developer.useStatusBarMode', false);
<li>Slå TV 2 Login brugere op pr. navn eller id</li>
<li>Slå Bugzilla opgave op</li>
<li>Slå et I2 Regsitry namespace op i node-værktøjet</li>
+ <li>Shortcuts for CVS opslag:</li>
+ <ul>
+ <li>Skriv <code>conf/cron</code> for direkte at vise crontab for robot-new.webdmz.tv2.dk.</li>
+ <li>Skriv <code>conf/cron4</code> for direkte at vise crontab for robot.webdmz.tv2.dk (PHP4).</li>
+ <li>Skriv <code>conf/dns</code> for at gå dirkete til DNS master folderen.</li>
+ <li>Skriv <code>conf/tv2.dk</code>, <code>conf/zulu.dk</code>, osv. for at gå dirkete til DNS zone filen.</li>
+ </ul>
</ul>
<div class="center">
<a href="https://jkkn.dk/tv2developer/tv2developer.xpi">Install now</a>