Commit Graph

549 Commits

Author SHA1 Message Date
Tobias Lindberg
6d6be5fd78 adding ENCRYPTION_KEY to yaml examples 2022-06-30 23:12:50 +02:00
dependabot[bot]
c58e5f1d32 Bump github.com/gin-gonic/gin from 1.8.0 to 1.8.1 (#183)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 22:24:32 +02:00
dependabot[bot]
5648fd1999 Bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1 (#182)
Bumps [github.com/eclipse/paho.mqtt.golang](https://github.com/eclipse/paho.mqtt.golang) from 1.3.5 to 1.4.1.
- [Release notes](https://github.com/eclipse/paho.mqtt.golang/releases)
- [Commits](https://github.com/eclipse/paho.mqtt.golang/compare/v1.3.5...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/eclipse/paho.mqtt.golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 22:23:04 +02:00
dependabot[bot]
2a27650c83 Bump golang from 1.18.2 to 1.18.3 (#181)
Bumps golang from 1.18.2 to 1.18.3.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 22:21:41 +02:00
Tobias Lindberg
0ce58a7dc8 Some go mod and workflow build updates (#180)
* removing explicit versions in github actions

* updating go mods
2022-05-31 13:59:14 +02:00
dependabot[bot]
dd000741df Bump github.com/gin-gonic/gin from 1.7.7 to 1.8.0 (#179)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.7 to 1.8.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.7...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 13:31:13 +02:00
dependabot[bot]
92206e69c3 Bump golang from 1.18.1 to 1.18.2 (#177)
Bumps golang from 1.18.1 to 1.18.2.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 08:52:23 +02:00
dependabot[bot]
4d9ce706f6 Bump github.com/lib/pq from 1.10.5 to 1.10.6 (#178)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.6)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 08:52:15 +02:00
Tobias Lindberg
0a69730f83 addition of ENCRYPTION_KEY to readme
addition to #141
2022-05-09 10:02:51 +02:00
Tobias Lindberg
3f9e8c471b supporting TeslaMate encryption of API tokens (#141)
* updating sql of getting data from psql
* adding decrypt of token

Co-authored-by: Leland Sindt <leland@sway.org>
2022-05-08 12:29:25 +02:00
Tobias Lindberg
92f9abef16 bumping new version v1.14.0
updating CHANGELOG
v1.14.0
2022-05-08 10:37:00 +02:00
dependabot[bot]
4706228058 Bump docker/build-push-action from 2.10.0 to 3.0.0 (#174)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 09:29:11 +02:00
dependabot[bot]
c3850a5447 Bump docker/metadata-action from 3.8.0 to 4.0.1 (#173)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.8.0 to 4.0.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3.8.0...v4.0.1)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 09:29:07 +02:00
dependabot[bot]
9991d04a89 Bump docker/login-action from 1.14.1 to 2.0.0 (#172)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.1 to 2.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.14.1...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 09:29:03 +02:00
dependabot[bot]
6e3a90e6c1 Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 (#171)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 09:28:56 +02:00
dependabot[bot]
3e36e2723e Bump docker/setup-qemu-action from 1.2.0 to 2.0.0 (#170)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.2.0...v2.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 09:28:50 +02:00
dependabot[bot]
96d53a66dd Bump docker/metadata-action from 3.7.0 to 3.8.0 (#168)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 10:12:58 +02:00
dependabot[bot]
aca56cb1c1 Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 (#167)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 10:10:28 +02:00
Tobias Lindberg
4d169d8f2b updating go mods 2022-04-28 08:18:29 +02:00
dependabot[bot]
4336b5f618 Bump golang from 1.18.0 to 1.18.1 (#165)
Bumps golang from 1.18.0 to 1.18.1.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 15:55:24 +02:00
dependabot[bot]
ce7b25051d Bump github.com/lib/pq from 1.10.4 to 1.10.5 (#164)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.4...v1.10.5)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 15:55:15 +02:00
dependabot[bot]
7e842c09de Bump docker/metadata-action from 3.6.2 to 3.7.0 (#163)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v3.6.2...v3.7.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 15:55:08 +02:00
dependabot[bot]
608e92d4d9 Bump github/codeql-action from 1 to 2 (#166)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 15:54:56 +02:00
dependabot[bot]
6865606b86 Bump actions/cache from 2.1.7 to 3 (#162)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 15:47:49 +01:00
dependabot[bot]
346aea5348 Bump golang from 1.17.8 to 1.18.0 (#161)
Bumps golang from 1.17.8 to 1.18.0.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 12:27:11 +01:00
Tobias Lindberg
596d5c68b6 adding two new fields in status endpoint (#148)
- charge_current_request
- charge_current_request_max
2022-03-18 11:39:23 +01:00
dependabot[bot]
0066e35c66 Bump docker/build-push-action from 2.9.0 to 2.10.0 (#159)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.9.0...v2.10.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 14:00:00 +01:00
dependabot[bot]
f813d18c18 Bump golang from 1.17.7 to 1.17.8 (#157)
Bumps golang from 1.17.7 to 1.17.8.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 09:00:04 +01:00
Tobias Lindberg
bbed9fb676 updating getEnv function log (#156) 2022-03-04 10:10:37 +01:00
dependabot[bot]
7bc8a1989d Bump docker/login-action from 1.14.0 to 1.14.1 (#154) 2022-03-02 12:30:45 +01:00
dependabot[bot]
7452ac5c89 Bump actions/checkout from 2 to 3 (#155) 2022-03-02 12:30:35 +01:00
dependabot[bot]
c487529f3e Bump docker/login-action from 1.12.0 to 1.14.0 (#152)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.12.0 to 1.14.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.12.0...v1.14.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:13:34 +01:00
dependabot[bot]
d06a32a2cf Bump golang from 1.17.6 to 1.17.7 (#150) 2022-02-14 12:07:47 +01:00
dependabot[bot]
a6787eaf8e Bump docker/build-push-action from 2.8.0 to 2.9.0 (#147)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 12:51:36 +01:00
Tobias Lindberg
a81f80f66b adding graceful shutdown (#146) 2022-02-01 17:16:51 +01:00
Tobias Lindberg
46ce7ad9a9 disabling proxy feature of gin (#145) 2022-02-01 17:16:08 +01:00
Tobias Lindberg
ff3470085e adding 404 for not found endpoints (#144) 2022-02-01 17:13:07 +01:00
Tobias Lindberg
e2a34ed34c adding gzip compression (#143) 2022-02-01 17:09:18 +01:00
Tobias Lindberg
a26475e425 bumping new version v1.13.3
updating CHANGELOG
v1.13.3
2022-01-27 00:50:08 +01:00
Tobias Lindberg
e5ee21bb44 fixing append of commands to allowList (#142) 2022-01-27 00:45:51 +01:00
Tobias Lindberg
abac38f59c bumping new version v1.13.2
updating CHANGELOG
v1.13.2
2022-01-21 12:35:25 +01:00
Tobias Lindberg
04691f8e81 Slimming down on the codebase (#134)
* slimming down on one for and using join instead

* doing single query on first query part
removing a couple of if statements due to that

* typo

* simplifying settings endpoints queries

* lowering some var..

* grouping vars

* adding rec to use api key in readme
2022-01-21 12:15:52 +01:00
dependabot[bot]
ee00056d55 Bump docker/build-push-action from 2.7.0 to 2.8.0 (#135) 2022-01-19 15:00:49 +01:00
Tobias Lindberg
fae96407bb bumping new version v1.13.1
updating CHANGELOG
v1.13.1
2022-01-12 20:13:14 +01:00
Tobias Lindberg
b6ce2b89b9 Removing some code smell reported by SonarCloud (#132)
* changing lots of if else to switch in status
* removing logging of user-provided
* removing tons of ifs for a map and a loop
2022-01-11 21:24:31 +01:00
dependabot[bot]
04ac282d86 Bump golang from 1.17.5 to 1.17.6 (#133) 2022-01-10 12:05:23 +01:00
Tobias Lindberg
a0e507f199 running go mod tidy 2022-01-07 08:35:39 +01:00
Tobias Lindberg
0ecc66e0e6 adding missing commiter to changelog entry v1.13.0 2022-01-05 23:11:44 +01:00
Tobias Lindberg
3ab6fda405 bumping new version v1.13.0
updating CHANGELOG
2022-01-05 23:07:37 +01:00
Tobias Lindberg
e9a83f5504 fixing docker_meta id in build and push step 2022-01-02 14:21:21 +01:00