Commit Graph

1093 Commits

Author SHA1 Message Date
Deluan b9f601dfb4 Remove unused import 2020-04-09 18:31:37 -04:00
Deluan 5b488b72b1 Add a custom AlbumSongs list component, to disable the optimistic rendering (should fix #158) 2020-04-09 18:28:47 -04:00
Deluan 5412bb2dc8 Fine tune album grid for mobile view 2020-04-09 09:53:53 -04:00
Deluan d38f8544d5 Remove unused localStorage config 2020-04-08 13:20:02 -04:00
Deluan 089a92157f Pass version to UI through AppConfig, instead of login payload.master
This makes the version info updated with a browser refresh (no need to logout and login again)
2020-04-08 11:00:30 -04:00
Deluan a0f389fc3e Consolidate UI configuration in one place, allowing it to be overridden from the server 2020-04-08 09:07:15 -04:00
Deluan d0188db4f9 Fine tune album grid 2020-04-07 21:25:06 -04:00
Deluan f537984bbf Use `trackId` instead of simply `id`, as it seems to conflict with internal id generated by the player. fixes #153 2020-04-07 11:55:45 -04:00
Deluan c1afe70d98 Fix: also pass the custom authorization header in all requests 2020-04-06 16:23:47 -04:00
Deluan 3f9ddb915e Use a custom authorization header, to avoid conflicts with proxies using basic auth (fixes #146) 2020-04-06 16:03:20 -04:00
Deluan 656ca1f3b5 Fix colour of album actions 2020-04-03 22:35:55 -04:00
Deluan b8f7715a74 Fix ReactAdmin console warnings 2020-04-03 21:03:34 -04:00
Deluan 096ed396c8 Add link to all artist's albums from an album 2020-04-03 20:51:15 -04:00
Deluan 75cd21da1f Add BaseURL configuration (fixes #103) 2020-04-03 19:05:38 -04:00
Deluan 40638688b2 Remove React warnings by omit properties not used downstream 2020-04-02 19:58:34 -04:00
Deluan ea22b2fc6d Bump react-admin to 3.3.3 2020-04-02 19:47:10 -04:00
Deluan 14f7c5610e Bump @testing-library/jest-dom, @testing-library/user-event and react-dom 2020-04-02 19:31:49 -04:00
Deluan 27579b99a3 Removed album list selection, for now 2020-04-02 19:20:39 -04:00
Deluan c58021e645 Make Personal settings form more consistent with the rest of the App 2020-04-02 18:46:09 -04:00
Deluan 1810cc7ac7 Simplify album lists tabs handling 2020-04-02 18:18:52 -04:00
Deluan 86f73eecca Only add padding to layout if the player is visible 2020-04-02 18:09:02 -04:00
Deluan 670be29d7b Revert "Pause the player with <space>"
This reverts commit 6e6cfdd0
2020-04-02 16:52:46 -04:00
jvoisin 6e6cfdd02b Pause the player with <space> 2020-04-01 17:14:09 -04:00
Deluan a35636999d feat: fine tune album art image size. better, but still not ideal 2020-04-01 09:09:51 -04:00
Deluan 13a3d38e4f fix: Personal view title and menu tooltip 2020-03-31 21:40:06 -04:00
Deluan 9f00fb0f05 feat: move Configuration menu to Personal settings 2020-03-31 21:28:50 -04:00
Deluan Quintão c6d1cfeceb
docs: update theme's README 2020-03-31 20:07:11 -04:00
Deluan de43c27b3c docs: basic documentation on creating themes.
#129
2020-03-31 19:54:38 -04:00
Deluan 747b5ea25e refactor: rename theme `name` attribute to `themeName` 2020-03-31 19:36:45 -04:00
Deluan dd2e98fca2 feat: make theme select input longer 2020-03-31 18:43:54 -04:00
Deluan eb621be646 feat: load themes dynamically 2020-03-31 18:31:14 -04:00
Deluan 7aa182e33d fix: add padding at the bottom of the layout, to accommodate the audio player (relates to #132) 2020-03-31 14:52:54 -04:00
Deluan 7fec503b72 feat: persist the queue in the localStorage 2020-03-31 14:34:08 -04:00
Deluan 083a11a563 feat: store state in localStorage 2020-03-31 14:07:33 -04:00
Deluan 944f3695c4 fix: disable click on version menu item 2020-03-31 13:04:04 -04:00
Deluan dfc8691262 fix: add "Version" message to translations 2020-03-31 11:17:11 -04:00
Deluan 395b598bb1 fix: don't show tooltips in profile menu items 2020-03-31 11:07:45 -04:00
Deluan d04b434d96 fix: profile menu items colors 2020-03-31 10:49:47 -04:00
Deluan f041503a85 feat: simple theme selector. only works with hardcoded `light` and `dark` for now 2020-03-31 09:35:44 -04:00
Deluan 500207f7b8 refactor: extract themes to their own folder 2020-03-31 09:05:46 -04:00
Deluan 1e0a79ebb7 fix: "Recent" should sort by play_date, not starred_at 2020-03-30 19:34:44 -04:00
Deluan 301fa2a957 fix: sort by album in songs view 2020-03-30 19:34:00 -04:00
Deluan 46f4f63212 feat: initial implementation of album lists 2020-03-29 00:01:08 -04:00
Deluan fec8b5f731 feat: add playcounts to album and songs
(fix year in song list)
2020-03-28 20:38:41 -04:00
Deluan f1af646cee feat: option to display albums as a grid 2020-03-28 16:25:55 -04:00
Deluan fc0621646b feat: add link to album from Songs view 2020-03-28 00:34:09 -04:00
Deluan 0ca849a61a feat: show year range in album view and match ranges in year filter. #118 2020-03-27 21:11:06 -04:00
Deluan 53e8a92fed feat: rename year to max_year and add min_year to album. #118 2020-03-27 21:11:06 -04:00
Deluan 2c42e4e12e feat: add icons for playlists 2020-03-26 12:33:30 -04:00
Deluan 100db2bcfd feat: add artist filter to album view 2020-03-25 20:40:18 -04:00
dependabot-preview[bot] 3b798cf943 build(deps): bump react-scripts from 3.4.0 to 3.4.1 in /ui
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@3.4.1/packages/react-scripts)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:49:40 -04:00
dependabot-preview[bot] 50b7756159 build(deps): bump react from 16.13.0 to 16.13.1 in /ui
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.0 to 16.13.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.13.1/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:48:48 -04:00
Deluan f403a8da34 feat: add version to index.html description meta tag 2020-03-22 01:04:10 -04:00
Deluan 91a743623a feat: always show artist name in Album view 2020-03-21 19:15:39 -04:00
Deluan 57aaf5a26b refactor: remove unused property 2020-03-20 00:30:16 -04:00
Deluan 352d686d94 chore: upgrade react-admin to 3.3.1 2020-03-20 00:23:04 -04:00
Deluan 270b0ae74e feat: add "Compilation" filter to albums 2020-03-19 23:25:40 -04:00
Deluan 8401d85f78 feat: search in WebUI now is more flexible, searching in all relevant fields in the current view 2020-03-19 22:26:18 -04:00
Deluan 68a49befc8 feat: allow regular users to change their players' configuration 2020-03-17 15:20:35 -04:00
Deluan 45180115a6 feat: player CRUD 2020-03-17 15:20:35 -04:00
Deluan 353c48d8d8 refactor: rename player to audioplayer 2020-03-17 15:20:35 -04:00
Deluan 8ec78900c5 feat: transcoding and player datastores and configuration 2020-03-17 15:20:35 -04:00
dependabot-preview[bot] a0e0fbad58 build(deps): bump @testing-library/react from 9.5.0 to 10.0.1 in /ui
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 9.5.0 to 10.0.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 10:06:23 -04:00
dependabot-preview[bot] 9d1960232c build(deps): [security] bump acorn from 5.7.3 to 5.7.4 in /ui
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 18:01:31 -04:00
Deluan d3547544bf feat: new WebUI icon 2020-03-11 20:18:22 -04:00
dependabot-preview[bot] 7772afce1c build(deps): bump @testing-library/react from 9.4.1 to 9.5.0 in /ui
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 9.4.1 to 9.5.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.4.1...v9.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-10 17:11:46 -04:00
Deluan 10e76257c6 fix: increase contrast in WebUI's dark theme 2020-03-08 16:12:12 -04:00
Deluan 77b12eafde chore: upgrade react-jinke-music-player 2020-03-05 08:57:40 -05:00
Deluan 050778460d fix: missing id in queue items was preventing scrobble to work properly 2020-03-04 10:30:58 -05:00
Deluan 28bc9c1d4f fix: AlbumShow was adding previous played tracks when trying to shuffle the album 2020-03-02 14:51:52 -05:00
Deluan 5e7aaa667b fix: missing id in queue items was preventing scrobble to work properly 2020-03-02 14:20:57 -05:00
Deluan 1afc495920 chore: upgrade react, react-dom and react-redux 2020-03-02 13:06:27 -05:00
Deluan cf7d877714 chore: upgrade @testing-library/user-event 2020-03-02 12:04:58 -05:00
Deluan 81831da67a chore: upgrade react-admin 2020-03-02 11:58:23 -05:00
Deluan fcd2fcae67 chore: upgrade @testing-library, react-scripts 2020-03-02 11:52:06 -05:00
Deluan 3b12c92ad5 feat: add cache to the getCoverArt endpoint, avoid it being reloaded every single time in the UI 2020-02-15 14:32:11 -05:00
Deluan b7f1fc0374 refactor: remove unused import 2020-02-14 09:16:59 -05:00
Deluan de525edde0 feat: add song count and duration to AlbumDetails 2020-02-14 09:14:50 -05:00
Deluan 7f94660183 feat: use different resource for listing songs in albums 2020-02-14 09:02:32 -05:00
Deluan 9fa73e3b7b feat: implement AlbumShow using a Datagrid. WIP: still need to make it responsive 2020-02-12 20:35:35 -05:00
Deluan 10ead1f5f2 feat: better way to detect initial account creation 2020-02-08 14:32:55 -05:00
Deluan 730722cfe3 feat: better track number formatting 2020-02-08 11:50:11 -05:00
Deluan dc352834b9 fix: workaround to force check for initial setup 2020-02-08 00:11:15 -05:00
Deluan 313a3342a0 fix: remove unused import 2020-02-07 22:35:04 -05:00
Deluan 6ce4811460 feat: add the remainder of the album to the queue when clicking on an album's track 2020-02-07 17:36:50 -05:00
Deluan 52cd17963f feat: limit size of cover art 2020-02-07 16:51:14 -05:00
Deluan 8f0c07d29f refactor: simplify PlayButton usage 2020-02-07 16:38:01 -05:00
Deluan a50735a94c feat: custom SimpleList, to allow onClick handle 2020-02-07 16:08:53 -05:00
Deluan f0e7f3ef25 feat: responsive album view 2020-02-07 16:08:52 -05:00
Deluan 2ca98d8e81 feat: optimized for small screens (only) 2020-02-07 13:50:25 -05:00
Deluan 81e1a7088f feat: new album view (initial implementation) 2020-02-07 11:49:26 -05:00
Deluan d37351610a feat: initial support for i18n 2020-02-07 10:12:32 -05:00
Deluan 99361c0d9f fix: create a subsonic token on login, to use for subsonic API calls 2020-02-06 20:57:00 -05:00
Deluan d9dd9fe587 refactor: put all subsonic client URLs together 2020-02-06 18:41:34 -05:00
Deluan abb99a8501 feat: add authentication via JWT token 2020-02-06 18:41:34 -05:00
Deluan 690f92a671 feat: make song list more responsive 2020-02-06 18:41:34 -05:00
Deluan c57007db52 feat: song list xsmall view 2020-02-06 18:41:34 -05:00
Deluan cc229dcee6 chore: add direct dependency to react-redux 2020-02-06 18:41:34 -05:00
Deluan 989deb1200 feat: change pagination options 2020-02-06 18:41:34 -05:00
Deluan 6aaee4342e feat: smaller play button 2020-02-06 18:41:34 -05:00
Deluan b5dadf55f4 feat: add an authenticated keepalive, to keep the UI session alive while playing songs 2020-02-06 18:41:34 -05:00
Deluan 18c7397709 feat: scrobbling 2020-02-06 18:41:34 -05:00
Deluan 4a82a6cb02 feat: initial integration of react-jinke-music-player 2020-02-06 18:41:33 -05:00
Deluan 2dbd645292 feat: show server version in User Menu 2020-02-05 23:08:04 -05:00
Deluan 6978790e96 feat: allow regular users to login to the UI 2020-02-05 22:22:44 -05:00
Deluan 67c20f36b1 chore: update all node dependencies 2020-02-03 08:39:39 -05:00
Deluan 5d1df19291 fix: manually set timestamps, as we don't rely on the ORM anymore 2020-02-01 17:23:03 -05:00
Deluan b26a5ef2d0 feat: add name to user list 2020-02-01 17:23:03 -05:00
Deluan 64388b2d4a fix: correct description meta in index.html 2020-01-29 16:56:22 -05:00
Deluan 3007ca68d5 fix: disable User.lastAccessAt field for now.
Updating it on every request was cause DB retentions/lock errors
2020-01-28 16:20:59 -05:00
Deluan b7d7251cf4 fix: user's email is not mandatory 2020-01-26 22:17:58 -05:00
Deluan 476c695cf1 ci: create versions with goreleaser 2020-01-26 20:09:25 -05:00
Deluan 478090380d feat: show times in user edit and list views 2020-01-25 18:01:11 -05:00
Deluan 58a7879ba8 feat: first time admin user creation through the ui 2020-01-25 17:10:16 -05:00
Deluan c71c04f7dd Change to dark theme 2020-01-23 22:51:52 -05:00
Deluan bee55c04c8 Rename project to Navidrome 2020-01-23 19:44:08 -05:00
Deluan aaefc6bfc7 Revert "Bump react-admin from 3.1.2 to 3.1.3 in /ui"
This reverts commit 4bb4526c5f.
2020-01-23 18:49:03 -05:00
Deluan 6733623289 Revert "Bump ra-data-json-server from 3.1.2 to 3.1.3 in /ui"
This reverts commit 4fb9438f22.
2020-01-23 18:48:57 -05:00
dependabot-preview[bot] d37447f957 Bump @testing-library/jest-dom from 5.0.0 to 5.0.2 in /ui
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.0.0...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 18:34:20 -05:00
dependabot-preview[bot] 821404d59c Bump @testing-library/user-event from 8.0.3 to 8.0.4 in /ui
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Commits](https://github.com/testing-library/user-event/compare/v8.0.3...v8.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 18:34:05 -05:00
dependabot-preview[bot] 4bb4526c5f Bump react-admin from 3.1.2 to 3.1.3 in /ui
Bumps [react-admin](https://github.com/marmelab/react-admin) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marmelab/react-admin/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 18:33:46 -05:00
dependabot-preview[bot] 4fb9438f22 Bump ra-data-json-server from 3.1.2 to 3.1.3 in /ui
Bumps [ra-data-json-server](https://github.com/marmelab/react-admin) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marmelab/react-admin/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 18:33:30 -05:00
Deluan 35aeb0a396 UI: Use login theme everywhere 2020-01-23 18:20:38 -05:00
Deluan e5e20750e5 UI: Fine tuning the resource navigation 2020-01-22 14:18:55 -05:00
Deluan 04637b24cd UI: When navigating to another resource, pre-fill the filter with the parent info 2020-01-22 14:05:36 -05:00
Deluan 7dc3f49c1c Initial support for artist browsing from UI. Also add linking between resources 2020-01-22 13:02:19 -05:00
Deluan b23175e32b Initial support for album browsing from UI 2020-01-22 12:46:09 -05:00
Deluan ea30b4c2d9 Initial support for album browsing from UI 2020-01-22 12:32:31 -05:00
Deluan 3a8124a1de Add basic filters for album and artist 2020-01-22 11:25:58 -05:00
Deluan 9557f7ceed Initial support for song browsing from UI 2020-01-22 10:47:43 -05:00
Deluan fdf1ceeade Rename icon variable name 2020-01-22 09:04:33 -05:00
dependabot-preview[bot] 50c7d3800a Bump @testing-library/user-event from 7.2.1 to 8.0.3 in /ui
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 7.2.1 to 8.0.3.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Commits](https://github.com/testing-library/user-event/compare/v7.2.1...v8.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 11:52:53 -05:00
Deluan e717d99780 Authenticate UI 2020-01-20 10:25:35 -05:00
Deluan c661ac8833 Add a login page (not been used yet) 2020-01-19 22:59:33 -05:00
Deluan 2ef2377926 Add a proper title to the UserEdit view 2020-01-19 22:47:39 -05:00
Deluan 2ab0cecd48 Complete User CRUD 2020-01-19 21:46:36 -05:00
Deluan 1c04a19910 Add UserList in UI 2020-01-19 20:40:18 -05:00
Deluan 3a03284c59 Add routing for basic web ui 2020-01-19 19:35:03 -05:00
dependabot-preview[bot] ed631edc08 Bump @testing-library/jest-dom from 4.2.4 to 5.0.0 in /ui
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v4.2.4...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 08:33:49 -05:00
Deluan df151d88a4 Add JS tests/build to pipeline. Removed invalid test 2020-01-15 13:02:17 -05:00
Deluan 08e096c569 Formatted by Prettier 2020-01-14 18:06:40 -05:00
Deluan 127f70f841 Add prettier dependency 2020-01-14 16:11:12 -05:00
Deluan ea86238901 Add ui subfolder, bootstrapped a "hello-world" React-Admin app, changed Makefile to start both apps in dev mode 2020-01-14 15:34:59 -05:00