Commit Graph

145 Commits

Author SHA1 Message Date
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
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
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
5262fae880 Fix error when changing the language to Chinese
Fixes #1659
2021-06-02 11:24:51 +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
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
9c3f4cb47d Open Statistics dashboard with browser time zone 2020-10-13 18:02:23 +02:00
Adrian Kumpf
3037a2438a Don't open dashboards in kiosk mode 2020-10-04 13:08:39 +02:00
Adrian Kumpf
155a135d51 Upgrade to phoenix 1.5 2020-04-23 12:51:15 +02:00
Adrian Kumpf
b761b4f0c8 Fix disappearing map tiles 2020-04-20 15:01:00 +02:00
Adrian Kumpf
4804aeb767 Reduce the amount of data sent to the client when driving 2020-04-19 15:20:23 +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
jmiverson
9eb42ee8a7 Updated Labels to Title Case (#578)
Some labels were using title case and others weren't.  Attempted to make it consistent across the board.
2020-04-11 12:45:08 +02:00
Adrian Kumpf
4fdfc4d74e Upgrade bulma-tooltip 2020-04-10 13:02:08 +02:00
Adrian Kumpf
c6b265788c Migrate docs to docusaurus
Fixes #564
2020-04-07 19:32:18 +02:00
MaxG88
07930eea36 Send credentials with manifest request (#555) 2020-04-06 12:04:53 +02:00
Adrian Kumpf
6b8639c636 Use arrow to indicate direction of the vehicle 2020-04-04 13:43:42 +02:00
Adrian Kumpf
e6fc0609ff Show spinner before the map is initialized 2020-04-04 13:43:42 +02:00
Adrian Kumpf
fdd11dcf8e Inform if an update is available 2020-04-02 16:36:28 +02:00
Adrian Kumpf
c5b170f96a Add icons to navbar items 2020-04-02 16:36:28 +02:00
Adrian Kumpf
2c706d339b Add 'About' section to settings page 2020-04-02 16:36:26 +02:00
Adrian Kumpf
a696e6db16 Hide sleep mode settings if streaming is enabled 2020-04-02 16:33:33 +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
5c432c7add Fix flashing modal 2020-03-31 22:20:49 +02:00
Adrian Kumpf
2f8defff06 Add feature flag for the Streaming API 2020-03-28 15:48:37 +01:00
Tobias Lindberg
fb3ed02b1c Fix settings dropdown and Swedish translation (#525)
* adding swedish translation

* adding comments from endlish errors.po

* adding new translations for swedish

* fix #524 of adriankumpf/teslamate

* adding translation for geo-fence in swedish

* fixing translation of charge limit in swedish

* fixiing translation of mileage in swedish

* Fix typos

Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
2020-03-22 13:51:39 +01:00
Adrian Kumpf
2011b2d97e Bump phoenix_live_view from 0.9.0 to 0.10.0 2020-03-19 18:17:52 +01:00
Adrian Kumpf
edc1aefe7b Always show mileage on summary page 2020-03-18 16:47:29 +01:00
Adrian Kumpf
267cef3388 Add odometer to the summary page
Closes #508
2020-03-17 14:34:24 +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
85eb9307e2 Indicate if any of the doors are open 2020-03-11 14:38:47 +01:00
Adrian Kumpf
86a6bee239 Add support for session fees
Closes #455
2020-03-09 12:56:11 +01:00
Adrian Kumpf
9fabded3ea Use kiosk mode by default 2020-02-23 12:23:57 +01:00
Adrian Kumpf
6b60118070 Set autofocus attribute 2020-02-14 11:46:29 +01:00
Adrian Kumpf
803438206e Bump phoenix_live_view to 0.7.1 2020-02-14 10:43:48 +01:00
Adrian Kumpf
583dae76ac Show zoom controls
Closes #388
2020-02-13 17:00:43 +01:00
Adrian Kumpf
c3d11f1b0d Simplify geo-fence editing 2020-02-13 16:43:33 +01:00
Pierre Belanger
5bb546eba5 [ISSUE-434] Increase charge cost scale / kWh (#440) 2020-02-12 12:34:51 +01:00
Adrian Kumpf
d013eb0858 List dashboards as external resources 2020-02-07 13:21:05 +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
0cb3bdc1b9 Remove unnecessary session attribute 2020-02-06 15:51:30 +01:00
Adrian Kumpf
38486d69a3 Bump phoenix_live_view to 0.6.0 2020-01-24 14:08:47 +01:00