Commit Graph

38 Commits

Author SHA1 Message Date
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
b545eaf8f4 Remove donation links 2023-11-12 19:26:52 +01:00
Adrian Kumpf
4931217ca7 Update Elixir dependencies 2023-01-13 11:02:14 +01:00
Adrian Kumpf
628b6f0a4c Fix locale detection
Fixes #2141
2021-11-12 17:02:29 +01: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
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
e15fef7216 Uprade phoenix_live_view to 0.16 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
Adrian Kumpf
5c17327ff8 Replace custom CLDR plugs 2021-05-20 10:12:58 +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
2011b2d97e Bump phoenix_live_view from 0.9.0 to 0.10.0 2020-03-19 18:17:52 +01:00
Adrian Kumpf
7fd706709e Bump phoenix_live_view to 0.9.0 2020-03-11 14:38:47 +01:00
Adrian Kumpf
a89ed2e2a5 Update dependencies 2020-02-23 12:23:57 +01:00
Adrian Kumpf
6641874439 Improve locale detection 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
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
c71d8af763 Use Accept-Language header to set locale 2020-01-21 14:27:11 +01:00
Adrian Kumpf
35ced850e9 Add charge cost interface
Closes #185, closes #342
2020-01-15 18:28:12 +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
549dedb3bf Decouple global from car-specific settings 2019-11-18 23:43:25 +01:00
Adrian Kumpf
3ef7cd1254 Fetch sign-in status only on index route 2019-11-17 18:04:04 +01:00
Adrian Kumpf
30d10d29a0 Display link to Grafana dashboards
... if a URL was entered on the Settings page.

Resolves #235
2019-11-17 16:56:03 +01:00
Adrian Kumpf
8c30e22979 Allow to visit /settings & /geo-fences w/o being signed in 2019-08-12 23:48:16 +02:00
Adrian Kumpf
6a8bc532e0 Add geo-fence views 2019-08-12 23:48:16 +02:00
Adrian Kumpf
d2dd9e85b4 Remove unused routes 2019-08-12 23:48:16 +02:00
Adrian Kumpf
b5829082ee Test SignInLive 2019-08-05 12:54:14 +02: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
Adrian Kumpf
7e5d62cbd8 Add sign in view 2019-07-31 17:40:15 +02:00
Adrian Kumpf
8876f762c1 Add Addresses 2019-04-15 15:27:36 +02:00
Adrian Kumpf
9f6b25d4a9 Render LiveView summary of all vehicles 2019-04-13 19:24:30 +02:00
Adrian Kumpf
a2519e7431 Add live_view 2019-04-13 19:24:30 +02:00
Adrian Kumpf
f5b9df4be3 Explicitly suspend / resume logging 2019-04-08 21:42:46 +02:00
Adrian Kumpf
69882768a4 Add /wake_up & /suspend routes 2019-04-08 15:46:58 +02:00
Adrian Kumpf
76208a456c Rename otp app 2019-04-07 13:42:51 +02:00