Deluan
d6dc5b91ef
Bump github.com/go-chi/httprate version
2026-01-02 20:03:19 +00:00
Deluan
97e5625088
Bump github.com/ReneKroon/ttlcache/ and github.com/microcosm-cc/bluemonday versions
2026-01-02 20:02:35 +00:00
Deluan
8e32b56ea0
Only send events to clients who need it
...
- User events (star, rating, plays) only sent to same user
- Don't send to the client (browser window) that originated the event
2026-01-02 20:02:35 +00:00
Deluan
6b309c863f
Always use httpClient to call APIs
2026-01-02 20:02:34 +00:00
Deluan
81b87e9ff6
Only refetch changed resources when receive a "refreshResource" event
2026-01-02 20:02:34 +00:00
Deluan
cdbb315c3c
Removed the albumSong workaround, as React-Admin's cache seems to behave better now
2026-01-02 20:02:34 +00:00
Deluan
ec02ddf624
Less warning messages when first running it.
...
They are actually `info` messages
2026-01-02 20:02:34 +00:00
Deluan
f0fd8d4e30
No need to check for first time when authenticating. One less SQL call per request
2026-01-02 20:02:32 +00:00
Deluan
7fd15e12cd
Rename app package to nativeapi
2026-01-02 20:00:50 +00:00
Deluan Quintão
5be15bb98b
Refactor routing, changes API URLs ( #1171 )
...
* Make authentication part of the server, so it can be reused outside the Native API
This commit has broken tests after a rebase
* Serve frontend assets from `server`, and not from Native API
* Change Native API URL
* Fix auth tests
* Refactor server authentication
* Simplify authProvider, now subsonic token+salt comes from the server
* Don't send JWT token to UI when authenticated via Request Header
* Enable ReverseProxyWhitelist to be read from environment
2026-01-02 20:00:31 +00:00
Deluan
ff27de46c6
Fix index of songs in downloaded playlist
2026-01-02 19:33:05 +00:00
Igor Rzegocki
5292bd1779
Reverse proxy authentication support ( #1152 )
...
* feat(auth): reverse proxy authentication support - #176
* address PR remarks
* Fix redaction of UI appConfig
Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 19:33:02 +00:00
Deluan
7339e1602f
Use a dedicated api-key/secret pair for Last.FM
2026-01-02 19:32:17 +00:00
Deluan
ea6a9f5701
Only send "refresh" event if SetRating was successful
2026-01-02 19:32:17 +00:00
Deluan
cc789ed92b
Trigger UI refresh on media annotation events: star, setRating and scrobble
2026-01-02 19:32:17 +00:00
Deluan
5d4d36553a
Refactor for readability
2026-01-02 19:32:17 +00:00
Deluan
2e645a3191
Trigger a UI refresh when the scanner finds changes.
...
Closes #1025
2026-01-02 19:32:17 +00:00
dependabot[bot]
54dd21cf57
Bump github.com/lestrrat-go/jwx from 1.2.0 to 1.2.1 ( #1167 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/main/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
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 19:32:17 +00:00
dependabot[bot]
796a196863
Bump github.com/onsi/ginkgo from 1.16.3 to 1.16.4 ( #1163 )
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.16.3 to 1.16.4.
- [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.16.3...v1.16.4 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo
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 19:32:17 +00:00
dependabot[bot]
14a1efd240
Bump @testing-library/jest-dom from 5.12.0 to 5.13.0 in /ui ( #1162 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.12.0 to 5.13.0.
- [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/v5.12.0...v5.13.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
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 19:32:17 +00:00
dependabot[bot]
751a64275a
Bump prettier from 2.3.0 to 2.3.1 in /ui ( #1161 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.0 to 2.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/2.3.0...2.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 19:32:17 +00:00
Deluan
df6f611377
Refactored agents calling into its own struct
2026-01-02 19:32:16 +00:00
Deluan
4fb54d0bca
Add tests to core.Share
2026-01-02 19:32:16 +00:00
Deluan
969e3a91d2
Make MockRepo names more consistent
2026-01-02 19:32:16 +00:00
Deluan
eef212de69
go mod tidy
2026-01-02 19:32:16 +00:00
Yash Jipkate
d910beea75
Add Native Sharing REST API ( #1150 )
...
* Initial draft - UNTESTED
* changes to Save() and Update()
* apply col filter and limit nanoid
* remove columns to not update
2026-01-02 19:32:11 +00:00
Deluan
05b91cae0d
Move all Spotify and LastFM code into only one folder for each
2026-01-02 19:31:53 +00:00
Ye61123
05991a6f66
Update zh-Hans.json ( #1160 )
...
Complete untranslated items
2026-01-02 19:31:53 +00:00
Steve Richter
be266c1313
Parse ParamBool case-insensitively ( #1151 )
2026-01-02 19:31:52 +00:00
Deluan
58e67a01a9
Allow updating only specific columns
2026-01-02 19:31:52 +00:00
Deluan
7ddf96904f
Don't panic when taglib returns an error
2026-01-02 19:31:52 +00:00
Deluan
eeeb98adb5
Foundational work to enable multi-valued tags
2026-01-02 19:31:52 +00:00
Deluan
6898f798de
Omit empty fields from Native API responses
2026-01-02 19:31:52 +00:00
Deluan
5096981756
Bump github.com/ReneKroon/ttlcache/v2 from 2.5.0 to 2.6.0
2026-01-02 19:31:52 +00:00
Deluan
32de64d609
Bump ginkgo/gomega versions
2026-01-02 19:31:52 +00:00
Deluan
c74d8cda14
Remove unused web-vitals package
2026-01-02 19:31:52 +00:00
Deluan
a71740dec7
Fix recursive bug in Last.FM calls without mbid
2026-01-02 19:31:52 +00:00
Deluan
6dbedcfb1d
Respect EnableLogRedacting config when pretty printing configuration
2026-01-02 19:31:52 +00:00
Yash Jipkate
daa6ccdef8
Add devEnableShare config option ( #1141 )
...
* add devEnableShare config option
* Toggle in config.js
2026-01-02 19:31:52 +00:00
Yash Jipkate
3d8ee76b40
Create share table and repository. ( #930 )
...
* Add share table and repository
* Add datastore mock
* Try fixing indent
* Try fixing indent - 2
* Try fixing indent - 3
* Implement rest.Repository and rest.Persistance
* Renew date
* Better error handling
* Improve field name
* Fix json name conventionally
2026-01-02 19:31:52 +00:00
Deluan
a91dd4716a
Fix updatePlaylist not updating fields comment and public.
...
Fix #1140
2026-01-02 19:31:52 +00:00
Deluan
82be448d37
GetCoverArt returns placeholder if id is missing
...
This mimics Subsonic behaviour, even if it contradicts the API documentation, which states `id` is required
Fixes #1139
2026-01-02 19:31:52 +00:00
Deluan
8b6e29e9c2
Add tests for WeightedRandomChooser
2026-01-02 19:31:51 +00:00
Deluan
5c8708daec
Rename variable with conflicting name
2026-01-02 19:31:51 +00:00
Deluan
4bbd2a720c
Better SimilarSongs algorithm
2026-01-02 19:31:51 +00:00
Deluan
15af85b545
Handle functions with params in sort order.
...
Related to #1023
2026-01-02 19:31:51 +00:00
Deluan
8149e99dda
Add a timeout to background task
2026-01-02 19:31:51 +00:00
Deluan
49dc6116f7
Don't use request's context when refreshing artist info in background
2026-01-02 19:31:51 +00:00
Deluan
f2e00002de
Set retention time for uploaded artifacts to 7 days
2026-01-02 19:31:51 +00:00
Deluan
887ad99e07
Embed Last.FM error responses, making the tests faster
2026-01-02 19:31:51 +00:00