7de29c46a7Finished 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
fba428c977Added new api end point to test the WEBServer cookie API
Anatole SCHRAMM
2022-10-25 13:42:41 +0200
0f68644064Added full HTTP cookie support to the WEBServer, did some cleanup and refactoring around the HTTP Header Parsing algorithm to ease the cookie parser implementationTh3maz1ng2022-10-22 19:25:20 +0200
bbebac6212Started to add support for Cookies, not fully implemented yet
anschrammh
2022-10-20 08:22:11 +0200
8638a3cf81Removed warning about unused variable in the AP wifi info api endpoint
Anatole SCHRAMM
2022-10-18 09:23:43 +0200
785df2ac11Updated 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
c9ead83204Renamed 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
52a0cb7963Updated password show button behaviourTh3maz1ng2022-10-16 19:19:48 +0200
f8fba558e5Added const qualifier where possibleTh3maz1ng2022-10-16 13:55:00 +0200
cdf013f6ddRemoved 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
436e0d7336The 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
ff37020638Improved WEB dashboard, added a new API endpoint to retrieve AP information (not finished yet)
Anatole SCHRAMM
2022-10-12 14:42:59 +0200
1fae8f51f2Added picture resources for the dashboard
Anatole SCHRAMM
2022-10-12 13:33:03 +0200
a7033e5c5eStill migrating dashboard to new design
Anatole SCHRAMM
2022-10-10 13:56:57 +0200
2a51d0cdf6Visually improving the layout of the dashboard
Anatole SCHRAMM
2022-10-05 17:58:41 +0200
a951cdd6fcAdded 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
a23fb4cba9Fixed bad ternary operator which did not behave as expected :-(
anschrammh
2022-10-04 20:01:38 +0200
3583a010a7Changed the order of the FTPServer constructor parameters
Anatole SCHRAMM
2022-10-04 13:55:26 +0200
9be8cb844aAdded the setPort method to the TCPServer, renamed _dataPort to _FTPPassiveDataPort in the FTPSErver class
Anatole SCHRAMM
2022-10-04 13:52:43 +0200
6c53ee40e7Reworked the way the servers are started
anschrammh
2022-10-04 08:27:21 +0200
59be94afb9Added and reworked a few methods in the WEBServer and FTPServer class
Anatole SCHRAMM
2022-10-03 14:15:13 +0200
8e655ed8feAdded 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
4841bb8dffAdded the wifi network scan interface
anschrammh
2022-09-28 23:27:55 +0200
e3e01da80bAdded the OTAUpdater class which wraps the ESP8266httpUpdate to be compatible with my OTA service php file
anschrammh
2022-09-27 08:05:35 +0200
2eb604d24dChanged 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
04a5eb9643Registered a new rest api endpoint for remote OTA updates, renamed getIoManager to getIOManager
anschrammh
2022-09-27 08:02:30 +0200
9988b03306Updated the soft version from 1.6.15 to 1.7.0
anschrammh
2022-09-27 08:00:52 +0200
beefe8e355Added OTA events callbacks
anschrammh
2022-09-27 08:00:19 +0200
967e5ccdbeAdded new api endpoint to query and apply OTA updates, renamed getIoManager to getIOManager
anschrammh
2022-09-27 07:35:48 +0200
09aee48f27Added 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
0dcb532007Added 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
63b6cf626fAdded the use of the OTAManager class in the SAB class
anschrammh
2022-09-27 07:29:48 +0200
d0d5df2b98Added 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
86452fb1b8Added a new config file used to store OTA settings
anschrammh
2022-09-27 07:27:00 +0200
f547c8fc07Added 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
ab493ef6d8Did 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
636acb1be1Allowed more characters to be parsed between quoted values (added '.' and '/'
anschrammh
2022-09-27 07:21:36 +0200
ff16dbcfceNow using strcasecmp to make case insensitive string compariso
anschrammh
2022-09-27 07:18:56 +0200
636c3093deAdded the on board LED Pin attribute
anschrammh
2022-09-27 07:17:33 +0200
cabfdfcfb3Added 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
bbcc262ac5Added 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
0687f05bc0Removed a warning in the WEBServer.h file and added a new api endpoint to get the software versionTh3maz1ng2022-06-11 12:05:56 +0200
007dcbdaa4Temporarily disabled the overloaded fillDataBuffer method which introduces issues ...Th3maz1ng2022-06-11 11:46:53 +0200
65370571d6Added the build directory to ignored folder list
anschrammh
2022-05-01 22:36:28 +0200
8efd06fdbdMinor changes due to the way system time is now handledTh3maz1ng2022-05-01 16:28:56 +0200
380539e57eReworking the way the post body content is handled, not done yetTh3maz1ng2022-05-01 16:27:36 +0200
eb0a370cdaReworked 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 anymoreTh3maz1ng2022-05-01 16:25:56 +0200
720f2e9579Removed 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
9247d261cfAdded new WEB API end point which will later be used to perform OTA Updates
anschrammh
2022-04-29 07:54:45 +0200
306bb3a932Changed 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
966177a209The 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
2449ab6013Removed useless new line
anschrammh
2022-04-29 07:48:49 +0200
95ae6927e8The 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
a4da8959e9Cleaned the way config parameters are applied
anschrammh
2022-04-25 21:25:32 +0200
f96ccfd8a1Reworked the auto off implementation as well as changed the way the screen config parameters are applied from the SDCardTh3maz1ng2022-04-24 17:35:15 +0200
c6d4a9b111Changed SSID_HIDDEN parameter name to HIDE_SSIDTh3maz1ng2022-04-24 17:33:21 +0200
71c69e1a16Reworked the way the screen goes in and out from sleep, so checking if the screen is enable or not does not make any sense anymoreTh3maz1ng2022-04-24 17:31:50 +0200
511dcbbfd8Mise à jour de 'sdCard_content/CONFIG/AP.CFG'Th3maz1ng2022-04-24 13:36:57 +0200
898a5a1c66Mise à jour de 'sdCard_content/CONFIG/SCREEN.CFG'Th3maz1ng2022-04-24 13:35:18 +0200
4635f4daaaAdded the new mallocWithFallback function which tries to allocate the specified size and falls back to a smaller size when failsTh3maz1ng2022-04-23 22:51:52 +0200
d9dfc15f21Added the IP address of the device when in AP mode in the task_sys_info taskTh3maz1ng2022-04-23 22:49:47 +0200
6130e8cd71Reworked 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.Th3maz1ng2022-04-23 22:48:26 +0200
16cae233bbChanged attribute type from uint64_t to size_tTh3maz1ng2022-04-23 22:44:16 +0200
057c058ca3Renamed 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 connectionTh3maz1ng2022-04-23 22:39:46 +0200
4297df4acbChanged uint64_t attribute type to size_tTh3maz1ng2022-04-23 22:31:30 +0200
db1873b714Replaced 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
1c1992820dRemoved 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
9d831f11d9Started 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
8c6dd39bd7Added return value to displayNextView(); and displayPreviousView(); telling if the action was a success or not
anschrammh
2022-04-22 08:03:14 +0200
11f3f85ddeAdded return value to displayNextView(); and displayPreviousView(); telling if the action was a success or not
anschrammh
2022-04-22 08:02:51 +0200
2943ed5da6Added ico image type MIME support
anschrammh
2022-04-22 07:59:47 +0200
e68ab04195Added the persistent constructor parameter, as well as added the connect method to ease the class's instantiationTh3maz1ng2022-04-17 21:58:10 +0200
285c9ef20bRemoved the use of the lastIndexOf function which was replaced by the builtin strrchr functionTh3maz1ng2022-04-17 21:54:41 +0200
16f917a0b2Changed the way the ConnectivityManager is instantiated, it is no more newed and deletedTh3maz1ng2022-04-17 21:52:02 +0200
1e453eb5d8Added the display auto power off functionalityTh3maz1ng2022-04-17 21:50:05 +0200
453f4cdd6eReplaced NULL with nullptr, removed constant value attribute initialization from the initializer listTh3maz1ng2022-04-17 21:48:56 +0200
365b7764a2Added some comments, removed _httpRequestData.getParamsDataPointer which isn't used anymoreTh3maz1ng2022-04-17 21:43:17 +0200
ec7c608dfeRenamed 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 neededTh3maz1ng2022-04-17 21:41:50 +0200
5d05bdb144Officially retiring the WEBServerManager class which is superseded by the WEBServer class that have more featuresTh3maz1ng2022-04-17 21:38:30 +0200
fb9ad7d95eRenamed task_batt_sensing to task_sys_info as well as added the display auto off and wake up featureTh3maz1ng2022-04-17 21:36:44 +0200
62b5957895Renamed the task_batt_sensing task to task_sys_info and added displayed information like IP address or RAM consumptionTh3maz1ng2022-04-17 21:35:32 +0200
4a7765fc35Removed the lastIndexOf function returning the last occurence of a character in a string, using builtin strrchr insteadTh3maz1ng2022-04-17 21:33:27 +0200
e3cdaafd88Updated the sendHttpQuery method to now return an error code which tells the line corresponding to the return of the failureTh3maz1ng2022-04-09 19:10:18 +0200
32e32e46d2Now handling range bytes request :)
anschrammh
2022-04-07 01:20:13 +0200