Commit graph

11 commits

Author SHA1 Message Date
Michael Geers
5ddf3c841f
Improve i18n handling (#5342) 2022-12-03 14:32:53 +01:00
andig
66abe9e4cd chore: upgrade libraries 2022-11-16 10:46:12 +01: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
f9bb02155d chore: add patch check 2022-10-02 10:26:02 +02:00
Andreas Linde
d6be9672f8
Fail build when golang version doesn't match (#1734) 2021-10-27 10:01:54 +02:00
andig
c77e455809 Update evcc repo uri 2021-08-21 12:53:25 +02:00
andig
9d2d314b8a Silence standard log messages 2021-03-24 11:47:31 +01:00
andig
3bb58e59e8
Upgrade to go1.16, use go:embed for bundling assets (#555) 2021-02-21 11:15:52 +01:00
Michael Geers
435bb7dbf8 introduced frontend build process via parcel; managing FE dependencies via NPM; fixed some HTML issues and Vue warnings 2020-11-07 20:55:39 +01:00
Andreas Linde
edd833db82
Dev mode does not need make assets any more
- Only when using the buildflag `-tags dev` local file
- files are loaded directly from the file system instead of the compiled binary
- had to move `//go:generate esc …` from `server/http.go`to `main.go` as otherwise the stored local paths of the files wouldn’t be correct
- Moved the `liveAssets` constants definition into two separate files, where one is included when building for dev, and one when it isn’t
- move the tempate parsing into the handler in `http.go` as otherwise template changes would not be considered
2020-07-28 15:43:34 +02:00
andig
3c503b333d Initial commit 2020-03-06 08:24:05 +01:00