From 3858d68a5b702694f42a784b6fd00ae3f4576b5f Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Tue, 16 Feb 2021 01:49:46 +0100 Subject: [PATCH 01/29] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d542cfdb..49b9dc7c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # HASP - Open Hardware edition [](https://github.com/fvanroie/hasp-lvgl/actions?query=workflow%3A%22PlatformIO+CI%22) -[](https://github.com/fvanroie/hasp-lvgl/releases) +[](https://github.com/fvanroie/hasp-lvgl/releases) [](http://github.com/fvanroie/hasp-lvgl/issues) [][6] [](#Contributing) From 6008e94142fb25b3960619c2ec809610ab45a994 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 02:26:49 +0100 Subject: [PATCH 02/29] Create FUNDING.yml --- .github/FUNDING.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..3bea9806 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames +patreon: # Replace with a single Patreon username +open_collective: opencollective.com/lvgl # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: ['https://www.buymeacoffee.com/gW5rPpsKR'] # Up to 4 links From cc59d93e80599f7b361a5cc1191c911ac6778245 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 02:30:14 +0100 Subject: [PATCH 03/29] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 3bea9806..de985e89 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,7 +2,7 @@ github: [bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames patreon: # Replace with a single Patreon username -open_collective: opencollective.com/lvgl # Replace with a single Open Collective username +open_collective: lvgl # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry From 1afc9f281cb50dcf0ece8108bd6d9911e9c7ed68 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 02:31:29 +0100 Subject: [PATCH 04/29] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index de985e89..a2a37f79 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username -custom: ['https://www.buymeacoffee.com/gW5rPpsKR'] # Up to 4 links +custom: ['https://www.buymeacoffee.com/gW5rPpsKR','https://arduinojson.org/book/'] # Up to 4 links From ed76abc24535667da2e5cb2cac337d229b5b612b Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 02:38:35 +0100 Subject: [PATCH 05/29] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index a2a37f79..222103bf 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: [bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames +github: [fvanroie,bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames patreon: # Replace with a single Patreon username open_collective: lvgl # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From ba34f1dd25a1d32818b7ed101ae2c19c558ce157 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 02:38:57 +0100 Subject: [PATCH 06/29] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 222103bf..a2a37f79 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: [fvanroie,bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames +github: [bblanchon] # Replace with up to 4 GitHub Sponsors-enabled usernames patreon: # Replace with a single Patreon username open_collective: lvgl # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username From 06949a9c081207170c1a5a7442d878cef712d87b Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 11:50:06 +0100 Subject: [PATCH 07/29] Update LICENSE --- LICENSE | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 71b929c8..db138af1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,7 @@ MIT License Copyright (c) 2020 Francis Van Roie - -Based upon HASwitchPlate - Copyright (c) 2019 Allen Derusha allen@derusha.org +Copyright (c) 2019 Allen Derusha allen@derusha.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 4aeea47deeb07b7a4818e0ed03e89d67f2b0b0b9 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sun, 21 Feb 2021 11:51:09 +0100 Subject: [PATCH 08/29] Update LICENSE --- LICENSE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index db138af1..dfe689c9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License -Copyright (c) 2020 Francis Van Roie -Copyright (c) 2019 Allen Derusha allen@derusha.org +Copyright (c) 2019-2021 Francis Van Roie +Copyright (c) 2018-2019 Allen Derusha allen@derusha.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From f874ff924845de0be631fa03a5b7901f60488294 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 22 Feb 2021 23:33:31 +0100 Subject: [PATCH 09/29] Bump version --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 7b671f8f..c76e2040 100644 --- a/platformio.ini +++ b/platformio.ini @@ -61,7 +61,7 @@ build_flags = ; -- Hasp build options ---------------------------- -D HASP_VER_MAJ=0 -D HASP_VER_MIN=3 - -D HASP_VER_REV=3 + -D HASP_VER_REV=4 -D HASP_LOG_LEVEL=9 -D HASP_USE_CONFIG=1 ; Native application, not library ${override.build_flags} From 952034af06a8ec9119064c2ca071c4dc408ebd47 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 22 Feb 2021 23:34:23 +0100 Subject: [PATCH 10/29] Add .on("/config") to AP mode --- src/svc/hasp_http.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/svc/hasp_http.cpp b/src/svc/hasp_http.cpp index 1fea82a0..dff3244f 100644 --- a/src/svc/hasp_http.cpp +++ b/src/svc/hasp_http.cpp @@ -118,7 +118,6 @@ extern char mqttNodeName[16]; char mqttNodeName[3] = "na"; #endif - //////////////////////////////////////////////////////////////////////////////////////////////////// String getOption(int value, String label, bool selected) { @@ -187,7 +186,7 @@ bool httpIsAuthenticated(const __FlashStringHelper * fstr_page) #if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_ESP8266) LOG_TRACE(TAG_HTTP, F("Sending %S page to client connected from: %s"), fstr_page, - webServer.client().remoteIP().toString().c_str()); + webServer.client().remoteIP().toString().c_str()); #else // LOG_INFO(TAG_HTTP,F("Sending %s page to client connected from: %s"), page, // String(webServer.client().remoteIP()).c_str()); @@ -1129,7 +1128,8 @@ void webHandleMqttConfig() F("'>
"); add_form_button(httpMessage, F("↩ " D_HTTP_CONFIGURATION), F("/config"), F("")); - // httpMessage += PSTR("