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.
* 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
* 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
* adding swedish translations
* adjustment of swedish translation suggested by Thomas Hennig
* MQTT_HOST default should be 127.0.0.1 for screen, as in systemd
* adding drop_cap to traefik example, which all other guides have
* removing quotation marks around ports for portainer
* adjusting volumes for portainer to match other guides
* fix#635 fr translation
* Minor adjustments to swedish translation
and removing translations that are the same as in english
Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
* 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
* 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
* adding swedish translations
* adjustment of swedish translation suggested by Thomas Hennig
Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
* 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>