Commit Graph

445 Commits

Author SHA1 Message Date
renovate[bot]
63ea3fa3bf
chore(deps): update golang docker tag to v1.22.1 (#277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 17:22:07 -05:00
Russell Troxel
8161da029e
fix-263: remove hardcoded /sabnzbd from api path (#275)
Signed-off-by: Russell Troxel <russell@troxel.io>
2024-03-02 19:01:22 -05:00
Russell Troxel
793371b2a3
add missing valid api key tests (#274)
Signed-off-by: Russell Troxel <russell@troxel.io>
2024-03-02 12:45:35 -08:00
renovate[bot]
582c27972d
fix(deps): update module github.com/stretchr/testify to v1.9.0 (#272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 10:53:08 -05:00
Devin Buhl
0cb318682e
fix: make api-key less restrictive (#270)
* fix: make api-key less restrictive

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: update tests

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
2024-02-28 15:45:53 -05:00
renovate[bot]
f9543a2207
fix(deps): update module go.uber.org/zap to v1.27.0 (#267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:35:30 -05:00
renovate[bot]
56c90ac0ec
chore(deps): update golangci/golangci-lint-action action to v4 (#265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:34:35 -05:00
renovate[bot]
9439b4a634
chore(deps): update golang docker tag to v1.22.0 (#264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:33:34 -05:00
renovate[bot]
f12eac158b
fix(deps): update golang.org/x/exp digest to 814bf88 (#261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:33:02 -05:00
renovate[bot]
6e75f42405
fix(deps): update module github.com/prometheus/client_golang to v1.19.0 (#268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:32:54 -05:00
renovate[bot]
933ed39eba
fix(deps): update module github.com/knadh/koanf/v2 to v2.1.0 (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 08:59:16 -05:00
renovate[bot]
7523925fa6
fix(deps): update module github.com/knadh/koanf/v2 to v2.0.2 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 14:08:29 -08:00
Russell Troxel
e398da13ca
fix(#252): Handle an empty Server Stat map returned from Sab. (#259)
Signed-off-by: Russell Troxel <russell@troxel.io>
2024-01-25 13:29:47 -05:00
renovate[bot]
e69c8646c4
chore(deps): update golang docker tag to v1.21.6 (#251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:59:24 -08:00
renovate[bot]
1aae2a6a18
fix(deps): update golang.org/x/exp digest to 1b97071 (#243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:59:12 -08:00
renovate[bot]
a9033bdc1a
fix(deps): update module github.com/spf13/cobra to v1.8.0 (#241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:58:22 -08:00
renovate[bot]
00e6929b8c
fix(deps): update module golang.org/x/sync to v0.6.0 (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:57:41 -08:00
renovate[bot]
dfdb9eb657
fix(deps): update module github.com/prometheus/client_golang to v1.18.0 (#250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:55:47 -08:00
renovate[bot]
e0b1924a8d
chore(deps): update actions/checkout digest to b4ffde6 (#255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:55:15 -08:00
renovate[bot]
782270c0dd
chore(deps): update actions/setup-go action to v5 (#256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:55:04 -08:00
renovate[bot]
cb86b8d14c
fix(deps): update module github.com/gookit/validate to v1.5.2 (#253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:52:18 -08:00
Russell Troxel
3c2312fa8f
Add gomodTidy postUpdateOption to renovate (#258)
Signed-off-by: Russell Troxel <russell@troxel.io>
2024-01-25 12:33:07 -05:00
renovate[bot]
817ac68c9b
chore(deps): update golangci/golangci-lint-action action to v3 (#257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 08:54:56 -08:00
Russell Troxel
3276edb0e9
[bazarr] Add bounded concurrency to episodes endpoint (#238)
* [bazarr] Add bounded concurrency to episodes endpoint

Signed-off-by: Russell <russell@troxel.io>

* Plumb Bazarr Config & Add defaults

Signed-off-by: Russell <russell@troxel.io>

* Move GolangCILint to run first

Signed-off-by: Russell <russell@troxel.io>

* break linter out into it's own job

Signed-off-by: Russell <russell@troxel.io>

* Bump default batch size to 300, put episode metrics behind EnableAdditionalMetrics

Signed-off-by: Russell Troxel <russell@troxel.io>

---------

Signed-off-by: Russell <russell@troxel.io>
Signed-off-by: Russell Troxel <russell@troxel.io>
2024-01-25 03:40:30 -05:00
renovate[bot]
4fd39caea8
chore(deps): update actions/checkout digest to b4ffde6 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 20:43:23 -08:00
renovate[bot]
e5a13f8ed7
chore(deps): update golang docker tag to v1.21.5 (#247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 20:43:12 -08:00
renovate[bot]
6afddc328d
chore(deps): update actions/setup-go action to v5 (#248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 20:43:01 -08:00
renovate[bot]
e732d200a9
chore(deps): update golang docker tag to v1.21.4 (#242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 18:21:49 -05:00
Devin Buhl
4a2c58739a
fix: use QueryParams for excludeLocalCovers
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-11-07 15:40:23 -05:00
Devin Buhl
54377efa17
fix: use excludeLocalCovers=true in Radarr movies endpoint
This should help speed things up as the API req won't need to read files from disk.
2023-11-07 15:31:38 -05:00
Deep145757
b6dd1a160f
doc(README): remove typo (#240) 2023-10-30 07:25:53 -04:00
Russell Troxel
e42774b10c
Add tests for Readarr (#236) 2023-10-20 09:04:49 -04:00
Russell Troxel
6b722c65ad
Add tests for Sonarr (#235) 2023-10-20 09:04:26 -04:00
Russell Troxel
2710c3d477
Add tests for Radarr (#234) 2023-10-19 18:20:21 -04:00
Russell Troxel
294191ecae
Only set latest tag on version bump (#232)
* Only set `latest` tag on version bump

Signed-off-by: Russell Troxel <russell@troxel.io>

* go mod tidy

Signed-off-by: Russell Troxel <russell@troxel.io>

---------

Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-18 06:48:20 -04:00
Russell Troxel
8c51f278ff
fix: Fix #230, Add tests for shared collectors (#231)
* fix: Fix #230, Add tests for shared collectors

Signed-off-by: Russell Troxel <russell@troxel.io>

* Fix lint: common TestServer

Signed-off-by: Russell Troxel <russell@troxel.io>

---------

Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-18 06:47:40 -04:00
renovate[bot]
3155232c1f
fix(deps): update golang.org/x/exp digest to 7918f67 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 13:31:01 -04:00
renovate[bot]
6ff960d0d1
chore(deps): update golang docker tag to v1.21.3 (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 13:30:40 -04:00
Russell Troxel
b8426af721
Add golangci-lint, fix lint warnings (#227)
* Add golangci-lint, fix lint warnings

Signed-off-by: Russell Troxel <russell@troxel.io>

* Set `shell` on lint actions

Signed-off-by: Russell Troxel <russell@troxel.io>

* go fmt

Signed-off-by: Russell Troxel <russell@troxel.io>

---------

Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-08 14:15:07 -04:00
Russell Troxel
780dc842c3
Extend client to allow multi-value query parameters (#226)
Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-08 14:14:09 -04:00
Russell Troxel
4d71594773
Separate PR & Merge Workflows (#225)
Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-08 10:29:13 -04:00
Jack
b8b7cc6be3
Feature/support bazarr (#214)
* remove the branch requirement to run tests

feature/support-bazarr

* lint makefile

feature/support-bazarr

* add bazarr to readme

feature/support-bazarr

* also comment out release image as we only want tests to happen

feature/support-bazarr

* initial changes to start attempting to pull bazarr i thinnk?

feature/support-bazarr

* make it only run the tests, but skip release image

feature/support-bazarr

* add a genric makefile to build container localy, run and test

feature/support-bazarr

* rename build command

feature/support-bazarr

* add pic and grafana dashboard adjustments

feature/support-bazarr

* refactor metrics to just be contained within 1 class

* add logic to allow csv values to params

* remove some todos

* make api version optional

feature/support-bazarr

* adjust makefile to auto kill and start

feature/support-bazarr

* remove now invalid test

feature/support-bazarr

* add a test for no api version instead

feature/support-bazarr

* add a test to enforce csv params moving forward

feature/support-bazarr

* add saml payloads for all endpoints, add test that mocks and verifies result

feature/support-bazarr

* Update .env.dist

* Update .gitignore

* Update internal/client/client.go

* add a tidy task

---------

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-10-08 02:32:59 -04:00
Russell Troxel
2574b477ee
Allow selection of prometheus datasource in dashboard 1 (#224)
Signed-off-by: Russell Troxel <russell@troxel.io>
2023-10-08 02:25:51 -04:00
renovate[bot]
214c3243a3
chore(deps): update golang docker tag to v1.21.2 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 21:32:04 -04:00
Devin Buhl
e37208419f
chore: remove tidy step in tests action 2023-10-03 16:02:00 -04:00
Devin Buhl
955edb2046
chore: run go mod tidy
Signed-off-by: Devin Buhl <devin@buhl.casa>
2023-10-03 15:56:14 -04:00
renovate[bot]
2e6d50ade2
fix(deps): update module github.com/gookit/validate to v1.5.1 (#199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 15:26:48 -04:00
renovate[bot]
14aadff631
chore(deps): update goreleaser/goreleaser-action action to v5 (#208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 15:26:36 -04:00
renovate[bot]
c10834e947
chore(deps): update golang docker tag to v1.21.1 (#207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 15:26:07 -04:00
renovate[bot]
8bfe749250
fix(deps): update module github.com/prometheus/client_golang to v1.17.0 (#190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 15:25:49 -04:00