Commit Graph

268 Commits

Author SHA1 Message Date
Suthep Yonphimai
de7c89b43f Update default.po for thai (#4072)
Update Thai
2024-07-10 08:27:11 +02:00
mrgaolei
7d0012ec1e update zh_hans localized string (#4073)
* update zh_Hans text

* update zh-Hans po

---------

Co-authored-by: mrgao <gaolei@tenengxing.cn>
2024-07-10 08:23:33 +02:00
JakobLichterfeld
82ff865480 feat: update German translations missing messages (#4054)
* feat: update German translations missing messages

* doc: update changelog
2024-07-07 11:32:45 +02:00
Martin Kolací
8192f12860 Add icon to summary when Sentry Mode is triggered and recording (#4043)
* Add icon to summary when Sentry Mode is triggered and recording

Signed-off-by: kolaCZek <mail@kolaczek.cz>

* Update pot files

* Update Chinese translation for "Sentry Mode recording"

---------

Signed-off-by: kolaCZek <mail@kolaczek.cz>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-07-06 15:44:31 +02:00
Jakob Lichterfeld
00fdadcd06 feat: add LFP Battery setting for car settings (#4007) -> master 2024-07-05 19:11:12 +02:00
mark3-dev
c90cde871d feat: Add ability to enable and disable data collection for cars (#3993)
* Add ability to enable and disable cars

* Add default value for enabled in car_settings.

* Fix unit tests.

* Fix formatting.

* Update text to be more descriptive

* Update lables.
2024-07-05 09:01:16 +02:00
Suthep Yonphimai
bb123b2cbd Update default.po for thai (#3945)
Update some msgid
2024-06-07 10:08:28 +02:00
jlestel
4313409323 feat: Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3903)
* feat: endpoints by env

* fix: typo

* fix: useless env

* fix: format

* fix: distinct auth domain and url

* format

* fix: force issuer url if needed

* feat: new streaming based on vin

* fix refresh

* revert

* up

* feat: no need for access token / refresh token if the TOKEN env var is present

* feat: update login if token env var exists

* feat: add ENV var to allow insecure wss

* fix: remove TESLA_CN

* fix(naming): TESLA_API_URL to TESLA_API_DOMAIN

* feat: add an env var to allo invalid certs on WSS

* doc: add API domains env vars description

* fix: typo

* feat: add env var to change log level

* fix: APP_LOG_LEVEL

* feat: add TOKEN documention and wording

* fix: refacto insecure param

* feat: naming and doc

* fix: missing env var usage

* fix: rebound variable issuer_url

* fix: compilation warning on the issuer_url variable

* fix: format code

* fix: issuer_url assignments

---------

Co-authored-by: Julien <julien@citio.digital>
2024-05-27 11:03:23 +02:00
Suthep Yonphimai
a80e0aad41 Update default.po (#3906)
Update Thai in default.po. 
Correct some words in default.po.
2024-05-24 12:30:39 +02:00
Jakob Lichterfeld
10995a3ce5 Revert "Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3866)"
This reverts commit 263f207dc9.
2024-05-20 14:07:26 +02:00
jlestel
263f207dc9 Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3866)
* feat: endpoints by env

* fix: typo

* fix: useless env

* fix: format

* fix: distinct auth domain and url

* format

* fix: force issuer url if needed

* feat: new streaming based on vin

* fix refresh

* revert

* up

* feat: no need for access token / refresh token if the TOKEN env var is present

* feat: update login if token env var exists

* feat: add ENV var to allow insecure wss

* fix: remove TESLA_CN

* fix(naming): TESLA_API_URL to TESLA_API_DOMAIN

* feat: add an env var to allo invalid certs on WSS

* doc: add API domains env vars description

* fix: typo

* feat: add env var to change log level

* fix: APP_LOG_LEVEL

* feat: add TOKEN documention and wording

* fix: refacto insecure param

* feat: naming and doc

* fix: missing env var usage

---------

Co-authored-by: Julien <julien@citio.digital>
2024-05-20 13:11:13 +02:00
dyxyl
7a5625f09f fix: errors from Timex.Timezone.local() during switchover to DST. (#3848)
* Fix errors from Timex.Timezone.local() during switchover to DST.

* Update the gettext files to match.
2024-04-17 14:49:41 +02:00
Hades_Dev
d5fc1638c1 Update zh_Hans default.po typo (#3804) 2024-04-02 13:26:13 +02:00
b1c1l1
97cfb79493 feat: Add URL_PATH environment variable for reverse proxy deployments (#3771)
* Add URL_PATH environment variable for reverse proxy deployments

For example, this can be used to run TeslaMate behind a reverse proxy, using a
URL path such as "/teslamate".

* gettext: update pot and po files

Generated using:
  mix gettext.extract --merge

* web: run mix format

* gettext: update pot and po files

Re-generating gettext files after running mix format.

Generated using:
  mix gettext.extract --merge
2024-03-25 09:21:34 +01:00
Tobias Lindberg
71f5fd4d2a Adding missing Swedish translation (#3716) 2024-03-02 21:20:43 +01:00
occultsound
95c15bb789 update Traditional Chinese details translation (#3709) 2024-03-02 21:17:14 +01:00
occultsound
a94e13a6c2 add Traditional Chinese translation for new messages (#3699)
Traditional Chinese  updated
2024-02-29 09:52:05 +01:00
Zipi
28cfdba0e9 feat: add missing translation for new messages for Korean (#3693)
* Update default.po

* fix typo
2024-02-28 09:10:32 +01:00
accolon
665c4c0397 Add missing German translation, fix mistakes (#3694) 2024-02-28 09:08:35 +01:00
mrgaolei
d85c7437c0 update zh_Hans text (#3664)
Co-authored-by: mrgao <gaolei@tenengxing.cn>
2024-02-09 08:55:42 +01:00
pquattro
a68333f54d Update default.po missing translations (#3662)
Fix missing french translations
2024-02-08 15:41:29 +01:00
marvelm
da819054f6 feat: Upgrade web development framework to Phoenix 1.7 (#3615)
* Upgrade to phoenix 1.7.0
The minimal changes necessary to compile the application

* Import Phoenix.Component instead of LiveView

* Fix compilation warnings

* mix format

* Update tests to trim newline characters

* mix gettext.extract --merge

* style: correct linting

* rebuild gettext

* fix: correct spacing before unit for energy added

* fix: use unicode character for whitespace

* fix: spacing with witespace

* fix: use numeric value for charge_energy_added in charging test

* fix: avoid warning about unsued function, which is actually used in plug

* fix: use whitespace in test before charge_energy_added

---------

Co-authored-by: JakobLichterfeld <jakob-lichterfeld@gmx.de>
2024-02-07 19:23:53 +01:00
Suthep Yonphimai
7a3d6fa47e Add Thai Translation (#3566)
* update Thai

Create folder and test to translate Thai

* Update Thai

* delete some content

delete some content created by POedir

* Update Thai

* update Thai for error.po

update Thai Transaltion for error.po

* Update default.po

correct some word and symbol

* Update default.po

Add "Language: th\n"

* Update default.po

* Update default.po

* Update default.po

Correct and edit some word.

* Update default.po

Edit according to the instructions.

* Update default.po

Edit according to the instructions.

* Update default.po

Correct follow comment
2024-02-05 19:23:54 +01:00
Nir Klinger
00a704b394 Added expected finish charging localtime to teslamate site (#3646)
* Added expected finish charging localtime to teslamate site

* format text

* fixing indentation

* fixing indentation

* format text

* Remove UTC timezone and use the local timezone
2024-02-02 09:08:46 +01:00
Juan Carlos Heredia
7c6abdc2c8 Improvements for Spanish translations (#3610)
* Improve error translations

* improve default translations
2024-01-19 14:04:45 +01:00
ycjcl868
f867efd4ec fix: translation Update default.po (#3600)
「登陆」 means disembark, 「登录」 is correct.
2024-01-11 10:02:36 +01:00
Nir Klinger
b5fa0242a3 Fix an issue when car is could enter sleep mode while dog mode is enabled (#3538)
* Fix an issue when car is could enter sleep mode while dog mode is enabled.

* Update pot files

* revert change

* Fix tests

* Fix tests and issue when try to sleep was not showing

* Fix lint issue
2023-12-12 13:18:03 +01:00
Nir Klinger
fba87d7e88 added tire low pressure icon to teslamate web (#3424)
* added tire low pressure icon to teslamate web

* updated new fields to mqtt md

* Update default.pot and errors.pot
2023-11-13 19:07:03 -06:00
Adrian Kumpf
d6f1ef8f7f Update POT file 2023-11-12 19:32:21 +01:00
Juan Carlos Heredia
01d3e78a74 Updated readme, docs and Spanish translation (#3244)
* Updated readme docs and spanish translations

* Improve query to avoid nulls on cars with no long charging sessions

* Revert "Improve query to avoid nulls on cars with no long charging sessions"

This reverts commit 5dc1a74e1c.
2023-11-12 18:10:46 +01:00
Adrian Kumpf
2094c25e33 Fix formatting 2023-06-12 11:39:29 +02:00
IlyaDiallo
21cb083ec5 Add composite index to position and drop drive_id index (#3186)
Co-authored-by: Ilya Diallo <idiallo@waplanner.com>
2023-06-12 11:34:21 +02:00
Nani Shin
8e379a3590 Fix Korean translation TYPO (#3126) 2023-06-11 01:32:35 +02:00
Adrian Kumpf
c478cc1276 Update dependencies 2023-06-10 18:44:18 +02:00
Adrian Kumpf
8756c66bca Fix typos 2023-02-03 21:20:10 +01:00
Julien Cordeau
28a540641f Add French translation (#2844)
* Add french translation

* Fix typo in french translation
2023-01-13 14:05:48 +01:00
Jhou
68f67dd6e9 update chinese translations (#2855) 2023-01-13 14:01:34 +01:00
occultsound
0e585455dd Update Chinese (traditional) translation (#2852) 2023-01-13 13:58:11 +01:00
Kirill
c64581016e Add UK_UA language (#3039)
* Create default.po

* Create errors.po

* Rename to ISO

* Fix double quotes

* Remove ua folder

Co-authored-by: cigp <evgeniy@goldenplanet.dk>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2023-01-13 13:57:37 +01:00
Zipi
049257d524 Update Korean translations (#2898)
Added missing korean
Changed to Tesla official app translation (sentry mode)
2023-01-13 13:24:33 +01:00
Adrian Kumpf
5f0d513358 Update POT files 2023-01-13 13:09:45 +01:00
Adrian Kumpf
a413e8ce2c Add setting to select tire pressure units 2022-07-18 11:35:14 +02:00
Tobias Lindberg
7b967112ea Adding missing Swedish translation (#2731) 2022-07-15 11:01:20 +02:00
NirKli
7a9c6b9ad1 Added tire pressure (#2706)
* - Added support for tire pressure graph per drive

* - Fixed migration script

* - Added tire pressure documentation in mqtt.md

* Use add command instead of add_if_not_exists

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>

* Remove drop function command from migration script

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>

* Format code

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2022-06-24 15:24:39 +02:00
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
2339577fbd Update POT files 2022-02-18 18:09:36 +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
Aemon Cao
aa1ae6459c Update default.po (#2479)
typo:
2022-02-18 14:19:55 +01:00
jmalcaide
71358507db Spanish translation refinements (#2388)
* Improve Spanish translation and add missing items.

* Small correction for Spanish translation.

* Small corrections to spanish translation.
2022-01-28 11:47:12 +01:00
Carlos Cuezva
a65f27a304 Small correction for Spanish translation (#2379)
* Added if the car is preconditioning in the Drive panel

* Corrected name

* Update default.po

Small correction of translation
2022-01-26 18:40:44 +01:00