Remove winsys stuff for general use

This commit is contained in:
Rob Vella 2021-01-10 18:30:44 -08:00
parent 14a29273a2
commit ee8608e9c2
3 changed files with 9 additions and 9 deletions

4
app.js
View File

@ -1,5 +1,5 @@
/** /**
* WIN System Log Tail / Who's Talking? * Public Allmon Who's Talking?
* *
* @author Rob Vella KK9ROB <me@robvella.com> * @author Rob Vella KK9ROB <me@robvella.com>
* @type {Vue} * @type {Vue}
@ -168,4 +168,4 @@ String.prototype.hashCode = function() {
hash = hash & hash; // Convert to 32bit integer hash = hash & hash; // Convert to 32bit integer
} }
return Math.abs(hash); return Math.abs(hash);
}; };

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Who's Talking? - WIN System</title> <title>Who's Talking?</title>
<link rel="stylesheet" href="css/pure-min.css" <link rel="stylesheet" href="css/pure-min.css"
integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ" crossorigin="anonymous"> integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ" crossorigin="anonymous">
<link rel="stylesheet" href="css/grids-responsive-min.css"> <link rel="stylesheet" href="css/grids-responsive-min.css">
@ -13,12 +13,12 @@
<div id="app"> <div id="app">
<div class="header"> <div class="header">
<div class="text-center"> <div class="text-center">
<h1>WIN System - Who's Talking?</h1> <h1>Who's Talking?</h1>
<button v-cloak class="pure-button pure-button-primary" @click="toggleTail" :class="{ 'button-error': enabled }"> <button v-cloak class="pure-button pure-button-primary" @click="toggleTail" :class="{ 'button-error': enabled }">
{{ enabled ? "Stop" : "Start" }} Log {{ enabled ? "Stop" : "Start" }} Log
</button> </button>
<div class="header-disclaimer"> <div class="header-disclaimer">
Not all keyups are captured. This is not an official WIN system feed.<p></p> Not all keyups are captured.<p></p>
&copy; 2020 Rob Vella KK9ROB &copy; 2020 Rob Vella KK9ROB
</div> </div>
</div> </div>

View File

@ -84,10 +84,10 @@ class Stream
public function getAllMonUri() public function getAllMonUri()
{ {
$hubsStr = implode(",", $this->hubs); $hubsStr = implode(",", $this->hubs);
// return "https://allmon.winsystem.org/server.php?nodes=2353"; return "http://localhost/server.php?nodes=" . $hubsStr;
// Use this return if you want all nodes
// return "http://localhost/server.php";
// return __DIR__ . '/test.stream'; // return __DIR__ . '/test.stream';
return "https://allmon.winsystem.org/server.php?nodes=" . $hubsStr;
return "http://kk9rob/allmon2/server.php?nodes=52003";
} }
/** /**
@ -99,7 +99,7 @@ class Stream
$this->openStream(); $this->openStream();
if (!$this->stream) { if (!$this->stream) {
$this->appendToStreamOutput($this->timeFormatted() . " rpt0000 KEY [via 0000] [WINSystem Allmon Connection Failed]"); $this->appendToStreamOutput($this->timeFormatted() . " rpt0000 KEY [via 0000] [Allmon Connection Failed]");
sleep(120); sleep(120);
// Systemd / Supervisor will restart us anyway // Systemd / Supervisor will restart us anyway
exit; exit;