Commit Graph

589 Commits

Author SHA1 Message Date
Adrian Kumpf
8909719c60 Don't purge debug log statements
Related to #1289
2021-02-08 18:58:38 +01:00
Adrian Kumpf
a2129b1457 Hide sign-out button in import mode 2021-02-06 21:39:52 +01:00
Adrian Kumpf
2b4d774b06 Change log level for streaming timeouts to debug 2021-02-06 17:32:00 +01:00
Adrian Kumpf
b1991f541e Add support for v3 API tokens in China (#1300)
* Add support for v3 API tokens in China

* Add support for refreshing tokens in China

* Log auth requests without debug output

* Log failed requests to the Owner API
2021-02-06 17:28:29 +01:00
Adrian Kumpf
aee513db94 Detect if CSV file contains data for more than one car
Fixes #896
2021-02-06 15:24:09 +01:00
Adrian Kumpf
b9ef13addf Add sign-out button 2021-01-30 20:24:42 +01:00
Adrian Kumpf
9ca3830f04 Refresh access tokens with new auth endpoint 2021-01-30 19:20:49 +01:00
Adrian Kumpf
3bb2d3086f Remove support for legacy auth 2021-01-30 18:06:13 +01:00
Adrian Kumpf
410d277f2e Use built-in Ecto enum type 2021-01-09 00:08:36 +01:00
Adrian Kumpf
ab7556e8af Allow to use non-standard MQTT ports 2021-01-03 22:40:07 +01:00
Adrian Kumpf
b27276b7db Handle unexpected MFA errors 2021-01-03 21:41:32 +01:00
Adrian Kumpf
8e0096d87e Disable button when verifying passcode 2020-12-30 17:53:51 +01:00
Adrian Kumpf
dd66b072cf Refactor cold weather mode detection 2020-12-30 17:49:54 +01:00
Adrian Kumpf
5ebe952205 Format javascript and css files 2020-12-30 17:49:47 +01:00
virtualm2000
ff30e5fc6d Added state nil for charge port cold weather mode (#1154) 2020-12-30 17:11:18 +01:00
Adrian Kumpf
e66894d028 Fix FunctionClauseError if import directory is not accessible
Addresses #1070
2020-12-29 20:32:20 +01:00
Adrian Kumpf
d825fc1723 Allow to use the legacy authentication API 2020-12-29 15:05:38 +01:00
Adrian Kumpf
bccb43b346 Prevent division by zero
Fixes #1145
2020-12-25 22:57:14 +01:00
Adrian
0a0d17836f Gpx export (#993)
* Add first draft of gpx export

* Add test for gpx export

* Sort drive positions by date for gpx export
2020-12-22 19:29:33 +01:00
Adrian Kumpf
917bade4d9 Show tooltip unless values are missing
Fixes #1111
2020-12-22 15:45:08 +01:00
Adrian Kumpf
bb7df800a5 Allow to enter MFA codes 2020-12-20 22:18:52 +01:00
Adrian Kumpf
bf37134995 Small refactoring 2020-12-19 21:54:36 +01:00
Adrian Kumpf
42ac182b97 Use Tesla client with custom auth middleware 2020-12-19 21:08:10 +01:00
Adrian Kumpf
df6b96b1c8 Implement MFA flow 2020-12-19 21:07:55 +01:00
Adrian Kumpf
5ed9131e1f Determine if the car is plugged in (cold weather)
Addresses #1060
2020-12-03 22:40:08 +01:00
Adrian Kumpf
aa6863f757 Use connection pooling for SRTM downloads 2020-12-02 17:54:33 +01:00
Adrian Kumpf
37a60829ab Allow to connect to MQTT broker via IPv6
Addresses #1000
2020-12-01 18:09:24 +01:00
Adrian Kumpf
4737f820e4 Fix cldr deprecation warning 2020-11-05 11:13:51 +01:00
Ahrr Jay
c104f9975e Fix typo in connection (#1009) 2020-10-14 12:30:43 +02:00
Adrian Kumpf
9c3f4cb47d Open Statistics dashboard with browser time zone 2020-10-13 18:02:23 +02:00
Samar Dhwoj Acharya
3dd1916de5 fix version info on development guide & minor spelling fix (#994)
* update note about dev setup

* fix spelling error in import module
2020-10-11 17:05:56 +02:00
Adrian Kumpf
5652d8dd79 Optimize CSV file import 2020-10-11 00:00:41 +02:00
Adrian Kumpf
4b23c8604e Upgrade to Elixir v1.11 2020-10-08 22:17:56 +02:00
Adrian
7872184a5c Display update version in the homescreen update tooltip (#976)
* Make update_version of the API available

* Add update version to the update tooltip

* Fix formatting

* Update translations to reflect the new tooltip

* Fix car controller test

* Add update_version to the mqtt documentation
2020-10-08 10:33:56 +02:00
Adrian Kumpf
92b7e031bb Fix compiler warning 2020-10-04 19:20:27 +02:00
Adrian Kumpf
3037a2438a Don't open dashboards in kiosk mode 2020-10-04 13:08:39 +02:00
Adrian Kumpf
0e002740a0 Parse CSV files with nimble_csv 2020-10-04 12:32:47 +02:00
Adrian
c0c7cd5b77 Allow negative cost_per_unit for geofences (#968)
* Allow negative cost_per_unit for geofences

* Test cost calculation for negative cost

Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
2020-10-04 11:27:36 +02:00
Adrian Kumpf
64c428ee71 Gracefully handle locations that cannot be geocoded
Fixes #898
2020-09-05 01:42:32 +02:00
Adrian Kumpf
87d7ff275a Bump Grafana to 7.1
Closes #870
2020-08-27 20:04:32 +02:00
Adrian Kumpf
615dfdfe10 Set SameSite attribute to "Strict" 2020-08-21 13:42:04 +02:00
Adrian Kumpf
95bc0ae3f3 Bump dependencies 2020-08-21 13:37:00 +02:00
Adrian Kumpf
71a01783ac Show icon if update status is "downloading" 2020-07-26 13:03:55 +02:00
Adrian Kumpf
d527cf578b Handle API errors when initializing Vehicles supervisor
Addresses #835
2020-07-14 14:00:57 +02:00
Adrian Kumpf
107574d70f Trigger build 2020-07-10 18:53:48 +02:00
Adrian Kumpf
5a2ca3ebcf Update the default sleep requirements
… so that the car does not need to be locked to go to sleep.
2020-07-09 19:02:47 +02:00
Adrian Kumpf
9311cb4171 Create new connection after too many disconnects 2020-07-08 20:01:28 +02:00
Adrian Kumpf
80c9cfd9b9 Set a valid DOM id 2020-07-08 20:01:28 +02:00
Adrian Kumpf
9c74846432 Tweak streaming timeouts 2020-06-29 17:45:27 +02:00
dependabot-preview[bot]
0dcce99926 Bump finch from 0.2.0 to 0.3.0 (#809) 2020-06-25 11:26:47 +00:00