125 Commits

Author SHA1 Message Date
Deluan
d7c7df2727
Require user to provide current password to be able to change it
Admins can change other users' password without providing the current one, but not when changing their own
2026-01-02 19:26:42 +00:00
Deluan
b04974dbc6
Add log redacting, controlled by the new EnableLogRedacting config option (default true)
Imported redacting code from https://github.com/whuang8/redactrus (thanks William Huang)
Didn't use it as a dependency as it was too small and we want to keep dependencies at a minimum
2026-01-02 19:26:42 +00:00
Deluan
a121ab4c70
Replace godirwalk with standard Go 1.16 filepath.WalkDir
Should fix https://github.com/navidrome/navidrome/issues/1048
2026-01-02 19:26:40 +00:00
Deluan
1e71cd66ad
Bumps github.com/ReneKroon/ttlcache/v2 from 2.3.0 to 2.4.0 2026-01-02 19:26:37 +00:00
Deluan
ada70a229b
Bump github.com/onsi/ginkgo from 1.16.0 to 1.16.1 2026-01-02 19:26:37 +00:00
Deluan
28211b8359
Bump github.com/microcosm-cc/bluemonday version 2026-01-02 19:26:37 +00:00
dependabot[bot]
149396c2e2
Bump github.com/golangci/golangci-lint from 1.38.0 to 1.39.0
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.38.0...v1.39.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 19:26:33 +00:00
dependabot[bot]
2deb6f7f8b
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.6
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.4...v1.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 19:23:06 +00:00
dependabot[bot]
6e88ddbd56
Bump github.com/onsi/ginkgo from 1.15.2 to 1.16.0
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.15.2...v1.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 19:23:06 +00:00
Deluan
bd108e3a60
Bump golangci-lint to 1.38.0 2026-01-02 19:23:01 +00:00
Deluan
75d87b809d
Bump gomega and ginkgo versions 2026-01-02 19:22:41 +00:00
Deluan
b6e4ce02fe
Bump github.com/sirupsen/logrus from 1.7.0 to 1.8.1 2026-01-02 19:22:06 +00:00
Deluan Quintão
165af5b850
Remove dependency of go-bindata (#818)
* Use new embed functionality for serving UI assets

* Use new embed functionality for serving resources. Remove dependency on go-bindata

* Remove Go 1.15
2026-01-02 19:22:04 +00:00
Nelyah
7e11bf5d84
Bump Go version number in go.mod to 1.16
This will allow to use 'embed' and 'fs' packages.
This also makes the check for the Go environment when running the
Makefile fail if Golang version isn't 1.16.x
2026-01-02 19:21:29 +00:00
Deluan
6361f98595
Revert "Bump github.com/go-chi/chi from 1.5.1 to 1.5.2"
This caused a panic and needs more investigation:

http: superfluous response.WriteHeader call from github.com/go-chi/chi/middleware.Recoverer.func1.1 (recoverer.go:33)

 panic: interface conversion: *middleware.compressResponseWriter is not io.ReaderFrom: missing method ReadFrom

 -> github.com/go-chi/chi/middleware.(*httpFancyWriter).ReadFrom
 ->   /Users/deluan/go/pkg/mod/github.com/go-chi/chi@v1.5.2/middleware/wrap_writer.go:135
2026-01-02 19:21:29 +00:00
dependabot-preview[bot]
907e57946b
Bump github.com/spf13/cobra from 1.1.1 to 1.1.3
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:21:29 +00:00
dependabot-preview[bot]
b72d3b5941
Bump github.com/go-chi/chi from 1.5.1 to 1.5.2
Bumps [github.com/go-chi/chi](https://github.com/go-chi/chi) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v1.5.1...v1.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:21:29 +00:00
Deluan
11ed6f2b9e
Add a cached http client 2026-01-02 19:21:27 +00:00
dependabot-preview[bot]
6d0c308572
Bump github.com/onsi/gomega from 1.10.4 to 1.10.5
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.4...v1.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:20:17 +00:00
dependabot-preview[bot]
3a110c689f
Bump github.com/onsi/ginkgo from 1.14.2 to 1.15.0
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.14.2 to 1.15.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.14.2...v1.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:20:16 +00:00
Deluan
10cf2372f8
Move project to Navidrome GitHub organization 2026-01-02 19:20:16 +00:00
Deluan
2115c098a6
Upgrade to latest go-chi 2026-01-02 19:20:16 +00:00
Deluan
c1341251c3
Use diodes instead of channels in SSE broker 2026-01-02 19:20:15 +00:00
Deluan
f708686485
Use tools.go commands without installing 2026-01-02 19:20:14 +00:00
Deluan
73d9375119
Bump github.com/google/wire from 0.4.0 to 0.5.0 2026-01-02 19:20:14 +00:00
Deluan
e6254a5ca3
Bump github.com/google/uuid from 1.1.2 to 1.2.0 2026-01-02 19:20:13 +00:00
Deluan
6da378dd6b
Bump github.com/pressly/goose from 2.6.0+incompatible to 2.7.0+incompatible 2026-01-02 19:20:13 +00:00
Deluan
0030e1f118
Bump github.com/golangci/golangci-lint from 1.33.0 to 1.36.0 2026-01-02 19:20:13 +00:00
dependabot-preview[bot]
87a50014ee
Bump github.com/onsi/gomega from 1.10.3 to 1.10.4
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.3...v1.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:20:11 +00:00
Deluan
78b0cd9f46
Bump golangci-lint from 1.32.2 to 1.33.0 2026-01-02 19:20:10 +00:00
dependabot-preview[bot]
b2ca90c910
Bump github.com/Masterminds/squirrel from 1.4.0 to 1.5.0
Bumps [github.com/Masterminds/squirrel](https://github.com/Masterminds/squirrel) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/Masterminds/squirrel/releases)
- [Commits](https://github.com/Masterminds/squirrel/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:20:10 +00:00
Deluan
a1a5c376dc
go mod tidy 2026-01-02 19:20:08 +00:00
Deluan
29c939cd3e
Bump github.com/golangci/golangci-lint from 1.32.1 to 1.32.2 2026-01-02 19:20:05 +00:00
Deluan
cfb1eebb16
Bump github.com/astaxie/beego from 1.12.2 to 1.12.3 2026-01-02 19:20:01 +00:00
Deluan
9d24104b2c
Use new fscache's SetKeyMapper
See a0daa9e527
2026-01-02 19:19:32 +00:00
Deluan
1dc26034f3
Bump github.com/golangci/golangci-lint from 1.32.0 to 1.32.1 2026-01-02 19:19:30 +00:00
dependabot-preview[bot]
c6917f471f
Bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.0
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.31.0...v1.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:18:53 +00:00
dependabot-preview[bot]
ed29cc1570
Bump github.com/kr/pretty from 0.2.0 to 0.2.1
Bumps [github.com/kr/pretty](https://github.com/kr/pretty) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/kr/pretty/releases)
- [Commits](https://github.com/kr/pretty/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2026-01-02 19:18:25 +00:00
Deluan
862dee9dd6
Add formatting to config dump 2026-01-02 19:18:24 +00:00
Deluan
3e5e33cce0
New Cache FileSystem implementation 2026-01-02 19:18:17 +00:00
Deluan
bd68dbd438
Add better process lifecycle management 2026-01-02 19:17:32 +00:00
sohalt
7047a4a788 Add LDAP authentication 2020-10-23 01:56:49 +02:00
dependabot-preview[bot]
dcea5eb449 Bump github.com/spf13/cobra from 1.1.0 to 1.1.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 16:51:55 -04:00
Deluan
a257891b46 Get better artist images results 2020-10-20 16:07:31 -04:00
dependabot-preview[bot]
3d11bdcfd1 Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 09:21:26 -04:00
Deluan
0c095f6d5d Upgrade ginkgo/gomega 2020-10-13 09:35:31 -04:00
Deluan
ae817da223 Upgrade golangci-lint
- Fix a SQL string concatenation
- Install golangci-lint using `tools.go`
2020-10-12 12:21:01 -04:00
Deluan
cd171c40cb Add secure middleware, with sensible values 2020-10-06 08:46:58 -04:00
Deluan
bbd4503ac8 Move tools installation to tools.go 2020-10-03 11:14:19 -04:00
Deluan
943f35f7a5 Update to GoLang 1.15 2020-10-01 08:41:11 -04:00