Commit Graph

167 Commits

Author SHA1 Message Date
Georg Krause e9c4bfe947
Start migration to vite 2022-02-21 15:07:07 +01:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Marcos Peña a0560f020f Reverts player changes introduced in MR!1291 breaking background playback (#1509)
MR !1397
2021-11-09 18:03:49 +00:00
Georg Krause 0abf71095c
Revert progress bar changes, see #1381 2021-10-21 10:24:14 +02:00
Georg Krause 5a74d1d3a0 Fix linting errors in touched files 2021-09-27 04:56:45 +00:00
Georg Krause 9bef230499 Update track progress bars with css transitions 2021-09-27 04:56:45 +00:00
JuniorJPDJ 61d7c8bf14 Lower delay for loading sound 2021-08-04 11:44:46 +00:00
JuniorJPDJ 13c3b22b02 Set global howler volume, use log volume scale internally
fixes:
- next track volume
- saves precise volume slider position
- keyboard shortcut now sets volume in correct scale
2021-08-04 11:44:46 +00:00
JuniorJPDJ f1f6a77d14 Don't allow track playing start if it's not current track
partially fixes #1213
2021-08-04 11:44:46 +00:00
jovuit f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Georg Krause 6d42c8337f Merge branch 'fix_resume_on_sleep' into 'develop'
Properly handle redundant MediaSession play/pause requests

See merge request funkwhale/funkwhale!1283
2021-04-12 04:46:57 +00:00
Tony Wasserka 7900c2d065 Properly handle redundant MediaSession play/pause requests
MediaSession pause requests may happen even when Funkwhale is already in a
paused state. Previously FW would flip between play/pause without
consideration for the current state instead of doing nothing when
the playback state matches the requested one.

Notably, this made Funkwhale resume audio playback when entering sleep mode
on my system.
2021-04-11 15:19:59 +02:00
heyarne 75a1d74962 Stop all other tracks when loading a new track 2021-04-08 07:55:23 +00:00
heyarne c2587e0a94 Fix whitespace before album name link 2021-01-03 17:48:07 +01:00
Philipp Wolfer d67377afd4 Update playback position slider also when track is paused
Fixes the UI not updating when clicking the position slider while playback is paused.

Fixes #1266
2020-11-21 10:51:16 +01:00
Philipp Wolfer 997b510ec6 Update MediaSession metadata for initially loaded track
The MediaSession metadata was only set on track change, but not for the track already set during load.

Fixes #1252
2020-11-20 10:12:03 +01:00
Agate 83fde07afd Fix #1216: missing button title 2020-09-02 12:11:40 +02:00
Agate cce158b60b [plugin, scrobbler] Use last.fm API v2 for scrobbling if API key and secret are provided 2020-08-26 12:26:27 +02:00
Agate 6c580bc411 Added aria-landmarks on important pieces of content 2020-08-04 17:27:00 +02:00
Agate 1cc5ed8871 Resolve "Ensure all buttons in the application are operable using only the keyboard" 2020-08-04 13:22:31 +02:00
Agate 9680222c25 Fix #1183: use p instead of space for play/pause 2020-08-04 11:35:24 +02:00
Agate 179e940b58 Removed unused onpause 2020-08-04 10:48:20 +02:00
Agate e271851f67 See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
Ciarán Ainsworth 8c3c19796c Resolve "Add alt tags to existing images" 2020-08-01 19:07:06 +02:00
Ciarán Ainsworth 33ba92a0d6 Contrast and labelling fixes 2020-08-01 11:11:51 +02:00
Agate abcac3ffd0 Set paused state when using media keys 2020-07-31 17:24:45 +02:00
Agate c6e3ce1925 Fix #1180: Fix broken media support detection 2020-07-31 11:06:29 +02:00
Ciarán Ainsworth dd592eb6d1 Link purpose issues 2020-07-27 11:05:34 +02:00
Agate 3843d0af36
Merge branch 'master' into develop 2020-06-19 15:48:25 +02:00
Agate 5de006b91c Merge branch '1138-art' into 'master'
Resolve "Cover art display does not update correctly when navigating from track to track"

See merge request funkwhale/funkwhale!1144
2020-06-14 14:47:06 +02:00
Agate 81b9df235d
Fix #1138: Fixed wrong covert art displaying in some situations 2020-06-14 14:42:02 +02:00
Agate b637a94ebe
Fix #1157: player crash when using Funkwhale as a PWA 2020-06-11 17:54:01 +02:00
Agate 50e392d8de
Fix #1153: post issue on some URLs due to missing CSRF token 2020-06-09 14:32:02 +02:00
Agate 15dfca1c55
Merge branch 'master' into develop 2020-06-05 06:33:33 +02:00
Agate cd422832dd New theming system 2020-05-15 14:12:36 +02:00
Agate e331a87478
Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:07:43 +02:00
Agate ec8dfdb740 Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:06:35 +02:00
Agate 594dd8ceb3
Fixed a round of typo/invalid HTML 2020-05-07 18:26:57 +02:00
Eliot Berriot 056948a1ba
See #1060: register listening earlier, instead of at the end of the track 2020-03-25 19:19:29 +01:00
Eliot Berriot bdb80bb232
Minor UI enhancements to player queue (more visible progress on bottom player, easier to click buttons) 2020-02-14 10:45:32 +01:00
Eliot Berriot 95497e76ac See #170: channels ui (listeners) 2020-02-05 15:06:07 +01:00
Ciarán Ainsworth 2302dc0581 Set up initial configuration for installing
Set up player config for mobile control
2020-01-08 12:16:41 +01:00
Eliot Berriot 0d3df8ab77
Fix #970: short audio glitch when switching switching to another track with player paused 2019-12-27 10:24:22 +01:00
Eliot Berriot e15d806634 Resolve "Redesign the sidebar/navigation to simplify the UI" 2019-12-26 11:38:26 +01:00
Ciarán Ainsworth 7836b8a59d Resolve "Browser keyboard shortcuts do not work on some pages" 2019-12-04 09:49:55 +01:00
Eliot Berriot bb1a895a9b
Merge branch 'master' into develop 2019-07-29 14:22:31 +02:00
Eliot Berriot 36c1bf7f90
Fixed a typo in audio unlock code 2019-07-25 15:44:16 +02:00
Eliot Berriot d5f3802f37
Fixed transparent progress bar after switch to FUI 2019-07-18 15:51:49 +02:00
Eliot Berriot 0c15a608c3
Fixed a minor visual glitch in player controls after switch to fomantic 2019-07-15 16:29:55 +02:00
Eliot Berriot b95710bb3a
Merge branch 'master' into develop 2019-07-05 16:04:39 +02:00
Eliot Berriot 7a6ba83d03
Handle Cross-Origin canvas error in player 2019-07-02 16:20:20 +02:00
Ciarán Ainsworth f4365f68c2 Resolve "Add new keyboard shortcuts" 2019-06-25 17:48:01 +02:00
Ciarán Ainsworth 3ce247763c
Added fix + changelog fragment for #838 2019-06-10 09:51:30 +02:00
Ciarán Ainsworth 7bcf896f3a Added fix + changelog fragment for #838 2019-05-23 19:18:37 +01:00
Eliot Berriot 2b1f6dafa9 Merge branch 'trash-queue-icon' into 'develop'
Added list corner icon to trash icon in player controls to make it's function more obvious

See merge request funkwhale/funkwhale!758
2019-05-09 13:54:19 +02:00
Eliot Berriot 70cbe73fc0
Fixed some player issues 2019-05-09 11:01:45 +02:00
Eliot Berriot 948a2b0f1f
Added list corner icon to trash icon in player controls to make it's function more obvious 2019-05-09 10:20:58 +02:00
Eliot Berriot 9671db0229
Fixed chained preloading of tracks when remote answers with error 2019-05-07 12:32:41 +02:00
Eliot Berriot 2cdf26b028
Fixed small issues with queue 2019-05-07 12:05:18 +02:00
Eliot Berriot 58195cd4d1
Added small timeout before playback to avoid loading lots of tracks when skipping through the queue 2019-05-07 11:59:41 +02:00
Eliot Berriot bc87674b34
Fixed error not hidden when playing next track 2019-05-07 11:47:53 +02:00
Eliot Berriot 2c92825a08
Removed errored sounds from cache 2019-05-07 11:39:37 +02:00
Eliot Berriot cd9cd4d01c
Fixed some playback issues 2019-05-02 11:43:47 +02:00
Eliot Berriot 5754c4a986
Fixed typo 2019-04-30 15:23:05 +02:00
Eliot Berriot 8b88f92a8c
Fix #572: Preload next track in queue 2019-04-30 14:14:17 +02:00
Jo Vuit b381b40ba9 Add tooltip for Hide artist content Button 2019-04-15 17:10:19 +02:00
Eliot Berriot 72606388ff
Fixed broken extraction of contexts 2019-03-08 12:44:17 +01:00
Renon 8000c5fef1 Fix #722 : non transparent volume range background 2019-02-25 09:45:49 +01:00
Eliot Berriot bdf83bd8ff Resolve "Hide an artist in the UI" 2019-02-14 10:49:06 +01:00
Jo Vuit bec267dc58 Added context strings
Minor rewording
2019-02-11 16:26:51 +01:00
Jo Vuit 4b585f3ee2 Replaced 'dot-dot-dot- by ellipsis 2019-01-24 13:28:32 +01:00
Eliot Berriot df01f62b01
Hide and remove uneeded canvas object generated for the player background 2019-01-15 09:57:20 +01:00
Eliot Berriot dd8aa7e7cd
Fix #610: Use role=button instead of empty links for player controls 2019-01-14 17:22:08 +01:00
Eliot Berriot cbfb260288
Fixed wrong backward / forward icons in player 2018-12-19 20:20:32 +01:00
Eliot Berriot 29171853b3
Fix #612: Improved accessibility by using main/section/nav tags and aria-labels in most critical places 2018-11-19 23:33:22 +01:00
Johan Desmyter 65b227b613 fix issue #613 - fix incorrect icon for forward button 2018-11-19 09:41:50 +03:00
Eliot Berriot b757ca4616
See #272: updated front-end for transcoding and new API results, improved error handling in player 2018-10-26 16:01:55 +02:00
Eliot Berriot f06295a5b3
Fix #586: The progress bar in the player now display loading state / buffer loading 2018-10-23 20:24:36 +02:00
Eliot Berriot ae55e6483d
Fix #576: Improved keyboard accessibility on player, queue and various controls 2018-10-21 15:41:31 +02:00
Eliot Berriot c8a2531580
Fix #464: Do not restart current song when rordering queue, deleting tracks from queue or
adding tracks to queue
2018-09-07 11:46:20 +02:00
Tek 4a9ae60120 Resolve "Toggle mute in volume bar does not restore previous volume level" 2018-09-06 17:38:30 +00:00
Eliot Berriot 1f08475017
Fix #390 and #392: rewritten audio player internal logic, broken volume control under Chrome 2018-07-24 22:03:41 +02:00
Eliot Berriot 979c554b4a
Use cropped covers/avatars to reduce bandwidth use 2018-07-20 19:17:39 +02:00
RenonDis f3f4f709dc fix shuffle loading too big 2018-07-13 14:29:02 +02:00
Cherry 9a9537f6e8 add changelog and fix slider outline 2018-07-11 19:54:27 +02:00
RenonDis f1b4253596 add new volume control bar 2018-07-11 14:09:26 +02:00
Eliot Berriot 265c3cded6
Localized some strings 2018-07-01 22:15:07 +02:00
Eliot Berriot 96124aafd5
See #161: fixed weird extraction issues 2018-06-30 16:27:26 +02:00
Eliot Berriot 833c0f1625
WIP replace 2018-06-30 16:02:54 +02:00
Eliot Berriot 39b473f1e6
Fixed #310: current track restart/hiccup when shuffling queue, deleting track from queue or reordering 2018-06-24 13:51:35 +02:00
Eliot Berriot 2e3a2cd6dd
See #327: Cleaned now unused backend.absoluteUrl and config module 2018-06-23 07:57:09 +02:00
Eliot Berriot f8de5c2f00
Fix #262: added feedback on shuffle button 2018-06-10 13:00:08 +02:00
Eliot Berriot 9124c7a9bf Merge branch '150-player-queue-tab' into 'develop'
Resolve "Include player buttons on the queue tab"

Closes #150

See merge request funkwhale/funkwhale!160
2018-04-23 17:08:13 +00:00
Eliot Berriot 1a34f44898
Fix #150: Player is back in Queue tab 2018-04-23 19:05:48 +02:00
Eliot Berriot 6ed6634f93
Fixed #151: queue reorder or track deletion restarting currently playing track 2018-04-23 18:32:27 +02:00
Bat 8fbcb01edc Start making components i18n-friendly 2018-04-14 18:28:41 +01:00
Bat 69a3f34784 Disable previous button if queue is empty 2018-04-01 16:21:52 +01:00
Bat 6b8dc1b53c Reset player position before playing previous track 2018-03-31 14:14:58 +01:00
Eliot Berriot d6f2c7d4c4
Form, modal and player icon to add track to playlist 2018-03-20 15:34:34 +01:00
Eliot Berriot 59445b6146
Fixed position not being reseted properly when playing the same track multiple times in a row 2018-03-15 22:57:53 +01:00