mirror of
https://github.com/ShaYmez/allmon2-last-heard.git
synced 2024-11-23 08:28:38 -05:00
Remove winsys stuff for general use
This commit is contained in:
parent
14a29273a2
commit
ee8608e9c2
2
app.js
2
app.js
@ -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}
|
||||||
|
@ -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>
|
||||||
© 2020 Rob Vella KK9ROB
|
© 2020 Rob Vella KK9ROB
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user