Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
Kendall Garner
7a858a2db3
Fix external link for artist page if LastFM is missinb but Musicbrainz is not ( #2533 )
...
* fix mbz link if lastfm does not exist
* use lastfmUrl field
* fix artist info undefined
2023-11-16 19:07:52 -05:00
Lukas H
ac7f94e620
Fix text being unreadable with Ligera theme ( #2517 )
...
Change MuiFormGroup color to make it readable.
2023-09-10 12:28:21 -04:00
Deluan
36eda871f6
Fix locale-dependent tests. Closes #2402
2023-06-16 16:38:03 -04:00
Deluan
ba067667c9
Fix date formatting to use UTC
2023-05-24 14:47:51 -04:00
Deluan
611363fca7
Add missing translation
2023-05-20 17:35:09 -04:00
Deluan
20462c52a5
Restore album "year" translation string
2023-05-19 15:29:30 -04:00
certuna
52b77e4194
Support for Original Date, Release Date & splitting/grouping of album editions ( #2162 )
...
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Create DoubleRangeField.js
* Update and rename DoubleRangeField.js to RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update index.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update en.json
* Update en.json
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongList.js
* Update playlist_track_repository.go
* Update 20230113000000_release_year.go
* Update PlayButton.js
* Update mediafile_repository.go
* Update album.go
* Update playlist_track_repository.go
* Update playlist_track_repository.go
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update mapping.go
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumSongs.js
* Update en.json
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update en.json
* Update configuration.go
* Update mapping.go
* Update configuration.go
* Update mediafile.go
* Update metadata.go
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update configuration.go
* Update mapping.go
* Update mediafile.go
* Update mapping.go
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update mediafile.go
* Update album.go
* Update fields.go
* Update mediafile_repository.go
* Update playlist_track_repository.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update PlayButton.js
* Update SongList.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update metadata.go
* Update ArtistShow.js
* Update mapping.go
* Update configuration.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update album.go
* Update mediafile.go
* Update metadata.go
* Update mediafile.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update album.go
* Update mediafile.go
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update en.json
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update and rename 20230113000000_release_year.go to 20230113000000_release_date.go
* Update album.go
* Update mediafile.go
* Update fields.go
* Update playlist_track_repository.go
* Update mediafile_repository.go
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update SongDatagrid.js
* Update RangeFieldDouble.js
* Update index.js
* Update ContextMenus.js
* Update PlayButton.js
* Create FormatDate.js
* Update SongList.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update en.json
* Update AlbumDetails.js
* Update album.go
fixed conflict I think?
* Update mediafile.go
fixed conflict
* Format with goimports
* Update SongDatagrid.js
only show Cat # in desktop view
* Update metadata_internal_test.go
* Update metadata_test.go
* Delete test.mp3
* Add files via upload
mp3 test file with Date, Original Date and Release Date
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update taglib_test.go
* Delete test.mp3
* Add files via upload
file with replaygain & dates
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update FormatDate.js
* Update PlayButton.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Fix formatting
* Update mapping.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
prettier
* Create RangeDoubleField.js
rename of RangeFieldDouble.js
* Update AlbumGridView.js
RangeFieldDouble -> RangeDoubleField
* Update mediafile.go
AllOrNothing() -> allOrNothing()
* Update metadata_internal_test.go
getYear -> getDate
* Update AlbumDetails.js
wrote suggested changes
* Update en.json
Editions -> Releases & fixed the field name
* Update configuration.go
Rename Editions -> Releases
* Update 20230113000000_release_date.go
Editions -> Releases
* Update album.go
Editions -> Releases
* Update mediafile.go
Editions -> Releases
* Update AlbumDetails.js
Editions -> Releases
* Update AlbumSongs.js
Editions -> Releases
* Update RangeDoubleField.js
Editions -> Releases
* Update SongDatagrid.js
Editions -> Releases
* Update index.js
FormatFullDate and RangeDoubleField
* Rename FormatDate.js to FormatFullDate.js
* Delete RangeFieldDouble.js
* Update mediafile.go
AllOrNothing -> allOrNothing
* Update mapping.go
Editions -> Releases
* Update AlbumDetails.js
prettier
* Update SongDatagrid.js
showReleaseRow -> showReleaseDivider
* Update AlbumSongs.js
showReleaseRow -> showReleaseDivider for clarity
* Update and rename 20230113000000_release_date.go to 20230515184510_add_release_date.go
- rename the migration file
- fixed the import to goose/v3
- additional db fields for original date & year
* Update 20230515184510_add_release_date.go
* Update fields.go
* Update album.go
* Update mediafile.go
* Update mapping.go
* Update AlbumDetails.js
* Update en.json
* Update AlbumDetails.js
* Update AlbumDetails.js
now hopefully prettier
* Update mapping.go
---------
Co-authored-by: Deluan <deluan@navidrome.org>
2023-05-19 15:27:47 -04:00
Deluan
be12c12b28
Remove unused Badge component from ActivityPanel icon
2023-05-17 16:29:19 -04:00
Deluan
f9b060af18
Removed onBackdropClick deprecated property
2023-05-17 15:48:22 -04:00
Deluan
a3d78e95f2
Fix Monokai theme. Closes #2353
2023-05-17 15:36:30 -04:00
Deluan
d85b06332c
Fix build
2023-05-17 13:49:45 -04:00
Deluan
5d02df62d0
Fix eslint error
2023-05-17 11:57:43 -04:00
Deluan
4296741ec0
Simplify EventStream handling
2023-05-17 11:53:09 -04:00
Subhajit Ghosh
da21acba92
Give page the right lang attribute ( #2299 )
...
* Fixed issue no #2174
Signed-off-by: Subhajit Ghosh <subhajitstd07@gmail.com>
* Fixed issue no #2174
---------
Signed-off-by: Subhajit Ghosh <subhajitstd07@gmail.com>
2023-04-08 13:39:59 -04:00
Deluan
347424009d
Show Player name, not client, in mobile view. Fix #1659 .
2023-04-05 22:48:33 -04:00
Deluan
7ea111322b
Don't pump the volume up to 100% if it is not in a mobile device. Fix #2255
...
This detection method is not bullet-proof, but should work for now.
Ref: https://stackoverflow.com/a/3540295
2023-03-16 17:25:07 -04:00
Deluan
377e7ebd52
Disable share downloading when EnableDownloads is false.
...
Fixes https://github.com/navidrome/navidrome/pull/2246#issuecomment-1472341635
2023-03-16 13:11:26 -04:00
Deluan
ec0eb2866b
Hide Love button on Artist Page when EnableFavourites=false. Fix #2245
2023-03-10 23:34:02 -05:00
Deluan
b520d8827a
Add download button in the SharePlayer
2023-03-10 23:33:29 -05:00
Deluan
a7d3e6e1f1
Add option to allow share to be downloaded
2023-03-10 23:33:29 -05:00
Deluan
47f15ccbc3
Make AlbumArtists clickable in AlbumSongs view. Fixes #1627
2023-03-09 18:04:07 -05:00
Deluan
9667f3cd48
Add file path to toggleable columns in SongList view. Fix #1719
2023-03-09 17:47:20 -05:00
Deluan
527c378c41
Add feature request link to About dialog
2023-03-08 12:41:51 -05:00
Deluan
5fc4076aec
Fix translation key
2023-02-16 21:05:11 -05:00
Kendall Garner
8b93962fad
Limit share size while handling theme properly ( #2171 )
...
* limit player to 768 px
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* fix size limitation
---------
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2023-02-13 20:00:39 -05:00
Kendall Garner
b129cae0d8
Only create context if gain mode active ( #2173 )
2023-02-13 19:57:23 -05:00
Kendall Garner
9e268678f2
Limit Share player to 768 px ( #2164 )
...
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2023-02-11 12:38:35 -05:00
Daniel Hammer
fc8462dc8a
"Spell-Jacking" mitigation ~ prevent sensitive data leak from spell checker. ( #2091 )
...
@see https://www.otto-js.com/news/article/chrome-and-edge-enhanced-spellcheck-features-expose-pii-even-your-passwords
Co-authored-by: Daniel Hammer <daniel.hammer+oss@gmail.com>
2023-02-06 16:29:28 -05:00
Deluan
9b2dd1bb06
Fix playlist delete and reorder actions
2023-02-06 10:41:33 -05:00
Kendall Garner
f8dfb3ad86
Clearer lyrics in Nord theme ( #2146 )
2023-02-04 13:02:15 -05:00
vlfldr
a1a5b2fc30
Fix invisible checkboxes in Gruvbox theme ( #2135 )
...
* Added Gruvbox Dark color theme
* Correct formatting by running prettier
* Fixed invisible checkboxes and tweaked colors in Gruvbox theme
2023-02-01 13:33:55 -05:00
Deluan
d8e794317f
Return 404 when artwork is not available in /share/img endpoint
2023-02-01 10:34:02 -05:00
Deluan
128b626ec9
Add option to change max playlists shown in UI's sidebar, MaxSidebarPlaylists. Fix #2077
2023-02-01 10:25:25 -05:00
Deluan
d683297fa7
Better behaviour of Prev/Next buttons when share has only one song:
...
- Allow Prev to restart the song
- Disable Next
2023-01-31 21:27:47 -05:00
Deluan
b6fcfa9fc8
Add a fallback when the browser does not support copying the share link to clipboard (not a secure origin)
...
See: https://stackoverflow.com/a/51823007
2023-01-30 12:09:01 -05:00
Deluan
762a1ba998
Fix downloading and sharing from a playlist. Fix #2123
2023-01-30 11:20:22 -05:00
Deluan
68e6115789
Rename DevEnableShare to EnableSharing
2023-01-29 20:33:10 -05:00
Deluan
e2ea5eba8c
Disable creation of shares when feature is disabled.
...
Fix https://github.com/navidrome/navidrome/pull/2106#issuecomment-1404731388
2023-01-26 10:12:52 -05:00
Deluan
1950c07b1d
Disable external links when EnableExternalServices is false. Fix #2022
2023-01-25 10:28:03 -05:00
Deluan
e0fc997adb
Fix Share dialog titles for Album and Playlist
2023-01-25 10:20:28 -05:00
Deluan
5eefb265e5
Simplify radio CRUD code
2023-01-25 10:03:55 -05:00
paradajz
39161fdf47
Playlist view: optionally show comment column ( #2073 )
...
* playlist view: optionally show genre and comment columns
* Remove genre from Playlist columns, as it is not a valid attribute of playlist
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-24 21:15:41 -05:00
Deluan
9721ef8974
Fix download translation key
2023-01-24 20:14:51 -05:00
Deluan
16850a9be0
Revert "Replace the LoveButton with ArtistContextMenu in the artist page - #1979 "
...
see https://github.com/navidrome/navidrome/issues/1979#issuecomment-1402904870
2023-01-24 20:14:51 -05:00
Deluan
2082948144
Fix downloadOriginalFormat term in English translation
2023-01-24 18:41:43 -05:00
Deluan
0c263cf234
Make AlbumSongs BulkActionsToolbar more responsive
2023-01-24 18:36:47 -05:00
Deluan
85084cda57
Add button to share selected songs
2023-01-24 18:36:47 -05:00
Deluan
433da37982
Add Share to Context menus, also share artist
2023-01-24 18:36:47 -05:00
Deluan
051e9c556d
Use redux for ShareDialog
2023-01-24 18:36:47 -05:00
Deluan
17d9573f4d
Refactor dialogs, make it simple to add a new dialog to all views
2023-01-24 18:36:47 -05:00
Deluan
6c05fcb699
Create contents label for group of shared mediafiles
2023-01-24 18:36:47 -05:00
Deluan
63e67bd502
Make Share list responsive
2023-01-24 18:36:47 -05:00
Deluan
230f2fdc02
Reduce spacing between album buttons, to avoid breaking the toolbar in two
2023-01-24 18:36:47 -05:00
Deluan
c994ed70ea
Fix expireAt update error
2023-01-24 18:36:46 -05:00
Deluan
40cac5c367
Fix JS console warning
2023-01-24 18:36:46 -05:00
Deluan
34277f238c
Make Share icon dynamic
2023-01-24 18:36:46 -05:00
Deluan
dbf80d8592
Change public/share path to /share - DSub does not use the URL from the API response... :(
2023-01-24 18:36:46 -05:00
Deluan
94cc2b2ac5
Fix tests and lint errors, plus a bit of refactor
2023-01-24 18:36:46 -05:00
Deluan
72a12e344e
More share translations
2023-01-24 18:36:46 -05:00
Deluan
58fc271864
Share playlists
2023-01-24 18:36:46 -05:00
Deluan
65174d3fb2
Refactor DownloadMenuDialog to use useTranscodingOptions hook
2023-01-24 18:36:46 -05:00
Deluan
c8293fcdd8
Extract transcoding options to its own hook
2023-01-24 18:36:46 -05:00
Deluan
d9c42b3183
Add share's contents and description to the DB
2023-01-24 18:36:46 -05:00
Deluan
364fdfbd8d
Use defaultDownsamplingFormat in share options
2023-01-24 18:36:45 -05:00
Deluan
63b4a12a93
Fine tune SharePlayer
2023-01-24 18:36:45 -05:00
Deluan
357c0e1e19
Refactor URL builders in UI
2023-01-24 18:36:45 -05:00
Deluan
84aa094e56
More work on Shares
2023-01-24 18:36:45 -05:00
Deluan
ab04e33da6
Initial work on Shares
2023-01-24 18:36:45 -05:00
Kendall Garner
5331de17c2
Fixes the slide bar clickable area ( #2113 )
2023-01-24 11:15:14 -05:00
Kendall Garner
2de570fe72
Fix order of gain menu options ( #2105 )
2023-01-22 11:08:54 -05:00
Deluan
33f033beba
Fix artist image not caching on browser
2023-01-20 21:28:44 -05:00
Deluan
b9934799ec
Increase size of artist image
2023-01-20 20:55:17 -05:00
vlfldr
8ae0bcb459
Add Gruvbox Dark color theme ( #2092 )
...
* Added Gruvbox Dark color theme
* Correct formatting by running prettier
2023-01-18 13:23:36 -05:00
Deluan
d5c9cf07bd
Fix Playlist show
2023-01-18 09:43:07 -05:00
Kendall Garner
93adda66d9
Get album info (when available) from Last.fm, add getAlbumInfo endpoint ( #2061 )
...
* lastfm album.getInfo, getAlbuminfo(2) endpoints
* ... for description and reduce not found log level
* address first comments
* return all images
* Update migration timestamp
* Handle a few edge cases
* Add CoverArtPriority option to retrieve albumart from external sources
* Make agents methods more descriptive
* Use Last.fm name consistently
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-17 20:22:54 -05:00
Kendall Garner
1324a16fc5
ReplayGain support + audio normalization (web player) ( #1988 )
...
* ReplayGain support
- extract ReplayGain tags from files, expose via native api
- use metadata to normalize audio in web player
* make pre-push happy
* remove unnecessary prints
* remove another unnecessary print
* add tooltips, see metadata
* address comments, use settings instead
* remove console.log
* use better language for gain modes
2023-01-17 15:57:19 -05:00
Deluan
9ae156dd82
Remove unused prop
2023-01-17 14:31:17 -05:00
Deluan
438d45c176
Change Internet Radio UX
2023-01-17 14:22:10 -05:00
Deluan
0a65bf171b
Change Players icon, to distinguish it from Internet Radios
2023-01-16 20:51:18 -05:00
Deluan
13ba08157a
Add Size column to Album Songs view
2023-01-16 15:13:05 -05:00
Deluan
7682fddec0
Add Size column to Artist and Album views
2023-01-16 15:00:50 -05:00
Deluan
4a054de3d5
Hide togglable columns when in Album Grid view mode. Fixes #2064
2023-01-16 15:00:33 -05:00
Deluan
c748d669d6
Sort radio stations by name
2023-01-15 16:12:22 -05:00
Deluan
d319b66ff3
Make Radio Create and Edit forms consistent
2023-01-15 15:43:46 -05:00
Kendall Garner
8877b1695a
Add Internet Radio support ( #2063 )
...
* add internet radio support
* Add dynamic sidebar icon to Radios
* Fix typos
* Make URL suffix consistent
* Fix typo
* address feedback
* Don't need to preload when playing Internet Radios
* Reorder migration, or else it won't be applied
* Make Radio list view responsive
Also added filter by name, removed RadioActions and RadioContextMenu, and added a default radio icon, in case of favicon is not available.
* Simplify StreamField usage
* fix button, hide progress on mobile
* use js styles over index.css
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-15 15:11:37 -05:00
Gil Desmarais
aa21a2a305
Respect prefers-reduced-motion browser configuration ( #2090 )
...
Signed-off-by: Gil Desmarais <git@desmarais.de>
Signed-off-by: Gil Desmarais <git@desmarais.de>
2023-01-14 18:42:23 -05:00
Deluan
12dd219e16
Don't refresh artistInfo when setting artist's love/rating
2023-01-14 10:52:03 -05:00
bornav
1d6b04e3ad
Replace the LoveButton with ArtistContextMenu in the artist page - #1979
2023-01-14 10:52:03 -05:00
Deluan
291455f0b7
Fix Download Dialog not showing in Artist page
2023-01-13 19:40:43 -05:00
Celyn Walters
b8c171d3d4
Hide LastFM icons if config.lastFMEnabled is false ( #1935 )
...
Hide LastFM icons if `config.lastFMEnabled` is false
2022-12-30 17:15:14 -05:00
Deluan
bc09de6640
Better error handling
2022-12-28 15:31:56 -05:00
Deluan
92ddae4a65
Created dedicated artwork readers
2022-12-28 15:31:56 -05:00
Deluan
3dbd5c8d31
Remove unnecessary cache invalidator, as ID nows contains the updatedAt value
2022-12-28 15:31:56 -05:00
Deluan
045b023b35
Fix DevFastAccessCoverArt flag
2022-12-28 15:31:56 -05:00
Deluan
2923f01cd9
Fix UI artwork id creation
2022-12-28 15:31:56 -05:00
Deluan
87d4db7638
Handle mediafile covers
2022-12-28 15:31:56 -05:00
Deluan
7b87386089
Load artwork from embedded
2022-12-28 15:31:56 -05:00
Kendall Garner
55b0227494
Add Date Added column in Album and Song lists ( #2055 )
2022-12-22 22:44:07 -05:00
Deluan
5d8318f7b3
Change "Go to current song" hotkey.
...
It was blocking Cmd-C (copy on macOS)
2022-12-18 20:58:01 -05:00