From 558ae82a7542d3cd4edab0e3e6cbff8fa2419eb8 Mon Sep 17 00:00:00 2001 From: Tom Sacher Date: Sun, 22 Apr 2018 12:14:12 +0200 Subject: [PATCH] First Version of nodeJS Port --- .editorconfig | 2 +- .gitignore | 3 +- .idea/NodeSpeedtest.iml | 12 + .idea/jsLibraryMappings.xml | 6 + .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 313 +++++++++++++ README.md | 40 +- doc.md | 424 ------------------ empty.php | 7 - garbage.php | 27 -- getIP.php | 68 --- package.json | 13 + src/SpeedTest.js | 53 +++ .../public/example-basic.html | 2 +- .../public/example-chart.html | 0 .../public/example-customSettings.html | 0 .../public/example-customSettings2.html | 0 .../public/example-gauges.html | 0 .../public/example-progressBar.html | 0 .../public/example-telemetryEnabled.html | 0 example-pretty.html => src/public/index.html | 4 +- .../public/speedtest_worker.js | 10 +- .../public/speedtest_worker.min.js | 0 telemetry.php | 52 --- telemetry_mysql.sql | 66 --- telemetry_postgresql.sql | 111 ----- telemetry_settings.php | 20 - yarn.lock | 310 +++++++++++++ 30 files changed, 738 insertions(+), 825 deletions(-) create mode 100644 .idea/NodeSpeedtest.iml create mode 100644 .idea/jsLibraryMappings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml delete mode 100644 doc.md delete mode 100644 empty.php delete mode 100644 garbage.php delete mode 100644 getIP.php create mode 100644 package.json create mode 100644 src/SpeedTest.js rename example-basic.html => src/public/example-basic.html (94%) rename example-chart.html => src/public/example-chart.html (100%) rename example-customSettings.html => src/public/example-customSettings.html (100%) rename example-customSettings2.html => src/public/example-customSettings2.html (100%) rename example-gauges.html => src/public/example-gauges.html (100%) rename example-progressBar.html => src/public/example-progressBar.html (100%) rename example-telemetryEnabled.html => src/public/example-telemetryEnabled.html (100%) rename example-pretty.html => src/public/index.html (98%) rename speedtest_worker.js => src/public/speedtest_worker.js (98%) rename speedtest_worker.min.js => src/public/speedtest_worker.min.js (100%) delete mode 100644 telemetry.php delete mode 100644 telemetry_mysql.sql delete mode 100644 telemetry_postgresql.sql delete mode 100644 telemetry_settings.php create mode 100644 yarn.lock diff --git a/.editorconfig b/.editorconfig index 8f4f139..e9e6a98 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,7 +11,7 @@ indent_size = 4 charset = utf-8 [*.js] -indent_size = 2 +indent_size = 4 indent_style = space [*.md] diff --git a/.gitignore b/.gitignore index c0f3bef..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -ugly.bat -wishlist.txt +node_modules diff --git a/.idea/NodeSpeedtest.iml b/.idea/NodeSpeedtest.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/NodeSpeedtest.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..d23208f --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..4e01417 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..f3fb2d7 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + +