From 033dacf8be96a24fba176930a772ee306d5699e4 Mon Sep 17 00:00:00 2001 From: jokob-sk <96159884+jokob-sk@users.noreply.github.com> Date: Fri, 25 Aug 2023 06:55:40 +1000 Subject: [PATCH] Revert "Pi.alert new features in deviceDetails.php (tools tab) and new translations" --- Dockerfile | 2 +- front/deviceDetails.php | 265 +++++------------------- front/php/server/internetinfo.php | 49 ----- front/php/server/mtr.php | 40 ---- front/php/server/nslookup.php | 40 ---- front/php/server/ping.php | 40 ---- front/php/server/traceroute.php | 40 ---- front/php/server/wol.php | 90 -------- front/php/templates/language/de_de.json | 32 +-- front/php/templates/language/en_us.json | 36 +--- front/php/templates/language/es_es.json | 36 +--- 11 files changed, 67 insertions(+), 603 deletions(-) delete mode 100644 front/php/server/internetinfo.php delete mode 100644 front/php/server/mtr.php delete mode 100644 front/php/server/nslookup.php delete mode 100644 front/php/server/ping.php delete mode 100644 front/php/server/traceroute.php delete mode 100644 front/php/server/wol.php diff --git a/Dockerfile b/Dockerfile index 59271d06..f1ebf974 100755 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV USER=pi USER_ID=1000 USER_GID=1000 PORT=20211 # Todo, do we still need all these packages? I can already see sudo which isn't needed RUN apt-get update \ - && apt-get install --no-install-recommends tini snmp ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo nginx-light php php-cgi php-fpm php-sqlite3 php-curl sqlite3 dnsutils net-tools python3 iproute2 nmap python3-pip zip systemctl usbutils iputils-ping traceroute -y \ + && apt-get install --no-install-recommends tini snmp ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo nginx-light php php-cgi php-fpm php-sqlite3 php-curl sqlite3 dnsutils net-tools python3 iproute2 nmap python3-pip zip systemctl usbutils -y \ && pip3 install requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi \ && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \ && apt-get clean autoclean \ diff --git a/front/deviceDetails.php b/front/deviceDetails.php index fd32a86f..f7baf7d8 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -99,22 +99,20 @@
+ +