Commit Graph

33 Commits

Author SHA1 Message Date
d02008b7ca MAIN page item added to HTML footer. (#1115) 2024-03-08 00:12:26 +01:00
95c30dd800 Add HTTP basic authentication (#996)
* add http basic auth

* add feature check for basic auth process

* fix http basic auth build for unsupported platforms (W800, W600)

* fix includes in http_basic_auth

* fix basic auth invocations when unavailable

* add http basic auth allow checks to http_fns

* remove unnecessary checks

* add my_strnicmp export

* silence warning

* update web password config ui

* update submodules

* add base64 lib to boufallo.mk for BL602

* add safe mode http basic auth bypass flag

* fix bl602 build with http auth bypass flag

* disable shared led driver

---------

Co-authored-by: Tester23 <openshwprojects@gmail.com>
2023-12-13 15:19:11 +01:00
e130cfddbe Respond to POSTs as well as GETs in /cm handler (#900)
* add method to parse args from body instead of just url

* Allow /cm to POST and PUT as well as GET

* forgot to ensure didn't misparse non GET/PUT/POST in /cm requests

---------

Co-authored-by: Tim Connors <tconnors@rather.puzzling.org>
2023-08-16 08:15:48 +02:00
c28f3fd4bf unfinished wemo 2023-01-23 16:35:24 +01:00
3feb7ed869 White space change to trigger rebuild
4258cd2afb seems to have addressed the build issue
2022-11-07 08:48:45 -06:00
0bb4677a31 Created poststr_escaped 2022-11-07 06:31:21 -06:00
a5769a5db0 Added shortcut icon, Escaped deviceName at some places 2022-11-04 19:41:55 -05:00
2970ec62fd Replace hprintf128 with hprintf255 in all files 2022-10-25 06:31:11 +01:00
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
573580e39c Relocated uptime-for, formatted using prettier 2022-10-11 20:39:30 -05:00
b4a313c509 Relocated assets 2022-10-11 20:04:45 -05:00
a738605a11 re-merging changes from last commit 2022-09-04 00:10:12 +02:00
5d27296474 Revert "Status information auto-updates, tweaked HTML" 2022-09-02 19:47:55 +02:00
cfe69edfdc Refactored start / end of HTML into functions 2022-09-01 23:26:21 +02:00
d8ccb05fad correct back to menu, also added "Refrseh" button to main 2022-08-20 12:37:33 +02:00
6af79f1ee3 display long device name and short device name on the main http page 2022-06-21 10:40:57 +02:00
c68c98d2c6 tasmota device grups p1 2022-06-09 04:30:17 +02:00
f156c5fecd fix EOL whitespace 2022-05-29 09:32:47 -04:00
66aa9277f8 xr809 fixing and organziation 2022-04-15 14:07:26 +02:00
71f7778b2f move http into functions. 2022-03-01 21:59:11 +00:00
785d190689 add GET /api/info -> JSON {"uptimes":n, "build":"build time"} 2022-02-13 08:46:58 +00:00
b4115b9019 Merge remote-tracking branch 'origin/main' into littlefs 2022-02-12 17:58:32 +00:00
d6278bae7d support compilation on XR809 platform - part 1 2022-02-12 15:25:12 +01:00
cff74553fa Add HTTP response code support plus other tweaks to help in responding 2022-02-12 11:08:20 +00:00
8b8e8e5990 Merge branch 'logging2' into logging3
# Conflicts:
#	src/httpserver/new_http.c
#	src/user_main.c
2022-02-10 22:15:10 +00:00
04f28b3d6e http - add hprint128 - to simplify printing and sending to http response... 2022-02-10 22:06:46 +00:00
4ca5fd9ac2 Show uptime (formatted string) on HTML panel; fix Windows test build 2022-02-10 22:49:21 +01:00
62fb793019 working json, plus some bugfixes 2022-02-08 18:45:31 +00:00
6a66798f9d add json parser? 2022-02-08 17:27:40 +00:00
25580f7367 Base http server on 'http_request' structure. It holds everything needed by a respondant to a request. 2022-02-07 18:35:02 +00:00
97142ea969 http server return bugfix 2022-02-06 20:25:19 +00:00
e370b47f41 fix some warnings 2022-02-02 09:14:45 +00:00
a4bd510392 SYNC btsimonh changes 2022-02-01 12:28:09 +01:00