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
7d2a841f1f
Bump deps
2022-04-04 14:24:04 +02:00
Adrian Kumpf
bbdc2d25ae
Move encryption key warning into .container
2022-02-18 17:21:16 +01: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
d6d4d62ac7
Skip unnecessary locale downloads
2022-01-23 23:57:24 +01:00
Adrian Kumpf
6c53788738
Don't suspend logging while downloading an update
...
Fixes #2194
2022-01-22 13:00:50 +01:00
James Bogosian
963831deee
Enable zoom on live view of the car. ( #2184 )
...
* Enable zoom on live view of the car.
* Switch to using drag/pinch-to-zoom/scroll-to-zoom
* Remove data-zoom attrbiute as parameters are directly set in the JS.
* Directly set parameters for zoom instead of relying on attribute from DOM.
* Switch to use hover/tap to show/hide zoom control.
2022-01-21 19:28:20 +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
1992af38c3
Show token sign-up form by default
2021-11-12 17:39:20 +01:00
Adrian Kumpf
628b6f0a4c
Fix locale detection
...
Fixes #2141
2021-11-12 17:02:29 +01:00
Adrian Kumpf
5a9da881b4
Force locale download only in :prod
2021-11-05 17:21:43 +01:00
dependabot[bot]
9509ccde76
Bump ex_cldr from 2.23.2 to 2.24.1 ( #2121 )
...
* Bump ex_cldr from 2.23.2 to 2.24.1
Bumps [ex_cldr](https://github.com/elixir-cldr/cldr ) from 2.23.2 to 2.24.1.
- [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.23.2...v2.24.1 )
---
updated-dependencies:
- dependency-name: ex_cldr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Replace custom PutSession plug
* Bust cldr chache
* Bump phoenix_live_view and tzdata
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com >
2021-11-05 17:19:37 +01:00
herbit
b1b53654e5
Added Apple mobile web app capable meta tag ( #2128 )
...
Enable to run the website in full screen mode on iPhones. This is useful in combination when starting TeslaMate with an app icon from the home screen.
2021-11-05 17:08:43 +01:00
Adrian Kumpf
1425f82b49
Update dependencies
2021-10-31 16:18:23 +01:00
Adrian Kumpf
6c0c0eeaa9
Display marketing names
...
Related to #2030
2021-10-06 12:25:18 +02:00
Adrian Kumpf
70468ea762
Migrate from webpack to esbuild
2021-09-22 22:07:14 +02:00
Adrian Kumpf
7c0dc3b870
Upgrade phoenix to 1.6
2021-09-22 20:38:02 +02:00
Adrian Kumpf
537452effe
Migrate to HEEx templates
2021-09-22 17:10:48 +02:00
Adrian Kumpf
e15fef7216
Uprade phoenix_live_view to 0.16
2021-09-22 17:10:48 +02:00
Adrian Kumpf
405e9d1b24
Remove error message when switching forms
2021-09-10 11:11:14 +02:00
Adrian Kumpf
7f661a5a25
Update error message of recaptcha
2021-09-10 11:11:14 +02:00
Adrian Kumpf
e4234b4f25
Split auth code into smaller modules
2021-08-30 16:16:21 +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
92aae0d67f
Fix API tokens form
...
Fixes #1666
2021-06-02 19:37:17 +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
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
923b28954e
Open link in new tab
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
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
a2129b1457
Hide sign-out button in import mode
2021-02-06 21:39:52 +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
8e0096d87e
Disable button when verifying passcode
2020-12-30 17:53:51 +01:00
Adrian Kumpf
5ebe952205
Format javascript and css files
2020-12-30 17:49:47 +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
4737f820e4
Fix cldr deprecation warning
2020-11-05 11:13:51 +01:00
Adrian Kumpf
9c3f4cb47d
Open Statistics dashboard with browser time zone
2020-10-13 18:02:23 +02:00
Adrian Kumpf
4b23c8604e
Upgrade to Elixir v1.11
2020-10-08 22:17:56 +02:00