Commit graph

2350 commits

Author SHA1 Message Date
thecem
f38ac299ef
Hassio: deactivate nightly (#4731) 2022-10-07 21:19:57 +02:00
andig
a252fc1475
chore: rename transactions to sessions (#4753) 2022-10-07 20:09:19 +02:00
andig
8deef47165
Sessions: exclude sessions below 0.1kWh rounded from export and improve column names (#4750) 2022-10-07 19:59:31 +02:00
Andreas Linde
547f37aef0
Minor eebus config improvements (#4721) 2022-10-07 18:35:30 +02:00
andig
0f081c6b26 chore: align ocpp logging 2022-10-07 18:17:21 +02:00
RTTTC
b2348177ea
Lithuanian translation update (#4746) 2022-10-07 06:11:57 +02:00
Michael Geers
e43a2e19da better english 2022-10-06 21:06:27 +02:00
StefanSchoof
065d0ae07c
Remove ) from Content-Disposition header in session (#4743) 2022-10-06 17:39:09 +02:00
andig
d9e8161779
Easee: publish total energy (#4741) 2022-10-06 16:14:40 +02:00
Michael Geers
6057ce6632
Add session log ui (#4735) 2022-10-06 12:51:41 +02:00
andig
0f7d6295b6
Add Zaptec charger (#3661) 2022-10-05 20:42:18 +02:00
andig
dba4f342f1 cli: use lower case i for current 2022-10-05 20:34:22 +02:00
andig
fbd310bd3f Revert MySQL/PostgreSQL support, switch to pure-go SQlite 2022-10-05 19:04:26 +02:00
andig
909f2be52f chore: simplify nested tests 2022-10-05 18:21:01 +02:00
andig
6e943a0405
Add CoarseCurrent feature for vehicles that can't follow mA charging (#4662) 2022-10-05 17:49:38 +02:00
andig
85d0117b5a
Add session log (#4162) 2022-10-05 13:12:24 +02:00
andig
3a3277e26a chore: upgrade dependencies 2022-10-05 11:24:40 +02:00
andig
26f149571c
Add target energy API & UI for vehicles without SoC 2022-10-04 20:08:57 +02:00
andig
0ca26eafa2 Use stable sort for auth map to maintain consistent order 2022-10-04 13:36:11 +02:00
andig
6a9103224a
Cleanup handling of flags (#4718) 2022-10-04 11:27:41 +02:00
andig
98b8ca194d Fix missing config defaults 2022-10-04 11:22:37 +02:00
andig
09283f0b34 Revert "Cleanup handling of flags (#4717)"
This reverts commit 98a43ad599.
2022-10-04 11:03:24 +02:00
andig
98a43ad599
Cleanup handling of flags (#4717) 2022-10-04 10:53:38 +02:00
andig
eca1cb533b chore: simplify 2022-10-03 11:42:16 +02:00
andig
06fa749039 Templates: simplify shortening text 2022-10-02 20:28:41 +02:00
andig
2b5a0e41cf chore: use slices 2022-10-02 20:13:28 +02:00
andig
3a3f6cb4ec chore: fix title use 2022-10-02 19:55:20 +02:00
andig
cb3f393572
Templates: remove unused parameter dependencies (#4699) 2022-10-02 19:51:08 +02:00
andig
b5b73bd107 Templates: simplify language handling 2022-10-02 19:42:26 +02:00
andig
3af110652f Templates: simplify handling of linked templates 2022-10-02 19:20:00 +02:00
andig
8a655efce8
Add random plant id during configure (#4697) 2022-10-02 19:09:42 +02:00
andig
880557594f
Templates: simplify guided setup (#4698) 2022-10-02 19:09:30 +02:00
Andreas Linde
42432c263f
Rename patch targets (#4696)
Make the names more generic

- `patch-asn1` into `patch-asn1-sudo`
- `patch-asn1-docker` into `patch-asn`
2022-10-02 18:41:26 +02:00
Andreas Linde
de1a4058f9
Attempt to make the asn1 patch work in docker (#4695)
Assumption is that there is write access without sudo, as running `sudo patch …` causes the following error:
```
#26 0.112 sudo patch -N -t -d /usr/local/go/src/vendor/golang.org/x/crypto/cryptobyte -i /build/patch/asn1.diff
289
#26 0.112 make: sudo: No such file or directory
```
2022-10-02 18:11:21 +02:00
Andreas Linde
967de7635d
chore: apply asn1 patch to GOROOT (#4694)
* Modify asn1 patch

This mirrors how it is working locally:
- `sudo` needs to be called this way to modify a readonly file the current user only has read access to
- `sudo` may not be used to call `make patch-asn1` as it would change the user context and patch the the file for the root user (it was go 1.17 for the root user)
- the network stack uses the crypt package in `GOROOT` instead of any downlaoded package via modules or vendor

* Makefile fixes

- make sure sudo runs with the current users paths and not with the root paths

* Remove crypto tests and crypto mod

These tests require crypto to be added as a mod, but the network stack won’t use the crypto package in mods or vendors but the system crypto package. Hence the tests will not validate if the network stack use the patched version
2022-10-02 17:51:22 +02:00
andig
21169b84b6 Simplify extracting vehicle from list (#4692) 2022-10-02 16:46:20 +02:00
andig
103107a3f2
Enyaq: add odometer and vehicle details (#4691) 2022-10-02 16:38:45 +02:00
andig
850ba83721 chore: ignore vendor folder 2022-10-02 16:37:21 +02:00
andig
04d198a4e2
Ocpp: request list of required configuration keys (#4687) 2022-10-02 15:15:01 +02:00
andig
edb635faa3
Test soc poll honoring rate limit (#4686) 2022-10-02 14:26:59 +02:00
andig
b7edb0c524 chore: patch before packaging 2022-10-02 10:37:29 +02:00
andig
f9bb02155d chore: add patch check 2022-10-02 10:26:02 +02:00
andig
78156fcbb3 chore: use :: for phony targets 2022-10-02 10:25:14 +02:00
andig
edb3e2f790 chore: fix discuss not available on Windows 2022-10-02 10:24:46 +02:00
andig
7920b28a3b Remove outdated port flag 2022-10-02 10:18:38 +02:00
andig
4dac7c790d Revert "Check for patched go crypto lib at runtime (#4671)"
This reverts commit 940f6f100f.
2022-10-02 10:06:25 +02:00
andig
06bdb8349e
Add dump --cfg command and cleanup flags (#4668) 2022-10-01 21:25:02 +02:00
Andreas Linde
940f6f100f
Check for patched go crypto lib at runtime (#4671)
Panic if the used crypto library is not being used for compiling
2022-10-01 19:15:29 +02:00
andig
a9600a4bd6 chore: patch test 2022-10-01 16:44:08 +02:00
andig
c80b622d5b
chore: use go mod vendor for patching (#4669) 2022-10-01 16:42:21 +02:00