Commit Graph

2357 Commits

Author SHA1 Message Date
Matthias Wirtz
bdf4e4e3f0 perf: improvement and deprecated syntax removal (#4304)
* always use ideal_battery_range_km in conditions (to make use of index)

* remove deprecated var syntax
2024-10-27 08:31:14 +01:00
Jakob Lichterfeld
334389b0b6 docs: update changelog 2024-10-27 08:19:32 +01:00
JakobLichterfeld
2a922e321c feat: update to Phoenix HTML 4.1, bump dependencies (#4277)
* feat: update to Phenix HTML 4.1

* fix: updating to the new Gettext.Backend approach

* chore: update pot files ro locale version 45.0.0

* fix: downgrade cloack back to 1.1.2

* revert: merge of mix.lock

* fix: new syntax for field name generation for phx-feedback-for

* Revert "fix: new syntax for field name generation for phx-feedback-for"

This reverts commit 4d95e4f1c9367d2d5c606ced2190ab23edcb971b.

* fix: downgrade floki back to 0.35.2

* Revert "fix: downgrade floki back to 0.35.2"

This reverts commit a4f0b6bf4b32099d89003c3d20f72333d510e109.

* fix: ensure floki nil is handled

* style: linter findings

* Revert "fix: ensure floki nil is handled"

* fix: new syntax for field name generation for phx-feedback-for

* debug: floki paramter error

* Revert "debug: floki paramter error"

This reverts commit 61920267edf5186b593920bde7d87e8b30af55aa.

* fix: Remove unnecessary code in settings_test.exs which breaks floki 0.36+
2024-10-27 08:17:49 +01:00
Jakob Lichterfeld
c7fd300942 docs: update changelog 2024-10-25 15:00:29 +02:00
dependabot[bot]
e616b2a584 build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /website (#4303)
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 14:59:14 +02:00
Matthias Wirtz
b07dc595c6 perf: improvement in charge level (#4301) 2024-10-24 08:35:50 +02:00
dependabot[bot]
1b89ae7fd3 build(deps): bump elixir from 1.16.2-otp-26 to 1.17.2-otp-27 (#4296)
* build(deps): bump elixir from 1.16.2-otp-26 to 1.17.2-otp-27

Bumps elixir from 1.16.2-otp-26 to 1.17.2-otp-27.

---
updated-dependencies:
- dependency-name: elixir
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump elixir from 1.16.2-otp-26 to 1.17.2-otp-27 in workflow, flake and docs

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-10-23 11:27:20 +02:00
Matthias Wirtz
d922c24912 fix: hard-coded length unit in battery health dashboard (#4300) 2024-10-23 11:23:36 +02:00
dependabot[bot]
40bb6990ef build(deps): bump cookie and express in /website (#4263)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 14:06:28 +02:00
Jakob Lichterfeld
da257664ed docs: update changelog 2024-10-22 08:01:42 +02:00
Matthias Wirtz
6e9c557745 fix: weighted average calculation for consumption in drives dashboard (#4289) 2024-10-22 08:01:12 +02:00
Matthias Wirtz
999e947464 tuple returned here (#4293) 2024-10-22 07:43:56 +02:00
Matthias Wirtz
2fc749c899 docs: small wording refinements in changelog (#4292) 2024-10-21 18:13:19 +02:00
Jakob Lichterfeld
d4cbade8fb docs: update changelog 2024-10-21 16:04:35 +02:00
Matthias Wirtz
93fb64e846 docs: add best practice section to contribution guide (#4288)
* add some notes about db performance to contribution guide

* add docs for usage of timestamp columns

* format prettier

* fix: remove unneeded apostrophe

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-10-21 16:04:13 +02:00
Jakob Lichterfeld
f2f90bdaa2 docs: update changelog 2024-10-21 15:41:48 +02:00
scottbot95
dffdea99ef refactor: Cleanup nix code (#4265)
* refactor: Extract package creation to separate flake-module

* refactor: move module.nix to nix folder

* refactor: extract checks into their own flake module

* refactor: extract devShell into its own flake module

* refactor: Extract nix dev dependencies to a separate partition

* fix: spelling error

* fix: Checks break on darwin

Looks like `mkIf` doesn't work properly with flake-parts/perSystem

* fix: Remove partitions to make `devenv up` work

RIP partitions :(

* style: linter findings

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-10-21 15:40:49 +02:00
Jakob Lichterfeld
d0f6322cce docs: update changelog with version description
closes: #4201
2024-10-21 15:00:29 +02:00
Jakob Lichterfeld
bcf68443c5 docs: update changelog 2024-10-21 14:08:05 +02:00
Matthias Wirtz
4d348a1f63 exclude streaming data in visited dashboard (#4287) 2024-10-21 14:07:40 +02:00
Jakob Lichterfeld
205b18d2e0 docs: update changelog 2024-10-21 13:24:53 +02:00
Matthias Wirtz
d5cb2c652f perf: exclude streaming date when getting battery level (#4286) 2024-10-21 13:24:28 +02:00
Jakob Lichterfeld
944c07491e docs: update changelog 2024-10-20 09:42:51 +02:00
Matthias Wirtz
6249287788 fix: for drives not showing if duration < 1 minute and feat: add max speed in drives dashboard (#4284)
* fix for drives not showing if duration < 1 minute

* feat: add max Speed column to drives table

---------

Co-authored-by: Jan S <jan@js94x.de>
2024-10-20 09:39:37 +02:00
Jakob Lichterfeld
084fc5e1a1 docs: update changelog 2024-10-20 09:36:45 +02:00
Matthias Wirtz
183bd2e252 feat: use Grafana 11.0.6-security-01 (#4279) 2024-10-20 09:35:49 +02:00
Matthias Wirtz
955bde3cb6 fix: number of drives per day in drive stats (#4285) 2024-10-20 09:33:43 +02:00
JakobLichterfeld
c87b8976c3 docs: add recommended RAM size (#4278)
* docs: add recommended RAM size

* docs: update changelog
2024-10-19 16:22:55 +02:00
Jakob Lichterfeld
2869acac9a docs: update changelog 2024-10-19 16:12:52 +02:00
dependabot[bot]
bad53cef65 build(deps): bump crate-ci/typos from 1.22.9 to 1.26.0 (#4261)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.22.9 to 1.26.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](c16dc8f5b4...6802cc60d4)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 16:12:30 +02:00
Jakob Lichterfeld
776de2bfd1 docs: update changelog 2024-10-19 16:02:55 +02:00
dependabot[bot]
d2a4290d5c build(deps-dev): bump credo from 1.7.1 to 1.7.8 (#4238)
Bumps [credo](https://github.com/rrrene/credo) from 1.7.1 to 1.7.8.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/credo/commits/v1.7.8)

---
updated-dependencies:
- dependency-name: credo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 16:02:35 +02:00
Jakob Lichterfeld
3f02f370e9 docs: update changelog 2024-10-19 15:59:09 +02:00
Matthias Wirtz
9adc7dd8b0 perf-improvements-drive-stats (#4258) 2024-10-19 15:58:24 +02:00
Jakob Lichterfeld
8205750256 style: add custom words for spell check 2024-10-19 15:55:14 +02:00
Jakob Lichterfeld
75bee3383a docs: update changelog 2024-10-19 15:52:04 +02:00
Long Zheng
123f7ab63c docs: fix Home Assistant MQTT sensor JSON templates warnings (#4257)
* Fix Home Assistant active route MQTT sensor JSON templates

More gracefully handles JSONs with error (not actively routing)

* Fix tesla_active_route_distance_to_arrival_km sensor

* Fix template sensors

Conditionally convert values if the sensor actually has a value, to prevent converting invalid non-numeric values

* Fix copy/paste mistakes
2024-10-19 15:51:28 +02:00
Jakob Lichterfeld
39c9a14de5 docs: update changelog 2024-10-19 15:50:31 +02:00
Matthias Wirtz
2b36bad743 perf: fix skipping streaming data in charging stats (#4252)
* perf-fix-skipping-streaming-data

* use drives instead of positions for another 60x improvement
2024-10-19 15:49:23 +02:00
Jakob Lichterfeld
beec208a21 ci(refactor): only run check paths workflow when called 2024-10-19 14:44:49 +02:00
Jakob Lichterfeld
dc02763e61 docs: update changelog 2024-10-19 14:41:35 +02:00
Jakob Lichterfeld
0dd5ef1076 ci(fix): cleanup caches when pr is closed without version pinning 2024-10-19 14:40:06 +02:00
JakobLichterfeld
b110106ca3 docs: update changelog (#4276) 2024-10-19 13:20:48 +02:00
Jakob Lichterfeld
0410593850 ci(fix): run ghcr build as separate workflow to fix permission issues with forks 2024-10-19 12:54:07 +02:00
Jakob Lichterfeld
52ace50412 docs: update changelog 2024-10-19 11:54:55 +02:00
Jakob Lichterfeld
b2ac33cd2d stlye: linter findings 2024-10-19 11:54:32 +02:00
Jakob Lichterfeld
99a887c463 docs: update changelog 2024-10-19 11:37:04 +02:00
Jakob Lichterfeld
9e6a2758d5 ci(fix): correct syntax in ghcr_build workflow for workflow_call 2024-10-19 11:35:43 +02:00
Jakob Lichterfeld
7f39aaffcc docs: update changelog 2024-10-19 11:34:23 +02:00
Jakob Lichterfeld
688147e2cf ci(fix): run ghcr build in DevOps workflow for forks 2024-10-19 11:32:51 +02:00