Skip to content

Commit

Permalink
Merge branch 'master' into charging-curve
Browse files Browse the repository at this point in the history
* master:
  Update timeline.json (teslamate-org#2601)
  Update charging-stats.json (teslamate-org#2566)
  Update to projects page (doc/website) (teslamate-org#2518)
  Update States top row panels height (teslamate-org#2487)
  Do no start EPMD
  Bump grafana/grafana from 8.4.1 to 8.4.5 in /grafana
  Bump docker/build-push-action from 2.9.0 to 2.10.0
  Bump erlef/setup-beam from 1.10 to 1.11
  Bump docker/login-action from 1.12.0 to 1.14.1
  Bump actions/cache from 2.1.7 to 3.0.1
  Bump website deps
  Bump deps
  Bump actions/checkout from 2.4.0 to 3
  Restart stream process if token expired
  Update charging-stats.json (teslamate-org#2481)
  Fix typo
  Update POT files
  Update CHANGELOG
  Move encryption key warning into .container
  Encrypt API tokens (teslamate-org#2360)
  Update frontend deps
  DC charge curve scatter graph (teslamate-org#2093)
  Update CHANGELOG
  Bump Grafana to 8.4.1
  Added panel with the cost of charges in SuC (teslamate-org#2448)
  Add datasource to table and map panels. (teslamate-org#2391)
  Update charging-stats.json (teslamate-org#2461)
  moved subselects to "from" clause (teslamate-org#2464)
  Added ProxyPreserveHost On to the Grafana entries in Apache2 config (teslamate-org#2471)
  Render Trip piechart legend (teslamate-org#2473)
  Bump follow-redirects from 1.14.7 to 1.14.8 in /website
  Update default.po (teslamate-org#2479)
  • Loading branch information
adriankumpf committed Apr 22, 2022
2 parents 76b3f6c + 152ef88 commit 3425cab
Show file tree
Hide file tree
Showing 63 changed files with 5,973 additions and 4,455 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3
- name: Docker meta
id: docker_meta
uses: docker/[email protected]
Expand All @@ -39,12 +39,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/login-action@v1.12.0
uses: docker/login-action@v1.14.1
with:
username: teslamate
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2.9.0
uses: docker/build-push-action@v2.10.0
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3
- name: Docker meta
id: docker_meta
uses: docker/[email protected]
Expand All @@ -72,12 +72,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/login-action@v1.12.0
uses: docker/login-action@v1.14.1
with:
username: teslamate
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2.9.0
uses: docker/build-push-action@v2.10.0
with:
context: grafana
push: ${{ github.event_name != 'pull_request' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2.4.0
- uses: erlef/setup-beam@v1.10
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1.11
with:
otp-version: ${{ matrix.pair.otp }}
elixir-version: ${{ matrix.pair.elixir }}
- uses: actions/cache@v2.1.7
- uses: actions/cache@v3.0.1
with:
path: |
deps
Expand Down
38 changes: 36 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Changelog

## unreleased

### Improvements and Bug Fixes

🔓 Encrypt API tokens

> During the database migration a randomly generated key will be used encrypt the tokens if no `ENCRYPTION_KEY` environment variable was provided.
>
> If the application is started without the presence of an `ENCRYPTION_KEY` (or if the key failed to decrypt the existing tokens), the UI will display a warning with further instructions.
- Bump Grafana to 8.4.1
- Add `charge_current_request` and `charge_current_request_max` MQTT topics
- Add detection of refresh Model X (2022) (#2455 - @cwanja)

#### Dashboards

- Add DC charge curve scatter graph (#2093 - @ToniA)
- Add datasource to table and map panels (#2391- @andrewjw)
- Charging Stats: Add panel with the cost of charges at SuC (#2448 - @carloscuezva)
- Drive Details: Add elevation summary (#2449 - @coreGreenberet)
- Charging Stats: Set Y-Axis max of heatmap to 100 (#2461 - @DrMichael)
- Drive Stats: Optimize query to estimate mileage calculation (#2464 - @coreGreenberet )
- Trip: Render Trip piechart legend (#2473 - @cwanja)

#### Translations

- Update Chinse translation (#2479 - @AemonCao)

#### Documentation

- Add ProxyPreserveHost On to the Grafana entries in Apache2 config (#2471 - @DrMichael)
- Node-RED: Fix typo (#2410 - @baylanger)

## [1.26.1] - 2022-01-28

### Improvements and Bug Fixes
Expand Down Expand Up @@ -32,7 +65,7 @@
- Don't suspend logging while a car software update is downloaded
- Don't warn if the update status completing the of a car software update is still reported as 'downloading'
- Bump Docker app base image to Debian 11
- Raspberry Pi users unfortunately have to upgrade to Raspbian Bullseye or install the backports version `libseccomp2` (see [#2302](https://github.com/adriankumpf/teslamate/issues/2302))
- Raspberry Pi users unfortunately have to upgrade to Raspbian Bullseye or install the backports version `libseccomp2` (see [#2302](https://github.com/adriankumpf/teslamate/issues/2302))

#### Dashboards

Expand Down Expand Up @@ -75,7 +108,8 @@
## [1.25.1] - 2022-01-12

Disable anonymous logins to Grafana by default (when using the `teslamate/grafana` Docker image)
- The first time you visit Grafana, you will be asked to log in. Use the default user `admin` with the password `admin`. After successful login, you will be prompted to change the password.

- The first time you visit Grafana, you will be asked to log in. Use the default user `admin` with the password `admin`. After successful login, you will be prompted to change the password.
- To allow anonymous logins set the environment variable of the Grafana image `GF_AUTH_ANONYMOUS_ENABLED` to `true` (use only if your Grafana instance is not exposed to the internet!)

> This change only affects users who followed the [basic Docker installation guide](https://docs.teslamate.org/docs/installation/docker) which, as mentioned in the guide, is intended for home network use only and not for exposure to the internet. Users who followed one of the [advanced installation guides](https://docs.teslamate.org/docs/guides/traefik) are not affected as their Grafana instances always had anonymous logins disabled.
Expand Down
6 changes: 6 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ nav.navbar {
}
}

.notification {
.mdi {
font-size: 1em;
}
}

.mdi {
font-size: 1.25em;
}
Expand Down
Loading

0 comments on commit 3425cab

Please sign in to comment.