Commit Graph

455 Commits

Author SHA1 Message Date
wvffle 77594351ae Remove PlayOptions and Report mixins 2022-09-06 09:26:36 +00:00
wvffle 57692dcf6a Fix queue and player bugs 2022-09-06 09:26:36 +00:00
wvffle a43059899c Move track playing logic to usePlayer and useSound 2022-09-06 09:26:36 +00:00
wvffle 54a33cd14e Fix audio playback 2022-09-06 09:26:36 +00:00
wvffle cec34d49fa Rewrite player component to script setup 2022-09-06 09:26:36 +00:00
wvffle 8c11b6d0ea Rewrite queue 2022-09-06 09:26:36 +00:00
wvffle 442f9ce0d7 Fix v-if keys 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3266cd80bd Migrate Albums and move pagination component 2022-09-06 09:26:36 +00:00
Kasper Seweryn 0b53ec5b1c Add store types and fix other type errors 2022-09-06 09:26:36 +00:00
Kasper Seweryn 9e0596d136 Move *.js to *.ts 2022-09-06 09:26:36 +00:00
Kasper Seweryn 561c1d868c Migrate rest of inputs to new v-model 2022-09-06 09:26:36 +00:00
Kasper Seweryn bf009440ff Migrate attachment input to new v-model
It also automatically cleans up attachments that users uploaded and decided not to use
2022-09-06 09:26:36 +00:00
Kasper Seweryn 16d437be62 Migrate Translations mixin to useSharedLabels composable 2022-09-06 09:26:36 +00:00
Kasper Seweryn d6a46f5aab Remove required=false and disabled=false attributes 2022-09-06 09:26:36 +00:00
Kasper Seweryn 57aef1001e Remove deprecated slot syntax 2022-09-06 09:26:36 +00:00
Kasper Seweryn 1122324799 Fix linting 2022-09-06 09:26:36 +00:00
Kasper Seweryn d01901d8bd Fix some modals 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3915716dd6 Fix modals 2022-09-06 09:26:36 +00:00
Kasper Seweryn 7e53e9a511 Update vuedraggable 2022-09-06 09:26:36 +00:00
Kasper Seweryn b7d66232f6 Remove vue 2 filters
Fixes #1759
2022-09-06 09:26:36 +00:00
Kasper Seweryn 12b09b085a Refactor ~/logging.ts to a useLogger composable 2022-09-06 09:26:36 +00:00
Kasper Seweryn 51435d0742 Fix currentRoute 2022-09-06 09:26:36 +00:00
Kasper Seweryn 0e6097c7b8 Fix emit warning 2022-09-06 09:26:36 +00:00
Kasper Seweryn 324e028a33 Fix deprecated render function and deprecated $listeners 2022-09-06 09:26:36 +00:00
Kasper Seweryn b3022c26b6 Add onKeyboardShortcut composable
Fixes #1726
2022-09-06 09:26:36 +00:00
Kasper Seweryn 071eb2fa35 Move ~/modules to ~/init 2022-09-06 09:26:36 +00:00
Kasper Seweryn 0b51fb037f Remove JWT leftovers 2022-09-06 09:26:36 +00:00
Kasper Seweryn f61fafec2a Remove '@/' 2022-09-06 09:26:36 +00:00
Kasper Seweryn 2b40707f4f Cleanup a lot of stuff
I've replaced `lodash` with `lodash-es`, so it can be tree-shaken

`~/modules` is a directory with application modules that run before app is mounted. Useful for configuration, web socket connection, and other stuff

`~/composables` is a directory with our custom composables. Much like `~/utils` but each util is in its own file
2022-09-06 09:26:36 +00:00
Georg Krause 5c5b35a0ad
Merge branch 'stable' into develop 2022-07-04 17:18:55 +02:00
Marcos Peña 07e51bcfc4 "Repeatedly listening to a track submits a scrobble only the first time" 2022-07-01 16:39:44 +00:00
Kasper Seweryn 6b596e0cff Fix a typo (XOR -> OR) 2022-06-30 14:26:22 +00:00
Marcos Peña 8417092d89 Fix foreign tracks displayed in channel overview 2022-05-10 19:55:58 +02:00
Georg Krause 73128eef25
Merge branch 'stable' into develop 2022-05-07 13:54:59 +02:00
MattDHarding 1b8e19e129 Fix stopped player to not show 00:00 when loading a track 2022-05-03 18:26:24 +00:00
Marcos Peña 92ac77ee73 Fix foreign tracks displayed in channel overview 2022-04-28 13:41:04 +02:00
Marcos ffd1ae0c44
Fixes broken channel page 2022-04-25 11:09:38 +02:00
Georg Krause af5e2d31ea
Merge branch 'stable' into develop 2022-04-23 14:04:53 +02:00
MattDHarding 6d706c17a8 Hand cursor now displayed over artist and album cards 2022-04-23 09:54:01 +01:00
Marcos 9528437242 Fixes broken channel page 2022-04-02 11:39:15 +00:00
Kasper Seweryn 5f319db268
Remove console.log 2022-02-21 23:48:55 +01:00
Kasper Seweryn 94af589757
Fix jQuery and semantic ui 2022-02-21 23:38:51 +01:00
Kasper Seweryn 4ce7386128
Fix env variables 2022-02-21 23:23:13 +01:00
Kasper Seweryn 80ed06db04
Remove @/lodash.js
Vite handles tree shaking out of the box, so cherry picking modules is
now pointless
2022-02-21 22:49:02 +01:00
Ciaran Ainsworth d949909c40 Fix additional linting issues 2022-02-21 20:02:08 +01:00
Ciaran Ainsworth 60c6a1938f Fix some linting issues 2022-02-21 19:52:16 +01:00
Ciaran Ainsworth 08d6772392 Fix broken imports 2022-02-21 17:27:00 +01:00
Georg Krause e9c4bfe947
Start migration to vite 2022-02-21 15:07:07 +01:00
Ciaran Ainsworth 7b74e55e7f Use proper method for fetching artist cover 2022-02-16 10:29:39 +00:00
Ciaran Ainsworth c1694a808c Fix linting issues 2022-02-16 10:29:39 +00:00
Ciaran Ainsworth 41d444bbbb Add support for all cover sources in embedded player 2022-02-16 10:29:39 +00:00
Georg Krause 1ed1a691df
Remove dangling commit to make linter happy 2022-01-28 11:51:20 +01:00
Ciarán Ainsworth 62154bcd44 Resolve "No tracks appear on library tracks page" 2022-01-24 16:28:46 +00:00
Georg Krause 20c4e7ac31 Don't show go to track page link on track page 2021-12-11 19:55:54 +00:00
Georg Krause cefa3ec9d2 Fix post lint issues 2021-12-08 18:48:06 +00:00
Marcos Peña 9f30e4ec10 Resolve "Album list in artist view under track table" 2021-12-08 18:29:17 +00:00
Georg Krause 6f58a49c91
Fix wrong prop types 2021-12-06 11:50:04 +01:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Ciarán Ainsworth 58df0d4529 Profile menu redesign 2021-11-26 11:01:58 +00: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
Ciarán Ainsworth 44394275ec Update track table 2021-10-21 17:26:18 +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
Tony Wasserka 6114853445 Enable stepless adjustment of the volume control slider 2021-09-10 19:03:32 +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
Ciarán Ainsworth 071ff89a4f Fix recently listened widget and simple artist serializer 2021-05-19 12:59:14 +00:00
heyarne f1f9f935cf
Make playing tracks in their playlist the default 2021-04-28 08:47:12 +02:00
Georg Krause 4fed82a34b
Merge branch 'petitminion/funkwhale-change_start_radio_to_Play_radio' into develop 2021-04-21 14:02:28 +02: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
Petitminion cb9a5cdf81 Changing Start Radio to Play Radio. #1400 2021-04-11 00:05:16 +02:00
heyarne 75a1d74962 Stop all other tracks when loading a new track 2021-04-08 07:55:23 +00:00
Georg Krause 5fded7a701 Merge branch 'enhancement/artist-track-row-consistency' into 'develop'
Improve UI consistency in an artist's tracklist

See merge request funkwhale/funkwhale!1286
2021-04-07 06:21:45 +00:00
Georg Krause 2dc5acf4f7
Remove whitespaces 2021-04-07 06:49:53 +02:00
heyarne 188150b024 Improve UI consistency in an artist's tracklist 2021-03-30 08:26:49 +02:00
Marcos Peña f712669013 Improves album's year placement (#1366)
Better consistency between different views
2021-03-25 20:11:33 +01:00
Marcos Peña e847e92e21 Adds album's year to base and card view (#1366) 2021-03-21 10:08:37 +01:00
heyarne c2587e0a94 Fix whitespace before album name link 2021-01-03 17:48:07 +01:00
Ciarán Ainsworth d0b1b6e632 Resolve "Following channel with fediverse address not working" 2020-12-11 15:27:29 +01:00
Ciarán Ainsworth 804f9a7d99 Add prop for default cover 2020-12-04 09:21:17 +01:00
Strom Lin c0b06824a8 fix #1281: Add check for null covers 2020-11-25 00:40:29 +02:00
Ciarán Ainsworth 9650b6b1b0 Added padding to volume slider 2020-11-21 20:07:54 +00: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
Philipp Wolfer 8d9e7ca52d Use logarithmic scale for volume slider.
Fixes #1222
2020-11-19 17:40:34 +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 3533ba889f Fixed UI crash due to accessing wrong cover 2020-08-04 11:30:26 +02:00
Agate 7e5231c334 Fixed aria label on play button 2020-08-04 11:27:06 +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 667d9d2ba6 Resolve "UX, UI : Search Page" 2020-07-31 15:10:16 +02:00
Agate c6e3ce1925 Fix #1180: Fix broken media support detection 2020-07-31 11:06:29 +02:00
Agate 9a0bcffaf1 Merge branch 'link-purpose-issues' into 'develop'
Link purpose issues

Closes #1129

See merge request funkwhale/funkwhale!1175
2020-07-27 11:05:35 +02:00
Ciarán Ainsworth dd592eb6d1 Link purpose issues 2020-07-27 11:05:34 +02:00
Ciarán Ainsworth 83349700a9 Album pagination 2020-07-27 11:02:56 +02:00
Ciarán Ainsworth 2e0d3d3e74 Add time ago fix 2020-07-21 14:33:41 +01:00
Agate 4162ed65d9 Fix #1083: Play button now replace current queue instead of appending to it 2020-07-18 16:50:40 +02:00
Agate 820b53c3b4 Fixed unplayable album card 2020-07-09 13:03:08 +02:00
Agate e44a9c4363 Fix #1080: broken artist and album pages 2020-07-07 19:18:05 +02:00
Agate 55f4fde0f4 Fix #1102: Do not include tracks in album API representation 2020-07-06 10:16:45 +02:00
Agate 86b90ec716 Fix #1121: Use semantic headers for accessibility 2020-07-03 14:20:47 +02:00
Agate cf495360de
Replaced teal by accent color 2020-06-22 16:46:43 +02:00
Agate fc9c2b4a1d
Merge branch 'master' into develop 2020-06-19 21:42:12 +02:00
Agate cb3d12a34a
Fix #1134: Use role=alert on forms/toast message to improve accessibility 2020-06-19 21:30:07 +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 3a0c930dd5
Fix #1154: Support for specifying itunes:email and itunes:name in channels for compatibiliy with third-party platforms 2020-06-11 05:50:38 +02:00
Agate 0da1f1e3f1
Fix #1154: Support for specifying itunes:email and itunes:name in channels for compatibiliy with third-party platforms 2020-06-11 05:43:18 +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 6d3ad11fd6
Ensure firefox password manager dont autofill username in search bar (#1090) 2020-06-05 06:18:47 +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
Agate fcd1e1b724
Better placeholders for channels 2020-04-22 08:41:39 +02:00
marzzzello b17e382a9e remove double spaces in ChannelForm 2020-04-12 13:13:32 +02:00
Eliot Berriot 9bc90bec7c Merge branch '170-copy' into 'develop'
See #170: copy and small UI issues

See merge request funkwhale/funkwhale!1082
2020-04-08 14:30:18 +02:00
Eliot Berriot 29080ba23b
See #170: more copy fixes 2020-04-08 14:19:20 +02:00
Eliot Berriot 2438642867
See #170: included channels in tags view 2020-04-08 13:52:03 +02:00
Eliot Berriot 9e447ab523 See #170: UI for albums / series 2020-04-07 17:19:17 +02:00
Eliot Berriot 102c90d499 See #170: admin UI for channels, reporting channels 2020-03-31 10:45:41 +02:00
Eliot Berriot 27801ce541
See #170: revamped track detail page 2020-03-26 16:18:37 +01:00
Eliot Berriot 02d2e4e1c0
See #1060: moved radio button to a better spot, in activity tab 2020-03-26 09:43:02 +01:00
Eliot Berriot cd63646f39
Fix #1060: Added a new radio based on another user listenings 2020-03-25 22:40:07 +01: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 be067b9ee3 See #170: subscriptions management UI 2020-03-23 10:44:09 +01:00
Eliot Berriot ab0167a62f
See #170: fixed ellipsis issue in channel entry card 2020-03-13 13:11:08 +01:00
Eliot Berriot deb1f35779 See #170: subscribe to 3d-party RSS feeds in Funkwhale 2020-03-13 12:16:51 +01:00
Eliot Berriot b166182762 Resolve "Support browsing a specific library content" 2020-03-04 22:18:28 +01:00
Eliot Berriot c2eeee5eb1 See #170: fetching remote objects 2020-03-02 17:23:03 +01:00
Tony Wasserka 78c00bfa91 Drop redundant display of album artist in track lists
* The album artist is already printed at the top (`Album containing N tracks, by Album Artist`), so printing it in the track list is redundant
* For collaboration tracks (X feat. Y), the displayed Artist entry will contain the album artist twice (e.g. "X / X feat. Y")
* Printing only the track artists is consistent with the way songs are displayed in the playback queue
2020-02-26 16:08:28 +01:00
Eliot Berriot 7819c60164
Updated front dependencies 2020-02-25 15:46:47 +01:00
Eliot Berriot e59cc33378 First round of improvements to channel management:
- use modals
- less proeminent button
- field styling/labels
2020-02-23 15:31:03 +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
Eliot Berriot 18791e57f6
Fix #1018: broken artist cards 2020-01-29 14:05:21 +01:00