4 Commits

Author SHA1 Message Date
npease e5c920e42d Attempts to undo cache
continuous-integration/drone/push Build is passing
2022-06-30 16:04:26 -04:00
npease 3fa4818ff2 Changed LiveATC URL
continuous-integration/drone/push Build is passing
2022-06-30 13:40:43 -04:00
npease 17566877ff Updated for HTTPS Server Protocol
continuous-integration/drone/push Build is passing
2022-06-30 02:02:55 -04:00
npease 305a16b796 Removed submodule liveatc_update
continuous-integration/drone/push Build is passing
2022-06-30 01:21:56 -04:00
11 changed files with 49717 additions and 9 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ json/keys.json
/data/
/.vscode/
/information_files/
/information
/information/
+1 -2
View File
@@ -1,7 +1,6 @@
# AviationAssistant
A GUI for my Aviation Assistant device<br>
<br>
![](https://server1.nicholaspease.com/badges/cloc/npease/AviationAssistant.svg)
[![Build Status](http://server1.nicholaspease.com:11000/api/badges/LAX18/AviationAssistant/status.svg)](http://server1.nicholaspease.com:11000/LAX18/AviationAssistant)<br>
This code is in no way perfect or the most pretty. In fact most of this code is rather shabby looking and in dire need of optimization. Perhaps I will look through optimization as time goes on but anyone willing to optimise the code itself are welcome to do so. Any improvements or additions to the codebase and features would be greatly appreciated!
BIN
View File
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
{
"Bing": "Avu1sIS7QCdoqq3MjgrRLTOpfkFgs0cTGY3JWozoIQ6hABYlefqSjPwsYWAR4ldJ",
"hereapi": "h2sjCSDN1ZHRMUx9stX8QtIzYjWvMdvZVEiimdLvcP8",
"AVWX": "2TFcLCOsNASt37yV-39PEHnAu9PD6eoJ05ihOYiW49w",
"AE": "0eadb2-55b342",
"GithubToken": "01880079ec4b1a5274dc0a6da9c233fd97c7f9e3"
}
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:clrMap xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
+6
View File
@@ -0,0 +1,6 @@
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
<o:MainFile HRef="../information.html"/>
<o:File HRef="themedata.thmx"/>
<o:File HRef="colorschememapping.xml"/>
<o:File HRef="filelist.xml"/>
</xml>
Binary file not shown.
+4 -4
View File
@@ -50,7 +50,7 @@ function playPLS(url, title) {
// PLS INFO
const proxyurl = "http://" + window.location.hostname + ":7000/";
var request = $.ajax({
url: 'information/liveatc.json',
url: 'https://server1.nicholaspease.com/reports/liveatc.json',
timeout: 5000,
cache: true,
dataType: 'json'
@@ -93,7 +93,7 @@ function playPause() {
function listStations() {
document.getElementById("atc_selector").innerHTML = ""
var request = $.ajax({
url: 'information/liveatc.json',
url: 'https://server1.nicholaspease.com/reports/liveatc.json',
timeout: 5000,
cache: true,
dataType: 'json'
@@ -135,7 +135,7 @@ function selectState(state) {
var node = document.createElement("hr")
document.getElementById("atc_selector").appendChild(node)
var request = $.ajax({
url: 'information/liveatc.json',
url: 'https://server1.nicholaspease.com/reports/liveatc.json',
timeout: 5000,
cache: true,
dataType: 'json'
@@ -188,7 +188,7 @@ function selectAirport(airport, state) {
var node = document.createElement("hr")
document.getElementById("atc_selector").appendChild(node)
var request = $.ajax({
url: 'information/liveatc.json',
url: 'https://server1.nicholaspease.com/reports/liveatc.json',
timeout: 5000,
cache: true,
dataType: 'json'
+1 -1
View File
@@ -8,7 +8,7 @@ function initializeSchedulesPage() {
document.getElementById("itin_body").innerHTML = ""
document.getElementById("itin_img").setAttribute("src", 'images/black.jpg')
FetchPending = $.ajax({
url: 'information/liveatc.json',
url: 'https://server1.nicholaspease.com/reports/liveatc.json',
timeout: 5000,
cache: false,
dataType: 'json',
+1 -1
View File
@@ -1,7 +1,7 @@
sudo python /usr/share/dump1090-mutability/html/python/battery.py & > /dev/null 2>&1 &
sudo python /usr/share/dump1090-mutability/html/python/api.py & > /dev/null 2>&1 &
sudo node /usr/share/dump1090-mutability/html/scripts/internet_data.js & > /dev/null 2>&1 &
/usr/bin/wget http://server1.nicholaspease.com:6500/reports/liveatc.json -O /home/pi/dump1090-info/liveatc.json
/usr/bin/wget https://server1.nicholaspease.com/reports/liveatc.json -O /home/pi/dump1090-info/liveatc.json
export PORT=8080
sudo node /home/pi/cors-anywhere/server.js