Kendall Garner
a50af42872
Use userId in player, other fixes ( #3182 )
...
* [bugfix] player: use userId, other fixes
This PR primarily resolves #1928 by switching the foreign key of `player` from `user.user_name` to `user.id`.
There are also a few other fixes/changes:
- For some bizarre reason, `ip_address` is never returned from `read`/`get`. Change the field to `ip`, which works. Somehow
- Update `players_test.go` mock to also check for user agent, replicating the actual code
- Update `player_repository.go` `isPermitted` to check user id. I don't know how this worked before...
- tests!
- a few places referred to `typ`, when it is really `userAgent`. Change the field names
* baseRequest -> selectPlayer
* remove comment
* update migration, make all of persistence foreign key enabled
* maybe don't forget to save the file first
2026-01-02 20:37:43 +00:00
dependabot[bot]
f4cb20d216
Bump github.com/onsi/gomega from 1.33.1 to 1.34.0 ( #3176 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.33.1 to 1.34.0.
- [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.33.1...v1.34.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:42 +00:00
dependabot[bot]
30c3891cce
Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27 ( #3141 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.26...v1.0.27 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:17 +00:00
Deluan
628d534f61
Fix "Cannot read properties of undefined". Closes #3070
2026-01-02 20:37:17 +00:00
Deluan
ad91d7d9cb
Use SHA256 in Gravatar URLs
2026-01-02 20:37:17 +00:00
Soderes
a90b453c90
Add Hungarian language ( #3157 )
2026-01-02 20:37:17 +00:00
dependabot[bot]
b6c6766e89
Bump github.com/go-chi/httprate from 0.9.0 to 0.10.0 ( #3160 )
...
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/go-chi/httprate/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:17 +00:00
Deluan
7ffbaeea73
Fix race condition
2026-01-02 20:37:17 +00:00
Caio Cotts
0f1a31ed22
Add Auto-Import toggle switch to playlists list view.
2026-01-02 20:37:16 +00:00
Caio Cotts
6f94ed65d2
Remove unnecessary Fragment component.
2026-01-02 20:37:16 +00:00
Deluan
330a267368
Fix album sorting in Artist page
2026-01-02 20:37:16 +00:00
dependabot[bot]
dc709b35c6
Bump github.com/unrolled/secure from 1.14.0 to 1.15.0 ( #3127 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
8d33834917
Bump github.com/go-chi/chi/v5 from 5.0.14 to 5.1.0 ( #3126 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.14 to 5.1.0.
- [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/v5.0.14...v5.1.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
Kendall Garner
0097404b62
fix background color for nord theme ( #3124 )
2026-01-02 20:37:16 +00:00
gruneforth
2af25d9528
Add Nuclear Theme ( #3098 )
2026-01-02 20:37:16 +00:00
Deluan
b3450dd880
Remove unnecessary annotation table primary key
2026-01-02 20:37:16 +00:00
dependabot[bot]
0a0fdd831d
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 ( #3095 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
81bec69bc0
Bump braces from 3.0.2 to 3.0.3 in /ui ( #3085 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
9e2203cb1e
Bump @testing-library/jest-dom from 6.4.5 to 6.4.6 in /ui ( #3096 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.5 to 6.4.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
e38889fc66
Bump prettier from 3.3.1 to 3.3.2 in /ui ( #3097 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.1...3.3.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
1a695c6816
Bump github.com/pressly/goose/v3 from 3.20.0 to 3.21.1 ( #3114 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.20.0 to 3.21.1.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.20.0...v3.21.1 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:16 +00:00
dependabot[bot]
6a5e295b4e
Bump github.com/go-chi/chi/v5 from 5.0.12 to 5.0.14 ( #3115 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.12 to 5.0.14.
- [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/v5.0.12...v5.0.14 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
dea1c4a60c
Bump github.com/lestrrat-go/jwx/v2 from 2.0.21 to 2.1.0 ( #3113 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.21 to 2.1.0.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.21...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
850cccbfb2
Bump golang.org/x/image from 0.17.0 to 0.18.0 ( #3119 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:37:15 +00:00
Deluan
a576221f02
Don't panic on PostScan errors. Fix #3118
2026-01-02 20:37:15 +00:00
Deluan
89138e75f4
Evict expired items from SimpleCache
2026-01-02 20:37:15 +00:00
Deluan
843d48f448
Upgrade to ttlcache/v3
2026-01-02 20:37:15 +00:00
Deluan
d2a178e11d
Also use SimpleCache in cache.HTTPClient
2026-01-02 20:37:15 +00:00
Deluan
10ab9cfb55
Wrap ttlcache in our own SimpleCache implementation
2026-01-02 20:37:15 +00:00
Deluan
b0f69646ea
Add http headers to trace log
2026-01-02 20:37:15 +00:00
Kendall Garner
6f4c5b34ec
fix album/media file random sort ( #3089 )
2026-01-02 20:37:15 +00:00
dependabot[bot]
56e913d5a7
Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
bdc71513b6
Bump @testing-library/jest-dom from 6.4.2 to 6.4.5 in /ui
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.2 to 6.4.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
8a3ed717e4
Bump ejs from 3.1.9 to 3.1.10 in /ui
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
0533115318
Bump clsx from 2.1.0 to 2.1.1 in /ui
...
Bumps [clsx](https://github.com/lukeed/clsx ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: clsx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:15 +00:00
dependabot[bot]
c5c854443e
Bump golang.org/x/image from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/image/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:13 +00:00
dependabot[bot]
97c6ea1c37
Bump react-icons from 5.1.0 to 5.2.1 in /ui
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: react-icons
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:00 +00:00
dependabot[bot]
3aa6c7cc79
Bump uuid from 9.0.1 to 10.0.0 in /ui
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:00 +00:00
Deluan
fe84788821
Increase artist image url sizes.
...
See https://support.symfonium.app/t/artist-picture-less-compressed/4447
2026-01-02 20:37:00 +00:00
Caio Cotts
821885bd28
Do not use lastFM api key and secret to determine if LastFM.Enabled should be set.
2026-01-02 20:37:00 +00:00
dependabot[bot]
33ff772445
Bump prettier from 3.3.0 to 3.3.1 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.0...3.3.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-02 20:37:00 +00:00
Deluan
23898a2409
Don't expose fullText data in the Native API
2026-01-02 20:37:00 +00:00
kartikynwa
fc1a5cb908
Add R128_{TRACK,ALBUM}_GAIN support to the scanner ( #3072 )
...
* Add R128 gain tags support to the scanner
* Add R128 test to metadata_internal_test.go
* Pass explicit tag names to getGainValue function
2026-01-02 20:37:00 +00:00
Deluan
883c6bb591
Change resized image cache key
2026-01-02 20:37:00 +00:00
Deluan
59aaf56b0d
Increase artist image url sizes.
...
See https://support.symfonium.app/t/artist-picture-less-compressed/4447
2026-01-02 20:37:00 +00:00
Deluan
fe600067da
Fix race condition in external metadata retrieval
2026-01-02 20:37:00 +00:00
Deluan
4783fe395e
Small refactoring
2026-01-02 20:36:59 +00:00
Deluan
08d1e3a50c
More micro-optimizations
2026-01-02 20:36:59 +00:00
Deluan
04bfa0ea72
Initialize Index Groups regex just once
2026-01-02 20:36:59 +00:00
Deluan
c48d3b3526
Replace gg.If with cmp.Or
2026-01-02 20:36:59 +00:00