Commit Graph

32 Commits

Author SHA1 Message Date
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 4d95e4f1c9367d2d5c606ced2190ab23edcb971b.

* fix: downgrade floki back to 0.35.2

* Revert "fix: downgrade floki back to 0.35.2"

This reverts commit a4f0b6bf4b32099d89003c3d20f72333d510e109.

* 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 61920267edf5186b593920bde7d87e8b30af55aa.

* fix: Remove unnecessary code in settings_test.exs which breaks floki 0.36+
2024-10-27 08:17:49 +01:00
JakobLichterfeld
1ee48c9547 feat: update breadcrumb links to use Phoenix path helpers (#4052)
* feat: update breadcrumb links to use Phoenix path helpers

fixes: #3905

* doc: update changelog
2024-07-07 11:19:34 +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
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
Adrian Kumpf
9df62aee54 Update repo URL 2023-11-12 19:30:36 +01:00
Adrian Kumpf
a413e8ce2c Add setting to select tire pressure units 2022-07-18 11:35:14 +02:00
Adrian Kumpf
7d2a841f1f Bump deps 2022-04-04 14:24:04 +02: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
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 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
4b23c8604e Upgrade to Elixir v1.11 2020-10-08 22:17:56 +02:00
Adrian Kumpf
c44b612b5d Update js dependencies 2020-05-19 19:12:59 +02:00
Adrian Kumpf
d2cfa6f769 Sort languages properly 2020-04-25 23:16:04 +02:00
Adrian Kumpf
155a135d51 Upgrade to phoenix 1.5 2020-04-23 12:51:15 +02:00
Adrian Kumpf
0dbc5600ef Add language switcher 2020-04-15 14:21:35 +02:00
Adrian Kumpf
2c706d339b Add 'About' section to settings page 2020-04-02 16:36:26 +02:00
Adrian Kumpf
a36fb8d66c Remove option to disable sleep mode 2020-04-02 16:33:33 +02:00
Adrian Kumpf
803438206e Bump phoenix_live_view to 0.7.1 2020-02-14 10:43:48 +01:00
Adrian Kumpf
bfb9e4310c Load settings only once 2020-01-29 12:55:32 +01:00
Adrian Kumpf
38486d69a3 Bump phoenix_live_view to 0.6.0 2020-01-24 14:08:47 +01:00
Adrian Kumpf
2a101d6788 Change error message 2020-01-23 13:39:04 +01:00
Adrian Kumpf
c217943862 Refresh addresses when changing language 2020-01-21 14:27:11 +01:00
Adrian Kumpf
c71d8af763 Use Accept-Language header to set locale 2020-01-21 14:27:11 +01:00
Adrian Kumpf
dde12b0e5b Add option to overwrite sleep mode per geo-fence
Resolves #251
2019-11-24 14:00:50 +01:00
Adrian Kumpf
66bafcb66d Add option to disable sleep mode 2019-11-24 14:00:50 +01:00
Adrian Kumpf
549dedb3bf Decouple global from car-specific settings 2019-11-18 23:43:25 +01:00
Adrian Kumpf
3780bbc3ed Test SettingsLive 2019-08-05 12:54:14 +02:00
Adrian Kumpf
3fee27058e Create settings view 2019-07-31 21:45:55 +02:00