remove unused comments

This commit is contained in:
Proddy
2024-02-10 15:43:59 +01:00
parent 52479c408f
commit 303e86a5eb
7 changed files with 0 additions and 12 deletions

View File

@@ -10,7 +10,6 @@
#include <SecurityManager.h> #include <SecurityManager.h>
#include <APSettingsService.h> #include <APSettingsService.h>
// #define MAX_AP_STATUS_SIZE 1024
#define AP_STATUS_SERVICE_PATH "/rest/apStatus" #define AP_STATUS_SERVICE_PATH "/rest/apStatus"
class APStatus { class APStatus {

View File

@@ -57,7 +57,6 @@ class HttpEndpoint {
request->send(400); // error request->send(400); // error
return; return;
} else if (outcome == StateUpdateResult::CHANGED_RESTART) { } else if (outcome == StateUpdateResult::CHANGED_RESTART) {
// TODO check if works
request->send(205); // reboot required request->send(205); // reboot required
return; return;
} else if (outcome == StateUpdateResult::CHANGED) { } else if (outcome == StateUpdateResult::CHANGED) {

View File

@@ -7,7 +7,6 @@
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>
#include <SecurityManager.h> #include <SecurityManager.h>
// #define MAX_MQTT_STATUS_SIZE 1024
#define MQTT_STATUS_SERVICE_PATH "/rest/mqttStatus" #define MQTT_STATUS_SERVICE_PATH "/rest/mqttStatus"
class MqttStatus { class MqttStatus {

View File

@@ -11,7 +11,6 @@
#include <SecurityManager.h> #include <SecurityManager.h>
#include <uuid/common.h> #include <uuid/common.h>
// #define MAX_NTP_STATUS_SIZE 1024
#define NTP_STATUS_SERVICE_PATH "/rest/ntpStatus" #define NTP_STATUS_SERVICE_PATH "/rest/ntpStatus"
class NTPStatus { class NTPStatus {

View File

@@ -18,8 +18,6 @@
#define AUTHORIZATION_HEADER_PREFIX "Bearer " #define AUTHORIZATION_HEADER_PREFIX "Bearer "
#define AUTHORIZATION_HEADER_PREFIX_LEN 7 #define AUTHORIZATION_HEADER_PREFIX_LEN 7
// #define MAX_JWT_SIZE 128
class User { class User {
public: public:
String username; String username;
@@ -70,7 +68,6 @@ class AuthenticationPredicates {
class SecurityManager { class SecurityManager {
public: public:
#if FT_ENABLED(FT_SECURITY)
/* /*
* Authenticate, returning the user if found * Authenticate, returning the user if found
*/ */
@@ -81,8 +78,6 @@ class SecurityManager {
*/ */
virtual String generateJWT(User * user) = 0; virtual String generateJWT(User * user) = 0;
#endif
/* /*
* Check the request header for the Authorization token * Check the request header for the Authorization token
*/ */

View File

@@ -10,7 +10,6 @@
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>
#include <SecurityManager.h> #include <SecurityManager.h>
// #define MAX_ESP_STATUS_SIZE 1024
#define SYSTEM_STATUS_SERVICE_PATH "/rest/systemStatus" #define SYSTEM_STATUS_SERVICE_PATH "/rest/systemStatus"
class SystemStatus { class SystemStatus {

View File

@@ -11,8 +11,6 @@
#define SCAN_NETWORKS_SERVICE_PATH "/rest/scanNetworks" #define SCAN_NETWORKS_SERVICE_PATH "/rest/scanNetworks"
#define LIST_NETWORKS_SERVICE_PATH "/rest/listNetworks" #define LIST_NETWORKS_SERVICE_PATH "/rest/listNetworks"
// #define MAX_WIFI_SCANNER_SIZE 1024
class WiFiScanner { class WiFiScanner {
public: public:
WiFiScanner(AsyncWebServer * server, SecurityManager * securityManager); WiFiScanner(AsyncWebServer * server, SecurityManager * securityManager);