2918 Commits

Author SHA1 Message Date
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
Deluan Quintão
48ca8e3174
Retry calls to Last.FM without MBIDs when if returns artist invalid (#1138)
* Call Last.FM's getInfo again without mbid when artist is not found

* Call Last.FM's getSimilar again without mbid when artist is not found

* Call Last.FM's getTopTracks again without mbid when artist is not found
2026-01-02 19:31:51 +00:00
Deluan
8fdab93efa
Always update artist info, even if info is fresh 2026-01-02 19:31:51 +00:00
Deluan
5970f18249
Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists) 2026-01-02 19:31:51 +00:00
Deluan
31b70553b9
Remove decoration from reflex output 2026-01-02 19:31:51 +00:00
Deluan
3b87ed8c1f
Refactoring to make common components usage more uniform 2026-01-02 19:31:51 +00:00
Aldrin Jenson
1ee93c9da6
Fix lag on albumList toggling (#1136) 2026-01-02 19:31:51 +00:00
Deluan
84c7cf0d5f
Upgrade to Node v16 2026-01-02 19:31:50 +00:00
Deluan
68b7c18755
Bump github.com/ReneKroon/ttlcache/v2 from 2.4.0 to 2.5.0 2026-01-02 19:31:50 +00:00
Deluan
29f89f951b
Bump github.com/golangci/golangci-lint from 1.40.0 to 1.40.1 2026-01-02 19:31:48 +00:00
Deluan
a59e80060b
Bump @material-ui/lab from 4.0.0-alpha.57 to 4.0.0-alpha.58 in /ui 2026-01-02 19:31:12 +00:00
Deluan
78221a5004
Bump @testing-library dependencies 2026-01-02 19:31:11 +00:00
dependabot[bot]
1872916b52
Bump hosted-git-info from 2.8.8 to 2.8.9 in /ui (#1111)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 19:31:11 +00:00
dependabot[bot]
5a8f48361e
Bump url-parse from 1.4.7 to 1.5.1 in /ui (#1107)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 19:31:11 +00:00
Deluan Quintão
a5b589ebb8
Upgrade Web UI to Create-React-App 4 and React 17 (#1105)
* Upgrade to CRA 4.0.3

* Try to fix tests. No lucky

* Fix new ESLint errors

* Fix JS tests and remove unwanted dependency. (#1106)

* Fix tests

* Fix lint

* Remove React v16 workaround (fixed in v17)

* Force eslint to break on warnings

* Lint now needs to be called explicitly in the pipeline

Co-authored-by: Yash Jipkate <34203227+YashJipkate@users.noreply.github.com>
2026-01-02 19:31:11 +00:00
Deluan
f33e4341aa
Rename List view mode to Table 2026-01-02 19:31:11 +00:00
Deluan
9f46738f73
Change back mounting order, for better logs 2026-01-02 19:31:11 +00:00
Deluan
7b38e33b26
Show name of router in log 2026-01-02 19:31:11 +00:00
Deluan
7e251dd8f1
Update Portuguese translation 2026-01-02 19:31:11 +00:00
Deluan
d0dd247760
Bump React-Admin to 3.15.2 2026-01-02 19:31:11 +00:00
Aldrin Jenson
f8ce50ea6d
Option to toggle fields in songs, albums & artists (#923)
* Add toggleColumns

- Add logic for toggling columns
- Add MenuComponent + useSelectedFields hook

* Refactoring

* eslint-fixes

* Typo

* skip menu in albumGridView

* add omittedFields

* Add toggling for playlists and albumSong

* Refactoring

* defaultProps - fix

* Add toggling for PlaylistSongs

* remove accidental console log

* Refactoring for future compatibility

* Hide ToggleMenu in albumGridView

* Add TopBarComponent in ToggleFieldsMenu

* Add defaultOff for useSelectedFields

* Fix edge case

* eslint fix

* Refactoring

* Add propType for forwardRef

* Fix issues

* add translation for grid and table

* add translation for grid and table

* Ignore menuBtn for spotify-ish and Ligera themes

* hide bpm by default in playlistSongs

* Add memoization

* Default album view must be Grid

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 19:31:11 +00:00
Deluan Quintão
1d812005e8
Update translations (#1130)
* Update zh-Hant.json (POEditor.com)

* Update cs.json (POEditor.com)

* Update nl.json (POEditor.com)

* Update ja.json (POEditor.com)

* Update pl.json (POEditor.com)

* Update es.json (POEditor.com)

* Update th.json (POEditor.com)

* Update sl.json (POEditor.com)
2026-01-02 19:31:11 +00:00
Deluan
f0b2ecb596
Move Swedish translation to right folder 2026-01-02 19:31:11 +00:00