Deluan
6c1ba8f0d0
Add tests to core.Share
2021-06-08 16:32:08 -04:00
Deluan
110e17b004
Make MockRepo names more consistent
2021-06-08 16:30:19 -04:00
Deluan
779571a086
go mod tidy
2021-06-08 15:47:34 -04:00
Yash Jipkate
af210c8903
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
2021-06-08 15:44:30 -04:00
Deluan
e80cf80d05
Move all Spotify and LastFM code into only one folder for each
2021-06-08 11:25:46 -04:00
Ye61123
182e3ec78e
Update zh-Hans.json ( #1160 )
...
Complete untranslated items
2021-06-08 10:41:01 -04:00
Steve Richter
65ccd4c99d
Parse ParamBool case-insensitively ( #1151 )
2021-06-04 23:37:01 -04:00
Deluan
bebfe296a5
Allow updating only specific columns
2021-06-02 18:40:29 -04:00
Deluan
9da9d73c1d
Don't panic when taglib returns an error
2021-05-31 18:26:46 -04:00
Deluan
cd242695ba
Foundational work to enable multi-valued tags
2021-05-31 18:08:12 -04:00
Deluan
519c89345e
Omit empty fields from Native API responses
2021-05-31 12:20:21 -04:00
Deluan
336d891e58
Bump github.com/ReneKroon/ttlcache/v2 from 2.5.0 to 2.6.0
2021-05-31 10:49:42 -04:00
Deluan
9b4b28f685
Bump ginkgo/gomega versions
2021-05-31 10:32:37 -04:00
Deluan
39c560a5c2
Remove unused web-vitals package
2021-05-31 10:21:24 -04:00
Deluan
c5abdc19bc
Fix recursive bug in Last.FM calls without mbid
2021-05-30 22:46:23 -04:00
Deluan
ead2095dd0
Respect EnableLogRedacting config when pretty printing configuration
2021-05-30 16:02:23 -04:00
Yash Jipkate
7b05c49215
Add devEnableShare config option ( #1141 )
...
* add devEnableShare config option
* Toggle in config.js
2021-05-30 15:36:10 -04:00
Yash Jipkate
327c259a3d
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
2021-05-30 11:50:35 -04:00
Deluan
675cbe11b3
Fix updatePlaylist
not updating fields comment
and public
.
...
Fix #1140
2021-05-29 17:16:56 -04:00
Deluan
91a91f7e06
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
2021-05-29 11:37:00 -04:00
Deluan
7bbb09e546
Add tests for WeightedRandomChooser
2021-05-28 23:51:56 -04:00
Deluan
dd56a7798e
Rename variable with conflicting name
2021-05-28 23:00:39 -04:00
Deluan
a38e478a47
Better SimilarSongs algorithm
2021-05-28 22:55:34 -04:00
Deluan
1940267a18
Handle functions with params in sort order.
...
Related to #1023
2021-05-28 17:35:32 -04:00
Deluan
01f3ce0228
Add a timeout to background task
2021-05-28 11:37:53 -04:00
Deluan
48b6fa7feb
Don't use request's context when refreshing artist info in background
2021-05-28 09:34:15 -04:00
Deluan
25d62cd751
Set retention time for uploaded artifacts to 7 days
2021-05-27 23:39:20 -04:00
Deluan
ed01946ace
Embed Last.FM error responses, making the tests faster
2021-05-27 21:04:03 -04:00
Deluan Quintão
89b12b34be
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
2021-05-27 20:53:24 -04:00
Deluan
4e0177ee53
Always update artist info, even if info is fresh
2021-05-27 20:32:26 -04:00
Deluan
b398053223
Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists)
2021-05-27 16:14:24 -04:00
Deluan
db11b6b8f8
Remove decoration from reflex
output
2021-05-26 12:24:02 -04:00
Deluan
60d50de8c9
Refactoring to make common components usage more uniform
2021-05-26 09:35:13 -04:00
Aldrin Jenson
0941fbc0cd
Fix lag on albumList toggling ( #1136 )
2021-05-26 08:42:39 -04:00
Deluan
4217c75c9f
Upgrade to Node v16
2021-05-25 10:53:16 -04:00
Deluan
409020a502
Bump github.com/ReneKroon/ttlcache/v2 from 2.4.0 to 2.5.0
2021-05-25 10:24:40 -04:00
Deluan
b4832c36b7
Bump github.com/golangci/golangci-lint from 1.40.0 to 1.40.1
2021-05-25 10:23:08 -04:00
Deluan
1de7366ece
Bump @material-ui/lab from 4.0.0-alpha.57 to 4.0.0-alpha.58 in /ui
2021-05-25 10:16:44 -04:00
Deluan
ab1bc6194a
Bump @testing-library dependencies
2021-05-25 10:13:57 -04:00
dependabot[bot]
ad4db122fb
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>
2021-05-25 10:13:40 -04:00
dependabot[bot]
200b815c67
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>
2021-05-25 10:12:42 -04:00
Deluan Quintão
5631493cc4
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>
2021-05-25 09:58:06 -04:00
Deluan
d9f268266c
Rename List view mode to Table
v0.43.0
2021-05-24 12:58:15 -04:00
Deluan
882519738f
Change back mounting order, for better logs
2021-05-24 12:17:55 -04:00
Deluan
86d3a219a9
Show name of router in log
2021-05-24 11:55:39 -04:00
Deluan
1d0e75151a
Update Portuguese translation
2021-05-24 11:24:28 -04:00
Deluan
107a11b445
Bump React-Admin to 3.15.2
2021-05-24 11:17:06 -04:00
Aldrin Jenson
cf8ee251ee
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>
2021-05-24 11:09:06 -04:00
Deluan Quintão
6a17717e30
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)
2021-05-24 10:21:59 -04:00
Deluan
b8a274e4e8
Move Swedish translation to right folder
2021-05-24 10:09:44 -04:00