Commit graph

916 commits

Author SHA1 Message Date
Mateusz Drab
a429c373ff
feat: regex container name filtering (#1241)
* Allow container name regex filtering

* make regex names backwards compatible

Co-authored-by: Mateusz Drab <mateuszd@mpd.pw>
Co-authored-by: nils måsén <nils@piksel.se>
2022-08-14 10:08:45 +02:00
allcontributors[bot]
36d3569c4a
docs: add EDIflyer as a contributor for doc (#1339)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-04 14:43:46 +02:00
EDIflyer
1569445e6a
Expand docker.config section (#1316)
Highlight the benefit of doing this if using 2FA on Docker Hub
2022-08-04 14:43:14 +02:00
James Laska
bd2adf6e5f
Support secrets for notification_url (#1300)
Co-authored-by: nils måsén <nils@piksel.se>
2022-08-01 20:10:36 +02:00
Brian Choromanski
489356aa42
fix(notifications): include icon in slack legacy url (#1303) 2022-08-01 18:40:12 +02:00
nils måsén
08831f798c
feat(shoutrrr): update shoutrrr to v0.6.1 (#1326) 2022-07-19 18:05:36 +02:00
Frinze Erin Lapuz
5f8565570c
docs(private-regs): change example region to a replace-me token (#1264) 2022-07-19 13:30:25 +02:00
nils måsén
ae33e77de5
feat(shoutrrr): update shoutrrr to v0.6.1 (#1325) 2022-07-19 13:10:12 +02:00
EDIflyer
2aa01da608
docs: clarify container label usage (#1319)
Co-authored-by: nils måsén <nils@piksel.se>
2022-07-18 11:54:34 +02:00
allcontributors[bot]
30f36b3ca2
docs: add Foxite as a contributor for code (#1307)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-06-14 09:16:11 +02:00
Dirk Kok
739f328ee5
feat(http): optional query parameter to update only containers of a specified image (#1289)
* feat(http): optional query parameter to update only containers of a specified image

* fix style issues

* comma separated image parameter

* Support comma-separated query parameter as well as specifying it multiple times

Co-authored-by: nils måsén <nils@piksel.se>

* fixed compile error

* fixed FilterByImageTag

Not sure what changed in my testing setup, but Docker reports image names including the tag name now.

* consistent use of image/tag (use image)

* fixed multiple image queries

* assuming I'm right here, only block on lock when any images are specified.

* add unit tests for image filter. didn't add tests for update api because they didn't already exist

* whoops.

* use ImageName instead, add unit test for empty ImageName filter.

Co-authored-by: nils måsén <nils@piksel.se>
2022-06-14 09:13:14 +02:00
lyh16
33b8a9822c
fix(templates): fix typo in grafana dashboard.json (#1305) 2022-06-10 10:09:25 +02:00
nils måsén
e983beb52a
fix: gracefully skip pinned images (#1277)
* move client args to opts struct
* gracefully skip pinned images
* replace newClientNoAPI with literals
2022-05-27 12:16:18 +02:00
allcontributors[bot]
de40b0ce11
docs: add ksurl as a contributor for infra (#1293)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-05-24 11:20:37 +02:00
ksurl
3e4b26957d
ci: add pip caching for docs workflow (#1292) 2022-05-24 10:28:48 +02:00
nils måsén
56368a7207
fix: testing for flag files on windows (#1249)
* fix: testing for flag files on windows
* fix build script on windows/msys
2022-04-18 19:38:19 +02:00
nils måsén
2f4d58776d
fix(notifications): title customization (#1219) 2022-04-18 19:37:13 +02:00
nils måsén
e9c83af533
fix: correctly handle non-stale restarts (#1220) 2022-04-18 19:36:38 +02:00
nils måsén
d12ce7ce79
bump shoutrrr to v0.5.3 (#1271) 2022-04-11 16:09:24 +02:00
lazou
a5c60a9fe6
feat(notifications): add general notification delay (#1246) 2022-03-09 11:03:06 +01:00
Simon Aronsson
f79e4b5435
Update greetings.yml
closes #1230
2022-02-20 15:08:51 +01:00
dependabot[bot]
25a9639368
chore(deps): bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.0+incompatible (#1223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 16:11:53 +01:00
Simon Aronsson
70ca4c2b44
bump vulnerable packages (#1196) 2022-01-22 18:18:08 +01:00
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>
2022-01-22 17:50:04 +01:00
nils måsén
04db93c770
fix: add missing portmap when needed (#1183) 2022-01-22 17:40:37 +01:00
James White
a1bdd268c1
Fix typo on --http-api-update environment variable and add warning note for --http-api-periodic-polls (#1195)
* Update arguments.md

Fix a typo for the environment variable to enable HTTP API mode.

* Add note about http-api-periodic-polls

--http-api-periodic-polls is a new option which isn't available currently, until a new release is made.

* Update docs/arguments.md

Co-authored-by: nils måsén <nils@piksel.se>

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
Co-authored-by: nils måsén <nils@piksel.se>
2022-01-22 17:29:20 +01:00
allcontributors[bot]
911444730f
docs: add jamesmacwhite as a contributor for doc (#1194)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-01-20 13:13:03 +01:00
James White
8590d88d0d
Add additional information for metrics.md (#1193)
Mention the specific endpoint and an example Promethes scrape_config.
2022-01-20 13:12:28 +01:00
nils måsén
084249c5fc
fix: linked/depends-on container restarting (#1103) 2022-01-11 17:15:22 +01:00
nils måsén
aa02d8d31b
feat(notifications): add title field to template data (#1125) 2022-01-05 12:08:47 +01:00
nils måsén
1d59fb83dd
feat(notifications): support delayed sending (#1142) 2022-01-05 09:31:01 +01:00
Mads Jensen
2fa8a2ad0c
Fix docker-compose syntax in quick-start. GH #1105 (#1169)
* Fix docker-compose syntax in quick-start. GH #1105

* use new mkdocs tabs

* fix indentation for tabs

Co-authored-by: nils måsén <nils@piksel.se>
2021-12-27 12:21:41 +01:00
nils måsén
93ccce8ed2
docs: add note about docker hub private images (#1132) 2021-12-27 12:18:51 +01:00
nils måsén
ebdbe2994c
bump version of vulnerable dependencies (#1172) 2021-12-27 12:15:20 +01:00
Adrian Joian
6ff1d8ac17
chore: bump alpine version in dockerfile (#1151) 2021-12-20 15:26:42 +01:00
Mr.J
d2f11850c1
docs: fix redirect link (#1146) 2021-12-01 11:33:55 +01:00
Juho-Pekka Kuitunen
e14cc292ed
feat: improve HTTP API logging, honor no-startup-message (#1091)
Co-authored-by: nils måsén <nils@piksel.se>
2021-11-29 15:07:26 +01:00
allcontributors[bot]
b3b45ab19e
docs: add patricegautier as a contributor for code (#1139)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-11-18 14:54:46 +01:00
Patrice
b4a225c8bb
Post update time out (#1124)
* adding post update timeout option

* removing extra word
2021-11-18 14:54:35 +01:00
nils måsén
782529ddbd
feat: improve session result logging (#1123)
- logs the session result as an info level message without notification instead of debug
- does not log that no notification was sent if there are no notifications enabled
2021-11-18 14:08:38 +01:00
Jeremy L. Morris
d9d6f794a1
feat: use a more specific error type for no container info (#1115)
Co-authored-by: Jeremy L. Morris <jmorris@digitalocean.com>
2021-11-12 12:21:34 +01:00
allcontributors[bot]
ac00e4844e
docs: add hypnoglow as a contributor for code (#1130)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-11-12 12:19:05 +01:00
Igor Zibarev
81036b078b
fix(api): return appropriate status for unauthorized requests (#1116) 2021-11-12 12:16:24 +01:00
Dimas Yudha P
c0fd77d357
fixing flags usage text to first capital letter. (#1102)
Co-authored-by: dimas <dimas.prawira@mncgroup.com>
2021-11-08 10:29:44 +01:00
Rootul Patel
cb4e60cffd
Prefer long flags in quick start example (#1029)
`--detach` is clearer (to a new Docker user) than `-d`. Similarly `--volume` is clearer than `-v`.

Motivation: https://changelog.com/posts/use-long-flags-when-scripting
Referred to: https://docs.docker.com/engine/reference/commandline/run/
2021-11-08 10:27:47 +01:00
nils måsén
0060cd6ee4
test: fully reset ghttp server (#1121) 2021-11-02 16:53:56 +01:00
nils måsén
1b405d4c77
test: container client tests refactor (#1117) 2021-11-01 20:35:50 +01:00
nils måsén
2c8695683d test: reduce test output noise 2021-11-01 19:36:38 +01:00
nils måsén
ec43ecedc4 test: remove unused cross package dependency on mock api server 2021-11-01 19:35:45 +01:00
nils måsén
26fba69169 test: refactor client tests
should not be explicitly telling what they are testing and the requirements
fixed the test data so that it doesn't contain discrepancies
fully reset the mock client (no shared state) and only support the calls that is expected
2021-11-01 19:26:41 +01:00