Commit Graph

291 Commits

Author SHA1 Message Date
occultsound
d397f48889 i18n: update Traditional Chinese translations with missing translations and to avoid PRC terms and ensure consistency across UI strings (#4995)
- Completed missing translations in zh_TW, zh_HK  locale
- Revised wording to match Taiwanese usage (avoiding PRC terms)
- Ensured consistency across UI strings
2025-10-10 12:57:52 +02:00
Brian May
0179972653 sec: set tokens to private schema (#4968)
* fix: tokens to private schema

This change allows configuring grafana with a db user
that has restricted access rights to the database.

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-09-30 09:49:32 +02:00
Suthep Yonphimai
eb0e6d52c7 i18n: add thai car location translation (#4956)
Update default.po for Thai language
2025-09-19 16:06:46 +02:00
Giovanni Bortolozzo
b83e60bff2 i18n: add missing italian translations, correct the gender of some words and use more uniform translations (#4920)
* Update default.po

Correct gender of "Plugged In" since in Italian "auto" is a female word

* Update default.po

Fix messages for Geo-Fence

* Update default.po

Use coherent translation for sleep/asleep

* Add missing translations

* Update translation about range

* Fix some other translations
2025-09-19 16:04:27 +02:00
Joel Pérez Izquierdo
60606a6d0d i18n: add spanish car location translation (#4892) 2025-08-16 15:38:24 +02:00
JakobLichterfeld
9d94d7e8e8 feat(webview): update wording to View car location on Google Maps for clarity (#4875)
* feat(webview): update wording to View car location on Google Maps for clarity

* docs: update changelog

* test: update test according to new wording
2025-08-15 20:21:39 +02:00
Matthias Wirtz
261ff722e9 fix: set descent and ascent to 0 when out of bounds (> 32767 meters) (#4882)
* set descent and ascent to 0 when out of bounds (> 32767 meters)

* docs: add comments to clarify elevation gain and loss handling in migrations regarding smallint

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-08-15 18:30:14 +02:00
JakobLichterfeld
3402d712bc i18n: fix de translation for car location link (#4844)
* i18n: fix de translation for car location link

* docs: update changelog
2025-07-22 18:18:14 +02:00
JakobLichterfeld
b985ab2f45 ux: change Google Maps Button Link to icon to ensure a consistent UX (#4838)
* ux: change Google Maps Button Link to icon to ensure a consistent UX

* test: correct test for car location on Google Maps link

* docs: update changelog

* chore(i18n): update POT files

* docs: update changelog

* docs: update changelog
2025-07-21 13:56:33 +02:00
Matthias Wirtz
0eefeac20b feat: add total ascent & descent to the drive table, introduce slope-adjusted efficiency metric in drives dashboard (#4798)
* slope-adjusted efficiency

* docs: update changelog

* docs: include migration time in changelog

* docs: update changelog

* build: bump minor version

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-07-19 11:07:02 +02:00
Calvin Huang
97563e2175 feat(webview): add Google Maps link for car's current location (#4781)
* Add Google Maps link for car's current location

- Add Google Maps link in car summary view
- Link opens car's current location in new tab
- Follows existing external link patterns
- Uses consistent Bulma styling

Co-Authored-By: Calvin Huang <c@lvin.me>

* Fix HTML div structure in summary template

- Remove extra closing div that caused compilation error
- Properly nest card-content div structure

Co-Authored-By: Calvin Huang <c@lvin.me>

* Add test for Google Maps link in car summary view

- Test verifies link presence with correct coordinates
- Test validates href URL format and security attributes
- Test ensures proper CSS styling and link text
- Follows existing TeslaMate testing patterns with online_event() helper
- Uses Floki for HTML parsing and attribute verification

Co-Authored-By: Calvin Huang <c@lvin.me>

* style: linter findings

* Update POT files for translation

- Run mix gettext.extract --merge to update translation files
- Addresses PR comment feedback about updating pot files
- No new translatable strings added from Google Maps feature

Co-Authored-By: Calvin Huang <c@lvin.me>

* docs: update changelog

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-07-09 09:24:46 +02:00
Stark
f636e1e5e2 i18n: more descriptive italian localization (#4748) 2025-05-26 18:52:19 +02:00
pellix
41e3f207ae i18n: create Catalan errors.po (#4728) 2025-05-26 18:51:57 +02:00
pellix
78f6dc4df5 i18n: create Catalan default.po (#4727) 2025-05-26 18:51:32 +02:00
Matthias Wirtz
54a4ee8b61 feat: check Postgres version on startup, require 16.7 / 17.3, update earthdistance extension (#4648)
* check postgres version on startup

* update earthdistance to 1.2

* detail postgres requirement

* align additional requirements

* 17 is available on nixpkgs now

* allow upcoming major as well but issue a warning

* style: linter findings

* ci: skip ghcr build for PRs from outside repo (#4660)

* ci: skip ghcr build for PRs from outside repo

* docs: update changelog

* ci: early exit if check paths triggers

* ci: improve ghcr check_if_pr_from_outside_repo logging

* feat:show tpms value to the low pressure tooltip in webview (#4654)

* Added the tpms value to the tooltip

* Update pot files

* mix format

* Revert "mix format"

This reverts commit bbfe5aaa9f.

* style: linter findings

* Update pot files

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
Co-authored-by: Nir Klinger <45952578+NirKli@users.noreply.github.com>
2025-04-15 10:53:38 +02:00
Nir Klinger
2837ebf7e3 feat:show tpms value to the low pressure tooltip in webview (#4654)
* Added the tpms value to the tooltip

* Update pot files

* mix format

* Revert "mix format"

This reverts commit bbfe5aaa9f.

* style: linter findings

* Update pot files

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-15 10:29:32 +02:00
Juan Carlos Heredia
b548a304f1 feat: Translate remaining Spanish sentences (#4529)
* Translate remaining sentences

* minor gramatical fix
2025-02-17 16:10:22 +01:00
Fermin
dbb5c77151 Spanish translation of missing items (#4320)
* Add Spanish translation of missing items.

* Small correction for Spanish translation.
2024-10-29 16:26:10 +01:00
Suthep Yonphimai
6337382828 Update default.po for thai (#4312)
update some word in Thai
2024-10-28 09:27:10 +01:00
JakobLichterfeld
2a922e321c feat: update to Phoenix HTML 4.1, bump dependencies (#4277)
* feat: update to Phenix HTML 4.1

* fix: updating to the new Gettext.Backend approach

* chore: update pot files ro locale version 45.0.0

* fix: downgrade cloack back to 1.1.2

* revert: merge of mix.lock

* fix: new syntax for field name generation for phx-feedback-for

* Revert "fix: new syntax for field name generation for phx-feedback-for"

This reverts commit 4d95e4f1c9.

* fix: downgrade floki back to 0.35.2

* Revert "fix: downgrade floki back to 0.35.2"

This reverts commit a4f0b6bf4b.

* fix: ensure floki nil is handled

* style: linter findings

* Revert "fix: ensure floki nil is handled"

* fix: new syntax for field name generation for phx-feedback-for

* debug: floki paramter error

* Revert "debug: floki paramter error"

This reverts commit 61920267ed.

* fix: Remove unnecessary code in settings_test.exs which breaks floki 0.36+
2024-10-27 08:17:49 +01:00
Matthias Wirtz
c67573e708 feat: PostgreSQL 17 (#4231) 2024-09-29 11:17:31 +02:00
Matthias Wirtz
c64384f0f6 add moving average / percentiles to charge level (#4200) 2024-09-16 14:09:45 +02:00
Tobias Lindberg
23c8bccff6 Adding missing Swedish translation (#4097)
* Adding missing Swedish translation

* doc: update changelog
2024-07-23 16:18:41 +02:00
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