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-status-bar-style" content="black">
<link rel="stylesheet" href="main.css?v=2.4.7c" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.4.7c" type="text/css" />
<link rel="stylesheet" href="icons.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.8c" 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" />
<!-- iPad retina icon -->
@ -114,7 +114,7 @@
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>
<body>
<div id="divContainer" class="container main" data-auth="false">

View file

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

View file

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

View file

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