From ba56acd7ac9654dc3e139da32e6be3a982e481f4 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 29 Aug 2026 09:17:24 +0100 Subject: [PATCH] Fix a bug where solar conditions and status data were not properly persisted to disk between restarts. Release v2.0.5 --- .idea/modules.xml | 2 +- .idea/runConfigurations/Run.xml | 2 +- .idea/{Spothole.iml => spothole.iml} | 0 core/constants.py | 2 +- core/data_store.py | 29 +++++--------- core/single_object_data_cache.py | 39 +++++++++++++++++++ core/status_reporter.py | 30 +++++++------- .../solar_conditions_provider.py | 3 +- pyproject.toml | 2 +- server/webserver.py | 6 +-- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 +- templates/base.html | 10 ++--- templates/conditions.html | 2 +- templates/map.html | 4 +- templates/spots.html | 4 +- templates/status.html | 2 +- 18 files changed, 89 insertions(+), 56 deletions(-) rename .idea/{Spothole.iml => spothole.iml} (100%) create mode 100644 core/single_object_data_cache.py diff --git a/.idea/modules.xml b/.idea/modules.xml index c335631..fe999aa 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/Run.xml b/.idea/runConfigurations/Run.xml index 56151cd..cf1858b 100644 --- a/.idea/runConfigurations/Run.xml +++ b/.idea/runConfigurations/Run.xml @@ -1,6 +1,6 @@ - +