Commit Graph

470 Commits

Author SHA1 Message Date
Deluan 38c3013ddf Add auto-import fields to the UI 2020-07-17 22:55:51 -04:00
Deluan 865bad1550 Send play song event to GA 2020-07-08 21:23:51 -04:00
Deluan 1cc03fdd8c Add initial support for Google Analytics 2020-07-03 13:51:31 -04:00
Deluan dd91f983b5 Add new config option to show a custom welcome message in the login screen 2020-07-03 11:51:15 -04:00
Deluan 6563897692 Restore volume level after a refresh 2020-06-24 15:33:59 -04:00
Deluan 9b75b729ba Convert function to arrow-function 2020-06-22 19:55:04 -04:00
dependabot-preview[bot] e1968b0953 Bump @testing-library/user-event from 11.2.0 to 12.0.6 in /ui
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.2.0 to 12.0.6.
- [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/v11.2.0...v12.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 10:58:37 -04:00
Deluan f36e15cfeb Upgrade dependencies 2020-06-22 10:23:26 -04:00
Deluan 7547c775fa Bump React-Admin version to 3.6.1 2020-06-22 10:17:55 -04:00
dependabot-preview[bot] ad21b5f0d0 Bump react-drag-listview from 0.1.6 to 0.1.7 in /ui
Bumps [react-drag-listview](https://github.com/raisezhang/react-drag-listview) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/raisezhang/react-drag-listview/releases)
- [Commits](https://github.com/raisezhang/react-drag-listview/compare/0.1.6...0.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:31:30 -04:00
Deluan 4427900d84 Fix formatting 2020-06-22 08:56:55 -04:00
Deluan 0ca70b1e4d Add back Artist column header to Album List View. Fixes #363 2020-06-22 08:50:41 -04:00
Deluan 0292a334fe Fix mistranslation 2020-06-22 00:11:19 -04:00
Deluan f93e2d0c04 Use memoization to avoid re-renders 2020-06-19 19:43:33 -04:00
Deluan 3a9324c6ef Enable autoPlay in React Player 2020-06-19 16:32:54 -04:00
Deluan cf692140a9 Revert "Upgrade to React Player 4.15.1"
This reverts commit de693b8206. (+1 squashed commit)
Squashed commits:
[cc80cb8] Revert "Simplify handle"

This reverts commit 83b8fa14c6.
2020-06-19 16:31:38 -04:00
Deluan 83b8fa14c6 Simplify handle 2020-06-19 12:37:26 -04:00
Deluan de693b8206 Upgrade to React Player 4.15.1 2020-06-19 12:24:11 -04:00
Deluan 1686e358fe Simplify PlayQueue store 2020-06-19 11:32:24 -04:00
Deluan 804d969427 Clear play queue on login and logout 2020-06-19 11:32:23 -04:00
Deluan 9d23b191b5 Show indicator on current playing song. Fixes #128 2020-06-19 11:32:23 -04:00
Deluan 72b2e756f7 Revert "Show indicator on current playing song. Fixes #128"
This implementation causes performance issues
2020-06-13 16:41:11 -04:00
Deluan 86bc8d97a0 Support dark themes in "Playing" indicator 2020-06-13 14:38:25 -04:00
Deluan 003b73fe1a Remove invalid propType 2020-06-13 14:04:45 -04:00
Deluan be2afb94ae Show indicator on current playing song. Fixes #128 2020-06-13 14:04:45 -04:00
Deluan f8a18b59b0 Add link to album from player's song title. Fixes #324 2020-06-12 17:02:13 -04:00
Deluan 4702c5abbd Add track/artist being played to the page title. Closes #317 2020-06-11 22:40:35 -04:00
Deluan c742ae0843 Remove unused feature toggles 2020-06-11 22:11:59 -04:00
Deluan f072ffd377 Add confirmation when deleting user 2020-06-10 18:07:10 -04:00
Deluan c9bcb333ae Add more options to Players list 2020-06-10 18:07:10 -04:00
Deluan 8bd9787c51 Fix function naming 2020-06-09 20:45:53 -04:00
Deluan 1c466d6083 Fix formatting 2020-06-09 20:34:36 -04:00
Deluan a64b15c174 Fix navigation issues caused by the use of `useListParams` 2020-06-09 20:29:12 -04:00
Deluan 44c74f42e1 Add clickToPlay functionality to playlists 2020-06-09 08:54:11 -04:00
Deluan 82d437f004 Better defaults to sort orders in List views 2020-06-09 07:46:28 -04:00
Deluan b54d4c75ae Show year in album tile if album grid is filtered bu artist 2020-06-08 20:37:18 -04:00
Deluan b636565c62 Disable public toggle if user is not the playlist's owner 2020-06-08 19:19:38 -04:00
Deluan b4e06c416d Allow toggling a playlist public from the Playlist list view. Closes #344 2020-06-08 18:39:31 -04:00
dependabot-preview[bot] 5e2d463129 Bump @testing-library/user-event from 10.4.1 to 11.2.0 in /ui
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 10.4.1 to 11.2.0.
- [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/v10.4.1...v11.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 13:42:40 -04:00
Deluan 12d5d9573e Bum @testing-library dependencies 2020-06-05 13:34:46 -04:00
dependabot-preview[bot] 42ee8b64cb [Security] Bump websocket-extensions from 0.1.3 to 0.1.4 in /ui
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 13:31:47 -04:00
Deluan 3908ad2681 Upgrade ReactAdmin to 3.6.0 2020-06-05 12:13:50 -04:00
Deluan e9115dab4c Allow Writable to have multiple children 2020-06-05 11:55:30 -04:00
Deluan 79cf33281c Redirect to Playlists list after creating or editing 2020-06-05 11:55:30 -04:00
Deluan 2adb290c34 Do not show a "loading" datagrid for an empty playlist 2020-06-05 11:55:29 -04:00
Deluan 4906b816af Only allows adding to a writable playlist 2020-06-05 10:26:53 -04:00
Deluan 39afe0c669 Check permissions for playlists 2020-06-05 10:22:31 -04:00
Deluan 4776dba003 Make cursor=move for the whole playlist item row 2020-06-04 19:44:26 -04:00
Deluan 331fa1d952 Add ability to reorder playlist items 2020-06-04 19:05:41 -04:00
Deluan b597a34cb4 Remove flickering when loading/refreshing Playlist show view 2020-06-04 16:54:30 -04:00
Deluan b836dfe7f4 Do not reset the SongList query params 2020-05-31 14:27:02 -04:00
Deluan ddcfc546fb Link is not on the album cover, leaving a gap between albums.
Other small improvements
2020-05-31 13:57:17 -04:00
Deluan 86a9f9e410 Show album info on hover 2020-05-30 19:42:08 -04:00
Deluan 14d7a69088 Fix context menu "display on hover" in playlists 2020-05-30 11:18:01 -04:00
Deluan 35e4eec293 Add album to playlist 2020-05-30 11:17:33 -04:00
Deluan fbedbb7893 Fix context menu on mobile, removed console warnings 2020-05-29 22:50:33 -04:00
Deluan a7640c9df4 Optimized call to retrieve album songs 2020-05-29 17:34:54 -04:00
Deluan 8f8d992da4 Only add to playlist songs from selected discNumber (if present) 2020-05-29 16:42:13 -04:00
Deluan 3fe8b02cbd Make album context menu only visible on hover 2020-05-29 12:33:50 -04:00
Deluan ba8c8725dd Refactor: move multiDisc detection logic to SongDatagrid 2020-05-29 12:20:17 -04:00
Deluan 915b701e44 Add context menu to individual discs in a set 2020-05-29 12:08:07 -04:00
Deluan 596100b58d Refactor: improve readability 2020-05-29 11:21:53 -04:00
Deluan 7b36096153 Fix class of disc subtitle row 2020-05-28 09:25:53 -04:00
Deluan 62290bca77 Remove extra `,` 2020-05-28 08:16:31 -04:00
Deluan 498e196d48 Allow playing one disc of a set, by clicking on its number/name 2020-05-27 21:07:51 -04:00
Deluan 26dba27778 Always show song context menu on tablets 2020-05-26 22:02:15 -04:00
Deluan 7170485d08 Rename property 2020-05-26 17:59:04 -04:00
Deluan 2c68ba3934 only show playlist tracks' context menu on hover 2020-05-26 16:18:28 -04:00
Deluan f9dae2dd2a Added individual AddToPlaylistDialogs to each list view 2020-05-25 22:51:31 -04:00
Deluan 00811f8000 Cancel the dialog when clicking the backdrop 2020-05-25 22:51:31 -04:00
Deluan 9c940cd44f Show AutomcompleteInput even if the list of playlists is not loaded yet 2020-05-25 22:51:31 -04:00
Deluan 1607dc8b88 Remove unused dependency 2020-05-25 22:51:31 -04:00
Deluan a42a16696e Translate messages 2020-05-25 22:51:31 -04:00
Deluan 6db63e4dfc Use creatable autocomplete, to select or create a new playlist 2020-05-25 22:51:31 -04:00
Deluan 23bd5e1131 First version of dialog 2020-05-25 22:51:31 -04:00
Deluan 8973477fe5 npm audit fix 2020-05-25 21:43:50 -04:00
Deluan 72cb3850d1 Update React Admin to 3.5.3 2020-05-24 23:32:36 -04:00
Deluan a6cc88177c Fix "starred" sorting 2020-05-24 12:49:32 -04:00
Deluan cac1a20ec8 Use a ☆ instead of the word "starred" 2020-05-24 12:14:45 -04:00
Deluan ac8f92d7ac Fix ContextMenu column label 2020-05-24 12:14:44 -04:00
Deluan 3ae1586e10 Add "No playlists available" to context menu 2020-05-24 11:27:17 -04:00
Deluan 5c46f7822f Better disc subtitle 2020-05-23 15:33:29 -04:00
Deluan c13766bbc3 More optimization for small screens 2020-05-23 14:11:39 -04:00
Deluan 290e8c4bf0 Make Starred into a "QuickFilter" 2020-05-23 13:25:30 -04:00
Deluan 442671578d Fix warning in JS console (wrong property type) 2020-05-23 12:49:39 -04:00
Deluan 55ad5c9fc9 Remove unused import, fix build 2020-05-22 23:33:40 -04:00
Deluan ec0002e77a Add a sortable Starred column and a Starred filter to Song List 2020-05-22 23:10:58 -04:00
Deluan 3632608de0 Replace `child.type.name`, as it is not available in the production build 2020-05-22 22:23:00 -04:00
Deluan 0a3e6c66c1 Alwasy show context menu on mobile views 2020-05-22 21:47:48 -04:00
Deluan 52a46e61e0 Remove duplication 2020-05-22 21:31:45 -04:00
Deluan de2759b3d5 Fix react key conflic 2020-05-22 20:48:49 -04:00
Deluan 978e7f2eaa Only show SongContextMenu on hover 2020-05-22 20:15:58 -04:00
Deluan 6f6b223453 Disable ToggleStar on playlist tracks 2020-05-22 15:45:03 -04:00
Deluan 8a68cecdb9 Add ToggleStar to SongContextMenu (WIP) 2020-05-22 15:23:42 -04:00
Deluan 0e4f7036eb Make playlist songs look better in mobile 2020-05-18 18:00:55 -04:00
Deluan f28531b609 Add album name to song details 2020-05-18 13:32:12 -04:00
Deluan 14f3ffbee6 Allow sorting playlist tracks 2020-05-18 13:21:47 -04:00
Deluan 94e1b1f65d Add context menu to playlist songs 2020-05-18 13:05:54 -04:00
Deluan 84ea852339 Prettier 2020-05-18 12:19:01 -04:00
Deluan cf019849f0 Add missing translation key 2020-05-18 12:15:46 -04:00
Deluan 76a5d1928e Fix some JS warnings 2020-05-18 12:12:04 -04:00
Deluan 3dced978c7 Add button to edit playlist details 2020-05-18 12:12:04 -04:00
Deluan 05a07f31c9 Bump react-music-player version 2020-05-18 10:14:50 -04:00
Deluan 1afbbbf189 Add SongContextMenu to Album Songs 2020-05-17 20:57:38 -04:00
Deluan 308163c2e0 Add "AddToPlaylist" to AlbumContextMenu 2020-05-17 20:30:05 -04:00
Deluan 1aef21a4a9 Update translations for playlists 2020-05-17 10:23:46 -04:00
Deluan a734a1aaa3 Add filter by name to Playlist list 2020-05-16 19:14:19 -04:00
Deluan bf1dc33782 Add option to shuffle playlist 2020-05-16 19:11:52 -04:00
Deluan c43798c5dd Filter out songs not in the playlist 2020-05-16 19:02:33 -04:00
Deluan 12cf2f1104 Remove tracks from playlist 2020-05-16 18:35:34 -04:00
Deluan 5c95eed517 Rename actions 2020-05-16 18:35:34 -04:00
Deluan e81a9dd1b5 Add tracks to playlist 2020-05-16 18:35:34 -04:00
Deluan fd49ae319f Add Playlist action 2020-05-16 18:35:34 -04:00
Deluan f881e2a54b Add option to enable (experimental) playlists in UI 2020-05-16 18:35:34 -04:00
Deluan 0ca79eead4 Show Playlist tracks 2020-05-16 18:35:34 -04:00
Deluan 8a709c489a Add playlist views 2020-05-16 18:35:34 -04:00
Deluan b1f5d35f73 Fix DurationField breaking when the record does not have the source field 2020-05-16 18:35:34 -04:00
Deluan ab690215ef Make Playlist's songCount sortable 2020-05-16 18:35:34 -04:00
Deluan 5afcd0ad22 Make field names camelCase 2020-05-16 18:35:34 -04:00
Deluan fec589dce5 Add playlist list 2020-05-16 18:35:34 -04:00
Deluan 8e2480a82d Fix duration (in web player) when playing transcoded files. Thanks @lijinke666
See: https://github.com/lijinke666/react-music-player/issues/90
2020-05-16 13:24:25 -04:00
Deluan 50eda78ca1 Revert "Save perPage selection in localstorage"
This reverts commit 9490374faa.
2020-05-15 11:04:48 -04:00
Deluan b3af0f880b Use a custom List component 2020-05-15 11:03:59 -04:00
Deluan 9490374faa Save perPage selection in localstorage 2020-05-14 23:05:14 -04:00
Deluan a340b62fdf Link to artist from album list 2020-05-14 20:42:21 -04:00
Deluan 0d1af8c635 Fix potential null reference exception 2020-05-14 19:01:07 -04:00
Deluan 162971f7b3 Remove console.log 2020-05-12 14:48:22 -04:00
Deluan 1e5c879fc6 Extract disc subtitle strings for translation 2020-05-12 14:13:34 -04:00
Deluan e369cbf493 Disable album songs sorting 2020-05-12 13:47:59 -04:00
Deluan a88270a22b Add multidisc labels, even if there are no disc subtitles 2020-05-12 13:14:23 -04:00
Deluan 4355f4fe2d Show disc subtitles (if available) 2020-05-12 12:57:53 -04:00
Deluan 0d9361734f Import and display disc subtitles 2020-05-12 12:57:53 -04:00
Deluan 09267d2ffd Don't skip to the next song when there is an streaming error 2020-05-09 15:56:12 -04:00
Deluan 70047fe20e Add `songCount` column to Artist table 2020-05-08 10:05:48 -04:00
Deluan 06ab88415a Refactor album actions, simplify usage 2020-05-07 11:24:28 -04:00
Deluan 0472988645 Fix next track not working after adding to queue 2020-05-07 00:28:32 -04:00
Deluan 7e0881f0ec Play the remainder of the album when clicking on a album's song 2020-05-06 16:02:31 -04:00
Deluan f8fb4c8f54 Make the borders of the AlbumSongs round 2020-05-06 08:44:25 -04:00
Deluan ddcacbb6e5 Fix covers overflow in some resolutions 2020-05-06 08:44:10 -04:00
Deluan Quintão 2e31b4d046
Update translations (#264)
* Update it.json (POEditor.com)

* Update de.json (POEditor.com)

* Update pt.json (POEditor.com)

* Add Czech translation

* Update fr.json (POEditor.com)

* Update nl.json (POEditor.com)

* Update cs.json (POEditor.com)

* Update English translation

* Update it.json (POEditor.com)
2020-05-05 18:32:22 -04:00
Deluan 29e2ab1b4a Set default view to Album list 2020-05-05 15:44:05 -04:00
Deluan 8880294ee7 Change default album view mode to Grid 2020-05-05 15:34:31 -04:00
Deluan a8d3466b0e Unselect album songs after clicking on bulk "Play Later" button 2020-05-05 15:08:30 -04:00
Deluan 0ee000a8a0 Resolve TODO (workaround is necessary) 2020-05-05 12:35:50 -04:00
Deluan 0833d87f94 Add "Play Later" action to AlbumContextMenu 2020-05-05 12:20:41 -04:00
Deluan 23836d7c3c Change `addTrack` action to `addTracks`, supporting multiple tracks to be added to the queue in one call 2020-05-05 12:07:50 -04:00
Deluan 5495451448 Use only one call to the server when adding songs to the queue
Also show a message when there's an error communication with the server
2020-05-05 11:19:41 -04:00
Deluan 2f4d4c6e38 Add missing translation terms 2020-05-04 20:27:09 -04:00
Deluan 17e51756ef Removed dependencies for ra language files 2020-05-02 22:30:55 -04:00
Deluan 151f43b95f Refactor i18n functions a bit 2020-05-02 17:44:24 -04:00