Commit Graph

593 Commits

Author SHA1 Message Date
Anatole SCHRAMM
7de29c46a7 Finished to add the cookietest api endpoint which purpose is to test the cookie handling feature of the WEBServer 2022-11-03 13:04:06 +01:00
Anatole SCHRAMM
fba428c977 Added new api end point to test the WEBServer cookie API 2022-10-25 13:42:41 +02:00
Anatole SCHRAMM
2c2f1da56e Removed previously ignored images formats 2022-10-25 12:32:25 +02:00
d94212b063 Mise à jour de 'README.md' 2022-10-22 22:03:56 +02:00
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 2022-10-22 19:25:20 +02:00
anschrammh
bbebac6212 Started to add support for Cookies, not fully implemented yet 2022-10-20 08:22:11 +02:00
Anatole SCHRAMM
444d1ff60c Move method declaration location 2022-10-18 14:16:15 +02:00
Anatole SCHRAMM
8638a3cf81 Removed warning about unused variable in the AP wifi info api endpoint 2022-10-18 09:23:43 +02:00
anschrammh
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.
2022-10-17 23:57:25 +02:00
anschrammh
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. 2022-10-17 23:54:17 +02:00
52a0cb7963 Updated password show button behaviour 2022-10-16 19:19:48 +02:00
f8fba558e5 Added const qualifier where possible 2022-10-16 13:55:00 +02:00
Anatole SCHRAMM
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) 2022-10-13 14:12:41 +02:00
anschrammh
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 2022-10-12 23:46:02 +02:00
Anatole SCHRAMM
ff37020638 Improved WEB dashboard, added a new API endpoint to retrieve AP information (not finished yet) 2022-10-12 14:42:59 +02:00
Anatole SCHRAMM
1fae8f51f2 Added picture resources for the dashboard 2022-10-12 13:33:03 +02:00
Anatole SCHRAMM
a7033e5c5e Still migrating dashboard to new design 2022-10-10 13:56:57 +02:00
Anatole SCHRAMM
2a51d0cdf6 Visually improving the layout of the dashboard 2022-10-05 17:58:41 +02:00
anschrammh
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 2022-10-05 08:20:15 +02:00
anschrammh
a23fb4cba9 Fixed bad ternary operator which did not behave as expected :-( 2022-10-04 20:01:38 +02:00
Anatole SCHRAMM
3583a010a7 Changed the order of the FTPServer constructor parameters 2022-10-04 13:55:26 +02:00
Anatole SCHRAMM
9be8cb844a Added the setPort method to the TCPServer, renamed _dataPort to _FTPPassiveDataPort in the FTPSErver class 2022-10-04 13:52:43 +02:00
anschrammh
6c53ee40e7 Reworked the way the servers are started 2022-10-04 08:27:21 +02:00
Anatole SCHRAMM
59be94afb9 Added and reworked a few methods in the WEBServer and FTPServer class 2022-10-03 14:15:13 +02:00
anschrammh
8e655ed8fe Added the Access-Control-Allow-Origin: * header to ease the html dashboard upudate, will have to find a better implementation 2022-09-28 23:29:51 +02:00
anschrammh
4841bb8dff Added the wifi network scan interface 2022-09-28 23:27:55 +02:00
5dd667e1d5 Mise à jour de 'README.md' 2022-09-27 08:15:04 +02:00
anschrammh
e3e01da80b Added the OTAUpdater class which wraps the ESP8266httpUpdate to be compatible with my OTA service php file 2022-09-27 08:05:35 +02:00
anschrammh
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) 2022-09-27 08:04:25 +02:00
anschrammh
04a5eb9643 Registered a new rest api endpoint for remote OTA updates, renamed getIoManager to getIOManager 2022-09-27 08:02:30 +02:00
anschrammh
9988b03306 Updated the soft version from 1.6.15 to 1.7.0 2022-09-27 08:00:52 +02:00
anschrammh
beefe8e355 Added OTA events callbacks 2022-09-27 08:00:19 +02:00
anschrammh
967e5ccdbe Added new api endpoint to query and apply OTA updates, renamed getIoManager to getIOManager 2022-09-27 07:35:48 +02:00
anschrammh
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) 2022-09-27 07:34:18 +02:00
anschrammh
0dcb532007 Added the public key used for signed binary verification downloaded when doing OTA updates. Not yet in use. 2022-09-27 07:31:26 +02:00
anschrammh
63b6cf626f Added the use of the OTAManager class in the SAB class 2022-09-27 07:29:48 +02:00
anschrammh
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 2022-09-27 07:29:10 +02:00
anschrammh
86452fb1b8 Added a new config file used to store OTA settings 2022-09-27 07:27:00 +02:00
anschrammh
f547c8fc07 Added a new OTAManager class which wraps the OTAUpdater class and configures it using parameters read from a cfg file 2022-09-27 07:26:12 +02:00
anschrammh
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 2022-09-27 07:24:22 +02:00
anschrammh
636acb1be1 Allowed more characters to be parsed between quoted values (added '.' and '/' 2022-09-27 07:21:36 +02:00
anschrammh
ff16dbcfce Now using strcasecmp to make case insensitive string compariso 2022-09-27 07:18:56 +02:00
anschrammh
636c3093de Added the on board LED Pin attribute 2022-09-27 07:17:33 +02:00
263d47d8d0 Mise à jour de 'README.md' 2022-09-25 17:57:02 +02:00
3fe5946d49 Mise à jour de 'README.md' 2022-09-25 17:53:28 +02:00
anschrammh
cabfdfcfb3 Added the const qualifier to some methods. When I have time, I SHOULD MAKE A PASS to add all needed const qualifier 2022-09-23 14:39:36 +02:00
anschrammh
bbcc262ac5 Added the -e (export binary) option when compiling as well as a user prompt to ask for the serial port when flashing 2022-09-23 14:37:03 +02:00
ae973dd8ed Renamed end point 2022-06-11 12:08:21 +02:00
0687f05bc0 Removed a warning in the WEBServer.h file and added a new api endpoint to get the software version 2022-06-11 12:05:56 +02:00
007dcbdaa4 Temporarily disabled the overloaded fillDataBuffer method which introduces issues ... 2022-06-11 11:46:53 +02:00