Commit graph

9 commits

Author SHA1 Message Date
MassiveBox 7a1214d492 Added arm builds, improve database
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
- The program will now be cross-compiled and released for arm as well as x86
- What we previously called "cache" is not actually a cache, as it holds content that can't be always retrieved. Now we're stopping calling it a cache.
- Improved history merging
- Fixed the README to include the database as a volume, and to fix some errors
2023-01-29 21:16:04 +01:00
MassiveBox 52ba0ea4c1 Improve SQLite
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
- Now the cache isn't cleared and fetched from zero each update, but only when there's missing information for a day
- Fixed a bug that prevented new users from saving changes in the config

NOTE: Turns out that HomeAssistant's API only returns data for the last 10 days. Looks like we will have to improve the caching system to work around this.
2023-01-04 15:57:16 +01:00
MassiveBox e9125b783c SQLite Initial Implementation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This is the first, most basic implementation of a SQLite database for caching.
Future commits will make it much more optimized and able to efficiently store data for periods longer than 8 days.
2022-12-07 17:54:46 +01:00
MassiveBox 6dc8fa3750 Move towards selectable time ranges in the dashboard
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
- Add the installation date to frontend and backend
- Add an error page to help with the upgrade from the previous version
- Avoid querying history if installation date is not set
- Make the fillMissing function work for periods of different lenght than than 8 days
2022-12-04 12:50:11 +01:00
MassiveBox 66e2a2de1a Rewrite the rounding alogithm
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-13 19:53:32 +01:00
MassiveBox 9023806d57 Improve CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
- Upload artifacts as ZIP including templates
- Add status badge to README
2022-11-07 16:23:19 +01:00
MassiveBox cfd96ab245 Add Woodpecker CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-10-31 18:39:19 +01:00
MassiveBox 350227e898 Improved consistency and fixed leftovers 2022-10-26 21:48:36 +02:00
MassiveBox 82bba66fd6 First commit 2022-10-15 19:58:44 +02:00