Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with upstream #5

Merged
merged 14 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## [1.13.0] - 2019-11-25

### New Features

- Display link "Dashboards" inside the navigation bar (it becomes visible after clicking an address in one of the Grafana dashboards. Alternatively the Grafana URL can be added manually on the settings page)
- Enable or disable the sleep mode depending on the location. For example, the car can be allowed to sleep at home or work, but nowhere else.
- Extend Charge Stats Dashboard with discharge stats, a charge delta graph and a charge heatmap ([#270](https://github.com/adriankumpf/teslamate/pull/270) by [@marcogabriel](https://github.com/marcogabriel))

### Enhancements

- Make sleep mode separately configurable for each car
- Reduce default "Time to try sleeping" to 12 minutes for newer vehicles
- The "States" dashboard now includes software updates
- Automatically repair trips and charges with missing addresses (e.g. because OpenStreetMap was temporarily unavailable)
- Update thresholds of the battery level gauge ([#256](https://github.com/adriankumpf/teslamate/pull/256) by [@marcogabriel](https://github.com/marcogabriel))

### Bug Fixes

- Fix issue where consumption values were displayed as 0
- Fix issue where installing a software update when charging would produce an incomplete charge record

---

```text
TeslaMate is open source and completely free for everyone to use.

If you like this project and want to support further development, please consider making a donation.
```

## [1.12.2] - 2019-11-06

### Bug Fixes
Expand Down Expand Up @@ -544,7 +573,8 @@ New users need to sign in via the web interface.

## [1.0.0] - 2019-07-25

[unreleased]: https://github.com/adriankumpf/teslamate/compare/v1.12.2...HEAD
[unreleased]: https://github.com/adriankumpf/teslamate/compare/v1.13.0...HEAD
[1.13.0]: https://github.com/adriankumpf/teslamate/compare/v1.12.2...v1.13.0
[1.12.2]: https://github.com/adriankumpf/teslamate/compare/v1.12.1...v1.12.2
[1.12.1]: https://github.com/adriankumpf/teslamate/compare/v1.12.0...v1.12.1
[1.12.0]: https://github.com/adriankumpf/teslamate/compare/v1.11.1...v1.12.0
Expand Down
5 changes: 5 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $fullhd-enabled: false;
@import "~bulma/sass/grid/_all";

@import '~bulma-tooltip';
@import '~bulma-switch';

// @import "~bulma/bulma";

Expand Down Expand Up @@ -112,6 +113,10 @@ $fullhd-enabled: false;
padding: 0.75rem 1.5rem;
}
}

button[phx-click=suspend_logging]:disabled {
pointer-events: none;
}
}

.navbar-brand a.navbar-item:hover {
Expand Down
5 changes: 4 additions & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ import * as hooks from "./hooks";

const liveSocket = new LiveSocket("/live", Socket, {
hooks,
params: { baseUrl: window.location.origin }
params: {
baseUrl: window.location.origin,
referrer: document.referrer
}
});
liveSocket.connect();

Expand Down
13 changes: 7 additions & 6 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"watch": "webpack --mode development --watch"
},
"dependencies": {
"@mdi/font": "^4.5.95",
"@mdi/font": "^4.6.95",
"bulma-switch": "^2.0.0",
"bulma-tooltip": "^3.0.2",
"leaflet": "^1.6.0",
"leaflet-control-geocoder": "^1.10.0",
Expand All @@ -15,19 +16,19 @@
"phoenix_live_view": "file:../deps/phoenix_live_view"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"babel-loader": "^8.0.6",
"bulma": "^0.8.0",
"copy-webpack-plugin": "^5.0.5",
"css-loader": "^3.2.0",
"file-loader": "^4.2.0",
"file-loader": "^4.3.0",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"sass": "^1.23.6",
"sass": "^1.23.7",
"sass-loader": "^8.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^2.2.0",
"url-loader": "^2.3.0",
"webpack": "4.41.2",
"webpack-cli": "^3.3.10"
}
Expand Down
Loading