Deluan Quintão
fcdd30ba8f
build(ui): migrate from CRA/Jest to Vite/Vitest ( #3311 )
...
* feat: create vite project
* feat: it's alive!
* feat: `make dev` working!
* feat: replace custom serviceWorker with vite plugin
* test: replace Jest with Vitest
* fix: run prettier
* fix: skip eslint for now.
* chore: remove ui.old folder
* refactor: replace lodash.pick with simple destructuring
* fix: eslint errors (wip)
* fix: eslint errors (wip)
* fix: display-name eslint errors (wip)
* fix: no-console eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: build
* fix: pwa manifest
* refactor: pwa manifest
* refactor: simplify PORT configuration
* refactor: rename simple JS files
* test: cover playlistUtils
* fix: react-image-lightbox
* feat(ui): add sourcemaps to help debug issues
2024-09-28 11:54:36 -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
b520d8827a
Add download button in the SharePlayer
2023-03-10 23:33:29 -05:00
Deluan
68e6115789
Rename DevEnableShare to EnableSharing
2023-01-29 20:33:10 -05:00
Deluan
051e9c556d
Use redux for ShareDialog
2023-01-24 18:36:47 -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
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
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
Kendall Garner
54395e7e6a
Enable transcoding of downlods ( #1667 )
...
* feat(download): Enable transcoding of downlods - #573
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* feat(download): Make automatic transcoding of downloads optional
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* Fix spelling
* address changes
* prettier
* fix config
* use previous name
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2022-12-18 12:12:37 -05:00
Deluan
69615f1aa1
Trying to fix multiple EventStream connections, one more time
2021-12-02 10:49:32 -05:00
Deluan
9892524ab8
Connect eventStream after login
2021-11-29 18:49:29 -05:00
Deluan
9fe978953c
Try to avoid creating multiple eventStreams
2021-11-29 17:47:34 -05:00
Steve Richter
a56d5bc850
Listenbrainz scrobbling ( #1424 )
...
* Refactor session_keys to its own package
* Adjust play_tracker
- Don't send external NowPlaying/Scrobble for tracks with unknown artist
- Continue to the next agent on error
* Implement ListenBrainz Agent and Auth Router
* Implement frontend for ListenBrainz linking
* Update listenBrainzRequest
- Don't marshal Player to json
- Rename Track to Title
* Return ErrRetryLater on ListenBrainz server errors
* Add tests for listenBrainzAgent
* Add tests for ListenBrainz Client
* Adjust ListenBrainzTokenDialog to handle errors better
* Refactor listenbrainz.formatListen and listenBrainzRequest structs
* Refactor agent auth_routers
* Refactor session_keys to agents package
* Add test for listenBrainzResponse
* Add tests for ListenBrainz auth_router
* Update ListenBrainzTokenDialog and auth_router
* Adjust player scrobble toggle
2021-10-30 12:17:42 -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
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
20b7e5c49b
Add Genre filters to UI
2021-07-20 17:45:08 -04:00
Deluan
ace5c905eb
Made the Player behaviour more consistent
2021-07-02 23:36:33 -04:00
Deluan
a1551074bb
Add a hacky way to style the react-player.
2021-06-25 18:19:57 -04:00
Deluan
da2334e10c
Remove submenu "Library". Relates to #430
2021-06-25 00:01:38 -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
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
a35de2bfd1
Allow regular users to change their info, including password.
...
Should fix #199
2021-04-28 22:35:25 -04:00
Deluan
a168f46b95
Better hotkey organization
2021-02-03 18:29:33 -05:00
Deluan
f325907da4
Upgrade react-admin to 3.12.0
2021-01-31 18:50:27 -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
Steve Richter
2397a7e464
Add Desktop Notifications
2020-11-21 02:03:54 -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
08f96639f4
Add Uptime to Activity Panel
2020-11-13 20:09:23 -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
db8a48bba6
Implement album lists
2020-07-29 15:34:48 -04:00
Deluan
1cc03fdd8c
Add initial support for Google Analytics
2020-07-03 13:51:31 -04:00
Deluan
804d969427
Clear play queue on login and logout
2020-06-19 11:32:23 -04:00
Deluan
c742ae0843
Remove unused feature toggles
2020-06-11 22:11:59 -04:00
Deluan
f9dae2dd2a
Added individual AddToPlaylistDialogs to each list view
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
f881e2a54b
Add option to enable (experimental) playlists in UI
2020-05-16 18:35:34 -04:00
Deluan
8a709c489a
Add playlist views
2020-05-16 18:35:34 -04:00
Deluan
fec589dce5
Add playlist list
2020-05-16 18:35:34 -04:00
Deluan
29e2ab1b4a
Set default view to Album list
2020-05-05 15:44:05 -04:00
Deluan
151f43b95f
Refactor i18n functions a bit
2020-05-02 17:44:24 -04:00
Deluan
41cf99541d
Move translations to server
2020-05-02 14:19:01 -04:00
Deluan
ebc7964157
Fix formatting
2020-04-26 15:07:36 -04:00