Compare commits

..

5 Commits

Author SHA1 Message Date
b696a79f4b docs: update changelog for version 1.1.0 2025-02-16 16:14:26 +01:00
61ed765d87 fix: correct version number in nav bar 2025-02-16 16:12:07 +01:00
2703689e4e feat: update version to 1.1.0 and modify gzip compression handling for /spoolman route
Some checks failed
Create Release / build (push) Has been cancelled
2025-02-16 13:00:42 +01:00
b24c50722f chore: increment version to 1.0.9 in platformio.ini
Some checks failed
Create Release / build (push) Has been cancelled
2025-02-16 12:54:55 +01:00
3ec23a9f79 feat: implement gzip compression for /spoolman route response 2025-02-16 12:54:24 +01:00
4 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## [1.1.0] - 2025-02-16
### Fixed
- correct version number in nav bar
## [1.0.5] - 2025-02-16 ## [1.0.5] - 2025-02-16
### Added ### Added
- update version to 1.0.5 and enhance changelog update process with automatic git push - update version to 1.0.5 and enhance changelog update process with automatic git push

View File

@ -12,7 +12,7 @@
<div style="display: flex; align-items: center; gap: 2rem;"> <div style="display: flex; align-items: center; gap: 2rem;">
<img src="/logo.png" alt="FilaMan Logo" class="logo"> <img src="/logo.png" alt="FilaMan Logo" class="logo">
<div class="logo-text"> <div class="logo-text">
<h1>FilaMan<span class="version">v1.0.2</span></h1> <h1>FilaMan<span class="version">v1.0.9</span></h1>
<h4>Filament Management Tool</h4> <h4>Filament Management Tool</h4>
</div> </div>
</div> </div>

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[common] [common]
version = "1.0.8" version = "1.1.0"
[env:esp32dev] [env:esp32dev]
platform = espressif32 platform = espressif32
@ -48,8 +48,8 @@ build_flags =
'-D VERSION="${common.version}"' '-D VERSION="${common.version}"'
extra_scripts = extra_scripts =
pre:scripts/combine_html.py
pre:scripts/pre_build.py pre:scripts/pre_build.py
pre:scripts/combine_html.py
pre:scripts/pre_spiffs.py pre:scripts/pre_spiffs.py
pre:scripts/gzip_files.py pre:scripts/gzip_files.py
pre:scripts/extra_script.py pre:scripts/extra_script.py

View File

@ -13,6 +13,9 @@ def copy_file(input_file, output_file):
shutil.copy2(input_file, output_file) shutil.copy2(input_file, output_file)
def should_compress(file): def should_compress(file):
# Skip compression for spoolman.html
if file == 'spoolman.html':
return False
# Komprimiere nur bestimmte Dateitypen # Komprimiere nur bestimmte Dateitypen
return file.endswith(('.js', '.png', '.css', '.html')) return file.endswith(('.js', '.png', '.css', '.html'))