Commit Graph

254 Commits

Author SHA1 Message Date
petitminion 5b7a28684a Catch ValueError at the end of a radio 2022-03-16 12:54:35 +00:00
Marcos 42ff6fe600 Fix login redirect (#1736) 2022-03-11 09:08:24 +00:00
Kasper Seweryn 341bcf5b17 Remove `require` from auth store 2022-03-08 14:04:54 +00: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 60c6a1938f Fix some linting issues 2022-02-21 19:52:16 +01:00
Philipp Wolfer d93f0d107d Allow using dark / light theme as indicated by prefers-color-scheme media feature 2022-01-04 09:14:05 +00:00
Marcos Peña 312ceb9cfb Resolve "Computed properties already defined in data" 2021-12-19 17:37:48 +00:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Marcos Peña 0cf83f3000 Resolve "Removing last track in queue jumps player to new last track (instead of continuing current track) (#1485)" 2021-10-28 08:17:33 +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
Georg Krause ad80ddfce4
Fix frontend tests 2021-09-24 17:40:54 +02:00
Ciarán Ainsworth f78e3c6460 Add beforeRouteEnter guards for moderation pages 2021-07-26 18:08:14 +00:00
petitminion a8ab4eedfc Add recently added radio, part of #1390 2021-06-17 11:04:01 +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
Tony Wasserka 9efafffd9d Reset playback when reaching the queue end
Closes #1380.
2021-04-03 13:19:57 +02:00
Ciarán Ainsworth f477ba1b4f Podcast search capabilities 2020-12-04 09:33:17 +01:00
Philipp Wolfer 9e5d168e8d Support AIFF file format
Fixes #1243
2020-11-21 12:13:09 +01:00
Agate cea1c14757 Fix #1190: improved shuffle behaviour 2020-08-18 18:03:34 +02:00
Agate e271851f67 See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
Agate fd5bec9dfa Documented missing API endpoints 2020-07-28 11:26:39 +02:00
Agate 84d49754a7 Fix #996: Persist theme and language settings accross sessions 2020-07-05 11:22:31 +02:00
Agate 92bf467382 Fixed toast message remaining too long 2020-07-04 11:38:37 +02:00
Agate 50c3071c56 Fixed auth/csrf issues 2020-07-03 11:35:11 +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 79753d7752
Refresh site on logout to avoid CSRF issues 2020-05-19 12:02:58 +02:00
Agate 566da673da See #1108: support using OAuth instead of JWT in front when logging in to a different domain 2020-05-18 14:55:15 +02:00
Agate 550dbe46cc Support session/cookie based auth, see #1108 2020-05-18 12:03:30 +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 b6a183f600
Fix #1092: Ensure player doesn't disappear when last queue track is removed manually 2020-05-07 17:50:20 +02:00
Agate 9333fdc62b
Fix #1087: Fix playlist modal only listing 50 first playlists 2020-05-07 13:14:12 +02: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 e313fcd033 Resolve "Screening for signups" 2020-03-18 11:57:33 +01:00
Eliot Berriot d9afed5067 Fix #1038: Federated reports 2020-03-11 11:39:55 +01:00
Eliot Berriot b166182762 Resolve "Support browsing a specific library content" 2020-03-04 22:18:28 +01:00
Eliot Berriot b687e6886c
Fixed broken pagination on favorites 2020-03-03 13:33:04 +01:00
Eliot Berriot be32a671fc
Fixed broken tag search when anonymous 2020-02-25 17:26:39 +01:00
Eliot Berriot 7adca7af33
Fix broken update message 2020-02-25 14:43:14 +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 c47a83e14f
Switch to fomantic's toast componant for service messages 2020-02-14 12:41:29 +01:00
Eliot Berriot 95497e76ac See #170: channels ui (listeners) 2020-02-05 15:06:07 +01:00
Eliot Berriot b74517ff33
Fixed broken track table issue during upload 2020-02-05 14:53:20 +01:00
Eliot Berriot a48cccc569
Fixed broken pagination in uploads table 2020-01-30 10:38:35 +01:00
Eliot Berriot 9b98e8773d
Fixed API caching not triggered when loading app for first time 2020-01-09 12:33:24 +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
Eliot Berriot 2090806398 New radios: play your own content, or a given library 2019-11-27 15:28:21 +01:00
Renon 82744bf193 Resolve "Option to remember our display settings " 2019-11-12 15:51:45 +01:00
Eliot Berriot fe8448e2a4
Use ellipsis instead of three dots in translations 2019-10-01 13:54:25 +02:00
Eliot Berriot 01223afa80 Resolve "Add optional donation/contribution link in-app" 2019-09-23 11:30:25 +02:00
Eliot Berriot 297c8f2b67 Resolve "[Epic] New landing page" 2019-09-23 11:14:54 +02:00
Eliot Berriot c9a9615be8 See #890: web UI and email notifications on new reports 2019-09-13 06:09:48 +02:00
Eliot Berriot 7f106d21c4
Ensure selected locale is not reset to browser default when refreshing app 2019-09-11 12:30:31 +02:00
Eliot Berriot 33d1f879cf Report UI (end-user) 2019-09-09 11:10:25 +02:00
Eliot Berriot f20b27622f
See #890: Display the number of unhandled reports in the sidebar 2019-08-28 10:22:37 +02:00
Ciarán Ainsworth f4365f68c2 Resolve "Add new keyboard shortcuts" 2019-06-25 17:48:01 +02:00
Eliot Berriot ce093ccc19 Fix #756: Dark Theme 2019-06-17 08:45:31 +02:00
Eliot Berriot 0be93ec05b
Fix #563: unplayable radios for anonymous users 2019-05-02 10:05:20 +02:00
Eliot Berriot 8b88f92a8c
Fix #572: Preload next track in queue 2019-04-30 14:14:17 +02:00
Ben Finney f24d2549ae Update document title to display track info. 2019-04-08 10:01:21 +02:00
Eliot Berriot b9f0c6aecd
Revert "Merge branch '629-cookie-auth' into 'develop'"
This reverts commit 8b47af8b81, reversing
changes made to c0055b3b20.
2019-03-15 15:52:30 +01:00
Eliot Berriot c395076fce Resolve "Use cookies instead of local storage for auth in Web UI" 2019-03-13 16:50:49 +01:00
Eliot Berriot e0c5ffcb16 [EPIC] Audio metadata update - UI / API 2019-02-28 09:31:04 +01:00
Eliot Berriot bdf83bd8ff Resolve "Hide an artist in the UI" 2019-02-14 10:49:06 +01:00
Eliot Berriot 7d003282eb
Fix #670: Use proper locale for date-related/duration strings 2019-01-25 11:34:30 +01:00
Eliot Berriot d28e252109
Improved UX of instance-picking form 2019-01-17 12:17:29 +01:00
Eliot Berriot be46fb0ea0
Fixed broken login redirection when 401 (again) 2019-01-17 11:04:46 +01:00
Eliot Berriot 3916986fb8
Performance improvement when fetching favorites, down to a single, small http request 2019-01-10 11:58:18 +01:00
Eliot Berriot 73d8dd9a45
Fixed UX/autoreload issues in import screen 2019-01-02 15:19:45 +01:00
Eliot Berriot e4117043cb
Added API endpoint and UI to list known domains 2018-12-27 20:33:11 +01:00
Eliot Berriot 83f104ce01
Fixed broken custom css path 2018-12-20 12:12:28 +01:00
Eliot Berriot b2acd1e8a8
Use specific methods from lodash to reduce bundle size 2018-12-20 11:22:33 +01:00
Eliot Berriot 95e087b342
Removed raven on front-end 2018-12-20 11:07:30 +01:00
Eliot Berriot a221633085
See #638: fix skipping to last track in album 2018-12-20 11:07:29 +01:00
Eliot Berriot 4747c6379c
Fix #632: play button not starting playback with empty queue 2018-12-19 20:20:32 +01:00
Eliot Berriot 456661a324
Fix #209: skipped track when appending multiple tracks to the queue under certain conditions (#209) 2018-11-25 12:33:37 +01:00
Eliot Berriot 3d3175f3c9
Fix #606: Refresh profile after user settings update to avoid cache issues 2018-11-09 20:41:40 +01:00
Eliot Berriot 66c8e7a9e4
Fix #597: Ensure admin links in sidebar are displayed for users with relavant permissions, and only them 2018-11-03 23:07:47 +01: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 5c8aff20ed
Fix #585: Now start radios immediatly, skipping any existing tracks in queue 2018-10-21 16:51:53 +02:00
Eliot Berriot e49a460203 Audio federation 2018-09-22 12:29:30 +00:00
Eliot Berriot ecd395d6b0 Library follows and user notifications 2018-09-13 15:18:23 +00:00
Eliot Berriot 2ea21994ee Resolve "Per-user libraries" (use !368 instead) 2018-09-06 18:35:02 +00: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 5e7985387e
Fix #490: Ensure we always have a default api url set on first load to avoid displaying the instance picker 2018-08-21 18:22:57 +02:00
Eliot Berriot 420e778eb6
Fixed #476: invitation code not prefilled in form when accessing invitation link 2018-08-11 14:20:08 +02:00
Eliot Berriot d7f12caf5c
Fix #456: make Funkwhale themable by loading external stylesheets 2018-07-26 23:10:01 +02:00
Eliot Berriot 1b78ef31c2
Fixed #398: favorited status of tracks not appearing in interface 2018-07-24 22:24:56 +02:00
Eliot Berriot 50fb5543c9
Increased page size for favorites fetch to reduce HTTP roundtrip 2018-07-24 22:03:41 +02:00
Eliot Berriot 25755ad39b
Fixed #384: unfiltered results in favorites API 2018-07-22 11:56:25 +02:00
Eliot Berriot af270f4abd Resolve "An avatar for users" 2018-07-13 12:10:39 +00:00
Eliot Berriot 8926d93040
See #161: can now persist language in local storage 2018-06-30 12:05:52 +02:00
Eliot Berriot c371fe3645
Fixed random stuff (redirection and broken absoluteURl) 2018-06-24 14:53:05 +02:00
Eliot Berriot e068f4c102 Merge branch 'broken-websocket' into 'develop'
Ensure we use absolute URL to connect to websocket

See merge request funkwhale/funkwhale!270
2018-06-24 12:00:17 +00: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 63dd5b2f06
Ensure we use proper URL to connect to websocket 2018-06-24 13:43:38 +02:00
Eliot Berriot 7d60155b0f Merge branch '327-versatile-front' into 'develop'
Resolve "Make it possible to point the front-end to custom API urls"

Closes #327

See merge request funkwhale/funkwhale!269
2018-06-23 16:29:15 +00:00
Eliot Berriot 690bc47fd3
See #327: review app for the front \o/ 2018-06-23 17:54:29 +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 f3e2193782
See #327: can now use the front-end with any API server 2018-06-23 07:24:34 +02:00
Eliot Berriot a443f9431e
See #190: now store sidebar notifications in vuex store 2018-06-21 23:26:17 +02:00
Eliot Berriot 1823554bbc Merge branch '262-shuffle-feedback' into 'develop'
Resolve "No feedback on the shuffle button"

Closes #262

See merge request funkwhale/funkwhale!238
2018-06-11 16:20:37 +00:00
Eliot Berriot 9f18b95069
Fixed #245: admin menu not showing after login 2018-06-10 14:25:22 +02:00
Eliot Berriot f8de5c2f00
Fix #262: added feedback on shuffle button 2018-06-10 13:00:08 +02:00
Eliot Berriot 3634c00ee6
See #262: light messaging area and helpers for the front-end 2018-06-10 13:00:07 +02:00
Eliot Berriot 4ce6715dc7
See #152: updated front-end to use new permissions 2018-05-18 22:18:02 +02:00
Eliot Berriot 7595936260
See #75: added a preference do enable/disable the subsonic API on the instance level 2018-05-09 22:13:04 +02:00
Eliot Berriot 929b50183a
Now reset cookie on profile fetch, to avoid CSRF bugs 2018-05-06 11:21:36 +02:00
Eliot Berriot 4325b1be4f
Removed radios and listening recording for anonymous users as it was buggy 2018-05-06 11:18:28 +02:00
Eliot Berriot 0ab62b8648 Merge branch '145-radio-delete-last-track' into 'develop'
Resolve "Unexpected behavior with radios"

Closes #145

See merge request funkwhale/funkwhale!159
2018-04-23 16:46:30 +00:00
Eliot Berriot 0e153c0f4d
Fix #145: Radio will now append new track if you delete the last track in queue 2018-04-23 18:43:46 +02:00
Eliot Berriot 6ed6634f93
Fixed #151: queue reorder or track deletion restarting currently playing track 2018-04-23 18:32:27 +02:00
Eliot Berriot de4b0f3022
Fix #124 and #155: properly reset everything on logout 2018-04-19 22:15:13 +02: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 2384f761b1
Now fetch activity from API on first timeline display (#141) 2018-03-25 17:36:10 +02:00
Eliot Berriot 6a30e59aa2
Fix #97: Queue shuffle now apply only to tracks after the current one 2018-03-23 16:28:30 +01:00
Eliot Berriot 0dfb594b6a
Shared playlist modal 2018-03-20 19:57:34 +01:00
Eliot Berriot a34b1afd6c
Store for fetching user playlists 2018-03-20 15:34:34 +01:00
Eliot Berriot e319f5933e
Store for instance events 2018-03-02 00:13:45 +01:00
Eliot Berriot 40350f0555
Redraw ago datetime every minute 2018-03-01 23:46:32 +01:00
Eliot Berriot f40eefcd6a
Fix #98: Now stop running radio when clearing queue 2018-02-28 18:16:25 +01:00
Eliot Berriot af11b735d8
Fix #91: queue skipping tracks 2018-02-28 17:57:37 +01:00
Eliot Berriot 7dfafea26c
Disable radio populate after too much consecutive errors 2018-02-27 21:29:07 +01:00
Eliot Berriot 5f28f7e90c
Fixed #87:Now always load next radio track on last queue track ended 2018-02-27 19:39:26 +01:00
Eliot Berriot fbb256bc9b
Fix #89: Always use username in sidebar 2018-02-27 17:51:27 +01:00
Eliot Berriot 541ac29047
Front: Shuffle now restart next track from beginning (#70) 2018-02-24 17:57:07 +01:00
Eliot Berriot ab2af7a548
About page for instance based on instance descriptions 2018-02-24 15:28:09 +01:00
Eliot Berriot b4ace3c9dd
Typo 2018-02-24 15:10:47 +01:00
Eliot Berriot f398d40ecc
Fixed failing test 2018-02-24 14:55:08 +01:00
Eliot Berriot 119e05e633
Signup form 2018-02-24 14:34:28 +01:00
Eliot Berriot 97eab8e8de
Avoid display quircks of duration 2018-02-19 21:21:06 +01:00
Eliot Berriot aa67be9063
Now load instance settings on page load 2018-02-17 21:31:32 +01:00
Eliot Berriot a2c42996a1
Removed autoplay on page reload 2018-02-17 17:30:21 +01:00
Eliot Berriot 90611ffacc
Added missing ajax unit tests 2018-01-11 23:02:45 +01:00
Eliot Berriot e4edf55c47
Replaced vue-resource by axios 2018-01-11 21:35:51 +01:00
Eliot Berriot c7070042fb
Unit tests for queue store 2018-01-11 18:46:28 +01:00
Eliot Berriot bc76048b4a
Added tests for auth, favorites and player in store 2018-01-09 22:54:06 +01:00
Eliot Berriot 07bff17e51
Frontend for custom radios 2018-01-07 22:21:01 +01:00
Eliot Berriot 3c08722e92
Fixed #56: invalidate tokens on password change, also added change password form 2017-12-26 15:56:04 +01:00
Eliot Berriot f1557ac4b9
Fixed #57: now refresh jwt token on page refresh 2017-12-26 14:47:27 +01:00
Eliot Berriot 62a7d9091e
Now persist/restore queue/radio/player state automatically 2017-12-24 22:49:21 +01:00