Steve Richter
0d35148152
Check for window.isSecureContext when determining Notification support
2020-12-28 20:46:11 -05:00
lbonn
15b289201a
Fall back to media file path when sorting
...
If files cannot be sorted by disc and track id, try by artist then
title.
One use case is a loose compilation of files with same album, album
artist, and no track numbers. File order was then undetermined, in
practice depended on insertion order in the database.
2020-12-25 12:37:16 -05:00
Deluan
cd1c693a23
Remove superfluous argument
2020-12-24 10:39:10 -05:00
Deluan
dab83c4f6a
Disambiguate tracks by AlbumArtist when sorting by album
2020-12-23 11:38:40 -05:00
Deluan
1804fb3e50
Fix duration formatting, add days and don't show 60 seconds
2020-12-20 13:29:09 -05:00
Deluan
4b38a13243
Make event handlers naming consistent (camelCase)
2020-12-20 13:28:11 -05:00
Deluan
ea09629803
Fix another possible race condition
2020-12-13 20:17:20 -05:00
Deluan
f2fd7ed016
Fix race condition that could cause multiple EventSource connections from the same client
2020-12-13 14:44:57 -05:00
Deluan
f86bc070de
Don't break on login when activity panel is disabled
2020-12-13 12:16:02 -05:00
Deluan
7bd31da0d5
Fix console warning about required property
2020-11-29 20:31:07 -05:00
Deluan
975579ab26
Add option for player to report real paths in Subsonic API. Closes #625
2020-11-28 10:25:23 -05:00
Deluan
7becc18da9
Don't explode when record is not loaded yet
2020-11-28 09:44:07 -05:00
Deluan
4ca98fb827
Add hotkey s to toggle star.
...
Refers to #585
2020-11-28 00:52:38 -05:00
Deluan
aae66cfcf0
Always show context menu if not in desktop
2020-11-27 23:52:23 -05:00
Deluan
2010fcf4ca
Remove possible undefined error
2020-11-27 18:53:25 -05:00
Deluan
2ffb28fc2d
Replace classnames with clsx
2020-11-27 18:27:32 -05:00
Deluan
0b729e1cf9
Hide star completely if in Playlist view
2020-11-27 16:24:22 -05:00
Deluan
ab856e3dd1
Wrap comment text. Fixes #637
2020-11-27 16:02:02 -05:00
Deluan
90c407b7f6
Also use PureDatagridRow to speed up SongDatagrid
2020-11-27 14:24:22 -05:00
Deluan
f7d1b80b69
Simplify AudioTitle on mobile view
2020-11-27 13:30:51 -05:00
Deluan
2b95422e88
Make "star" column aligned with context menu in Album List view
2020-11-27 13:13:51 -05:00
Deluan
7d075b1882
Make SongDatagrid faster by using PureDatagridBody
2020-11-27 13:13:51 -05:00
Deluan
0e9b0d466c
Hide row when reordering playlist
2020-11-27 13:13:51 -05:00
Deluan
e5c7819586
Fix playlists
2020-11-27 13:13:51 -05:00
Deluan
a42fb024be
Fix song context menu "on hover" visibility
2020-11-27 13:13:51 -05:00
Deluan
f5808288ab
Fix Album View
2020-11-27 13:13:51 -05:00
Deluan
3209430ebd
Fix artists
2020-11-27 13:13:51 -05:00
Deluan
9064697123
Remove stray console.log
2020-11-27 13:13:51 -05:00
Deluan
b6c578e3a2
Change format of events sent by server, leveraging event type and id
2020-11-25 20:46:21 -05:00
Deluan
31d6508b1d
Remove reactjkplayer's audioTitle, as it is not used and only causes warnings in the console
2020-11-25 15:37:10 -05:00
Steve Richter
bc72f41180
Adjust AudioTitle in Player
...
- Show info on 2 lines
- Show album
2020-11-25 15:37:10 -05:00
Deluan
63171368ed
Disable Activity Panel by default.
...
You'll need to set `DevActivityPanel` (or `ND_DEVACTIVITYPANEL`) to `true` to re-enable it
2020-11-25 15:29:46 -05:00
Deluan
5137407377
Add "keepalive" resource. It was causing issues in Firefox when using the dataProvider
2020-11-23 21:28:09 -05:00
Deluan
a89afb5fcf
Fix aspect ratio in Album show view
2020-11-22 15:03:41 -05:00
Jason Walton
69b2fe92f5
Fix aspect ratio for non-square album art.
2020-11-22 15:03:41 -05:00
Deluan
a288e7e858
Allow the NotificationToggle to be in sync with the selected option in the browser
2020-11-21 02:03:54 -05:00
Steve Richter
14525cd056
Fix formatting
2020-11-21 02:03:54 -05:00
Steve Richter
2397a7e464
Add Desktop Notifications
2020-11-21 02:03:54 -05:00
Steve Richter
b8d47d1db4
Fix default getPerPage for 'md' widths
2020-11-21 01:34:36 -05:00
Deluan
3e8bee4f65
Make eventStream connection/reconnection more reliable
...
Also more logs on the server
2020-11-20 20:27:30 -05:00
Deluan
c8c95bfb47
Remove React console warning
2020-11-20 19:59:54 -05:00
Deluan
666b058ce4
Request album covers when DevFastAccessCoverArt is true
2020-11-18 16:59:06 -05:00
Deluan
af4609727c
Goto album page when clicking on player's album cover
2020-11-17 10:33:53 -05:00
Deluan
1ee39835dd
Retry connecting to the events endpoint more frequently on first load
2020-11-16 15:38:03 -05:00
Deluan
a1dcb9a4e3
Show folders scanned instead of files scanned
2020-11-16 00:36:12 -05:00
Deluan
be715c3696
Disable scan buttons when there's a scan in progress
2020-11-15 23:13:59 -05:00
Deluan
fddded3260
Move star to end of album title. Use flex for album details
2020-11-15 22:00:40 -05:00
Deluan
8b2a550368
Fix test
2020-11-14 00:25:25 -05:00
Deluan
b0ea517fdd
Add Album comment to Album details
2020-11-14 00:13:43 -05:00
Deluan
08f96639f4
Add Uptime to Activity Panel
2020-11-13 20:09:23 -05:00
Deluan
df86a8153e
New translated terms
2020-11-13 12:51:32 -05:00
Deluan
b38be69b14
Make AppBar back to original height
2020-11-13 10:14:01 -05:00
Deluan
48e0d2c99e
Trunc long names
2020-11-13 09:33:56 -05:00
Deluan
3dac9ae666
Fix linting error
2020-11-13 00:44:26 -05:00
Deluan
9d7995fd4d
Redesign UserMenu, now with support for Gravatar
2020-11-13 00:40:30 -05:00
Deluan
153cf8f5af
Don't display "Comment" field in details if it is empty
2020-11-12 22:01:59 -05:00
Deluan
b3f373cdb4
Better Activity panel layout
2020-11-12 21:57:28 -05:00
Deluan
08399c4854
Fix some JS console errors
2020-11-12 20:51:26 -05:00
Deluan
25db696c06
Detect different discs, even when missing the first track of the disc. Fix #620 .
2020-11-12 20:33:20 -05:00
Deluan
bdad927f11
Fix color of activity icon on light themes
2020-11-12 18:19:54 -05:00
Deluan
b1a9dfee13
Replace <hr/> with Material-UI's <Divider/>
2020-11-12 17:08:20 -05:00
Deluan
c09ba509b2
Fine tune scan status behaviour
2020-11-12 16:12:31 -05:00
Deluan
5111cf8c33
Display comments in SongDetails and AlbumList's details
2020-11-11 11:58:03 -05:00
Deluan
99d454d8b0
Fix import
2020-11-10 20:51:43 -05:00
Deluan
11012302fd
Add tests for formatters
2020-11-10 20:45:04 -05:00
Deluan
9d2426a601
Use a better notation for exporting JS components and functions
2020-11-10 19:27:28 -05:00
Deluan
8a44f61189
Fix setting up Event Stream message handler on first login
2020-11-10 16:53:09 -05:00
Deluan
7afad2c96e
Fix download single track from Playlist
2020-11-10 16:24:34 -05:00
Deluan
08e63c867b
Add config option to globally enable/disable downloads
2020-11-10 16:14:43 -05:00
Deluan
84080a0e44
Hide activity menu from non-admin users
2020-11-09 16:12:50 -05:00
Deluan
1b624b2505
Do not create the EventStream if unauthenticated
2020-11-09 16:12:50 -05:00
Deluan
a2e76d6898
Add flag to enable activity menu
2020-11-09 16:12:50 -05:00
Deluan
56803d0151
Auto-reconnect to event stream after 20secs timeout
2020-11-09 16:12:50 -05:00
Deluan
2b1a5f579a
Adding a communication channel between server and clients using SSE
2020-11-09 16:12:50 -05:00
Deluan
3fc81638c7
Moved all reducers and actions to their own folders
2020-11-08 13:19:38 -05:00
Deluan
24b040adf9
Add more keyboard shortcuts
...
- : volume down
= : volume up
m : toggle sidebar menu
Refers to #585
2020-11-07 23:11:57 -05:00
Deluan
8d608ac5b2
Faster display of cover in album detail view
2020-11-07 22:45:04 -05:00
Deluan
02160465a5
Remove unused file
2020-11-07 12:46:52 -05:00
Deluan
6542842938
Make sure we don't get durations with decimals
2020-11-05 18:27:46 -05:00
Deluan
9224a67a7b
Add <- and -> hotkeys, to jump to previous or next song
...
Refers to #585
2020-11-05 17:38:53 -05:00
Deluan
873cea4046
Fix "Something went wrong" error when deleting a playlist
2020-11-05 14:06:21 -05:00
JorisL
0b977df8dd
Fixed duration formatter to properly count lengths longer than 24 hours ( #612 )
...
* Fixed durationfield formatter to properly count lengths longer than
24 hours.
* formatted DurationField.js with npm prettier
2020-11-05 14:02:09 -05:00
Deluan
c9b119f0a4
Make scrobble submits compatible with Last.FM specification
...
See https://github.com/deluan/navidrome/issues/18#issuecomment-656977060
2020-11-04 23:51:48 -05:00
Deluan
861c742b3e
Move notifications to the top
...
This avoids notifications getting covered by the player
2020-11-04 19:29:55 -05:00
Deluan
94f28f6216
Generate a better salt for Subsonic token authentication
2020-11-03 15:13:40 -05:00
Deluan
fd1604b1d2
Add user's name to UserMenu
2020-11-02 17:13:12 -05:00
Deluan
7f7b0c1f0d
Move Settings options to UserMenu
2020-11-02 16:57:21 -05:00
Deluan
6b89679e08
Remove hardcoded color
2020-10-31 19:40:25 -04:00
Deluan
3535fba9dd
Fix BulkActions contrast once and for all(?)
2020-10-31 18:46:14 -04:00
Deluan
488db26675
Improve bulk actions color contrast
2020-10-31 11:05:33 -04:00
Deluan
1f842b08e2
Remove duplicated code for SongBulkActions
2020-10-31 10:46:38 -04:00
Deluan
aabef62b11
Add "PlayNow" button to bulk actions
2020-10-31 10:14:12 -04:00
Deluan
6ccdc2e068
Fine tune colors, remove PlayButton from AlbumDetail
2020-10-30 19:39:47 -04:00
Chris Newton
6da2f1ba92
feat: ran prettier over changes
2020-10-30 19:39:47 -04:00
Chris Newton
28bcd3f99e
feat: fixed linting error
2020-10-30 19:39:47 -04:00
Chris Newton
1076dda011
feat: changed hvoer state for album list, added play icon to album details
2020-10-30 19:39:47 -04:00
Chris Newton
e30704fe0f
feat: altered grid layout to be more like itunes
2020-10-30 19:39:47 -04:00
Deluan
0ff89679ba
Use new renderAudioTitle (to avoid the [Object object] song title on iOS)
2020-10-13 11:20:30 -04:00
Deluan
2f8dc794de
Add and show Playlists sizes
2020-10-12 22:31:01 -04:00
Deluan
68a9be5e86
Add Artist (discography) size, and show sizes in Download caption
2020-10-12 22:31:01 -04:00
Jay R. Wren
fd6edf967f
Add size to album details ( #561 )
...
* add size to album details
for #534
* addressing review comments:
* create index album(size)
* remove unneeded Size field from refresh struct
* add whitespace to album details
* add size to album list view
* prettier
2020-10-12 11:10:07 -04:00
Deluan
edc9344327
Only link from current playing song title to album view if not in iOS.
...
Ideally the react-player should accept a Link as the audioTitle
2020-10-11 15:04:15 -04:00
Deluan
35f748e0fb
Use logo on signup page
2020-10-04 18:29:46 -04:00
Deluan
38c1999fcd
Use logo on login page. Closes #247
2020-10-04 11:47:25 -04:00
Deluan
abd51b2156
Use Subsonic API to star/unstar
...
This removes the need to update the annotations on Put(model), removing complexity and making it less buggy
2020-10-03 20:08:51 -04:00
Deluan
2d036b5966
Small refactoring, simplify function
2020-10-02 22:36:46 -04:00
Deluan
1be79fa945
Reload translations when reloading the app
2020-10-02 14:28:55 -04:00
Deluan Quintão
13f08d3eae
Update translations ( #543 )
...
* Update zn.json (POEditor.com)
* Update cs.json (POEditor.com)
* Update nl.json (POEditor.com)
* Update fr.json (POEditor.com)
* Update de.json (POEditor.com)
* Update it.json (POEditor.com)
* Update ja.json (POEditor.com)
* Update pl.json (POEditor.com)
* Update pt.json (POEditor.com)
* Update tr.json (POEditor.com)
* Update es.json (POEditor.com)
* Fix translations
2020-10-02 12:18:00 -04:00
Deluan
52d8aaa865
Add about dialog, with version and helpful links
2020-10-02 12:03:19 -04:00
Deluan
deef8e162d
Hide the player when queue is empty, instead of removing it from the DOM
2020-10-01 13:40:44 -04:00
Deluan
b18e3289fb
Add StarButton to player
2020-10-01 13:40:44 -04:00
certuna
4d60f72b7e
Update index.js
...
registers the default serverworker, required to be installable on desktop as a PWA - as far as I can test, it doesn't seem to break anything
2020-10-01 12:12:18 -04:00
Deluan
ca283f45ea
Update serviceWorker to the latest from create-react-app
2020-09-29 17:10:06 -04:00
Deluan
377d8f6b87
Fix continuous loop when showing an album or playlist
2020-09-29 16:29:34 -04:00
Deluan
39c94d3cd9
Play/Pause current song with <Space> key
2020-09-28 19:05:19 -04:00
Deluan
a65318a00a
Fix 'Play Next' icon in AlbumSongBulkActions
2020-09-27 12:50:58 -04:00
Deluan
ab0e091736
Fix link to Artist's albums in mobile view
2020-09-25 16:48:31 -04:00
Deluan
e6d1e67297
Add more padding tertiary info and the star icon, in Mobile simple list views. Fixes #466
2020-09-24 21:29:26 -04:00
Deluan
27adb84177
Add "Close" icon to player
2020-09-24 13:34:17 -04:00
Deluan
cff5c1ee53
Start player in pause mode if windows is reloaded/refreshed. Fixes #457
2020-09-24 11:12:47 -04:00
Deluan
fd32a28788
Fix JS linting error
2020-09-24 09:58:01 -04:00
Deluan Quintão
96b94106e6
Update en.json (POEditor.com)
2020-09-24 09:49:42 -04:00
Deluan
a1c670b40d
Start player in pause mode if windows is reloaded/refreshed. Fixes #457
2020-09-24 09:40:04 -04:00
Deluan
7305e3aa17
Add "Play Next" action (finally)
2020-09-21 20:10:52 -04:00
Deluan
94fd0a10b5
Fix titles in Playlist create/edit views
2020-09-14 19:56:05 -04:00
Deluan
ba30f7f8be
Fix label for items per page (not always rows)
2020-09-08 14:55:41 -04:00
Deluan
34af6fc671
Clean up code a bit
2020-09-06 11:54:30 -04:00
Deluan
a25044bdf6
Reorder action buttons
2020-09-06 11:44:15 -04:00
Anders Moberg
30e98843ed
Adding playlist button to Album Actions
2020-09-06 11:35:33 -04:00
Anders Moberg
8fe335ed97
Adding playlist button to Playlist actions
2020-09-06 11:35:33 -04:00
Deluan
8549451ee7
Fix potential undefined property
...
Not sure the reason, but I got this error:
```
Cannot read property 'id' of undefined
at tn (SongTitleField.js:35)
at Ka (react-dom.production.min.js:153)
at vl (react-dom.production.min.js:261)
at sc (react-dom.production.min.js:246)
at lc (react-dom.production.min.js:246)
```
2020-09-02 12:41:21 -04:00
Deluan
0eae6d2a61
Hide "star" from disc subtitle rows
2020-08-25 22:48:05 -04:00
Deluan
f6982fd8ae
Remove unused prop
2020-08-25 19:07:51 -04:00
Deluan
b364170d4f
Remove duplicated star code from SongContextMenu
2020-08-24 19:51:41 -04:00
Deluan
0aceda9b89
Add star button to album detail view
2020-08-22 23:41:25 -04:00
Deluan
9df405a8ce
Add export as m3u button to playlist
2020-08-22 13:23:50 -04:00
Deluan
8fa5544af7
Add option to download playlist
2020-08-21 13:28:20 -04:00
Deluan
073e40dc87
Add album cover lightbox
2020-08-21 12:41:23 -04:00
Deluan
45e708f591
Loosen up constraints for email. Fixes #362
2020-08-19 12:22:41 -04:00
Deluan
f3d8222ddb
Fix color of star in Album grid when using Light theme
2020-08-19 11:12:12 -04:00
Deluan
c83808a445
Revert "Use outlined Material-UI variant for login inputs as well"
...
This reverts commit c23e5c291c .
2020-08-18 09:58:09 -04:00
Deluan
c23e5c291c
Use outlined Material-UI variant for login inputs as well
2020-08-17 16:10:49 -04:00
Deluan
bd1c3d9229
Use outlined Material-UI variant for all inputs
2020-08-17 11:19:39 -04:00
Deluan
a2e0acd6a2
Fix starring albums. Seems I may have lost a commit?
2020-08-15 15:03:03 -04:00
Deluan
147d26fb75
Enable sort by "starred" in Album and Artist lists
2020-08-14 15:35:15 -04:00
Deluan
848318932d
Remove unused import
2020-08-14 14:47:54 -04:00
Deluan
49153dc1c1
Add playCount to artist list
2020-08-14 14:35:00 -04:00
Deluan
ca5da5b0ea
Use active filters when shuffling songs
2020-08-14 14:10:39 -04:00
Deluan
c2e03c8162
Add stars to Albums
2020-08-14 13:35:28 -04:00
Deluan
f2ebbd26fa
Add stars to Artist
2020-08-14 13:19:32 -04:00
Deluan
bbc4f9f91f
Add artist context menu
2020-08-14 12:55:22 -04:00
Deluan
6fe1f84c68
Add download for songs
2020-08-14 12:11:35 -04:00
Deluan
0730c667a2
Add "Shuffle All" option to Song List. Closes #256
2020-08-07 10:47:55 -04:00
Deluan
883dd7f728
Use Outlined download icon
...
Also remove dangling console.log
2020-08-05 15:25:59 -04:00
Deluan
38c19eddc3
Add 'download' option to album context menu
2020-08-05 14:57:59 -04:00
Deluan
aaec8e080b
Remove unused code
2020-08-02 11:16:46 -04:00
Deluan
3383327c51
Show year range over the album art when in "artist view" mode
2020-07-29 22:34:33 -04:00
Deluan
ef0e5b130d
Add a xl breakpoint to the album grid
2020-07-29 15:42:03 -04:00
Deluan
3092f83a00
Add option to select default album view
2020-07-29 15:34:48 -04:00
Deluan
8daac43e99
Add list type to album list view title
2020-07-29 15:34:48 -04:00
Deluan
d5da23ae42
Redirect from plain /album path to a default album list
2020-07-29 15:34:48 -04:00
Deluan
db8a48bba6
Implement album lists
2020-07-29 15:34:48 -04:00
Deluan
c322253fde
Upgrade react-player to 4.16.3
2020-07-21 13:06:33 -04:00
Deluan
41138bd665
Only show auto-import info for auto-imported playlists
2020-07-18 01:03:44 -04:00
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
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
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