Adrian Kumpf
a0e12c3808
Store marketing names
...
... and identify new Model S and X.
Closes #2494 , #2496
2022-04-22 15:42:25 +02:00
Adrian Kumpf
0d6e288c70
Encrypt API tokens ( #2360 )
...
Store API tokens encrypted in the database.
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.
2022-02-18 17:03:13 +01:00
cwanja
66254de906
Update summary.html.heex ( #2390 )
...
* Update summary.html.heex
Create a link on the summary page to link to Not a Tesla App release notes page per discussion request #2367
Full disclosure - not proficient in Elixir, but understand HTML and capable of digging through other code and comparing. Just not sure how the `@summary.version` is going to be treated in the link text.
* Fix string interpolation
* Update tests
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com >
2022-01-28 12:16:17 +01:00
Adrian Kumpf
6c53788738
Don't suspend logging while downloading an update
...
Fixes #2194
2022-01-22 13:00:50 +01:00
Adrian Kumpf
8aa772872a
Remove support for logins with username/password
2022-01-21 19:09:32 +01:00
Adrian Kumpf
b4ad1ff2cd
Remove unnecessary id attributes
2022-01-01 17:29:36 +01:00
Adrian Kumpf
977f423014
Use new Chinese endpoints
...
Related to #2214
2021-12-13 19:08:22 +01:00
Adrian Kumpf
0e4e551489
Fix flaky test
2021-11-12 19:27:41 +01:00
Adrian Kumpf
1992af38c3
Show token sign-up form by default
2021-11-12 17:39:20 +01:00
Adrian Kumpf
451b23634c
Sign out if API repeatedly returns 401 response
2021-11-05 18:53:50 +01:00
magine
91dca9525b
Fix typos in suspend tests ( #2103 )
2021-10-31 17:30:20 +01:00
Adrian Kumpf
835326f8b3
Add NOT NULL constraint to charging_processes.start_date
...
Fixes #2088
2021-10-22 12:46:22 +02:00
Adrian Kumpf
6c0c0eeaa9
Display marketing names
...
Related to #2030
2021-10-06 12:25:18 +02:00
Adrian Kumpf
ec8b604c00
Discard stale stream data when falling asleep
2021-09-29 19:25:29 +02:00
Adrian Kumpf
e4f0cb9767
Unify wording
2021-09-27 19:19:27 +02:00
Adrian Kumpf
1feb844e2f
Discard stale stream data
...
Related to #1996
2021-09-27 19:05:26 +02:00
Adrian Kumpf
796d0c8ef4
Update phoenix to 1.6.0
2021-09-24 22:39:26 +02:00
Adrian Kumpf
4ea3034202
Broadcast offline state when car goes offline while driving
...
Fixes #1975
2021-09-22 22:26:36 +02:00
Adrian Kumpf
537452effe
Migrate to HEEx templates
2021-09-22 17:10:48 +02:00
Adrian Kumpf
be76577d5b
Enter captcha code in a separate view
...
Addresses #1836
2021-07-16 18:28:25 +02:00
Adrian Kumpf
1ee8f844fa
Disable sign-in button if captcha code is missing
2021-07-08 12:05:39 +02:00
Adrian Kumpf
1a90cdeadf
Allow to sign in w/o captcha
...
Addresses #1658
2021-06-02 11:24:45 +02:00
Adrian Kumpf
e557152dfb
Consolidate return types
2021-06-01 10:41:26 +02:00
Adrian Kumpf
827f5aa33d
Support Tesla's captcha verification
2021-06-01 00:53:32 +02:00
Adrian Kumpf
a0d120f84d
Reorder priorities of city aliases ( #1589 )
...
* Update geocoder.ex
To fix #1030 , by moving the priority of "village" higher than "municipality".
* Reorder priorities of village and municipality aliases
Co-authored-by: shanbs <shanbs@gmail.com >
2021-05-02 15:48:17 +02:00
Adrian Kumpf
b1329ff64f
Increase update rate for power
...
Related to #1504
2021-05-02 14:22:16 +02:00
Martin Nadvornik
b60bf5e6bb
add drive state battery power to published mqtt topics ( #1504 )
2021-04-26 11:36:59 +02:00
Adrian Kumpf
0879a204a7
Publish geofence only if it has changed
...
Fixes #1420
2021-03-17 23:52:47 +01:00
Adrian Kumpf
8513d56b9f
Allow to sign in with API tokens ( #1450 )
...
* Allow to sign in with API tokens
* Test signing in with API tokens
* Add button to go back to login with credentials
* Add note about how to get API tokens
2021-03-16 18:54:48 +01:00
Adrian Kumpf
323eb0dd26
Refactor Geocoder to use the Tesla HTTP client
2021-03-13 13:14:02 +01:00
Adrian Kumpf
23d924491b
Refactor Updater to use the Tesla HTTP client
2021-03-13 13:14:02 +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
5bba9e1f32
Format
2021-01-30 20:27:57 +01:00
Adrian Kumpf
b9ef13addf
Add sign-out button
2021-01-30 20:24:42 +01:00
Adrian Kumpf
3bb2d3086f
Remove support for legacy auth
2021-01-30 18:06:13 +01:00
Adrian Kumpf
d825fc1723
Allow to use the legacy authentication API
2020-12-29 15:05:38 +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
bb7df800a5
Allow to enter MFA codes
2020-12-20 22:18:52 +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
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
d0d305f1c3
Prefix unused variables with '_'
2020-10-07 18:36:05 +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
dependabot[bot]
15afc1cc3d
Bump ex_cldr from 2.16.2 to 2.17.0 ( #908 )
2020-09-14 16:36:19 +00:00
Adrian Kumpf
64c428ee71
Gracefully handle locations that cannot be geocoded
...
Fixes #898
2020-09-05 01:42:32 +02:00
dependabot[bot]
982448ff50
Bump phoenix_ecto from 4.1.0 to 4.2.0 ( #892 )
2020-09-01 08:50:53 +00:00
Adrian Kumpf
95bc0ae3f3
Bump dependencies
2020-08-21 13:37:00 +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
897dfcfeba
Fix failing tests
2020-06-25 14:54:39 +02:00
Adrian Kumpf
3508d8164e
Reduce log spam
2020-06-09 15:59:09 +02:00