Commit Graph

9 Commits (72e437f1734a70d7943fd931bbee2afec559ba3d)

Author SHA1 Message Date
nils måsén be33c64afd
fix: move invalid token to log field (#1171)
* fix: move invalid token to log field

* escape invalid token in log field

* Update pkg/api/api.go

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
3 years ago
Juho-Pekka Kuitunen e14cc292ed
feat: improve HTTP API logging, honor no-startup-message (#1091)
Co-authored-by: nils måsén <nils@piksel.se>
3 years ago
Igor Zibarev 81036b078b
fix(api): return appropriate status for unauthorized requests (#1116) 3 years ago
Simon Aronsson 028f19ac47
Move token logs to trace 3 years ago
Zois Pagoulatos 4689853493
fix: Set log level to debug for message about API token (#757) 4 years ago
Simon Aronsson d7d5b25882
Prometheus support (#450)
Co-authored-by: nils måsén <nils@piksel.se>
Co-authored-by: MihailITPlace <ya.halo-halo@yandex.ru>
Co-authored-by: Sebastiaan Tammer <sebastiaantammer@gmail.com>
4 years ago
Sebastiaan Tammer dccdf708a9
Adds the option to skip TLS verification for a Gotify instance (#544) 4 years ago
Simon Aronsson 4672811983 fix linting and formatting 4 years ago
Victor Moura 0217e116c4
Watchtower HTTP API based updates (#432)
* Added HTTP API trigger to update running images

* Adds HTTP API authentication token parameter and handling

* Exposes port 8080 in Dockerfile to allow inter-container update triggering via HTTP API

* Fixes codacy issue

* Adds API usage doc

* Fix grammar

* Moves api logic to a package of its own

* Makes WT exit if token has not been set in HTTP API mode

* Adds lock to prevent concurrent updates when in HTTP API mode

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago