Commit Graph
100 Commits
Author SHA1 Message Date
Tobias Lindberg b6043e0cce Add and update of MQTT topics (#289) 2024-06-20 09:26:28 +02:00
Tobias Lindberg 637425d1c2 updating go mods 2024-06-19 12:17:06 +02:00
Tobias Lindberg 6cf37c5a29 fix: resolving fatal when disabling of mqtt (#288) 2024-06-19 12:11:32 +02:00
Tobias Lindberg 97541b3981 fix badges in README
- adding logo
2024-04-09 19:47:53 +02:00
Tobias Lindberg 97c3a5989b updating badges in README.md
rel #279
rel #280
2024-04-09 00:01:52 +02:00
Tobias Lindberg 6a39d8ae10 fix cosign verify command
rel #280
2024-04-08 23:33:30 +02:00
Tobias Lindberg 99c736955d add cosign of images in build workflow (#280) 2024-04-08 23:22:57 +02:00
Tobias Lindberg 369a522b0b fix workflow typo
rel 49f1f5e0f1
2024-04-08 09:26:45 +02:00
Tobias Lindberg 49f1f5e0f1 updating image inspection
rel bd75110ac0
2024-04-08 09:24:45 +02:00
Tobias Lindberg bd75110ac0 add build image inspect step
rel #279
2024-04-08 09:01:55 +02:00
Tobias Lindberg 4e72f962ca fix codeQL permissions 2024-04-07 16:33:48 +02:00
Tobias Lindberg ebc1ebc311 fix metadata annotation level on images
rel #279
2024-04-07 16:02:13 +02:00
Tobias Lindberg a8966b3e0e update GitHub action workflow and go mod (#279)
* add permission block
* switching from local cache to gha
* add annotations and sbom to build step
* moving dockerhub update to separate job
* update go mods
* add gha workflow_dispatch
2024-04-07 15:05:01 +02:00
Tobias Lindberg f038e96845 bumping new version v1.17.2
updating CHANGELOG
2024-03-30 00:16:20 +01:00
Tobias Lindberg 4636fe6493 fix: issue after location mqtt implementation (#278) 2024-03-30 00:11:43 +01:00
Tobias Lindberg 2e0f05f11a bumping new version v1.17.1
updating CHANGELOG
2024-03-15 13:09:29 +01:00
Tobias Lindberg 67e6ab22bf Fix permission issues with Dockerfile nonroot implementation (#274) 2024-03-15 13:07:53 +01:00
Tobias Lindberg f64628bec5 bumping new version v1.17.0
updating CHANGELOG
2024-03-15 08:35:28 +01:00
Tobias Lindberg 7548d5dbaa Add tire pressure warning and active route from mqtt (#270) 2024-03-04 11:39:41 +01:00
Tobias Lindberg 3969a70d90 fix Dockerfile alpine container typo (#267)
rel #266
2024-02-05 12:22:20 +01:00
Tobias Lindberg fc5fb63f03 update Dockerfile to specific version and use of nonroot user (#266)
* using alpine specific version instead of latest
* running container with nonroot user
2024-02-05 11:23:14 +01:00
Tobias Lindberg ab69d262c6 alignment of commands to version 4.23.6 (#265) 2024-01-30 22:15:38 +01:00
Tobias Lindberg bdd058dfb8 updating go mods and linting markdown files (#264) 2024-01-30 22:14:36 +01:00
Tobias Lindberg ae9d06f437 bumping new version v1.16.6
updating CHANGELOG
2023-12-19 12:29:47 +01:00
Tobias Lindberg 243363e7c4 update teslamate repo links to teslamate-org 2023-11-13 09:40:44 +01:00
Tobias Lindberg d6867f9e6c bumping new version v1.16.5
updating CHANGELOG
2023-10-12 23:32:39 +02:00
Tobias Lindberg 8c106345b8 workflow setup go version by go.mod (#249) 2023-10-12 23:22:44 +02:00
Tobias Lindberg 31d09b41ed bumping new version v1.16.4
updating CHANGELOG
2023-09-23 07:49:51 +02:00
Tobias LindbergandVincent Barrier b0c86642cc fix NullString issue in several endpoints (#245)
Co-authored-by: Vincent Barrier <vbarrier@kagilum.com>
2023-09-23 07:47:23 +02:00
Tobias Lindberg a9a3ee1038 fix dockerhub-description step in build workflow 2023-09-23 00:19:40 +02:00
Tobias Lindberg 435cd6eba8 bumping new version v1.16.3
updating CHANGELOG
2023-09-22 23:27:30 +02:00
Tobias Lindberg 7efd25651d fix formatting in CHANGELOG 2023-09-22 23:23:24 +02:00
Tobias Lindberg c9db9729f9 cleaning, bumping and enhancing (#243)
* some cleanup
- updating constant in group to have explicit type (SA9004)
- commenting out empty branch (SA9003)

* bump go mods

* refactor of nested if statements
closes #175

* stop using ioutil as it is deprecated
2023-09-22 23:12:21 +02:00
Tobias LindbergandVincent Barrier 1a3378e735 change CarName to be NullString instead of string (#242)
* fix CarName to be NullString instead of string

Co-authored-by: Vincent Barrier <vbarrier@kagilum.com>
2023-09-22 17:25:55 +02:00
Tobias Lindberg 1796fc4afb changing docker hub update on release event 2023-07-28 14:52:28 +02:00
Tobias Lindberg 22d4958ef2 bumping new version v1.16.2
updating CHANGELOG
2023-07-28 14:01:59 +02:00
Tobias Lindberg 51e90830fe updating github workflow
- adding major version tag
- adding docker hub description update
2023-07-28 12:04:59 +02:00
Tobias Lindberg 2a908212ad bumping new version v1.16.1
updating CHANGELOG
2023-05-22 19:09:21 +02:00
Tobias Lindberg 46dbe420a3 updating go mods 2023-05-22 18:18:37 +02:00
Tobias Lindberg d4d6806cf6 fixing changelog 2022-10-12 08:45:50 +02:00
Tobias Lindberg 0a8c936bca bumping new version v1.16.0
updating CHANGELOG
2022-10-12 08:42:18 +02:00
Tobias Lindberg a51e0df72d updating go build step in Dockerfile (#192) 2022-07-16 21:28:35 +02:00
Tobias Lindberg 413a103d0a updating information text at 1.15.0 release 2022-07-15 14:03:08 +02:00
Tobias Lindberg 1aad7eb307 updating go mods 2022-07-15 13:29:22 +02:00
Tobias Lindberg bbcdd355d8 typo 2022-07-15 12:54:05 +02:00
Tobias Lindberg 27f250dc9e bumping new version v1.15.0
updating CHANGELOG
2022-07-15 12:47:45 +02:00
Tobias Lindberg 5e9c8873f9 removing v in container image version tag (#188) 2022-07-04 11:31:55 +02:00
Tobias Lindberg 2788965069 add support for new car commands (#187)
- /command/charge_standard
- /command/charge_max_range
- /command/remote_seat_cooler_request
- /command/set_climate_keeper_mode
- /command/remote_auto_seat_climate_request
2022-07-01 00:01:22 +02:00
Tobias Lindberg 5981739ff2 add support for tire pressure metrics from mqtt (#186) 2022-06-30 23:13:10 +02:00
Tobias Lindberg 6d6be5fd78 adding ENCRYPTION_KEY to yaml examples 2022-06-30 23:12:50 +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
Tobias Lindberg 0a69730f83 addition of ENCRYPTION_KEY to readme
addition to #141
2022-05-09 10:02:51 +02:00
Tobias LindbergandLeland Sindt 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
2022-05-08 10:37:00 +02:00
Tobias Lindberg 4d169d8f2b updating go mods 2022-04-28 08:18:29 +02: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
Tobias Lindberg bbed9fb676 updating getEnv function log (#156) 2022-03-04 10:10:37 +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
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
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
Tobias Lindberg fae96407bb bumping new version v1.13.1
updating CHANGELOG
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
Tobias Lindberg a0e507f199 running go mod tidy 2022-01-07 08:35:39 +01:00
Tobias Lindberg 0ecc66e0e6 adding missing commiter to changelog entry 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
Tobias Lindberg 52edc14970 removing build_info step and adding if main ignore 2022-01-02 13:50:09 +01:00
Tobias Lindberg 6145fdcb76 adding docker/metadata-action tag for branches 2022-01-02 12:32:55 +01:00
Tobias LindbergandAlec O'Connor 732fc886a2 Feature: response handler (#110)
Co-authored-by: Alec O'Connor <alecdoconnor@users.noreply.github.com>
2021-12-31 12:27:25 +01:00
Tobias Lindberg 05e450538d bumping new version v1.12.1
updating CHANGELOG
2021-12-31 12:02:48 +01:00
Tobias Lindberg 87234d3056 updating CHANGELOG
- linking to contributors
- linking to pull requests
2021-12-31 12:01:40 +01:00
Tobias Lindberg 1cac2e6806 Updating build workflow with enhancements (#131)
* adding edge docker image tag for image based on main branch

* adding GHCR to container repos

* updating build apiVersion during build

* only doing build when certain paths are changed
2021-12-31 10:44:59 +01:00
Tobias Lindberg e7e3005e57 using of BasePath function in output and redirect (#130) 2021-12-29 10:49:24 +01:00
Tobias Lindberg 364fd58d69 bumping new version v1.12.0
updating CHANGELOG
2021-12-28 22:25:32 +01:00
Tobias Lindberg dbb07937ba changing float64 to NullFloat64 on efficiency (#129) 2021-12-28 22:19:05 +01:00
Tobias Lindberg 083b88bc8a bumping new version v1.11.1
updating CHANGELOG
2021-12-23 11:42:00 +01:00
Tobias Lindberg 7e648a498f adding arg for apiVersion based on git release 2021-12-23 11:27:21 +01:00
Tobias Lindberg 5bd67b047d removing stale workflow 2021-12-23 10:58:56 +01:00
Tobias Lindberg 0701e31339 updating build-workflow and Dockerfile
only run on certain branches
2021-12-23 10:58:47 +01:00
Tobias Lindberg 8507392382 bumping new version v1.11.0
updating CHANGELOG
2021-11-08 08:54:48 +01:00
Tobias LindbergandMichael Dyrynda a29eaf0a4d Add support for new endpoints (#113)
* Add support for `set_charging_amps` command (#112)

Per discussion on the timdorr/tesla-api repo https://github.com/timdorr/tesla-api/discussions/455

* removing predefined charge levels

* adding new commands:
- navigation_sc_request
- set_bioweapon_mode
- set_scheduled_charging
- set_scheduled_departure

* adding command section COMMANDS_UNKNOWN
- dashcam_save_clip
- upcoming_calendar_entries

* moving set_scheduled_departure to charging

Co-authored-by: Michael Dyrynda <michael@dyrynda.com.au>
2021-11-08 08:49:19 +01:00
Tobias Lindberg 0ca351f54f Updating docker-compose example traefik labels
traefik did not map requests to `/api` correctly
2021-11-01 13:52:20 +01:00
Tobias Lindberg e19a1ac8b5 bumping new version v1.10.2
updating CHANGELOG
2021-10-15 14:34:45 +02:00
Tobias Lindberg 51a9174602 updating README with table for environment vars 2021-10-15 14:31:20 +02:00
Tobias Lindberg 729360c8b1 bumping new version v1.10.1
updating CHANGELOG
2021-09-23 12:27:52 +02:00
Tobias Lindberg 058287f824 bump to 1.17 of go mods (#104)
rel to #103
2021-08-30 14:48:55 +02:00
Tobias Lindberg da596424d2 updating .github yml files
- spaces and tabs
- single to double quotes
2021-08-30 14:44:48 +02:00
Tobias Lindberg f9dc1c68a8 updating README badges 2021-08-30 09:25:27 +02:00
Tobias Lindberg b32b7311a9 Merge pull request #86 from tobiasehlert/dependabot/github_actions/docker/setup-buildx-action-1.5.0
Bump docker/setup-buildx-action from 1.4.1 to 1.5.0
2021-07-05 13:12:53 +02:00
Tobias Lindberg b7a22e20c2 Merge pull request #85 from tobiasehlert/dependabot/github_actions/docker/build-push-action-2.6.1
Bump docker/build-push-action from 2.5.0 to 2.6.1
2021-07-02 13:06:21 +02:00
Tobias Lindberg a8e352863a bumping new version v1.10.0
updating CHANGELOG
2021-06-30 14:09:57 +02:00
Tobias Lindberg 3b8eb65315 minor code adjustments based on go-staticcheck 2021-06-30 14:09:24 +02:00
Tobias Lindberg c688e46a9d Merge pull request #83 from tobiasehlert/dependabot/github_actions/docker/setup-buildx-action-1.4.1
Bump docker/setup-buildx-action from 1.4.0 to 1.4.1
2021-06-30 13:25:04 +02:00
Tobias Lindberg 868b1275b5 Merge pull request #82 from tobiasehlert/dependabot/github_actions/docker/setup-buildx-action-1.4.0
Bump docker/setup-buildx-action from 1.3.0 to 1.4.0
2021-06-29 14:11:02 +02:00
Tobias Lindberg 312bd27f3b Merge pull request #78 from tobiasehlert/dependabot/github_actions/docker/login-action-1.10.0
Bump docker/login-action from 1.9.0 to 1.10.0
2021-06-24 13:14:08 +02:00