Commit graph

42 commits

Author SHA1 Message Date
MassiveBox 97994ab47a
Minor inconvenience
Some checks failed
ecodash/pipeline/head There was a failure building this commit
2023-07-21 18:46:31 +02:00
MassiveBox d0f8950c3c
Add jenkins'Dockerfile
Some checks failed
ecodash/pipeline/head There was a failure building this commit
whoops I forgot
2023-07-21 18:30:25 +02:00
MassiveBox 394091d885
Fix pipeline
Some checks failed
ecodash/pipeline/head There was a failure building this commit
2023-07-21 18:10:35 +02:00
MassiveBox 90e83eaf62
Pipeline improvements
Some checks failed
ecodash/pipeline/head There was a failure building this commit
2023-07-21 17:01:53 +02:00
MassiveBox 33f09c93bd
Attempt at adding Jenkins CI
All checks were successful
ecodash/pipeline/head This commit looks good
2023-07-21 09:43:36 +02:00
MassiveBox 4b3af653b8
Merge remote-tracking branch 'origin/master' 2023-06-24 09:02:49 +02:00
MassiveBox 82114b8c76
Optimize CI 2023-06-24 09:02:30 +02:00
MassiveBox 002fab4786
Optimize CI 2023-06-24 09:00:20 +02:00
MassiveBox b720bf4ac0
Squash bugs
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2023-06-23 20:39:37 +02:00
MassiveBox d51f42ecb1
Fix linter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-06-23 16:51:43 +02:00
MassiveBox 068aae82c3
Fix NaN*10^(-9223372036854775808) glitch
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-06-23 13:43:03 +02:00
MassiveBox 22ed86d6f3 Merge pull request 'Switch to modernc.org/sqlite' (#3) from danog/ecodash:master into master
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline was successful
Reviewed-on: ecodash/ecodash#3
2023-05-02 15:52:19 +02:00
Daniil Gentili 79f901810b Fixup
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
2023-05-01 23:20:00 +02:00
Daniil Gentili 2061e3c45f Switch to modernc.org/sqlite 2023-05-01 23:07:59 +02:00
MassiveBox cd7a676c88
Fix pipeline for working with git.massivebox.net after switch from gitea.massivebox.net
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline failed
2023-05-01 22:53:31 +02:00
MassiveBox 784dddb7ed Merge pull request 'UwU' (#2) from danog/ecodash:master into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline failed
Reviewed-on: ecodash/ecodash#2
2023-05-01 22:25:07 +02:00
Daniil Gentili 9423b578b8
Increase timeout
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
2023-05-01 22:16:14 +02:00
Daniil Gentili 066e210d8a
Fixes 2023-05-01 22:07:50 +02:00
MassiveBox 3d5e82e774
Improve woodpecker to push containers to correct org
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline is pending
2023-05-01 20:58:50 +02:00
MassiveBox 3c2d4b4efb Merge pull request 'Refactoring + bugfixes' (#1) from danog/ecodash:master into master
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Reviewed-on: ecodash/ecodash#1
2023-05-01 20:43:34 +02:00
Daniil Gentili 45ad55a648
Update
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-05-01 20:34:50 +02:00
Daniil Gentili f68e3d4098
Update
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-05-01 20:27:00 +02:00
Daniil Gentili 8dcc18c4f9
Trigger
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-05-01 20:23:38 +02:00
Daniil Gentili d95197ede3
Filter
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
2023-05-01 20:21:36 +02:00
Daniil Gentili 2b2f7b1556
Update build process 2023-05-01 20:05:30 +02:00
Daniil Gentili d28efaf60d
Update build instructions
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-05-01 19:51:50 +02:00
Daniil Gentili d5c467c691
Cleanup 2023-05-01 19:39:12 +02:00
Daniil Gentili 345adcf479
Refactoring 2023-05-01 19:25:16 +02:00
Daniil Gentili 9bd3f35cc7
Refactor 2023-05-01 18:33:15 +02:00
MassiveBox 08be78f907 Minor graphical improvements
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Uniform style of SVGs
- Add style directly inside SVGs to switch to dark mode - the previous solution didn't work in Chromium for some reason
2023-04-14 18:20:25 +02:00
MassiveBox 3ac161e740 Dark Theme support
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Now when prefers-color-scheme is set to "dark", a dark theme will be used.
SVGs have been updated to allow for it, and also compressed to optimize.
2023-04-12 21:32:15 +02:00
MassiveBox 57b97d3ab5 Update links to point to the new website, remove duplicate content from README, add building instructions
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-03-04 23:21:31 +01:00
MassiveBox 37c515bec4 Improve multi-arch builds
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
- Use docker buildx to build the container for different architectures
- Upload build artifacts properly
2023-01-30 23:03:18 +01:00
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