Commit Graph

103 Commits

Author SHA1 Message Date
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
1992af38c3 Show token sign-up form by default 2021-11-12 17:39: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
796d0c8ef4 Update phoenix to 1.6.0 2021-09-24 22:39:26 +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
827f5aa33d Support Tesla's captcha verification 2021-06-01 00:53:32 +02: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
23d924491b Refactor Updater to use the Tesla HTTP client 2021-03-13 13:14:02 +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 Kumpf
bb7df800a5 Allow to enter MFA codes 2020-12-20 22:18:52 +01: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
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
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
0db6d6905c Allow to set a cost by the minute per geo-fence 2020-05-30 12:33:23 +02:00
Adrian Kumpf
04ab18262d Allow to set charge cost by minute 2020-05-30 12:33:23 +02:00
Adrian Kumpf
6fd7cbbc28 Allow negative charge costs
Closes #743
2020-05-25 19:22:41 +02:00
dependabot-preview[bot]
607c220bf2 Bump phoenix_live_view from 0.12.1 to 0.13.0 (#742) 2020-05-22 16:00:06 +00:00
Adrian Kumpf
60631907ef Replace mojito with finch 2020-05-14 14:11:20 +02:00
Adrian Kumpf
155a135d51 Upgrade to phoenix 1.5 2020-04-23 12:51:15 +02:00
Adrian Kumpf
706c9d6a75 Bump phoenix_live_view to 0.12.0 2020-04-19 12:32:05 +02:00
Adrian Kumpf
0dbc5600ef Add language switcher 2020-04-15 14:21:35 +02:00
Adrian Kumpf
45d94d52b3 Implement database efficiency improvements
Closes #573
2020-04-11 14:49:44 +02:00
Adrian Kumpf
3d3863e17c Format code 2020-04-10 13:06:25 +02:00
Adrian Kumpf
4fdfc4d74e Upgrade bulma-tooltip 2020-04-10 13:02:08 +02:00
Adrian Kumpf
a457d17ffa Enable streaming for new users as well 2020-04-04 13:43:42 +02:00
Adrian Kumpf
025a81f874 Do not suspend if the doors or trunk are open 2020-04-02 17:54:37 +02:00
Adrian Kumpf
fdd11dcf8e Inform if an update is available 2020-04-02 16:36:28 +02:00
Adrian Kumpf
f1e434e9c9 Remove outdated sleep mode requirements 2020-04-02 16:33:33 +02:00
Adrian Kumpf
a36fb8d66c Remove option to disable sleep mode 2020-04-02 16:33:33 +02:00
Adrian Kumpf
2f8defff06 Add feature flag for the Streaming API 2020-03-28 15:48:37 +01:00
Adrian Kumpf
1e86761314 Update the tests so that 'rated' is used by default
Follow-up of 9994d77
2020-03-11 15:36:08 +01:00
Adrian Kumpf
b76b2d2cfa Add option to calculate charging costs retroactively
Closes #442
2020-03-11 15:11:13 +01:00
Adrian Kumpf
14a5acf7cb Allow to enter total cost or cost per KWh used
Closes #457
2020-03-11 15:11:13 +01:00
Adrian Kumpf
86a6bee239 Add support for session fees
Closes #455
2020-03-09 12:56:11 +01:00
Adrian Kumpf
20925f5a3f Reverse geofence sort order 2020-02-16 12:41:02 +01:00
Adrian Kumpf
803438206e Bump phoenix_live_view to 0.7.1 2020-02-14 10:43:48 +01:00
Adrian Kumpf
c3d11f1b0d Simplify geo-fence editing 2020-02-13 16:43:33 +01:00
Adrian Kumpf
429de54a79 Allow geo-fences to overlap
If multiple geo-fences potentially cover a position, the geo-fence whose
centre is closest is selected.
2020-02-13 14:59:18 +01:00
Adrian Kumpf
be0fffe56b Calculate charge cost based on location
Closes #386
2020-02-07 13:21:05 +01:00
Adrian Kumpf
f61315cb10 Implement TeslaFi import
Closes #316
2020-02-07 13:21:05 +01:00
Adrian Kumpf
1f5eb9d164 Use reported timestamps 2020-01-29 12:51:53 +01:00