update version

This commit is contained in:
cjkas 2026-03-12 14:17:34 +01:00
parent 96d66c1b45
commit a54651a961
5 changed files with 28 additions and 28 deletions

View file

@ -1 +1 @@
2.4.7 2.4.8

View file

@ -8,9 +8,9 @@
<meta name="apple-mobile-web-app-title" content="ESPSomfy RTS App"> <meta name="apple-mobile-web-app-title" content="ESPSomfy RTS App">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="main.css?v=2.4.7c" type="text/css" /> <link rel="stylesheet" href="main.css?v=2.4.8c" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.4.7c" type="text/css" /> <link rel="stylesheet" href="widgets.css?v=2.4.8c" type="text/css" />
<link rel="stylesheet" href="icons.css?v=2.4.7c" type="text/css" /> <link rel="stylesheet" href="icons.css?v=2.4.8c" type="text/css" />
<link rel="icon" type="image/png" href="favicon.png" /> <link rel="icon" type="image/png" href="favicon.png" />
<!-- iPad retina icon --> <!-- iPad retina icon -->
@ -114,7 +114,7 @@
rel="apple-touch-startup-image"> rel="apple-touch-startup-image">
<script type="text/javascript" src="index.js?v=2.4.7c"></script> <script type="text/javascript" src="index.js?v=2.4.8c"></script>
</head> </head>
<body> <body>
<div id="divContainer" class="container main" data-auth="false"> <div id="divContainer" class="container main" data-auth="false">

View file

@ -1270,7 +1270,7 @@ var security = new Security();
class General { class General {
initialized = false; initialized = false;
appVersion = 'v2.4.7'; appVersion = 'v2.4.8';
reloadApp = false; reloadApp = false;
init() { init() {
if (this.initialized) return; if (this.initialized) return;

View file

@ -98,20 +98,20 @@ def minify_css(text: str) -> str:
return text.strip() return text.strip()
def minify_js(text: str) -> str: # def minify_js(text: str) -> str:
""" # """
Light JS minifier removes comments and collapses whitespace. # Light JS minifier removes comments and collapses whitespace.
For heavy minification install terser and the script will use it # For heavy minification install terser and the script will use it
automatically (see _try_terser below). # automatically (see _try_terser below).
""" # """
# Remove single-line comments (careful with URLs :// ) # # Remove single-line comments (careful with URLs :// )
text = re.sub(r"(?<!:)//(?!/)[^\n]*", "", text) # text = re.sub(r"(?<!:)//(?!/)[^\n]*", "", text)
# Remove multi-line comments # # Remove multi-line comments
text = re.sub(r"/\*.*?\*/", "", text, flags=re.DOTALL) # text = re.sub(r"/\*.*?\*/", "", text, flags=re.DOTALL)
# Collapse whitespace # # Collapse whitespace
text = re.sub(r"\s{2,}", " ", text) # text = re.sub(r"\s{2,}", " ", text)
lines = [line.strip() for line in text.splitlines() if line.strip()] # lines = [line.strip() for line in text.splitlines() if line.strip()]
return "\n".join(lines) # return "\n".join(lines)
def minify_json(text: str) -> str: def minify_json(text: str) -> str:
@ -133,13 +133,13 @@ def minify_svg(text: str) -> str:
MINIFIERS = { MINIFIERS = {
".html": minify_html, # ".html": minify_html,
".htm": minify_html, # ".htm": minify_html,
".css": minify_css, # ".css": minify_css,
".js": minify_js, # ".js": minify_js,
".json": minify_json, # ".json": minify_json,
".svg": minify_svg, # ".svg": minify_svg,
".xml": minify_svg, # same approach works for generic XML # ".xml": minify_svg, # same approach works for generic XML
} }

View file

@ -3,7 +3,7 @@
#ifndef configsettings_h #ifndef configsettings_h
#define configsettings_h #define configsettings_h
#include "WResp.h" #include "WResp.h"
#define FW_VERSION "v2.4.7" #define FW_VERSION "v2.4.8"
enum class conn_types_t : byte { enum class conn_types_t : byte {
unset = 0x00, unset = 0x00,
wifi = 0x01, wifi = 0x01,