Max Prokhorov
f7f41980b6
Headers cleanup ( #2134 )
* Config: remove prototypes.h
* fixup order
* word
* add missing
* fix warning while still using .ino
* bad at c/p;
4 years ago
Max Prokhorov
298ce8cac2
Refactor get/set/del/hasSetting ( #2048 )
* experimental: refactor get/set/del/hasSetting
* sensors
* lights
* cleaup
* r
* tuya
* fixup! sensors
* fixup! tuya
* header defaults types
* fix lights
* setup already checks for max
* helper for flashstring
* fix overload
* oops
* refactor includes
* warnings
* test with migrate
* add ids in a separate file
* cleanup
rev: crash
rev: domoticz
rev: encoder
rev: loopdelay
rev: hass
rev: i2c
rev2: hass
rev: mqtt
rev: rfm69
rev: relay
rev: rpn
rev: settings setup
rev: hb settings
rev: telnet preprocessor fix
rev: settings wrap
rev: tspk bool style
rev: wifi types
rev: util hb
rev: settings
fixup! rev: settings
* rev: cleanup wifi injections based on new getters
* hasSetting now can return true for empty key
* show hardcoded network in web
* oops
* fix ws referencing wrong index
* ensure empty strings are written
* c/p
* use experimental schema style for payload, mark network as not deletable
* allow to customize converter
* shorter syntax, try using with wifi
* use proper #if syntax to handle definitions that are missing
* fixup ota sc checks getter, cast schEnabled to bool
* add utils header to sensors
4 years ago
Maxim Prokhorov
03e6443ac6
system: move prototypes to a separate header
4 years ago
Max Prokhorov
55a0abf1e1
Secure client / server cleanup ( #2016 )
* web: revert changed from secure_client patch
* ota/httpupdate: use SecureClient
* ota/httpupdate: use scheduled function on mqtt event
* config: finish up 590282e
changes + add warnings
* typo fix
* use bind instead of c++14 magic, use debug text from secureclient
* bump
* actually use the locking
5 years ago
Niek van der Maas
f588893373
Use generic typechecks, OTA add followRedirects ( #1974 )
* Use generic typechecks, OTA add followRedirects
* revamp using is_detected
* relative include
* mention ts draft instead, fix c++17 includes (still not buildable)
* typo
* Always create WiFiClient pointer
* Remove old CREATE_CHECK macro
* do not create wificlient obj when running old Core
5 years ago
Niek van der Maas
e17ee6168e
MQTT & OTA Fingerprint setting capitalization fix ( #1952 )
* MQTT Fingerprint setting capitalization fix
* otafp -> otaFP
5 years ago
Niek van der Maas
ad2188cc0b
Fix HTTPS support with OTA_CLIENT_HTTPUPDATE ( #1894 )
5 years ago
Max Prokhorov
e398685ba4
mqtt: generic secureclient configuration ( #1873 )
* Rework MQTT sync client configuration
* MQTT_LIBRARY_...
* comments
* fix not doing any checks for bearssl, remove afterconnected template for mqttclient
* comments
* comments
* secure bool stub
* typos, always include sc helpers
* fix on_fingerprint return type
* typo
* typo
* indent
* tag is already in config obj
* generate mqtt featureset string at compile time
* reword again
* trusted_root_ca
5 years ago
Max Prokhorov
9156eb1477
Experimental support of HTTPUpdate for OTA ( #1751 )
- add httpupdate ota impelementation
- move async ota into a separate module
- support bearssl & axtls through wificlientsecure
- allow to disable arduino ide ota module
5 years ago