Commit Graph

  • 7de29c46a7 Finished to add the cookietest api endpoint which purpose is to test the cookie handling feature of the WEBServer master Anatole SCHRAMM 2022-11-03 13:04:06 +0100
  • fba428c977 Added new api end point to test the WEBServer cookie API Anatole SCHRAMM 2022-10-25 13:42:41 +0200
  • 2c2f1da56e Removed previously ignored images formats Anatole SCHRAMM 2022-10-25 12:32:13 +0200
  • d94212b063 Mise à jour de 'README.md' Th3maz1ng 2022-10-22 22:03:56 +0200
  • 0f68644064 Added full HTTP cookie support to the WEBServer, did some cleanup and refactoring around the HTTP Header Parsing algorithm to ease the cookie parser implementation Th3maz1ng 2022-10-22 19:25:20 +0200
  • bbebac6212 Started to add support for Cookies, not fully implemented yet anschrammh 2022-10-20 08:22:11 +0200
  • 444d1ff60c Move method declaration location Anatole SCHRAMM 2022-10-18 14:16:15 +0200
  • 8638a3cf81 Removed warning about unused variable in the AP wifi info api endpoint Anatole SCHRAMM 2022-10-18 09:23:43 +0200
  • 785df2ac11 Updated all the webApi functions signatures because of the callback prototype update. Added the CORS policy : Access-Control-Allow-Origin: * to be able to make JS ajax requets without getting rejected. anschrammh 2022-10-17 23:57:10 +0200
  • c9ead83204 Renamed the sendHTTPHeader method to sendHTTPResponse because it is clearer, this method is also not static anymore, added new methods to the WEBServer api to allow user defined http headers. anschrammh 2022-10-17 23:54:17 +0200
  • 52a0cb7963 Updated password show button behaviour Th3maz1ng 2022-10-16 19:19:48 +0200
  • f8fba558e5 Added const qualifier where possible Th3maz1ng 2022-10-16 13:55:00 +0200
  • cdf013f6dd Removed api end point to retrieve the software version, this information is now included in the systemInfo api end point. Improved dashboard ( still some pannels with missing logic) Anatole SCHRAMM 2022-10-13 14:12:41 +0200
  • 436e0d7336 The access point section on the dashboard is now filled and corrected a typo. Finished the implementation of the apWifiInfoApi end point, disabled some traces, updated the dashboard's javascript code anschrammh 2022-10-12 23:46:02 +0200
  • ff37020638 Improved WEB dashboard, added a new API endpoint to retrieve AP information (not finished yet) Anatole SCHRAMM 2022-10-12 14:42:59 +0200
  • 1fae8f51f2 Added picture resources for the dashboard Anatole SCHRAMM 2022-10-12 13:33:03 +0200
  • a7033e5c5e Still migrating dashboard to new design Anatole SCHRAMM 2022-10-10 13:56:57 +0200
  • 2a51d0cdf6 Visually improving the layout of the dashboard Anatole SCHRAMM 2022-10-05 17:58:41 +0200
  • a951cdd6fc Added the WEBServerManager class to enable the initialization of the WEBServer using a config file, I might change the behaviour of this initialization when some parameters are missing, renamed the old WEBServerManager class to WEBServerManager_deprecated, now using the new WEBServerManager in the SAB object instead of the WEBServer directly, minor changes to the OTAManager, migrating the dashboard v2 layout so that every tile has the same size anschrammh 2022-10-05 08:20:15 +0200
  • a23fb4cba9 Fixed bad ternary operator which did not behave as expected :-( anschrammh 2022-10-04 20:01:38 +0200
  • 3583a010a7 Changed the order of the FTPServer constructor parameters Anatole SCHRAMM 2022-10-04 13:55:26 +0200
  • 9be8cb844a Added the setPort method to the TCPServer, renamed _dataPort to _FTPPassiveDataPort in the FTPSErver class Anatole SCHRAMM 2022-10-04 13:52:43 +0200
  • 6c53ee40e7 Reworked the way the servers are started anschrammh 2022-10-04 08:27:21 +0200
  • 59be94afb9 Added and reworked a few methods in the WEBServer and FTPServer class Anatole SCHRAMM 2022-10-03 14:15:13 +0200
  • 8e655ed8fe Added the Access-Control-Allow-Origin: * header to ease the html dashboard upudate, will have to find a better implementation anschrammh 2022-09-28 23:29:51 +0200
  • 4841bb8dff Added the wifi network scan interface anschrammh 2022-09-28 23:27:55 +0200
  • 5dd667e1d5 Mise à jour de 'README.md' Th3maz1ng 2022-09-27 08:15:04 +0200
  • e3e01da80b Added the OTAUpdater class which wraps the ESP8266httpUpdate to be compatible with my OTA service php file anschrammh 2022-09-27 08:05:35 +0200
  • 2eb604d24d Changed default LWIP option to use the Low memory no features one due to issues with OTA updates when using the Low memory one (OTA binary is slow to be received and times out) anschrammh 2022-09-27 08:04:25 +0200
  • 04a5eb9643 Registered a new rest api endpoint for remote OTA updates, renamed getIoManager to getIOManager anschrammh 2022-09-27 08:02:30 +0200
  • 9988b03306 Updated the soft version from 1.6.15 to 1.7.0 anschrammh 2022-09-27 08:00:52 +0200
  • beefe8e355 Added OTA events callbacks anschrammh 2022-09-27 08:00:19 +0200
  • 967e5ccdbe Added new api endpoint to query and apply OTA updates, renamed getIoManager to getIOManager anschrammh 2022-09-27 07:35:48 +0200
  • 09aee48f27 Added more information about the system (ie dev mac address + current software version) and added OTA checks (querying the update server for available updates) anschrammh 2022-09-27 07:34:18 +0200
  • 0dcb532007 Added the public key used for signed binary verification downloaded when doing OTA updates. Not yet in use. anschrammh 2022-09-27 07:31:26 +0200
  • 63b6cf626f Added the use of the OTAManager class in the SAB class anschrammh 2022-09-27 07:29:48 +0200
  • d0d5df2b98 Added 2 new settings which indicates which root folder to use for the web and ftp server. This config file is not used yet in the app, will come soon anschrammh 2022-09-27 07:29:10 +0200
  • 86452fb1b8 Added a new config file used to store OTA settings anschrammh 2022-09-27 07:27:00 +0200
  • f547c8fc07 Added a new OTAManager class which wraps the OTAUpdater class and configures it using parameters read from a cfg file anschrammh 2022-09-27 07:26:12 +0200
  • ab493ef6d8 Did some cleaning, added the flush statement to make sure the request is sent when needed and added some methodes to retrieve and reset the connection retry count anschrammh 2022-09-27 07:24:22 +0200
  • 636acb1be1 Allowed more characters to be parsed between quoted values (added '.' and '/' anschrammh 2022-09-27 07:21:36 +0200
  • ff16dbcfce Now using strcasecmp to make case insensitive string compariso anschrammh 2022-09-27 07:18:56 +0200
  • 636c3093de Added the on board LED Pin attribute anschrammh 2022-09-27 07:17:33 +0200
  • 263d47d8d0 Mise à jour de 'README.md' Th3maz1ng 2022-09-25 17:57:02 +0200
  • 3fe5946d49 Mise à jour de 'README.md' Th3maz1ng 2022-09-25 17:53:28 +0200
  • cabfdfcfb3 Added the const qualifier to some methods. When I have time, I SHOULD MAKE A PASS to add all needed const qualifier anschrammh 2022-09-23 14:39:36 +0200
  • bbcc262ac5 Added the -e (export binary) option when compiling as well as a user prompt to ask for the serial port when flashing anschrammh 2022-09-23 14:37:03 +0200
  • ae973dd8ed Renamed end point Th3maz1ng 2022-06-11 12:08:21 +0200
  • 0687f05bc0 Removed a warning in the WEBServer.h file and added a new api endpoint to get the software version Th3maz1ng 2022-06-11 12:05:56 +0200
  • 007dcbdaa4 Temporarily disabled the overloaded fillDataBuffer method which introduces issues ... Th3maz1ng 2022-06-11 11:46:53 +0200
  • 65370571d6 Added the build directory to ignored folder list anschrammh 2022-05-01 22:36:28 +0200
  • 8efd06fdbd Minor changes due to the way system time is now handled Th3maz1ng 2022-05-01 16:28:56 +0200
  • 380539e57e Reworking the way the post body content is handled, not done yet Th3maz1ng 2022-05-01 16:27:36 +0200
  • eb0a370cda Reworked how the time is tracked by the system in general. The external RTC is now only used to set the internal time once. This also allows cleaner File System time handling since we don't need to define a custom callback anymore Th3maz1ng 2022-05-01 16:25:56 +0200
  • 720f2e9579 Removed the unused variable warning in the new WEB API endpoint, changed the way sent files are handled regarding the sent bytes count both for the FTPServer and WEBServer Anatole SCHRAMM 2022-04-29 09:58:15 +0200
  • 9247d261cf Added new WEB API end point which will later be used to perform OTA Updates anschrammh 2022-04-29 07:54:45 +0200
  • 306bb3a932 Changed a debug printf statement and added a new API end point which will be used for ota updates anschrammh 2022-04-29 07:52:01 +0200
  • 966177a209 The WEB Server root directory is now copied so that the parameter doesn't have to live during the whole life of the program anschrammh 2022-04-29 07:50:33 +0200
  • 2449ab6013 Removed useless new line anschrammh 2022-04-29 07:48:49 +0200
  • 95ae6927e8 The FTP root directory string is now copied so that the parameter doesn't have to live during the whole life of the program anschrammh 2022-04-29 07:48:07 +0200
  • 714b167aef Corrected indentation anschrammh 2022-04-29 07:44:58 +0200
  • a4da8959e9 Cleaned the way config parameters are applied anschrammh 2022-04-25 21:25:32 +0200
  • f96ccfd8a1 Reworked the auto off implementation as well as changed the way the screen config parameters are applied from the SDCard Th3maz1ng 2022-04-24 17:35:15 +0200
  • a950b5b28e Fixed typo Th3maz1ng 2022-04-24 17:33:59 +0200
  • c6d4a9b111 Changed SSID_HIDDEN parameter name to HIDE_SSID Th3maz1ng 2022-04-24 17:33:21 +0200
  • 71c69e1a16 Reworked the way the screen goes in and out from sleep, so checking if the screen is enable or not does not make any sense anymore Th3maz1ng 2022-04-24 17:31:50 +0200
  • 511dcbbfd8 Mise à jour de 'sdCard_content/CONFIG/AP.CFG' Th3maz1ng 2022-04-24 13:36:57 +0200
  • 898a5a1c66 Mise à jour de 'sdCard_content/CONFIG/SCREEN.CFG' Th3maz1ng 2022-04-24 13:35:18 +0200
  • 6cbe3de785 Mise à jour de 'README.md' Th3maz1ng 2022-04-24 08:50:15 +0200
  • df344464b3 Updated version history Th3maz1ng 2022-04-23 22:58:10 +0200
  • 4635f4daaa Added the new mallocWithFallback function which tries to allocate the specified size and falls back to a smaller size when fails Th3maz1ng 2022-04-23 22:51:52 +0200
  • d9dfc15f21 Added the IP address of the device when in AP mode in the task_sys_info task Th3maz1ng 2022-04-23 22:49:47 +0200
  • 6130e8cd71 Reworked the way the main send buffer buffer is allocated. This is not done on the stack anymore because it led to a nasty stackoverflow. Changed some debug statements, finished the sendDirectoryListing method which is now working fine. Txt files are now sent as text/plain data. Th3maz1ng 2022-04-23 22:48:26 +0200
  • 16cae233bb Changed attribute type from uint64_t to size_t Th3maz1ng 2022-04-23 22:44:16 +0200
  • 057c058ca3 Renamed FtpMsgCode to FTPMsgCode, Added new state in the FileTransferStatus enum : MALLOC_ERROR, reworked the way the send and receive buffer is allocated, this is not done on the stack anymore which led to a silent stack overflow :-(. Changed the way the IP address is retrieved to open the passive connection Th3maz1ng 2022-04-23 22:39:46 +0200
  • 4297df4acb Changed uint64_t attribute type to size_t Th3maz1ng 2022-04-23 22:31:30 +0200
  • db1873b714 Replaced the previous http header sends by the new way of doing it : ie using the sendHTTPHeader helper function anschrammh 2022-04-22 08:10:02 +0200
  • 1c1992820d Removed the powerSettingsApi endpoint because changing the MCU frequency on the fly is no more supported by the underlying SDK anschrammh 2022-04-22 08:06:36 +0200
  • 9d831f11d9 Started to add a method listing the files in a directory if the rsrc asked is a folder,like apache2 does. Not finished yet anschrammh 2022-04-22 08:05:16 +0200
  • 8c6dd39bd7 Added return value to displayNextView(); and displayPreviousView(); telling if the action was a success or not anschrammh 2022-04-22 08:03:14 +0200
  • 11f3f85dde Added return value to displayNextView(); and displayPreviousView(); telling if the action was a success or not anschrammh 2022-04-22 08:02:51 +0200
  • 2943ed5da6 Added ico image type MIME support anschrammh 2022-04-22 07:59:47 +0200
  • e68ab04195 Added the persistent constructor parameter, as well as added the connect method to ease the class's instantiation Th3maz1ng 2022-04-17 21:58:10 +0200
  • 285c9ef20b Removed the use of the lastIndexOf function which was replaced by the builtin strrchr function Th3maz1ng 2022-04-17 21:54:41 +0200
  • f981c06fc3 Corrected a spelling mistake Th3maz1ng 2022-04-17 21:53:17 +0200
  • 16f917a0b2 Changed the way the ConnectivityManager is instantiated, it is no more newed and deleted Th3maz1ng 2022-04-17 21:52:02 +0200
  • 1e453eb5d8 Added the display auto power off functionality Th3maz1ng 2022-04-17 21:50:05 +0200
  • 453f4cdd6e Replaced NULL with nullptr, removed constant value attribute initialization from the initializer list Th3maz1ng 2022-04-17 21:48:56 +0200
  • 365b7764a2 Added some comments, removed _httpRequestData.getParamsDataPointer which isn't used anymore Th3maz1ng 2022-04-17 21:43:17 +0200
  • ec7c608dfe Renamed the HttpParserStatus enum members for the sake of consistency, added the 414 http error : URI too long, reworked the parsing of http resource queries, removedd the use of lastIndexOf, replaced useless strstr with strchr where needed Th3maz1ng 2022-04-17 21:41:50 +0200
  • 5d05bdb144 Officially retiring the WEBServerManager class which is superseded by the WEBServer class that have more features Th3maz1ng 2022-04-17 21:38:30 +0200
  • fb9ad7d95e Renamed task_batt_sensing to task_sys_info as well as added the display auto off and wake up feature Th3maz1ng 2022-04-17 21:36:44 +0200
  • 62b5957895 Renamed the task_batt_sensing task to task_sys_info and added displayed information like IP address or RAM consumption Th3maz1ng 2022-04-17 21:35:32 +0200
  • 4a7765fc35 Removed the lastIndexOf function returning the last occurence of a character in a string, using builtin strrchr instead Th3maz1ng 2022-04-17 21:33:27 +0200
  • df4159668c Updated version history Th3maz1ng 2022-04-17 21:26:02 +0200
  • 4296eeac28 else if on new line anschrammh 2022-04-15 08:55:25 +0200
  • f1d6fddd0d Added my own made CI config file in order to build the firmware upon commits anschrammh 2022-04-12 00:14:40 +0200
  • 43b4f78243 Updated Author top comment Th3maz1ng 2022-04-10 17:40:04 +0200
  • e3cdaafd88 Updated the sendHttpQuery method to now return an error code which tells the line corresponding to the return of the failure Th3maz1ng 2022-04-09 19:10:18 +0200
  • 32e32e46d2 Now handling range bytes request :) anschrammh 2022-04-07 01:20:13 +0200