Branding: Singularity -> Replex (part 2)
This commit is contained in:
2
htdocs/batch_process.php
Executable file → Normal file
2
htdocs/batch_process.php
Executable file → Normal file
@@ -75,7 +75,7 @@ if ($nr)
|
||||
{
|
||||
Memc::flush();
|
||||
$rp = $nr != 1 ? "reports" : "report";
|
||||
//IRCNotify::send("#SingularityViewer", "[CrashProcessor] $nr new $rp. http://crash.singularityviewer.org/");
|
||||
IRCNotify::send("#replex", "[CrashProcessor] $nr new $rp. http://crash.replex.org/");
|
||||
}
|
||||
|
||||
Session::GC();
|
||||
|
||||
@@ -15,4 +15,4 @@ if (!$miniDump || !($miniDump->getData()))
|
||||
}
|
||||
|
||||
header("Content-Type: application/octet-stream");
|
||||
http::sendDownload("singularity" . ((int)$_GET["report_id"]) . ".dmp", $miniDump->getData());
|
||||
http::sendDownload("replex" . ((int)$_GET["report_id"]) . ".dmp", $miniDump->getData());
|
||||
@@ -11,12 +11,12 @@ if (!$S->isAnonymous() && $S->user->isAllowed())
|
||||
Layout::header();
|
||||
?>
|
||||
|
||||
<p>This application is used for analyzing crash reports and statitstics for the Singularity
|
||||
<p>This application is used for analyzing crash reports and statitstics for the Replex
|
||||
Viewer project.</p>
|
||||
|
||||
<p>Access to this tool is granted to the members of the development team.
|
||||
The main goal is to identify the most common problems and improve the expierience
|
||||
for the users of Singularity Viewer.</p>
|
||||
for the users of Replex Viewer.</p>
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class CrashReport
|
||||
|
||||
static function htmlFrame($f, $chan, $version)
|
||||
{
|
||||
$urlBase = "https://github.com/singularity-viewer/SingularityViewer/blob/" . self::getHash($chan, $version);
|
||||
$urlBase = "https://github.com/replex-viewer/replex/blob/" . self::getHash($chan, $version);
|
||||
|
||||
$ret = "";
|
||||
$link = "";
|
||||
@@ -275,9 +275,9 @@ class CrashReport
|
||||
|
||||
$f->source_file = str_replace("\\", "/", $f->source_file);
|
||||
|
||||
if (stristr($f->module, "singularity") !== false)
|
||||
if (stristr($f->module, "replex") !== false)
|
||||
{
|
||||
$f->module = "singularity";
|
||||
$f->module = "replex";
|
||||
}
|
||||
else if (stristr($f->module, "llcommon") !== false)
|
||||
{
|
||||
@@ -432,7 +432,7 @@ class CrashReport
|
||||
self::$builds_map = self::getBuildsMap();
|
||||
}
|
||||
|
||||
if (!self::$builds_map[$chan]) $chan = "SingularityAlpha";
|
||||
if (!self::$builds_map[$chan]) $chan = "ReplexAlpha";
|
||||
|
||||
if (!self::$builds_map[$chan][$version]) return "master";
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ class Layout
|
||||
<link rel="icon" type="image/png" href="//www.replex.org//favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="//www.replex.org//favicon-16x16.png" sizes="16x16">
|
||||
<link rel="icon" type="image/png" href="//www.replex.org//favicon-32x32.png" sizes="32x32">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="msapplication-TileColor" content="#101040">
|
||||
<meta name="msapplication-TileImage" content="//www.replex.org/mstile-144x144.png">
|
||||
|
||||
<title>Replex Viewer - Automated Crash Report Processing System</title>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Simple key-value store for various options
|
||||
*
|
||||
* Description
|
||||
* @package Singularity Crash Processor
|
||||
* @package Replex Crash Processor
|
||||
* @author Latif Khalifa <latifer@streamgrid.net>
|
||||
* @copyright Copyright © 2012, Latif Khalifa
|
||||
*
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Parses incoming raw crash reports
|
||||
*
|
||||
* Description
|
||||
* @package Singularity Crash Processor
|
||||
* @package Replex Crash Processor
|
||||
* @author Latif Khalifa <latifer@streamgrid.net>
|
||||
* @copyright Copyright © 2012, Latif Khalifa
|
||||
*
|
||||
|
||||
@@ -205,8 +205,8 @@ class SearchFilter
|
||||
<div class="radio">
|
||||
Channel<br />
|
||||
<input type="radio" id="chan1" name="chan" value="" <?php echo !$this->chan ? 'checked="checked"' : '' ?>/><label for="chan1">All</label>
|
||||
<input type="radio" id="chan2" name="chan" value="Singularity" <?php echo $this->chan == "Singularity" ? 'checked="checked"' : '' ?>/><label for="chan2">Singularity</label>
|
||||
<input type="radio" id="chan3" name="chan" value="SingularityAlpha" <?php echo $this->chan == "SingularityAlpha" ? 'checked="checked"' : '' ?>/><label for="chan3">SingularityAlpha</label>
|
||||
<input type="radio" id="chan2" name="chan" value="Replex" <?php echo $this->chan == "Replex" ? 'checked="checked"' : '' ?>/><label for="chan2">Replex</label>
|
||||
<input type="radio" id="chan3" name="chan" value="ReplexAlpha" <?php echo $this->chan == "ReplexAlpha" ? 'checked="checked"' : '' ?>/><label for="chan3">ReplexAlpha</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This class handles sessions
|
||||
*
|
||||
* Description
|
||||
* @package Singularity Crash Processor
|
||||
* @package Replex Crash Processor
|
||||
* @author Latif Khalifa <latifer@streamgrid.net>
|
||||
* @copyright Copyright © 2012, Latif Khalifa
|
||||
*
|
||||
@@ -47,7 +47,7 @@ class Session
|
||||
$this->timeout = 604800; // 7 days
|
||||
$this->authenticated = false;
|
||||
$this->validsession = false;
|
||||
$this->cookie = "singularity_sid";
|
||||
$this->cookie = "replex_sid";
|
||||
$this->user = new User;
|
||||
$this->persist = new stdClass;
|
||||
register_shutdown_function(array(&$this, 'shutdown'));
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Common http operations such as redirects, etc.
|
||||
*
|
||||
* Description
|
||||
* @package Singularity Crash Processor
|
||||
* @package Replex Crash Processor
|
||||
* @author Latif Khalifa <latifer@streamgrid.net>
|
||||
* @copyright Copyright © 2012, Latif Khalifa
|
||||
*
|
||||
|
||||
@@ -131,7 +131,7 @@ $(function() {
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Minidump</th>
|
||||
<td><a href="download.php/singularity<?php echo (int)$report->id ?>.dmp?report_id=<?php echo (int)$report->id ?>">Download</a></td>
|
||||
<td><a href="download.php/replex<?php echo (int)$report->id ?>.dmp?report_id=<?php echo (int)$report->id ?>">Download</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@ if (PHP_SAPI != "cli")
|
||||
header("Content-Type: text/plain");
|
||||
}
|
||||
|
||||
if (!$remote_map = json_decode(file_get_contents("http://alpha.singularityviewer.org/alpha/builds_map.php"))) return;
|
||||
if (!$remote_map = json_decode(file_get_contents("http://files.streamgrid.net/replex/builds_map.php"))) return;
|
||||
|
||||
$existing = CrashReport::getBuildsMap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user