Deluan
ee8943f338
Fix semantic classes for currently playing song
...
Fix #1364
2021-10-07 19:49:27 -04:00
Serguey Parkhomovsky
86a87b4bb1
Fix default volume ( #1395 )
...
With the update in #1378 , the default volume is now erroneously set to 25% instead of 50%. Remove the Math.pow and set it to 50% instead.
2021-10-07 17:21:08 -04:00
Deluan
152836a01c
Bump @testing-library/react from 12.1.1 to 12.1.2 in /ui
2021-10-04 17:30:01 -04:00
Deluan
6139338e80
Bump react-icons from 4.2.0 to 4.3.1 in /ui
2021-10-04 17:29:27 -04:00
Dnouv
a6311259fd
Fix layout error in ArtistShow ( #1387 )
2021-10-04 17:14:38 -04:00
Deluan
e673360087
Limit number of playlists displayed in the sidebar, to avoid UI freezes
2021-10-02 21:39:33 -04:00
Deluan
9c29ee3651
Check permissions before adding songs to playlists
2021-10-02 13:23:17 -04:00
Deluan
6c3e45de41
Add songs to playlists with drag and drop
2021-10-02 13:14:33 -04:00
dependabot[bot]
0cbba80284
Bump react-router-dom from 5.2.0 to 5.3.0 in /ui ( #1330 )
...
Bumps [react-router-dom](https://github.com/ReactTraining/react-router ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: react-router-dom
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>
2021-10-01 10:34:37 -04:00
Deluan
f9d910473f
Bump react-admin to 3.18.3
2021-10-01 09:45:28 -04:00
Igor Rzegocki
be3a6dc7a3
Use local copy of workbox service worker scripts ( #1358 )
...
* Use local copy of workbox service worker scripts
* Refactor workbox integration:
- Only add prod js, without maps. Reduces the size from 170k to 24k
- Removed it from build. As it is small now, we can add it to source, and have a script to just update it whenever it is required
- Fixed relative paths in navidrome-service-worker.js, should now work with BaseUrl != ''
Co-authored-by: Deluan <deluan@navidrome.org>
2021-10-01 09:14:15 -04:00
Deluan
b1e7760996
Preload next song
2021-10-01 08:43:59 -04:00
Serguey Parkhomovsky
24fef584ad
Bump react-jinke-music-player from 4.24.0 to 4.24.2 ( #1378 )
...
This should fix #1367 .
2021-10-01 08:42:02 -04:00
Deluan
694056010c
Bump @testing-library/react from 12.1.0 to 12.1.1 in /ui
2021-09-27 13:27:59 -04:00
Deluan
4fda895a64
Bump blueimp-md5 from 2.18.0 to 2.19.0 in /ui
2021-09-27 13:26:31 -04:00
Deluan
f664af5559
Bump react-admin from 3.18.1 to 3.18.2 in /ui
2021-09-27 13:26:31 -04:00
Deluan
c6868ff8a0
Don't show Artist Page for "Various Artists"
2021-09-27 11:52:23 -04:00
Deluan
0b65a4e34e
Fix comment word wrapping
2021-09-27 09:48:31 -04:00
Deluan
24872e6c2a
Fix biography word wrapping and requests for `undefined` resource
2021-09-27 09:47:16 -04:00
Deluan
b4e5c662dc
Fix JS console warning
2021-09-26 17:36:30 -04:00
Dnouv
482c2dec0c
Artist Detail Page (first cut) ( #1287 )
...
* Configure fetching from API and route
* pretty
* Remove errors
* Remove errors
* Remove errors
* Complete page for Desktop view
* Fix error
* Add xs Artist page
* Remove unused import
* Add styles for theme
* Change route path
* Remove artId useEffect array
* Remove array
* Fix cover load err
* Add redirect on err
* Remove route
* What's in a name? consistency :)
* Fix err
* Fix UI changes
* Fetch album from resource
* Renaming done
* Review changes
* Some touch-up
* Small refactor, to make naming and structure more consistent with AlbumShow
* Make artist's album list similar to original implementation
* Reuse AlbumGridView, to avoid duplication
* Add feature flag to enable new Artist Page, default false
* Better biography styling. Small refactorings,
* Don't encode quotes and other symbols
* Moved AlbumShow to correct folder
Co-authored-by: Deluan <deluan@navidrome.org>
2021-09-26 15:32:40 -04:00
Samarjeet
0c0bd2967d
Replace expanded with a dialog ( #1258 )
...
* Replace expanded with a dialog
* Change `info` label to "Get Info"
* Rename things for consistency
Co-authored-by: Deluan <deluan@navidrome.org>
2021-09-20 20:30:43 -04:00
Miguel A. Arroyo
e12a14a87d
feat: Adds Audio Channel Metadata - #1036
2021-09-20 19:33:50 -04:00
Deluan
0079a9b938
Close Sidebar when going to Playlists list
2021-09-20 19:00:37 -04:00
Deluan
892c2bfd58
Revert "Disable mini-player (bubble) dragging. Should fix #1217"
...
This reverts commit abf6318a8b
.
2021-09-20 18:24:18 -04:00
dependabot[bot]
7a15ed0740
Bump prettier from 2.4.0 to 2.4.1 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.0 to 2.4.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.4.0...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 17:45:50 -04:00
dependabot[bot]
f2ed3f2d86
Bump prettier from 2.3.2 to 2.4.0 in /ui ( #1341 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.2 to 2.4.0.
- [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.2...2.4.0 )
---
updated-dependencies:
- dependency-name: prettier
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>
2021-09-13 16:12:29 -04:00
dependabot[bot]
b23ab1ccec
Bump @testing-library/react from 12.0.0 to 12.1.0 in /ui ( #1342 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
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>
2021-09-13 16:10:07 -04:00
Deluan
abf6318a8b
Disable mini-player (bubble) dragging. Should fix #1217
2021-09-13 11:17:06 -04:00
Deluan
b55f3a6946
Add paddingBottom to the whole sidebar menu, to avoid playlists to be covered by the player
2021-09-12 21:24:07 -04:00
Deluan Quintão
79363d6c07
Move Playlists to the sidebar menu ( #1339 )
...
* Show playlists in sidebar menu
* Fix menu
* Refresh playlist submenu when adding new playlist
* Group shared playlists below user's playlists
* Fix text overflow in menu options
* Add button in playlist menu to go to Playlists list
* Add config option `DevSidebarPlaylists` to enable this feature (default false)
2021-09-11 13:11:15 -04:00
Deluan
a7017e4bb0
Fix JS console warning
2021-09-10 18:04:38 -04:00
Deluan
dc0ec32dbf
Fix menu items highlight
2021-09-10 16:17:08 -04:00
Salman Inayat
06b1a1a25c
Album size overflow fixed ( #1071 )
...
* Added back button
* Added back button
* Added back button
* Fixed Album size overflow
* Fixed Album size overflow
* Fixed album size overflowing
* Fixed album size overflowing
* Fixed album size overflowing
* Fixed album size overflow on small screen
* Changes reverted in PlayerEdit.js
* prettier formatting issue resolved
Co-authored-by: Deluan <deluan@navidrome.org>
2021-09-09 11:56:48 -04:00
Deluan
6ac2fefaf3
Make AppBar stick on scroll
2021-09-09 11:21:16 -04:00
Samarjeet
2e921cd793
Fix sidebar scroll height ( #1338 )
...
* Fix sidebar scroll height
* Prettier
Co-authored-by: Deluan <deluan@navidrome.org>
2021-09-09 09:33:38 -04:00
Deluan
94083f85d2
Bump @testing-library/react-hooks version
2021-09-09 00:16:44 -04:00
Deluan
f0ef5187b2
Bump react-redux version
2021-09-09 00:16:13 -04:00
Deluan
8444c28bed
Upgrade react-admin to 3.18.1
...
This makes the sidebar fixed when users scroll vertically. This supersedes #1024 , even though it also hides the hamburger menu...
2021-09-08 22:50:03 -04:00
Tucker Kern
fb11080545
Improve performance of placeholder images ( #1325 )
...
* Don't include updatedAt field when fetching album art placeholder. This will allow browers to cache the place holder
* Apply resizing to placeholder image
* Fix issues discovered by CI linter and prettier
* Updates from PR review
2021-09-06 22:34:37 -04:00
Deluan
cf042ed83d
Fix random volume changes
2021-08-22 12:18:26 -04:00
Tucker Kern
aa72d3d41b
Add missing song information to players and apply EnableCoverAnimation to mobile player. ( #1268 )
...
* Disable mobile player cover animation when EnableCoverAnimation is set to false. Also increase cover art size and remove rounded borders.
* Display song album and year in mobile player view
* Remove default singer element from mobile player and reduce vertical white space
* Only add song year if it exists
* Add song year to desktop player when present
* Increase non-animated cover size to 85% and set a limit on the width of 600px.
* Explain what what the styles impact
* Remove unused style for songArtist
* Apply prettier
* Adjust player styles to handle nonsquare album art better. Should probably push this upstream too
* Also fix desktop player's handling of non square cover art.
2021-08-17 13:57:48 -04:00
dependabot[bot]
0a5f966047
Bump redux from 4.1.0 to 4.1.1 in /ui
...
Bumps [redux](https://github.com/reduxjs/redux ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/reduxjs/redux/releases )
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/redux/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: redux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 20:11:05 -04:00
Deluan
db4165f27c
Bum react-admin to 3.17.2. Fix SearchInput border
2021-08-13 19:45:18 -04:00
Deluan
a8cf887e87
Adjust icon size
2021-08-03 22:01:57 -04:00
Deluan Quintão
63000ab5ae
Update en.json (POEditor.com)
2021-08-03 21:41:32 -04:00
Deluan
bcafe88ef9
Don't autoplay when reloading play queue from Redux store
2021-08-01 19:49:17 -04:00
Deluan
c0fc36da63
Make album genres clickable
2021-07-27 13:22:35 -04:00
Deluan
e68b22ea5d
Don't send invalid scrobbles when clearing the player's queue
2021-07-26 16:50:50 -04:00
Sitansh Rajput
fb4eefced5
"Add to Playlist" on AlbumList actions ( #1257 )
...
* added a dependency npm was complaining about
added playlist to album actions
* removed chokidar dependency
Co-authored-by: Skrtansh Rajput <srajput@alienvault.com>
2021-07-26 15:00:38 -04:00
Deluan
615cac2ec4
Extract ExternalLinks into its own component
2021-07-26 13:25:31 -04:00
dependabot[bot]
72f9e3e80a
Bump @testing-library/user-event from 13.2.0 to 13.2.1 in /ui
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.2.0...v13.2.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 13:25:19 -04:00
Deluan
763bcafdac
Use Tooltip in links to external sites
2021-07-24 19:52:15 -04:00
Deluan
7bd506accc
Retrieve all options for Genre filters
2021-07-24 16:00:27 -04:00
Deluan
a89bdfbb8d
Fix build
2021-07-20 20:22:15 -04:00
Deluan
7540881695
Small refactorings
2021-07-20 19:18:29 -04:00
Deluan
1471e1240d
Show songs' genres as text instead of Chips
2021-07-20 17:45:08 -04:00
Deluan
58ee4c60ca
Add Links to external sites
2021-07-20 17:45:08 -04:00
Deluan
054b5eafdb
Add Genres as "Chips" in Album details and Song details
2021-07-20 17:45:08 -04:00
Deluan
20b7e5c49b
Add Genre filters to UI
2021-07-20 17:45:08 -04:00
dependabot[bot]
d886c63122
Bump react-image-lightbox from 5.1.1 to 5.1.4 in /ui ( #1252 )
...
Bumps [react-image-lightbox](https://github.com/frontend-collective/react-image-lightbox ) from 5.1.1 to 5.1.4.
- [Release notes](https://github.com/frontend-collective/react-image-lightbox/releases )
- [Changelog](https://github.com/frontend-collective/react-image-lightbox/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frontend-collective/react-image-lightbox/compare/v5.1.1...v5.1.4 )
---
updated-dependencies:
- dependency-name: react-image-lightbox
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>
2021-07-19 13:20:44 -04:00
dependabot[bot]
5b828cd7ef
Bump @testing-library/user-event from 13.1.9 to 13.2.0 in /ui ( #1253 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.9 to 13.2.0.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.1.9...v13.2.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
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>
2021-07-19 13:20:28 -04:00
Deluan
97f87416a4
Bump @testing-library dependencies
2021-07-14 11:02:11 -04:00
Deluan
8396b51a9c
Upgrade React-Admin to 3.17.0
2021-07-14 10:39:48 -04:00
Deluan
4a25fa0920
Make the default volume 50% (compensate for logarithmic volume).
...
Closes #1052
2021-07-14 09:58:50 -04:00
dependabot[bot]
8e71f308c2
Bump prettier from 2.3.1 to 2.3.2 in /ui ( #1210 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.1 to 2.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/2.3.1...2.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>
2021-07-09 21:29:51 -04:00
Deluan
53fe2e98c5
Remove `eject` script, hopefully it will never be used
2021-07-08 21:09:38 -04:00
Deluan
b34d77f85a
Don't show "playing/paused" icon on the first song when calling "Play Now"
2021-07-05 21:45:20 -04:00
Deluan
24d4c81b34
Change default volume to 50%
...
Should fix #1052
2021-07-04 21:36:41 -04:00
Deluan
189d0c0ab3
Restore volume when playing a song...
...
... or continuing to play a paused one
2021-07-04 21:36:41 -04:00
Deluan
1922eaaab2
Make cover rectangular in player when cover animation is disabled
2021-07-04 12:52:59 -04:00
Deluan
5d9bea5087
Fix Album grid responsiveness on small screens.
...
Potentially fixes #647
2021-07-04 12:09:30 -04:00
Deluan
69afb69959
Fix Disc context menu not visible in mobile
2021-07-04 11:44:41 -04:00
Deluan
27ba267b38
Fix play single song action
2021-07-03 22:29:59 -04:00
Deluan
fa8b4d40b4
Fix arranging songs in PlayQueue
2021-07-03 21:34:24 -04:00
Deluan
ace5c905eb
Made the Player behaviour more consistent
2021-07-02 23:36:33 -04:00
certuna
77f6bc83ac
Update SongList.js ( #1219 )
...
Genre and Comments columns in Songs listview (hidden by default)
2021-07-02 10:18:45 -04:00
Deluan
cfb113bd33
Disable Last.FM features based on `LastFM.Enabled` config option
2021-07-02 10:04:41 -04:00
Deluan
4ea0f235e1
Fix scrollbar colour for Dark/ExtraDark theme. Fixes #1216
2021-06-29 12:29:00 -04:00
Deluan
fd82b8f2dc
Default for `EnableCoverAnimation` in dev mode is true
2021-06-28 17:18:32 -04:00
Deluan
a73f885afb
Add option to disable album cover animation in the player. Closes #1185
2021-06-28 17:11:05 -04:00
Deluan
25f0e11562
Add 'AlbumArtist' column to SongList
2021-06-28 09:54:17 -04:00
Deluan
292cf99f49
Add 'Year' column to Album and Playlists song list
2021-06-28 09:45:30 -04:00
Deluan
26bcf0b877
Enable Last.fm scrobbling by default (still requires user's authorization)
2021-06-25 23:09:09 -04:00
Deluan
a1551074bb
Add a hacky way to style the react-player.
2021-06-25 18:19:57 -04:00
Deluan
823fef8e43
Fix JS console error
2021-06-25 14:11:58 -04:00
Deluan
82105c3a16
Remove React.Strict mode
2021-06-25 14:08:00 -04:00
Deluan
b684a47f80
Show DiscSubtitle even if the album has only one disc.
...
Closes #947
2021-06-25 11:30:24 -04:00
Deluan
da2334e10c
Remove submenu "Library". Relates to #430
2021-06-25 00:01:38 -04:00
Deluan
5040f6fd97
Fix label
2021-06-23 18:09:05 -04:00
Deluan
abe8015745
Add option to disable external scrobbling per player
2021-06-23 17:55:58 -04:00
certuna
265f33ed9d
Remove clearServiceWorkerCache, not needed anymore. ( #1205 )
...
remove clearServiceWorkerCache, not needed anymore.
2021-06-23 12:11:35 -04:00
Deluan
f4ddd201f2
Send the time the track started playing when scrobbling
2021-06-23 11:01:58 -04:00
Steve Richter
5fbfd9c81e
Implement Last.fm account linking UI
2021-06-23 11:01:58 -04:00
Deluan
8b62a58b4c
Remove limitation of only scrobbling tracks longer than 30 seconds
2021-06-22 09:59:00 -04:00
Deluan
1f997357a9
Expose Last.fm's ApiKey to UI
2021-06-21 18:14:01 -04:00
Steve Richter
8ee5c1f245
Initial Last.fm UI implementation
2021-06-21 18:14:01 -04:00
Deluan
ffa76bba6a
Add flag to disable Scrobble config in the UI
2021-06-21 18:14:01 -04:00
Deluan
73e1a8fa06
Remove false-positive on new version detection
2021-06-21 17:46:26 -04:00
Deluan
877f01bd38
Show notification if server is updated
2021-06-21 13:48:39 -04:00
Deluan
cf553ce812
Don't show "logout" when authenticated by Header
2021-06-18 19:08:25 -04:00
dependabot[bot]
84413b542e
Bump @testing-library/jest-dom from 5.13.0 to 5.14.1 in /ui ( #1176 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.13.0 to 5.14.1.
- [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.13.0...v5.14.1 )
---
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>
2021-06-18 09:39:23 -04:00
Deluan
b590c31e4e
Fix `stream` url, after changes to subsonic client api
2021-06-16 16:38:50 -04:00
Deluan
c4623d7bc3
Don't show "empty" dates
2021-06-16 12:28:49 -04:00
Deluan
e0fd1c6ad8
Add "Last Played" column to SongList
2021-06-16 11:57:02 -04:00
Deluan
fb7229a53e
Refech using getMany, reducing the number of API calls
2021-06-16 10:01:09 -04:00
Deluan
b65e76293a
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
2021-06-15 18:59:26 -04:00
Deluan
5f6f74ff2d
Always use `httpClient` to call APIs
2021-06-15 17:29:01 -04:00
Deluan
8383527aab
Only refetch changed resources when receive a "refreshResource" event
2021-06-15 16:12:13 -04:00
Deluan
8a56584aed
Removed the `albumSong` workaround, as React-Admin's cache seems to behave better now
2021-06-15 11:31:41 -04:00
Deluan Quintão
03efc48137
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
2021-06-13 12:46:36 -04:00
Igor Rzegocki
6bd4c0f6bf
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>
2021-06-11 23:17:21 -04:00
Deluan
cefc939909
Trigger UI refresh on media annotation events: `star`, `setRating` and `scrobble`
2021-06-10 12:20:52 -04:00
Deluan
2afb2db7ef
Refactor for readability
2021-06-09 22:35:20 -04:00
Deluan
7f85ecd515
Trigger a UI refresh when the scanner finds changes.
...
Closes #1025
2021-06-09 21:02:20 -04:00
dependabot[bot]
adb09c9c69
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>
2021-06-09 15:18:17 -04:00
dependabot[bot]
0c9e0ff886
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>
2021-06-09 15:17:56 -04:00
Deluan
39c560a5c2
Remove unused web-vitals package
2021-05-31 10:21:24 -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
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
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
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
2021-05-24 12:58:15 -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
9800823015
Bump react-jinke-music-player from 4.24.0 to 4.24.1 in /ui
2021-05-24 10:04:37 -04:00
Deluan
e529390034
Remove `md5-hex` wrapper and use `blueimp-md5` directly
2021-05-20 13:42:56 -04:00
Steve Richter
e60f2bfa3d
User management improvements ( #1101 )
...
* Show more descriptive success messages for User actions
* Check username uniqueness when creating/updating User
* Adjust translations
* Add tests for `validateUsernameUnique()`
Co-authored-by: Deluan <deluan@navidrome.org>
2021-05-16 13:25:38 -04:00
dependabot[bot]
666c006579
Bump lodash from 4.17.19 to 4.17.21 in /ui ( #1110 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-15 14:33:29 -04:00
Deluan
6ad94548f3
Add explicit dependency for `inflection`
2021-05-15 11:59:56 -04:00
Dnouv
74300adbc8
Fix Ligera Error ( #1117 )
...
* Fix Ligera Error
* Run make setup
2021-05-12 10:21:56 -04:00
Deluan
25bd36dbc5
Bump react-admin to 3.15.1
2021-05-11 22:24:24 -04:00
Deluan
87298f616f
Add more explicit npm dependencies
2021-05-11 22:22:32 -04:00
Deluan
4699902369
Remove dependency on lodash.get
2021-05-11 22:08:07 -04:00
Deluan
978933aa48
Add explicit npm dependencies
2021-05-11 22:07:47 -04:00
Deluan
77e736ccfd
Do not use `ra-core` directly
2021-05-11 21:39:53 -04:00
Deluan
a77635e883
Only setup event stream when mounting the app
2021-05-11 20:27:12 -04:00
Dnouv
0c93db816c
Fix PWA notification toolbar color ( #1083 )
...
* Fix PWA notification color
* Add React hook
* Convert component into a hook
Co-authored-by: Deluan <deluan@navidrome.org>
2021-05-11 20:11:54 -04:00
Deluan
fa9083ddec
Upgrade prettier to 2.3.0
...
Some reformatting was needed... :/
2021-05-11 18:13:03 -04:00
Aniket Biswas
71c2ed9922
Restart Current Song on previous ( #1104 )
...
* fixed on previous song behaviour
* rebased with master
2021-05-08 14:27:33 -04:00
Deluan
72ec808a2c
Bump react-jinke-music-player from 4.21.2 to 4.24.0 in /ui
2021-05-08 13:15:39 -04:00
Deluan
1f8949929d
Fix(?) possible TypeError
2021-05-06 20:46:01 -04:00
Samarjeet
d85db8ffff
Fix Spotify-ish playlist title is cut off ( #1094 )
2021-05-06 18:33:54 -04:00
dependabot[bot]
c7378c0fa5
Bump @testing-library/user-event from 13.1.5 to 13.1.8 in /ui ( #1082 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.5 to 13.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.1.5...v13.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:27:02 -04:00
Deluan
1d6aa70033
Fix possible TypeError
2021-05-06 09:49:25 -04:00
Brian Schrameck
30bb3f7b43
BPM metadata enhancement ( #1087 )
...
* BPM metadata enhancement
Related to #1036 .
Adds BPM to the stored metadata about MediaFiles.
Displays BPM in the following locations:
- Listing songs in the song list (desktop, sortable)
- Listing songs in playlists (desktop, sortable)
- Listing songs in albums (desktop)
- Expanding song details
When listing, shows a blank field if no BPM is present. When showing song details, shows a question mark.
Updates test MP3 file to have BPM tag. Updated test to ensure tag is read correctly.
Updated localization files. Most languages just use "BPM" as discovered during research on Wikipedia. However, a couple use some different nomenclature. Spanish uses PPM and Japanese uses M.M.
* Enhances support for BPM metadata extraction
- Supports reading floating point BPM (still storing it as an integer) and FFmpeg as the extractor
- Replaces existing .ogg test file with one that shouldn't fail randomly
- Adds supporting tests for both FFmpeg and TagLib
* Addresses various issues with PR #1087 .
- Adds index for BPM. Removes drop column as it's not supported by SQLite (duh).
- Removes localizations for BPM as those will be done in POEditor.
- Moves BPM before Comment in Song Details and removes BPM altogether if it's empty.
- Omits empty BPM in JSON responses, eliminating need for FunctionField.
- Fixes copy/paste error in ffmpeg_test.
2021-05-05 21:35:01 -04:00
Deluan
fb33aa4496
Fix possible TypeError
2021-05-05 21:14:36 -04:00
Deluan
9e559311ad
Fix Album Grid flickering
2021-05-05 16:18:08 -04:00
Deluan
cbc4cb483d
Fix QuickFilter by favourites in Album/All view
2021-05-04 16:28:19 -04:00
Deluan
986473393f
Fix missing translation error in console. Closes #1038
2021-05-04 16:01:26 -04:00
Deluan
66b31644fa
Upgrade React-Admin to 3.15.0
2021-05-03 22:32:30 -04:00
Deluan
874b17b8f6
Require user to provide current password to be able to change it
...
Admins can change other users' password without providing the current one, but not when changing their own
2021-05-03 15:03:34 -04:00
Deluan
5808b9fb71
Fix Transcodings menu
2021-05-03 13:54:08 -04:00
Deluan
c33ebabde8
Fix warning about promise being ignored
2021-05-03 13:38:34 -04:00
Deluan
7feda4bea4
Add `EnableUserEditing`, to control whether a regular user can change their own details (default `true`)
2021-05-02 17:11:12 -04:00
Deluan
ad153f5f63
Fix User delete button not showing
2021-05-02 15:03:15 -04:00
Samarjeet
d41137ad8e
[Spotify-ish] Login consistent with other themes ( #1073 )
2021-05-01 08:48:12 -04:00
Deluan
88f2fc35cd
Fix regular users not able to edit their info before logging in again
2021-04-30 17:53:17 -04:00
Deluan
eaf40efdf4
Never send passwords to the UI
2021-04-29 20:04:01 -04:00
Deluan
71dc0dddaf
Show Person icon for non admin users
2021-04-29 18:26:53 -04:00
Deluan
a35de2bfd1
Allow regular users to change their info, including password.
...
Should fix #199
2021-04-28 22:35:25 -04:00
Deluan
22582392a0
Fix "Failed prop type: Invalid prop `variant`" in console
2021-04-28 22:07:16 -04:00
Deluan
932c108e82
Fix "SharedArrayBuffer will require cross-origin isolation"
...
This is a workaround for React v16 while we don't upgrade to v17
See https://github.com/facebook/create-react-app/issues/10474
2021-04-28 21:42:17 -04:00
Samarjeet
771c91d2dd
[Spotify-ish] Indicate active page number ( #1068 )
2021-04-28 08:57:08 -04:00
Deluan
10cfaad95c
Bump react-redux version to 7.2.4
2021-04-26 23:22:53 -04:00
Deluan
07f6a7cc9f
Bump @testing-library dependencies
2021-04-26 23:19:30 -04:00
Deluan
862c6d3c73
Upgrade React-Admin to 3.14.5
2021-04-26 23:19:28 -04:00
Deluan
0d409e37e2
Fix aspect ratio of login icon
2021-04-26 12:35:49 -04:00
dependabot[bot]
f1bd736b20
Bump jest-environment-jsdom-sixteen from 1.0.3 to 2.0.0 in /ui
...
Bumps [jest-environment-jsdom-sixteen](https://github.com/SimenB/jest-environment-jsdom-sixteen ) from 1.0.3 to 2.0.0.
- [Release notes](https://github.com/SimenB/jest-environment-jsdom-sixteen/releases )
- [Commits](https://github.com/SimenB/jest-environment-jsdom-sixteen/compare/v1.0.3...v2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 09:11:34 -04:00
Deluan
cde6626016
Fix logo aspect ratio in Safari
2021-04-25 21:16:45 -04:00
Deluan
1c7d4c5630
Improve Logo resolution in login dialog
2021-04-25 21:16:24 -04:00
Dnouv
c75314c605
Enhanced Mobile Login Screen ( #953 )
...
* Enhanced Mobile Login Screen
* Removed duplicate line of code
* Add support for desktop
* Remove conflict
* Reset button style
* Change Login
2021-04-25 21:09:23 -04:00
Deluan
b10f491de8
Fix Song details row height
2021-04-24 23:06:14 -04:00
caiocotts
b671d0ff7b
Better handling of album comments ( #1013 )
...
* Change album comment behaviour
* Don't check first item
* Fix previously imported album comments.
* Remove song comments if album comment is present
2021-04-24 21:40:55 -04:00
Deluan
4b5a5abe1b
Fix Web Scroller compatibility
...
This fixes https://github.com/web-scrobbler/web-scrobbler/issues/2828
2021-04-24 21:13:14 -04:00
Deluan
3cede28161
Reorganize AudioTitle classes.
...
Should fix https://github.com/web-scrobbler/web-scrobbler/issues/2828
2021-04-24 18:06:24 -04:00
Deluan
79bbff0e98
Make Playlist grid more responsive
2021-04-24 11:29:12 -04:00
Dnouv
e83a0b23a3
Hide volume bar in lower resolutions ( #889 )
...
This gives more space for the song and artist names in the player
* fix min-width of AlbumDetails
* Fix song play time display
* Song duration display fix#2
* Removed important
* Resolve conflicts
* Update Player.js
* Change breakdown and hide volume
Co-authored-by: Deluan <deluan@navidrome.org>
2021-04-23 19:04:37 -04:00
dependabot[bot]
9f39f062d8
Bump @testing-library/user-event from 13.1.2 to 13.1.5 in /ui ( #1051 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.1.2 to 13.1.5.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.1.2...v13.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 18:44:32 -04:00
Yash Jipkate
df57cd6bb5
Allow adding songs to multiple playlists at once. ( #995 )
...
* Add support for multiple playlists
* Fix lint
* Remove console log comment
* Disable 'check' when loading
* Fix lint
* reset playlists on closeAddToPlaylist
* new playlist: accomodate string type on enter
* Fix lint
* multiple new playlists are added correctly
* use makestyle()
* Add tests
* Fix lint
2021-04-23 18:37:08 -04:00
Arbaz Ahmed
d829a63686
fix: refactored some styles in jinkie player and removed br tag - #865 ( #1047 )
...
* refactored some styles in jinkieplayer
* fix: refactored some styles in jinkie player and removed br tag - #865
* fix: refactored some styles in jinkie player and removed br tag - #865
Signed-off-by: armedev <epiratesdev@gmail.com>
2021-04-23 18:06:39 -04:00
Deluan
aa9cf8ef17
Add a cleanup to tests
2021-04-22 14:04:48 -04:00
Shishir A S
6da9dee7d3
Fade in QualityInfo while hovering on Song title ( #1041 )
...
* feat(Player/QualityInfo) : Animate Quality Info + Increased audio player dimensions
Signed-off-by: Shishir <shishir.srik@gmail.com>
* fix(Player.js) : Converted JS hover functionality to pure CSS
Signed-off-by: Shishir <shishir.srik@gmail.com>
* Removed unused useState
* fix(Player) : Reverted player height adjustment
Signed-off-by: Shishir <shishir.srik@gmail.com>
2021-04-22 09:53:33 -04:00
dependabot[bot]
e7be2f6f9c
Bump ssri from 6.0.1 to 6.0.2 in /ui ( #1045 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 15:06:46 -04:00
Deluan
9a509c749a
Workaround for https://github.com/lijinke666/react-music-player/issues/351
2021-04-20 11:01:31 -04:00
Deluan
f63a912341
Add config option to set default theme
2021-04-18 13:51:00 -04:00
Deluan
b6f525bda5
Fix exception when running in Firefox over insecure http. Fix #1039
2021-04-18 02:21:58 -04:00
Deluan
0063720cc2
Change size and position of QualityInfo in the Player
2021-04-17 22:49:36 -04:00
Ruchi Kushwaha
b441260186
Change icon on active menu item ( #903 )
...
* add icons
* add logic to change the icon
* make the active menu bold
* Encapsulate the dynamic icon behaviour into a self-contained component
Co-authored-by: Deluan <deluan@navidrome.org>
2021-04-17 00:40:07 -04:00
Praveen Kumar
749f5d45c6
Fix welcome message styles ( #1015 )
...
* style(login): welcome-message-wrapping - #1014
Signed-off-by: Praveen Kumar <pkspyder007@gmail.com>
* style(login): welcome-message-wrapping - #1014
Signed-off-by: Praveen Kumar <pkspyder007@gmail.com>
* chore(makefile): Removed-lint-timeout
Signed-off-by: Praveen Kumar <pkspyder007@gmail.com>
2021-04-15 20:18:35 -04:00
Deluan
a81ef0923b
Fix cover art not showing in notification when using a `BaseURL`
2021-04-14 13:30:14 -04:00
Samarjeet
c86d2a93b1
Fix transparent background in Spotify-ish ( #1030 )
2021-04-13 21:05:25 -04:00
Deluan
01b34f4f14
Bumps @testing-library/user-event from 13.1.1 to 13.1.2
2021-04-13 16:52:11 -04:00
Deluan
ef9a16ac9f
Change order of themes
2021-04-10 19:52:01 -04:00
Dnouv
ca9d42714f
New Ligera (light) Theme ( #990 )
...
* Enhanced Light Theme
* New Login Screen
* Fix Appbar for sm screen
* Reverse Gradient
* Fix test error
* Fix color
* Fix Gradient
* Theme color change
* Fix playlist autocomp popup
* Rename theme
* Fix hover icon color
2021-04-10 19:49:39 -04:00
Deluan
efe8240c0a
Remove inline `style` in favour of MUI's styling solution
2021-04-09 17:38:08 -04:00
Deluan
f41bc31ba8
Fix layout when album comment is visible
2021-04-07 22:16:38 -04:00