Commit Graph

457 Commits

Author SHA1 Message Date
Alain Nussbaumer
387e531d64 [web] Cleanup of code to simplify
Useless methods have been removed and code has been partially cleaned up.
2023-06-07 21:25:54 +02:00
Alain Nussbaumer
3a1cc63e8f [web] Fix cover artwork display on different pages #1506
On some pages, the cover artwork was overlapping or not displayed properly. Moreover, the use of the component CoverArtwork has been generalised.
2023-06-07 18:55:44 +02:00
Alain Nussbaumer
931c7477c3 [web] Align the presentation of list of tracks
Makes the list of Spotify tracks ressemble the standard list of tracks.
2023-06-07 15:06:02 +02:00
Alain Nussbaumer
a38da31d17 [web] Fix of wrong French translation
In the page listing the artists, the count of them was not properly translated.
2023-06-05 20:38:15 +02:00
Alain Nussbaumer
65b16c60fb [web] Add hint on buttons of the audio player when hovering them #1512
When hovering the buttons of the player, a short description is displayed. Moreover, the seek buttons are explicit now.
2023-06-04 18:25:47 +02:00
Alain Nussbaumer
f454e9229e [web] Remove never called method
The method scrollToTop was a relic of the past and has been removed. The scrolling is now done in ContentWithHeading.
2023-06-04 15:59:21 +02:00
Alain Nussbaumer
a1046f3913 [web] Fix for items not displaying because of their name
Albums, artists, composers, genres, and any other items listed on page where they appear sorted by names are now all displayed properly.
2023-06-04 13:54:01 +02:00
Alain Nussbaumer
78b50bc088 [web] Bump to newer versions of packages
Newer versions of JavaScript packages are now used.
2023-06-03 19:49:22 +02:00
Alain Nussbaumer
0fcf99c8e9 [web] Remove unused play_track function
The play_track function was useless because already present in the ListTracks component.
2023-06-03 19:23:43 +02:00
Alain Nussbaumer
1b71cf2a15 [web] Fix inability to start from a specific track of an album
In the album view, whatever the chosen track, the player always started from the first track of the album.
2023-06-03 19:22:02 +02:00
Alain Nussbaumer
6bf40c139d [web] Remove console logging
Console logging has been removed from all the pages.
2023-06-03 18:58:11 +02:00
Alain Nussbaumer
fc5d284588 [web] Remove useless condition
No action is taken from this conditional test and therefore can be removed.
2023-06-03 18:53:39 +02:00
Alain Nussbaumer
aa3127167b [web] Beautify code
The source code has been beautified to follow the coding standards.
2023-06-03 18:52:17 +02:00
Alain Nussbaumer
025a1c73a8 [web] Fix non-closing album modal dialog
When clicking on the artist name in the album modal dialog, the dialog was not close.
2023-06-03 18:44:49 +02:00
Alain Nussbaumer
8e4a3fe16a [web] Add missing translation
The French translation for the word "Search" was missing.
2023-06-03 08:40:49 +02:00
Alain Nussbaumer
9bd68ca306 [web] Fix an issue preventing removal of RSS podcasts #1616
RSS podcasts can now be removed. Moreover, the remove option is not shown anymore to non-RSS podcasts.
2023-06-02 23:13:44 +02:00
Alain Nussbaumer
784de0c4a1 [web] Fix for translations not being displayed
In the Now Playing page, translations for an empty queue where not displayed.
2023-06-02 22:22:32 +02:00
Alain Nussbaumer
b0f418abda [web] Add missing translations
Translations were missing for the remove podcast feature. A cleanup of the German translation files has been done as well.
2023-06-02 22:13:38 +02:00
Alain Nussbaumer
0d095b3037 Fix for #1606 2023-05-11 11:24:34 +01:00
Alain Nussbaumer
21173d6480 Fix for byRating function 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
41d80c4f1a #1473 Fix the listing of files 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
c6b4f565a5 #1473 Add sort by rating for composer, genre, and artist tracks. 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
88425fc38d [web] Wrong label for play button in audiobook page 2023-04-05 20:23:19 +02:00
Alain Nussbaumer
9df15c1f58 Minor translation errors 2023-03-26 17:11:43 +02:00
ejurgensen
90e0be07e2
Merge pull request #1593 from hacketiwack/error-message 2023-03-17 13:53:53 +01:00
Alain Nussbaumer
c9c6094e5b Error message not displayed 2023-03-17 00:19:14 +01:00
Alain Nussbaumer
6069fd07e3 I18n: Correction of translations in French, German, and English 2023-03-16 23:47:04 +01:00
lordmyschkin
a4ae747b15 [web] Optionally Show FilePath on Now playing-Page 2023-03-15 22:32:16 +01:00
dependabot[bot]
88b89053d4
Bump vite from 2.9.12 to 2.9.13 in /web-src
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.12 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 15:51:14 +00:00
dependabot[bot]
376f41c464
Bump luxon from 2.4.0 to 2.5.2 in /web-src
Bumps [luxon](https://github.com/moment/luxon) from 2.4.0 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.4.0...2.5.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 14:56:49 +00:00
whatdoineed2do/Ray
cc3cceaa99 [web-src] remove absolute paths in index.html and force vite generation to allow reverse proxy from an subpath 2023-02-05 17:16:07 +01:00
lordmyschkin
6ac88d677b minor improvments to german translation 2023-01-23 18:58:42 +01:00
Alain Nussbaumer
879feab518 [web] Fix for error messages not displaying #1500 2023-01-23 04:37:43 -08:00
whatdoineed2do/Ray
dd1b39b347 [web] directory modal handling fix 2023-01-21 21:46:14 +00:00
LordMyschkin
4f848948e7
[web] German translation
German translation

Co-authored-by: lordmyschkin <martin@dieroths.at>
2023-01-21 16:50:06 +01:00
Alain Nussbaumer
3f05487abb
[web] Remove inexistent property use_libspotity #1492 (#1498) 2022-06-17 09:36:07 +02:00
chme
da24e9f81b [web] Update dependencies 2022-06-16 06:45:26 +02:00
chme
431ad51b66 [web] Fix linting error (vue/no-v-text-v-html-on-component) 2022-06-16 06:45:26 +02:00
chme
ae0fb921d5 [web] Fix display search results 2022-06-16 06:45:25 +02:00
chme
daba58f05f [web] Fix display of playlists in files page 2022-06-15 20:04:54 +02:00
chme
f167f3c2fc [web] Fix display of path in directory modal 2022-06-15 20:04:54 +02:00
chme
58c6b2891c [web] Revert icon changes (fixes ignored size attribute) 2022-06-15 20:04:54 +02:00
Alain Nussbaumer
c020905f2e [web] #1493 Fix directory modal dialog not showing up 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
911bd59116 [web] Fix French translation parameters 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
f11c66c42d [web] Fix missing translation. Detect user locale 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
c828549b85 [web] Fix page search to show proper translations 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
bfd60a4d30 [web] Fix to search query documentation 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
afb897aa47 [web] Fix translation for genre page. Alignment of logic between artist, composer, and genre pages when navigating to albums or tracks. 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
bb294710e6 [web] Fix of translations in the recently played page. 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
6221f40e96 [web] Fix missing translation in audiobook page. Reorganise some translations to be more coherent. 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
ba7cea01e4 [web] Missing translations in search page 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
76a9339605 [web] Missing translations in track dialog 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
6bdf07307b [web] Fix the artist page not displaying 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
38ad945ec4 [web] Fix broken album dialog 2022-06-09 10:43:03 +02:00
chme
3b283d1690 [htdocs] Rebuild web interface 2022-06-03 07:45:48 +02:00
chme
3788994307 [web] Delay loading of album artwork in lists
Avoids fetching artwork that is only visible for a very short time while fast scrolling through the list.
2022-06-03 07:45:48 +02:00
chme
9b78237f77 [web] Add missing translation for save button 2022-06-03 07:45:48 +02:00
chme
524898538d [web] Remove libspotify integration from web interface 2022-06-03 07:21:26 +02:00
Alain Nussbaumer
b28da1d57b Removed useless libraries. 2022-05-29 18:57:00 +02:00
Alain Nussbaumer
8fb4d8f347 Removed hard coded ip address. 2022-05-29 18:51:23 +02:00
Alain Nussbaumer
b788273e4c Code formatting, translation mistakes, and removal of useless libraries. 2022-05-29 18:49:00 +02:00
Alain Nussbaumer
cfa8db7b3f #1458 Translation of Web UI 2022-05-20 13:45:11 +02:00
Alain Nussbaumer
167ba86211 #1458 Translation of Web UI 2022-05-20 13:44:22 +02:00
chme
42e708fbb4 [web] Fix display of search results for composer and playlist 2022-04-17 10:05:50 +02:00
chme
45b192255a [web] Show stream playlists (rss, radio) only if config option "radio_playlists" is set to true 2022-04-17 10:05:50 +02:00
chme
7fff11ef30 [web] Only include icons in bundle that are used in the web interface 2022-04-17 10:05:50 +02:00
chme
81491367fc [web] Replace date library moments.js with luxon 2022-04-15 20:17:16 +02:00
chme
708765537c [web] Update dependencies 2022-04-15 20:17:16 +02:00
chme
717fc6d512 [web-src] Fix dragging slider in now playing page 2022-04-08 17:53:16 +02:00
chme
3a0203855f [web-src] Increase bottom margin for all pages 2022-04-08 17:53:16 +02:00
chme
dc4367fa3b [web-src] Fix opening dialog for list items in spotify pages 2022-04-08 17:53:16 +02:00
chme
c714592a31 [web] Do not show audiobooks in genre/composer listings for music 2022-04-08 17:53:16 +02:00
chme
0772997e27 [web] Add album/track count to composer pages 2022-04-08 17:53:16 +02:00
chme
01f4f8b137 [web] Add album/track count in genre views 2022-04-08 17:53:16 +02:00
chme
e5a87d0396 [web] Fix hiding singles in artists and albums views 2022-03-20 15:24:23 +01:00
chme
8f934ec690 [web] Fix running dev server with remote owntone server; update docs 2022-03-20 15:24:23 +01:00
chme
02af9f2a23 [web] Update dependencies 2022-03-19 07:04:37 +01:00
Ben Willmore
965d55d67d Fix failure to detect apple-touch-icon.png (#4)
* Fix failure to detect apple-touch-icon.png

* apple-touch-icon: Use ?ver=2.0 not ?ver2.0

Co-authored-by: Ben Willmore <ben@willmore.eu>
2022-03-19 07:04:37 +01:00
Ben Willmore
decea8be66 Use vuex mutation instead of manipulating state directly 2022-03-19 07:04:37 +01:00
Ben Willmore
f484f1194b Search page: remember whether library or spotify is selected 2022-03-19 07:04:37 +01:00
Ben Willmore
a5dd6c4968 Websocket: remove unnecessary notifications 2022-03-19 07:04:37 +01:00
Ben Willmore
9d9bcc51f8 Websocket: reconnect more rapidly when closed 2022-03-19 07:04:37 +01:00
Ben Willmore
f380872540 When window gains focus or document becomes visible, update visible info
It doesn't seem necessary to also reconnect the websocket
2022-03-19 07:04:37 +01:00
chme
27e2274d8a [web] Refactor lists to improve performance
Reduces the number of Vue components that need to be created/managed.
Instead of a Vue component for each item, we now only have one Vue
component for the whole list of items.
2022-03-19 07:04:37 +01:00
Ben Willmore
a24cb11e17 Reconnect websocket when window receives focus 2022-03-19 07:04:37 +01:00
chme
6519b18aa0 [web] Fix linting errors 2022-03-19 07:04:37 +01:00
chme
c78f861f45 [web] Format web sources with prettier and run fix linting errors 2022-03-19 07:04:37 +01:00
chme
d7f1c13585 [web] Configure eslint and prettier dev tools 2022-03-19 07:04:37 +01:00
chme
de097fcf94 [web] Migration to Vue 3 and Vite 2022-03-19 07:04:37 +01:00
chme
bb7d402cef [web-src] Update dependencies 2022-01-22 12:12:41 +01:00
chme
ad96321c24 [web-src] Add option to only update a single library source 2022-01-22 12:12:41 +01:00
chme
73b0f838e6 [htdocs] Rebuild web interface 2022-01-16 12:01:35 +01:00
chme
6284492180 [web-src] Add "follow-redirects" as dependency to fix CVE-2022-0155
"follow-redirects" is a transitive dependency for owntone, e. g. for
axios. Should be removed once, the direct dependencies of owntone
release new versions with a newer version of "follow-redirects".
2022-01-16 12:01:34 +01:00
Alain Nussbaumer
282c05f65b [web-src] Correction of links pointing to old addresses 2022-01-16 11:14:49 +01:00
chme
b0037afa05 [web-src] Fix spotify playlist tracks not showing 2022-01-16 11:14:49 +01:00
chme
c8bfad0a35 [web] Fix url in search page to smart pl query language 2022-01-16 11:14:49 +01:00
whatdoineed2do/Ray
258311951b [web-src] inline with 39b14ff8d - relative paths for proxy'ing 2022-01-02 15:39:25 +00:00
whatdoineed2do/Ray
00461e4f9f [web-src] composer review 2021-12-31 10:40:06 +00:00
whatdoineed2do/Ray
69ed6d1365 [web-src] use ListComposer for index block separation 2021-12-29 13:46:30 +00:00
whatdoineed2do/Ray
269842d30a [web-src] add composer support 2021-12-29 13:46:30 +00:00
chme
05e367a84b [web] Add option to remove spotify (logout) in settings 2021-12-26 20:22:06 +01:00
chme
791d3610fd [web] Display info text if spotify track is not playable
Additionally set market query parameter for albums and tracks. According to the spotify documentation, this should not be necessary, as the market for the user account should be used if not set.
2021-12-26 19:52:00 +01:00
chme
4bc8719aaa [web] Fix http stream button not clickable in mobile view 2021-12-26 19:50:16 +01:00
chme
6d5b43c12c [web] Update dependencies 2021-12-26 19:50:16 +01:00
whatdoineed2do/Ray
af91d99468 [web-src] podcast handling of propogated 'play_count_changed' event 2021-09-30 12:52:53 +01:00
chme
8c24b7b61a [web-src] Only show libspotify login in settings if it is in use 2021-07-04 14:59:05 +02:00
chme
acddb378b9 [web-src] Add "comment" field to track details 2021-07-04 14:59:05 +02:00
chme
d1c9e26c1b [web-src] Update dependencies and set version to 1.1.0 2021-07-04 14:43:05 +02:00
chme
fc6c9e15af [htdocs] Rebuild web interface v1.0.1 2021-05-19 20:38:39 +02:00
Christian Meffert
f93921554e
Merge pull request #1243 from luusl/enhance_websocket
Improve the websocket to send events to clients immediately.
2021-05-19 20:32:08 +02:00
martin
a15edfcae9 Improve the websocket to send events to clients immediately. 2021-05-13 22:54:11 +02:00
chme
55a92e84c2 [web-src] Rename forked-daapd to OwnTone 2021-05-13 16:03:10 +02:00
Chris Lenfert
c8afa27ebf updates logo and index with owntown files 2021-05-13 15:57:47 +02:00
chme
1eb4f61043 [web-src] bump version to 1.0.0 and update dependencies 2021-05-13 15:56:17 +02:00
chme
18c3e6686c [web-src] Update dependencies 2021-01-16 08:13:05 +01:00
chme
ca9f0d8b5e [web-src] Text change to settings, device verification 2021-01-16 08:11:36 +01:00
chme
d5f8129b71 [web-src] Fix for wrong AirPlay output icon 2021-01-11 20:00:06 +01:00
chme
e168918b95 [web-src] Remove now unused ModalDialogAlbums 2021-01-11 19:40:05 +01:00
chme
bda1e096cf squash! [web-src] Update dependencies 2021-01-11 19:40:05 +01:00
chme
1a6c76d990 [web-src] Refactor "recently added" - group in JS instead of doing 3 queries against the back end 2021-01-11 19:40:05 +01:00
chme
cdc7d7a1da [web-src] Fix linting errors 2021-01-11 19:40:05 +01:00
chme
4f5e736b6b [web-src] Update dependencies 2021-01-11 19:40:05 +01:00
whatdoineed2do/Ray
b985634924 [web-src] recently added - optimise fetch of 'older' albums in mounted() when mixin async data known 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
52d765900c [web-src] recently added - only show up to requested limit on albums 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
5fa2955bff [web-src] use settings to determine the number of albums to retreive on recently added page 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
08397058f1 [web-src] recently added - retreive all data in one async go 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
5eeadd3f1b [settings] add webinterface.recently_added_limit 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
eacb6a17eb [web-src] Settings int field hanlder 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
7145db3369 [web-src] recently added - add modal play/add/add next for sections 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
a9e365eb3e [web-src] modal for multiple albums 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
5f9939ebfb [web-src] use smartpl to retrieve recently added albums 2021-01-11 19:40:04 +01:00
dependabot[bot]
56f539a89b
Bump axios from 0.21.0 to 0.21.1 in /web-src
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-05 03:58:11 +00:00
johnappletree
96c9424575
Update PageBrowseRecentlyAdded.vue
Remove the last 8 weeks as this in my case resulted in an empty list. Furthermore, increase limit to get more entries in the list.
2020-11-24 21:46:56 +01:00
chme
075d8d1c22 [web-src] Update to v0.8.3 2020-11-22 10:19:00 +01:00
chme
b7369afc50 [web-src] Fix switching to Spotify search with empty query 2020-11-22 10:17:37 +01:00
chme
94bdd18648 [web-src] Fix missing cover update for streams 2020-11-21 11:59:28 +01:00
chme
070f5bb8a9 [web-src] Fix Spotify search for single type 2020-11-21 11:08:26 +01:00
chme
cbfea854d2 [web-src] Search tab buttons now trigger search 2020-11-21 11:06:18 +01:00
chme
ee6419041a [web-src] Update dependencies and set version to v0.8.2 2020-11-21 10:01:38 +01:00
whatdoineed2do/Ray
c0ba076e2b [web-src] typo blocking podcast deletion dialog 2020-11-20 19:07:46 +00:00
whatdoineed2do/Ray
2057d8cf0a [web-src] random playlist playlist modal fix
the 'uris' is passed from page/PagePlaylist.vue to handle a dynamic 'random'
smartpl playlist - we cannot add via 'playlist.uri' because when it will ask
the server for that uri it will generate another set of tracks, different to
the ones on display of the playlist page
2020-10-26 11:27:15 +00:00
chme
c5275e4428 [web-src] Hide burger menu on showing "Update library" dialog 2020-10-18 09:58:03 +02:00
chme
60bf4432c2 [web-src] Update dependencies 2020-10-18 09:44:59 +02:00
chme
d6d6e93c3b [web-src] Use kebap-case for events
Otherwise ESLint will report errors
2020-10-18 09:44:59 +02:00
chme
3b5e08331b [web-src] Show release date in music album listings 2020-10-18 09:44:59 +02:00
chme
bdeb4d0838 [web-src] Fix JS error on podcast page enter 2020-10-18 09:44:59 +02:00
chme
bd099dc4be [web-src] Turn "Update library" into an action 2020-10-18 09:44:59 +02:00
chme
1aa401f024 [web-src] Fix cover artwork shadow clipped off 2020-10-18 09:44:59 +02:00
chme
1ff0b36c76 [web-src] Update warning text for top menu setting 2020-10-18 09:44:59 +02:00
chme
d4a5286268 [web-src] Keep the search text when switching to/from Spotify search 2020-10-18 09:44:59 +02:00