Commit Graph

589 Commits

Author SHA1 Message Date
Adrian Kumpf
7f661a5a25 Update error message of recaptcha 2021-09-10 11:11:14 +02:00
Adrian Kumpf
373a478365 Update website dependencies 2021-08-30 17:23:34 +02:00
Adrian Kumpf
e4234b4f25 Split auth code into smaller modules 2021-08-30 16:16:21 +02:00
Adrian Kumpf
c630ec662a Handle captcha appearing after submitting form 2021-08-30 15:06:17 +02:00
Adrian Kumpf
70b5717ae1 Make Tesla's WAF happy 2021-08-06 15:04:55 +02:00
Adrian Kumpf
6c19a7b8a7 Handle owner_api errors returned by streaming API
Addresses #1848
2021-07-19 15:12:09 +02:00
Adrian Kumpf
be76577d5b Enter captcha code in a separate view
Addresses #1836
2021-07-16 18:28:25 +02:00
Adrian Kumpf
34d8fb7887 Fix login with captcha for accounts outside of China 2021-07-16 16:05:13 +02:00
Adrian Kumpf
88fc27efb1 Change default auth headers 2021-07-16 14:48:01 +02:00
Adrian Kumpf
99c5bc8ccc Fix login for Chinese accounts 2021-07-08 12:15: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
543d53a879 Fix login with captcha 2021-07-08 10:46:00 +02:00
Adrian Kumpf
92aae0d67f Fix API tokens form
Fixes #1666
2021-06-02 19:37:17 +02:00
Adrian Kumpf
efef6ca887 Fix sign-in for Chinese accounts 2021-06-02 19:10:45 +02:00
Adrian Kumpf
5262fae880 Fix error when changing the language to Chinese
Fixes #1659
2021-06-02 11:24:51 +02:00
Adrian Kumpf
1a90cdeadf Allow to sign in w/o captcha
Addresses #1658
2021-06-02 11:24:45 +02:00
Adrian Kumpf
4b4ac82cd2 Handle errors when loading captcha 2021-06-01 10:49:33 +02:00
Adrian Kumpf
e557152dfb Consolidate return types 2021-06-01 10:41:26 +02:00
Adrian Kumpf
6050657876 Remove compression middleware 2021-06-01 01:06:10 +02:00
Adrian Kumpf
c5f4b11888 Re-add login hint 2021-06-01 01:05:08 +02:00
Adrian Kumpf
d676e4de49 Update translations 2021-06-01 00:53:35 +02:00
Adrian Kumpf
b161f33c0c Show error message if account is locked 2021-06-01 00:53:35 +02:00
Adrian Kumpf
827f5aa33d Support Tesla's captcha verification 2021-06-01 00:53:32 +02:00
Adrian Kumpf
5c17327ff8 Replace custom CLDR plugs 2021-05-20 10:12:58 +02:00
dependabot[bot]
3e22623e2a Bump ex_cldr from 2.20.0 to 2.21.0 (#1627)
* Bump ex_cldr from 2.20.0 to 2.21.0

Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr/compare/v2.20.0...v2.21.0)

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

* Use new Cldr.Plug.SetSession

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-05-18 23:32:36 +02:00
Adrian Kumpf
289cf788be Extend test matrix 2021-05-03 13:11:30 +02:00
Adrian Kumpf
2abc022dd7 Print system info at startup 2021-05-03 13:11:30 +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
Iulius
ff74185ab7 typo in code_challenge_method fixed (#1571)
the code_challenge_method should be S256
2021-04-27 12:26:52 +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
41f1280e75 Fix service mode detection
Related to #593
2021-04-06 17:38:09 +02:00
Adrian Kumpf
6f6dc0ae3f Use latset websockex 2021-03-20 21:38:42 +01:00
Adrian Kumpf
0879a204a7 Publish geofence only if it has changed
Fixes #1420
2021-03-17 23:52:47 +01:00
Adrian Kumpf
923b28954e Open link in new tab 2021-03-17 18:29:18 +01:00
Adrian Kumpf
535be718fc Tweak user agent randomization 2021-03-17 18:29:18 +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
0a2364656d Set another user agent for auth requests 2021-03-16 17:45:37 +01:00
Adrian Kumpf
6d31adba00 Use Mix.Project.config/0 to get version at compile time 2021-03-13 21:06:12 +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
4c9fc7e392 Update user agent used for API requests 2021-03-13 13:14:02 +01:00
Brian May
4f1d998f41 Simplify plugged_in check (#1423)
Avoid false disconnected events.

Fixes #1221
2021-03-13 11:32:57 +01:00
Adrian Kumpf
00339cff45 Handle distinct OSM IDs gracefully
Addresses #1413
2021-03-10 21:46:29 +01:00
Adrian Kumpf
ff88b0acdb Fix changing the address language
Addresses #1413
2021-03-10 20:27:39 +01:00
Brian May
3cd19f1ac3 Add health check (#1422)
See https://blog.jola.dev/health-checks-for-plug-and-phoenix
2021-03-10 19:51:26 +01:00
Adrian Kumpf
9fee2b5afe Change default auth headers 2021-03-10 19:47:54 +01:00
Adrian Kumpf
a1e0628c1f Handle failed token refresh requests gracefully
Addresses #1369
2021-02-21 10:46:26 +01:00
Adrian Kumpf
1384023bf5 Change default headers to make Tesla WAF happy
Addresses #1369
2021-02-21 10:45:49 +01:00
Adrian Kumpf
188eb03672 Handle non-existing range values after the car was offline
Addresses #1351
2021-02-16 11:08:30 +01:00