From 4a0a09ed7abf5f7997a7c289781ee0caa8a981e0 Mon Sep 17 00:00:00 2001 From: Youen Date: Fri, 24 May 2024 23:51:37 +0200 Subject: [PATCH] Replaced ESPAsyncServer library by esp32_https_server (wip) --- ESP32/.cproject | 41 +- ESP32/data/www | 1 - .../scripts/install-arduino-core-esp32.sh | 36 - .../scripts/install-arduino-core-esp8266.sh | 29 - .../.github/scripts/install-arduino-ide.sh | 228 --- .../.github/scripts/install-platformio.sh | 140 -- .../.github/scripts/on-push.sh | 71 - ESP32/lib/ESPAsyncWebServer/.github/stale.yml | 31 - .../.github/workflows/push.yml | 34 - ESP32/lib/ESPAsyncWebServer/.gitignore | 2 - ESP32/lib/ESPAsyncWebServer/.travis.yml | 46 - ESP32/lib/ESPAsyncWebServer/CMakeLists.txt | 17 - ESP32/lib/ESPAsyncWebServer/README.md | 1521 ----------------- ESP32/lib/ESPAsyncWebServer/_config.yml | 1 - ESP32/lib/ESPAsyncWebServer/component.mk | 3 - .../examples/CaptivePortal/CaptivePortal.ino | 47 - .../ESP_AsyncFSBrowser/ESP_AsyncFSBrowser.ino | 221 --- .../ESP_AsyncFSBrowser/data/.exclude.files | 2 - .../ESP_AsyncFSBrowser/data/ace.js.gz | Bin 98943 -> 0 bytes .../data/ext-searchbox.js.gz | Bin 3131 -> 0 bytes .../ESP_AsyncFSBrowser/data/favicon.ico | Bin 1150 -> 0 bytes .../ESP_AsyncFSBrowser/data/index.htm | 131 -- .../ESP_AsyncFSBrowser/data/mode-css.js.gz | Bin 6102 -> 0 bytes .../ESP_AsyncFSBrowser/data/mode-html.js.gz | Bin 17037 -> 0 bytes .../data/mode-javascript.js.gz | Bin 6315 -> 0 bytes .../ESP_AsyncFSBrowser/data/worker-html.js.gz | Bin 50024 -> 0 bytes .../examples/regex_patterns/.test.build_flags | 1 - .../regex_patterns/regex_patterns.ino | 77 - .../examples/simple_server/simple_server.ino | 74 - ESP32/lib/ESPAsyncWebServer/keywords.txt | 3 - ESP32/lib/ESPAsyncWebServer/library.json | 33 - .../lib/ESPAsyncWebServer/library.properties | 9 - .../src/AsyncEventSource.cpp | 368 ---- .../ESPAsyncWebServer/src/AsyncEventSource.h | 133 -- ESP32/lib/ESPAsyncWebServer/src/AsyncJson.h | 254 --- .../ESPAsyncWebServer/src/AsyncWebSocket.cpp | 1294 -------------- .../ESPAsyncWebServer/src/AsyncWebSocket.h | 350 ---- .../src/AsyncWebSynchronization.h | 87 - .../ESPAsyncWebServer/src/ESPAsyncWebServer.h | 471 ----- .../ESPAsyncWebServer/src/SPIFFSEditor.cpp | 544 ------ .../lib/ESPAsyncWebServer/src/SPIFFSEditor.h | 24 - ESP32/lib/ESPAsyncWebServer/src/StringArray.h | 193 --- .../src/WebAuthentication.cpp | 235 --- .../ESPAsyncWebServer/src/WebAuthentication.h | 34 - .../ESPAsyncWebServer/src/WebHandlerImpl.h | 151 -- .../lib/ESPAsyncWebServer/src/WebHandlers.cpp | 220 --- .../lib/ESPAsyncWebServer/src/WebRequest.cpp | 1008 ----------- .../ESPAsyncWebServer/src/WebResponseImpl.h | 136 -- .../ESPAsyncWebServer/src/WebResponses.cpp | 699 -------- ESP32/lib/ESPAsyncWebServer/src/WebServer.cpp | 193 --- ESP32/lib/ESPAsyncWebServer/src/edit.htm | 627 ------- ESP32/platformio.ini | 43 +- ESP32/src/Status.h | 25 + ESP32/src/WebServer.cpp | 175 ++ ESP32/src/WebServer.h | 39 + ESP32/src/vehicle-monitor.cpp | 81 +- WebApp/src/monitor-api.ts | 2 +- 57 files changed, 314 insertions(+), 9871 deletions(-) delete mode 120000 ESP32/data/www delete mode 100755 ESP32/lib/ESPAsyncWebServer/.github/scripts/install-arduino-core-esp32.sh delete mode 100644 ESP32/lib/ESPAsyncWebServer/.github/scripts/install-arduino-core-esp8266.sh delete mode 100755 ESP32/lib/ESPAsyncWebServer/.github/scripts/install-arduino-ide.sh delete mode 100644 ESP32/lib/ESPAsyncWebServer/.github/scripts/install-platformio.sh delete mode 100755 ESP32/lib/ESPAsyncWebServer/.github/scripts/on-push.sh delete mode 100644 ESP32/lib/ESPAsyncWebServer/.github/stale.yml delete mode 100644 ESP32/lib/ESPAsyncWebServer/.github/workflows/push.yml delete mode 100644 ESP32/lib/ESPAsyncWebServer/.gitignore delete mode 100644 ESP32/lib/ESPAsyncWebServer/.travis.yml delete mode 100644 ESP32/lib/ESPAsyncWebServer/CMakeLists.txt delete mode 100644 ESP32/lib/ESPAsyncWebServer/README.md delete mode 100644 ESP32/lib/ESPAsyncWebServer/_config.yml delete mode 100644 ESP32/lib/ESPAsyncWebServer/component.mk delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/CaptivePortal/CaptivePortal.ino delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/ESP_AsyncFSBrowser.ino delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/.exclude.files delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/ace.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/ext-searchbox.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/favicon.ico delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/index.htm delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/mode-css.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/mode-html.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/mode-javascript.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/ESP_AsyncFSBrowser/data/worker-html.js.gz delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/regex_patterns/.test.build_flags delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/regex_patterns/regex_patterns.ino delete mode 100644 ESP32/lib/ESPAsyncWebServer/examples/simple_server/simple_server.ino delete mode 100755 ESP32/lib/ESPAsyncWebServer/keywords.txt delete mode 100644 ESP32/lib/ESPAsyncWebServer/library.json delete mode 100644 ESP32/lib/ESPAsyncWebServer/library.properties delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncEventSource.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncEventSource.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncJson.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncWebSocket.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncWebSocket.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/AsyncWebSynchronization.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/ESPAsyncWebServer.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/SPIFFSEditor.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/SPIFFSEditor.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/StringArray.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebAuthentication.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebAuthentication.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebHandlerImpl.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebHandlers.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebRequest.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebResponseImpl.h delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebResponses.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/WebServer.cpp delete mode 100644 ESP32/lib/ESPAsyncWebServer/src/edit.htm create mode 100644 ESP32/src/Status.h create mode 100644 ESP32/src/WebServer.cpp create mode 100644 ESP32/src/WebServer.h diff --git a/ESP32/.cproject b/ESP32/.cproject index c9184a6..cde4c4a 100644 --- a/ESP32/.cproject +++ b/ESP32/.cproject @@ -22,12 +22,7 @@ - - -