Commit Graph

1975 Commits

Author SHA1 Message Date
wvffle 360dcb7ccb Fix type errors 2022-11-15 20:28:30 +00:00
Ciarán Ainsworth 9626c91f91 Update copy 2022-11-15 18:03:43 +00:00
wvffle eece534f1d Display unhashed client secret 2022-11-15 18:03:43 +00:00
wvffle eb78079970 Fix playlist manage button 2022-11-15 13:34:40 +00:00
wvffle d2dcc541a1 Remove console.log 2022-11-13 16:00:45 +00:00
wvffle b9646be0ea Resolve issues in Application Form 2022-11-13 15:06:50 +00:00
Kasper Seweryn ea25f5e9aa Add storage namespace 2022-11-06 10:04:33 +00:00
wvffle 839a80b3ac Fix #1945 and #1943 2022-11-06 09:58:15 +00:00
wvffle 2c9327fefc Fix play button in albums with multi-page volumes 2022-11-05 12:53:12 +00:00
wvffle b7355c9c95 Fix adding same track multiple times 2022-11-05 12:48:30 +00:00
wvffle e259e3dd74 Fix player closing when queue ends 2022-11-04 13:54:04 +00:00
wvffle ec31004952 Fix typo 2022-11-04 13:20:22 +00:00
wvffle 315e5ef766 Responsivity and accessibility fixes 2022-11-04 13:20:22 +00:00
wvffle ed9cb97ba6 Add option for fullscreen covers 2022-11-04 13:20:22 +00:00
wvffle 64a5ee3c69 Set higher mesh size for MilkDrop 2022-11-04 13:20:22 +00:00
wvffle aa7ded73f8 Add toggle switches for cover/visualizer 2022-11-04 13:20:22 +00:00
wvffle 8306eaaff6 Add buttons to the cover art 2022-11-04 13:20:22 +00:00
wvffle 5eff89920a Add MilkDrop 2022-11-04 13:20:22 +00:00
wvffle 60ae29a612 Fix fetching pages of albums in album detail view 2022-11-03 09:44:25 +01:00
wvffle 8a1cdd27d5 Fix request/reports not filtering and form auto focussing on mounted when `autofocus` is `false` 2022-11-03 08:23:16 +00:00
wvffle 78854bbae3 Fix tracks table fetching all tracks in some cases 2022-11-03 08:15:17 +00:00
wvffle 298cd1afae Add selected theme computed 2022-11-02 20:51:16 +00:00
Philipp Wolfer 7c9959831e Fix dark/light theme showing as selected when "auto" is chosen 2022-11-02 20:51:16 +00:00
wvffle 3fe7d28d5d Fix player migration errors 2022-10-31 23:02:40 +01:00
wvffle ece2c468ca Delegate queue migration 2022-10-31 23:02:40 +01:00
wvffle e4759d14c9 Old queue migration system 2022-10-31 23:02:40 +01:00
Kasper Seweryn 8367e09e6c Fix favorite button in queue 2022-10-31 19:56:38 +00:00
Georg Krause f85ce70ff2
chore: Remove last bit of removed WebWorker component 2022-10-30 19:20:36 +01:00
wvffle e7349bf75e
Remove unused webworker module 2022-10-30 19:20:36 +01:00
wvffle 3ae5adc7ba
Fix playback of some token protected resources 2022-10-30 19:20:35 +01:00
wvffle 4cd7ca2cb4
Fall back to memory if indexedDB is unavailable 2022-10-30 19:20:35 +01:00
wvffle cb5e6f1848
More indexedDB cleanup 2022-10-30 19:20:35 +01:00
wvffle eba18cede3
Cleanup indexedDB when queue clears and when instance changes 2022-10-30 19:20:35 +01:00
wvffle 5616c9f066
Ensure we do not get undefineds from indexedDB 2022-10-30 19:20:35 +01:00
wvffle 34d4f3b25b
Fix transcoded track and add info if there are no track sources 2022-10-30 19:20:34 +01:00
wvffle ab8699783d
Fix looping 2022-10-30 19:20:34 +01:00
wvffle ba10e03143
Potential fix for silent external audio tracks 2022-10-30 19:20:34 +01:00
wvffle 247abbcfea
Fix clearing queue with shortcut 2022-10-30 19:20:34 +01:00
wvffle d90f41ec51
Fix some linting problems 2022-10-30 19:20:32 +01:00
wvffle db932f2470
Add track position 2022-10-30 19:17:56 +01:00
wvffle 8c62d516b0
Resolve race condition 2022-10-30 19:17:56 +01:00
wvffle 0118fe0c63
Resolve TODOs 2022-10-30 19:17:56 +01:00
wvffle 4376e40e26
Fix shuffling 2022-10-30 19:17:55 +01:00
wvffle f51007b807
Fetch only new queue tracks from indexedDB 2022-10-30 19:17:55 +01:00
wvffle 9f36c4b3a8
Cleanup old queue and player logic 2022-10-30 19:17:55 +01:00
wvffle f06464ffa2
Fix calling createTrack multiple times when radio track changes 2022-10-30 19:17:55 +01:00
wvffle c828e106b0
Add radio support 2022-10-30 19:17:55 +01:00
wvffle 1be6701752
Fix changing songs and add LRU cache 2022-10-30 19:17:54 +01:00
wvffle ccb905b004
Migrate queue component 2022-10-30 19:17:54 +01:00
wvffle bef0d1dec4
WIP Rewrite queue 2022-10-30 19:17:54 +01:00
wvffle 15f5056a59
Add web worker communication for offloading the main thread 2022-10-30 19:17:53 +01:00
wvffle aba816e8bf
Add queue shuffling 2022-10-30 19:17:53 +01:00
wvffle c08e1fad94
WIP: Rewrite queue 2022-10-30 19:17:51 +01:00
wvffle 3bf7dd98a2
Fix volume controls 2022-10-30 19:16:29 +01:00
wvffle de3d112434
Add listen submitting (Fix #1874) 2022-10-30 19:16:29 +01:00
wvffle 7c68fee276
Add track looping logic 2022-10-30 19:16:29 +01:00
wvffle e47dbc5ab5
Add Sound implementation 2022-10-30 19:16:26 +01:00
wvffle 7b17c46987
Create audio system based on Web Audio API 2022-10-30 19:12:46 +01:00
Ciarán Ainsworth b2223131b5 Resolve "Can't subscribe to podcasts" 2022-10-24 22:30:05 +00:00
wvffle 4e5fb464e0 Fix OAuth login 2022-10-13 10:25:29 +00:00
wvffle 3597527362 Implement embedded player logic 2022-09-26 17:45:27 +00:00
Kasper Seweryn 56a1058539 Fix global shortcuts 2022-09-25 15:18:11 +00:00
wvffle c897ee0771 Fix editing playlist tracks 2022-09-17 13:21:13 +00:00
Kasper Seweryn b04b2ece50 Fix trackListened not being sent when tab is not focused 2022-09-17 13:08:41 +00:00
Georg Krause 6d5e1b3c17 Align sentry configuration of front- and backend 2022-09-15 06:54:02 +00:00
Kasper Seweryn fd60fa2add Fix about pod info NOCHANGELOG 2022-09-13 12:18:46 +00:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
Kasper Seweryn 778d2fcbd4 Fix remote search 2022-09-07 13:10:22 +00:00
Kasper Seweryn 57a5b85ff3 Fix search by text 2022-09-07 09:03:38 +00:00
wvffle 1837107ae8 Make changing tags reactive 2022-09-06 09:26:36 +00:00
wvffle 711aa783b3 Fix setting progress through progressbar 2022-09-06 09:26:36 +00:00
wvffle fb4f94fb73 Fix search and dynamic ordering (#1567) 2022-09-06 09:26:36 +00:00
wvffle 1b31fd4007 Remove js tests 2022-09-06 09:26:36 +00:00
Kasper Seweryn e2be5662ef Fix empty descriptions throwing unexpected errors 2022-09-06 09:26:36 +00:00
wvffle 0541da444b Prepare vitest 2022-09-06 09:26:36 +00:00
wvffle 07d7304be1 Fix hanging loading state in some components 2022-09-06 09:26:36 +00:00
wvffle 8a27f350bb Cleanup eslintrc 2022-09-06 09:26:36 +00:00
wvffle b17941fc44 Fix eslint 2022-09-06 09:26:36 +00:00
wvffle 95e3dcb130 Fix tsc linter! 2022-09-06 09:26:36 +00:00
Ciarán Ainsworth 2c364ce201 Fix subscribe button 2022-09-06 09:26:36 +00:00
wvffle 436a76928f Resolve most type conflicts 2022-09-06 09:26:36 +00:00
wvffle e7da8b5f43 Resolve some TODOs 2022-09-06 09:26:36 +00:00
wvffle 74d1a0a03e Migrate rest of the components 2022-09-06 09:26:36 +00:00
wvffle 6431d0285c Add notification for unhandled errors 2022-09-06 09:26:36 +00:00
wvffle ee975e5854 Add error handler in all unhandled places 2022-09-06 09:26:36 +00:00
wvffle c1494c8894 Migrate some components 2022-09-06 09:26:36 +00:00
wvffle 7eca32e006 Couple fixes 2022-09-06 09:26:36 +00:00
wvffle 0b263dce71 Test changes 2022-09-06 09:26:36 +00:00
wvffle e8f65455b8 Migrate EditList.vue 2022-09-06 09:26:36 +00:00
wvffle 5b95a8f954 Migrate some components 2022-09-06 09:26:36 +00:00
wvffle b3a08c8688 Migrate user menu 2022-09-06 09:26:36 +00:00
wvffle 07abe66af1 Performance fixes 2022-09-06 09:26:36 +00:00
wvffle ad41d90a45 Check if user is authenticated when a page is created 2022-09-06 09:26:36 +00:00
wvffle 76f6c64708 Fix some unhandler axios errors 2022-09-06 09:26:36 +00:00
wvffle 68f2450c93 Migrate FileUpload component and fix uploading files 2022-09-06 09:26:36 +00:00
wvffle 1c395c01b0 Migrate upload form 2022-09-06 09:26:36 +00:00
wvffle 5dbf85c7b7 Add sentry environment 2022-09-06 09:26:36 +00:00
wvffle f52798b0d3 Ignore vue3-lazyload error 2022-09-06 09:26:36 +00:00
wvffle 36ada7a225 Add logging 2022-09-06 09:26:36 +00:00
wvffle 5c05407f92 Fix cookie name 2022-09-06 09:26:36 +00:00
wvffle d7052c44e0 Import dependencies dynamically to reduce production size 2022-09-06 09:26:36 +00:00
wvffle cac12a85fb Add proper tracking alert 2022-09-06 09:26:36 +00:00
wvffle a57320d0f1 Add better tracking 2022-09-06 09:26:36 +00:00
wvffle e6bc1ab655 Fix some glitchtip errors 2022-09-06 09:26:36 +00:00
wvffle 2f2409f9f2 Migrate some components 2022-09-06 09:26:36 +00:00
wvffle 45740d510e Migrate signup 2022-09-06 09:26:36 +00:00
wvffle 14a61d5fe4 Migrate settings 2022-09-06 09:26:36 +00:00
wvffle 5ea5ad3c2a Use navigation guards and migrate a couple of components 2022-09-06 09:26:36 +00:00
wvffle 1d4a3468ee Revert "Rewrite player logic"
This reverts commit ec630a234ab5ea0dccddaf06c462536bbf1ed329.
2022-09-06 09:26:36 +00:00
wvffle 06310593ac WIP: Experiment with MediaElementAudioSourceNode 2022-09-06 09:26:36 +00:00
wvffle 97e7049333 Rewrite player logic
This commit will bring:
- Gapless play! (Fix #739)
- Chunked queue shuffling - we play first track after first 50 queue items are shuffled, then we shuffle chunks of 50 queue items with each new animation frame.
- We can now restore original queue order after shuffling! (Part of #1506)
- Preloading whole tracks into LRU cache (Should fix #1812)
- Preloading multiple tracks at once
2022-09-06 09:26:36 +00:00
wvffle 465b6918e4 Fix rendering metadata in user requests 2022-09-06 09:26:36 +00:00
wvffle 8d63ee689f Fix metadata type 2022-09-06 09:26:36 +00:00
wvffle 148adbf702 Fix #1836 2022-09-06 09:26:36 +00:00
wvffle 4805842f89 Add sentry support 2022-09-06 09:26:36 +00:00
wvffle f06c040b50 Add markdown enhancements
This commit will bring:
- Linking to other users with `@username`
- Linking to tags with `#tag`
- Opening external links in new tab (Fix #1647)
- Single line breaks to avoid confusion for non-technical users (Fix #1377)
- 😒 support...
- Email encoding in markdown
- Markdown editor now auto-resizes to accomodate content (Fix #1379)

NOTE: This only works in very few places. We need to wait for #1835 to have those features available widely
2022-09-06 09:26:36 +00:00
wvffle 8aa073b976 Add player seek progress bar 2022-09-06 09:26:36 +00:00
wvffle 801c04c07e Fix radios starting from second track 2022-09-06 09:26:36 +00:00
wvffle bf67676010 Fix scrollToIndex 2022-09-06 09:26:36 +00:00
wvffle fa68ff76d8 Fix scrollToIndex 2022-09-06 09:26:36 +00:00
wvffle d1b8190dca Performance fixes 2022-09-06 09:26:36 +00:00
wvffle 29afac3101 Remove unused attr 2022-09-06 09:26:36 +00:00
wvffle 2117b0e209 Fix scrollToIndex 2022-09-06 09:26:36 +00:00
wvffle 11b67919c8 Dynamically calculate number of track elements in DOM 2022-09-06 09:26:36 +00:00
wvffle 63fbf286a2 Fix scrolling mode 2022-09-06 09:26:36 +00:00
wvffle fa6a1575e2 Fix moving queue items in FireFox 2022-09-06 09:26:36 +00:00
wvffle f470e0649e Better fav button in queue item 2022-09-06 09:26:36 +00:00
wvffle 3436c5b985 Add margin to fav button 2022-09-06 09:26:36 +00:00
wvffle 096ee92408 Use nicer colors 2022-09-06 09:26:36 +00:00
wvffle 3d518e5b64 Favorite from queue 2022-09-06 09:26:36 +00:00
wvffle 1df46d9691 Fix toast container making ui unclickable 2022-09-06 09:26:36 +00:00
wvffle 2d16cd1cdf Oprimize RAF 2022-09-06 09:26:36 +00:00
wvffle 476f0ee06d Fix duration in radios 2022-09-06 09:26:36 +00:00
wvffle c87bf7e6b8 Queue component enhancements
This commit provides following queue component enhancements:
- Use a virtual list to render queue items. We now render ~25-30 items at once compared to `queue.length` items. (Fix #1471)
- Faster queue opening and a smoother open animation. (Fix #1471)
- Faster song enqueueing: When enqueueing a playlist or an album, we modify the state only once compared to `tracks.length` modifications before.
- When opening the queue, current track is now already pre-scrolled and centered. This resolves an issue with big queues, where the track list was slowly scrolling to a random position.
- Dragging a track onto the edge of the track list will now scroll the container. You reorder a track from the very top to the very bottom even when you have 3000 tracks in the queue!
- Ability to use scroll wheel while reordering track items
- Track reordering on mobile devices! Currently dragging to edge is disabled
- Responsivity fixes
- Allow click outside modal (Fix #1581)
2022-09-06 09:26:36 +00:00
wvffle 53d9015e17 Fix #1796, Potentially fix #1471 2022-09-06 09:26:36 +00:00
wvffle 9234720710 Fix sidebar on mobile ui 2022-09-06 09:26:36 +00:00
wvffle a7f4df68ea Fix dropdowns 2022-09-06 09:26:36 +00:00
wvffle 232f0ff465 Resume playback when changing song from queue 2022-09-06 09:26:36 +00:00
wvffle 4c02478470 Fetch all user info on startup 2022-09-06 09:26:36 +00:00
wvffle bd1a92c5f1 Set `operator-linebreak` to `before` 2022-09-06 09:26:36 +00:00
wvffle 998c7e1c09 Fix radio buttons 2022-09-06 09:26:36 +00:00
wvffle db167ad80b Fix rounded corners in progress bars 2022-09-06 09:26:36 +00:00
wvffle fae4788000 Even smoother progress animations 2022-09-06 09:26:36 +00:00
wvffle 6b179885ce Fetch inbox data 2022-09-06 09:26:36 +00:00
wvffle 9d8465c950 Fetch notification count only when logged in 2022-09-06 09:26:36 +00:00
wvffle 8b90029d08 Fix notification statuses 2022-09-06 09:26:36 +00:00
wvffle 2323cf70d7 Update vite 2022-09-06 09:26:36 +00:00
wvffle 8ef28e3aa3 Fix unhandled error 2022-09-06 09:26:36 +00:00
wvffle 1f27692e37 Fix edits list 2022-09-06 09:26:36 +00:00
wvffle 8719e348df Fix edit notification count 2022-09-06 09:26:36 +00:00
wvffle aa2d83ac2c Fix notification fetching 2022-09-06 09:26:36 +00:00
wvffle 3dff9c74d9 Fix front settings fetching 2022-09-06 09:26:36 +00:00
wvffle 9d7327a45f Fix jitter in firefox 2022-09-06 09:26:36 +00:00
wvffle 0bb424a777 Fix production building 2022-09-06 09:26:36 +00:00
wvffle c0719c21f1 Fix #1298 2022-09-06 09:26:36 +00:00
wvffle 998bd02a05 Fix #1215 2022-09-06 09:26:36 +00:00
wvffle 34610670c6 Fix #1381 2022-09-06 09:26:36 +00:00
wvffle 951d339904 Fix audio playback 2022-09-06 09:26:36 +00:00
wvffle b8f5f5d6ef Fix #1297 2022-09-06 09:26:36 +00:00
wvffle bbdb3dcb9d Fix auto-fixable linter issues 2022-09-06 09:26:36 +00:00
wvffle 73b1dc8f30 MIgrate some components 2022-09-06 09:26:36 +00:00
wvffle 2900c3818c Fix #1829 2022-09-06 09:26:36 +00:00
wvffle 09c1aba30d Rename <modal> to <semantic-modal> 2022-09-06 09:26:36 +00:00
wvffle c56627bfcf Fix fomantic 2022-09-06 09:26:36 +00:00
wvffle 405eed0c0f Add semantic ui types 2022-09-06 09:26:36 +00:00
wvffle af0129b598 Simplify SetInstanceModal logic 2022-09-06 09:26:36 +00:00
wvffle e03e2ec901 Migrate home component
Adds some code that is a starter to #1316 and #1534 but depends on #1827
2022-09-06 09:26:36 +00:00
wvffle 7408fe17ec Fix radio button 2022-09-06 09:26:36 +00:00
wvffle 58ef3757a4 Fix rendering instance settings 2022-09-06 09:26:36 +00:00
wvffle 285a0af7c1 Fix playlist card urls 2022-09-06 09:26:36 +00:00
wvffle a37835a9c2 Allow displaying multiple same tracks in track list
Well, there was some error with `@mouseleave` not firing in some cases for some weird reason, so I decided to handle the `hover` prop in the container
2022-09-06 09:26:36 +00:00
wvffle 3e5a772027 Fix duration rendering 2022-09-06 09:26:36 +00:00
wvffle 1c770ff5c2 Fix force adding already existing track to the playlist (#1802) 2022-09-06 09:26:36 +00:00
wvffle a545333ff7 Fix crashing on track number 2022-09-06 09:26:36 +00:00
wvffle c5f7022869 Migrate a bunch of components 2022-09-06 09:26:36 +00:00
wvffle de4f445e9b Fix up some tsc errors 2022-09-06 09:26:36 +00:00
wvffle 779d71abbc Migrate a bunch of components 2022-09-06 09:26:36 +00:00
wvffle 0251789f82 Fix a bunch of typescript errors 2022-09-06 09:26:36 +00:00
wvffle 11e7be988a Migrate EmbedWizard 2022-09-06 09:26:36 +00:00
wvffle b597dc4a71 Migrate Settings and SettingsGroup 2022-09-06 09:26:36 +00:00
wvffle 8d5464c28e Workaround vuejs/core/pull/4512 2022-09-06 09:26:36 +00:00
wvffle 77594351ae Remove PlayOptions and Report mixins 2022-09-06 09:26:36 +00:00
wvffle 74e88c26e8 Remove todo 2022-09-06 09:26:36 +00:00
wvffle 7d8d1a414d Fix #1777 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 02f8f37824 Migrate a bunch o components to script setup 2022-09-06 09:26:36 +00:00
wvffle 4240396220 Fix html sanitization 2022-09-06 09:26:36 +00:00
wvffle fd403ab7ca Migrate About.vue to script setup 2022-09-06 09:26:36 +00:00
wvffle d090adc1f1 Sanitize html 2022-09-06 09:26:36 +00:00
wvffle 9ed6213a46 Cleanup qs.stringify comments 2022-09-06 09:26:36 +00:00
wvffle 7d55d33067 Create a common view component for management lists 2022-09-06 09:26:36 +00:00
wvffle 03e29b3fbc Fix playlist modal error handling 2022-09-06 09:26:36 +00:00
wvffle 23a88d025a Tidy up routes 2022-09-06 09:26:36 +00:00
wvffle e608089557 Fix router warnings 2022-09-06 09:26:36 +00:00
wvffle dbe762d71c Fix scrollBehavior 2022-09-06 09:26:36 +00:00
wvffle d57932444b Cleanup ordering composable 2022-09-06 09:26:36 +00:00
wvffle 33dfeea168 Fix router navigation 2022-09-06 09:26:36 +00:00
wvffle a28e00708b Remove @vue/compat 2022-09-06 09:26:36 +00:00
wvffle 4b5c4c8bea Disable many compats 2022-09-06 09:26:36 +00:00
wvffle 442f9ce0d7 Fix v-if keys 2022-09-06 09:26:36 +00:00
wvffle 5dfce40cb6 Update router configuration to fix some errors 2022-09-06 09:26:36 +00:00
wvffle 7121d514fb Fix actions computed 2022-09-06 09:26:36 +00:00
wvffle 9e1e2bfa18 Rewrite search view 2022-09-06 09:26:36 +00:00
wvffle fe835c5d44 Fix library moderation 2022-09-06 09:26:36 +00:00
wvffle 78cdb592c5 Cleanup defaultPaginateBy and fix onMounted missing from imports 2022-09-06 09:26:36 +00:00
wvffle a8fd0e3f28 Migrate rest of ordering/pagination mixins to composables 2022-09-06 09:26:36 +00:00
wvffle 21e5d8ddf0 Fix actions not being arrays in components using smart search 2022-09-06 09:26:36 +00:00
wvffle 15e62d62f6 Add gitpod related changes 2022-09-06 09:26:36 +00:00
wvffle 70495c6a27 Reset the defaultServerUrl to the value of env var or origin when it's null in settings.json 2022-09-06 09:26:36 +00:00
wvffle c4dd04e0b8 Fix flow of setting instance url 2022-09-06 09:26:36 +00:00
wvffle 344f1af058 Add useSmartSearch composable 2022-09-06 09:26:36 +00:00
Kasper Seweryn 8cf3500842 Remove ordering and pagination mixins from a bunch of files 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 3ab0435f27 Migrate pagination to v-model and start moving away from mixins 2022-09-06 09:26:36 +00:00
Kasper Seweryn a25f1bbb1f Remove unused getter 2022-09-06 09:26:36 +00:00
Kasper Seweryn 40c7e08744 Replace deprecated document.domain with location.hostname 2022-09-06 09:26:36 +00:00
Kasper Seweryn fbfe4a646a Fix instanceUrl not being optional 2022-09-06 09:26:36 +00:00
Kasper Seweryn b5970446b4 Set max websocket reconnect retries in development 2022-09-06 09:26:36 +00:00
Kasper Seweryn a872f752c5 Fix caching API routes in PWA service worker 2022-09-06 09:26:36 +00:00
Kasper Seweryn 461aa51e03 Fix websockets and vite hmr on local dev 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 8ff0bb937b Remove $set and $delete 2022-09-06 09:26:36 +00:00
Kasper Seweryn 7a823282f9 Fix null modelValue 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 2f80e0935f Migrate a couple of components to new v-model and cleanup linting stuff 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 39b4e9a5b9 Fix withDefaults 2022-09-06 09:26:36 +00:00
Kasper Seweryn 2f8f7cbafa Refactor withDefaults 2022-09-06 09:26:36 +00:00
Kasper Seweryn e29819f314 Add TODO for <script setup> 2022-09-06 09:26:36 +00:00
Kasper Seweryn e6534a1554 Add TODOs for breaking changes 2022-09-06 09:26:36 +00:00
Kasper Seweryn 4865bf77be Fix v-if with v-for 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 0c9dcd8545 Fix @click.native 2022-09-06 09:26:36 +00:00
Kasper Seweryn 42907b7028 Remove last filter usage 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 3ddae65c36 Fix view refreshing when hiding queue 2022-09-06 09:26:36 +00:00
Kasper Seweryn 1234e61e14 Remove exact prop from router links 2022-09-06 09:26:36 +00:00
Kasper Seweryn f1724fb5ea Fix double #app id 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3915716dd6 Fix modals 2022-09-06 09:26:36 +00:00
Kasper Seweryn 8cc73ed73e Fix queue scroll 2022-09-06 09:26:36 +00:00
Kasper Seweryn 28e273dd74 Fix service worker init module 2022-09-06 09:26:36 +00:00
Kasper Seweryn cbaa58d215 Add useFocusTrap 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 7fb5284d0e Refactor object types to records 2022-09-06 09:26:36 +00:00
Kasper Seweryn 51435d0742 Fix currentRoute 2022-09-06 09:26:36 +00:00
Kasper Seweryn 260fdb2501 Fix locales 2022-09-06 09:26:36 +00:00
Kasper Seweryn da1cefc3b1 Fix scroll behavior 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 8402621faf Fix some vue compat warnings 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 db7c0444b4 Migrate to vue3-lazyload 2022-09-06 09:26:36 +00:00
Kasper Seweryn 74ca3b1725 Migrate to vuex@4 and vue-router@4 2022-09-06 09:26:36 +00:00
Kasper Seweryn 7c5d259c2b Add vue 3 and compat 2022-09-06 09:26:36 +00:00
Kasper Seweryn f3ccfcbe48 Add PWA support 2022-09-06 09:26:36 +00:00
Kasper Seweryn b959371784 Rename AppModule to InitModule 2022-09-06 09:26:36 +00:00
Kasper Seweryn 6a9b21a6a7 Rename AppModule to InitModule 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 934f802be2 Cleanup updateQueryString composable 2022-09-06 09:26:36 +00:00
Kasper Seweryn f61fafec2a Remove '@/' 2022-09-06 09:26:36 +00:00
Kasper Seweryn e0e2bf4cae Load theme as fast as possible 2022-09-06 09:26:36 +00:00
Kasper Seweryn 222b9b12bc Remove files commited by accident 2022-09-06 09:26:36 +00:00
Kasper Seweryn a7cc3de3f3 Move locales.ts to locales.json and remove unused i18n script 2022-09-06 09:26:36 +00:00
Kasper Seweryn 0732bc36a8 Remove initSettings 2022-09-06 09:26:36 +00:00
Kasper Seweryn 615a801b89 Fix app rendering 2022-09-06 09:26:36 +00:00
Kasper Seweryn b33af58147 Wait for all modules to load 2022-09-06 09:26:36 +00:00
Kasper Seweryn 4d14f0448f Fix linter problems 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
Kasper Seweryn a129f7f882 Temporarily disable failing typescript rules 2022-09-06 09:26:36 +00:00
Kasper Seweryn a578ea0341 Add script setup and typescript config 2022-09-06 09:26:36 +00:00
Mathias Koehler 19da87d061 Fix player cover image overlaping with queue 2022-07-28 05:09:25 +00:00
wvffle e588a72820 fix(front): navigating to registration request not showing anything (#1836) 2022-07-27 23:30:37 +02:00
petitminion 0f4226e06f Resolve "Add "play all" button in tag search result page" 2022-07-15 09:07:15 +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
Georg Krause d22a7fa57b Rework Docker Deployment and add frontend container 2022-06-28 13:55:54 +00:00
wvffle f3c286ba0e Fix login form focusing reset password link instead of next input 2022-06-23 16:57:46 +02:00
Marcos Peña 93708671dc Fix: missing album base contextual menu 2022-06-16 12:33:12 +00:00
Georg Krause b161dc3faf Replace funkwhale-troubleshooting with funkwhale-support on Matrix 2022-06-14 13:02:53 +00:00
Marcos Peña 95b5b99484 Fix embed widget not working 2022-06-13 09:53:36 +00:00
Sky b248edd87c Remove unused footer component 2022-06-03 04:33:30 +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
Georg Krause 0ea396e80c
Replace deprecated document.domain by location.hostname 2022-05-05 20:40:03 +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 Peña 75b33cebad Fixes wrong vue prop types NOCHANGELOG 2022-04-17 15:53:44 +00:00
Kasper Seweryn f21c860985 Replace django-channels with `useWebSocket` from `@vueuse/core` (!1759) 2022-04-16 08:56:26 +00:00
Marcos 9528437242 Fixes broken channel page 2022-04-02 11:39:15 +00:00
Marcos f3d998c7e0
Restores front tests using jest and vite 2022-03-21 12:52:41 +01:00
Georg Krause fc8487bfed
Fix frontend formatting 2022-03-21 12:16:18 +01:00
Georg Krause 842071c13b
Fix frontend formatting 2022-03-18 17:32:39 +01:00
Georg Krause f81221ef11
Merge branch 'stable' into develop 2022-03-18 13:43:00 +01:00
Georg Krause 916e63eb09 Catch ValueError at the end of a radio 2022-03-16 13:06:35 +00:00
petitminion 5b7a28684a Catch ValueError at the end of a radio 2022-03-16 12:54:35 +00:00
Marcos Peña 8e2d686386 Fix Upload Form Vue Errors 2022-03-16 12:17:48 +00:00
Marcos 42ff6fe600 Fix login redirect (#1736) 2022-03-11 09:08:24 +00:00
Georg Krause e076172106 Fix bug that prevents users from creating a new oauth application (#1706) 2022-03-10 19:39:08 +00:00
MattDHarding 706d55413b Fix playlist editor can't click outside trash can to delete item 2022-03-09 20:09:32 +00:00
Kasper Seweryn 341bcf5b17 Remove `require` from auth store 2022-03-08 14:04:54 +00:00
petitminion bc5aba6808 close /radios/build to un-authenticated users 2022-03-04 14:37:59 +00:00
Reinhard Prechtl a7e43a8346
Fix broken mobile apps link 2022-03-02 16:52:12 +01:00
Reinhard Prechtl 4e1c625c24
Fix broken mobile apps link 2022-03-02 13:59:58 +01:00
MattDHarding 111ee4f518 fixed issue 1384 - element doesn't need v-dropdown directive 2022-02-27 14:16:08 +00:00
Kasper Seweryn e743e07ba7
Move service-worker to public 2022-02-24 13:22:13 +01:00
Kasper Seweryn 08b57c67d2
Fix production env var checks 2022-02-24 11:54:30 +01:00
Kasper Seweryn 43f609b497
Update axios-auth-refresh 2022-02-24 11:54:21 +01:00
Kasper Seweryn 3b78ac8cc6
Workaround axios-auth-refresh in production
axios-auth-refresh has only prebuilt files, that might be the case when
vite is trying to bundle it. It seems like vite thinks that it's
constructed like:
```
export default {
    default () {
        // ...
    }
}
```

This also fixes `jQuery is not defined` in dev
2022-02-22 13:01:29 +01:00
Kasper Seweryn 5e24160375
Fix jQuery in fomantic-ui-css 2022-02-22 13:01:29 +01:00
Kasper Seweryn 17006094b6
Fix linter error
Linter did not like await in global scope besides it being fully
functional, so I've created a `src/jquery.js` file which sets jquery
globals and then we can safely import `src/semantic.js`.
2022-02-22 00:00:17 +01: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 873e498031
Remove undeclared `exports` from volume.js 2022-02-21 23:21:39 +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
Georg Krause db86483fbc
Make linter happy 2022-02-21 20:09:06 +01:00
Ciaran Ainsworth d949909c40 Fix additional linting issues 2022-02-21 20:02:08 +01:00
Georg Krause d92d75f822
Fix linting of App.vue 2022-02-21 19:54:04 +01:00
Ciaran Ainsworth 60c6a1938f Fix some linting issues 2022-02-21 19:52:16 +01:00
Georg Krause e76ab66084
Start fixing lint errors in App.vue 2022-02-21 18:00:45 +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
Ciaran Ainsworth ae840e06d1 Change to normal default cover 2022-02-10 19:30:26 +01:00
Ciaran Ainsworth 34b8e2929a Fix linting error 2022-02-10 13:36:20 +01:00
Ciaran Ainsworth b387287931 Undo automatic formatting 2022-02-10 13:31:32 +01:00
Ciaran Ainsworth 9b1865e43e Add fallback to generic album cover for tracks with no album 2022-02-10 13:22:58 +01:00
MattDHarding 3a48ae7e51 Fix silent playlist track add fail bug (#1020) 2022-02-06 14:52:36 +01:00
Georg Krause b39bd5f349
Merge branch 'stable' into develop 2022-02-04 12:51:41 +01:00
JuniorJPDJ 9a1619e3e0 chore(front): fix eslint error 2022-02-03 22:40:51 +01:00
JuniorJPDJ aecbd101c0 fix(front): update code to work with focus-trap v6 2022-02-03 22:36:39 +01:00
JuniorJPDJ 8f53f41395 fix(front): update code to work with django-channels v2 2022-02-03 22:17:53 +01:00
Georg Krause fae4ba08e8
Fix broken instance description if it contains a line break 2022-02-03 09:16:54 +01: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
Ciaran Ainsworth be6876966b FIx embedded player 2022-01-22 19:42:55 +00:00
Marcos Peña 9d1b48106d Fix: missing values in moderation library UI (#1667) 2022-01-08 11:51:46 +01:00
Marcos Peña a84a7c9746 Fix: missing values in moderation library UI (#1667) 2022-01-07 14:19:36 +01:00
Georg Krause 9348614bf3
Fix not working podcast subscription form 2022-01-06 17:36:41 +01:00
Georg Krause 8248f3709a
Fix wrong spelling of component prop 2022-01-06 17:36:40 +01:00
Georg Krause db051aa27a
Fix remote content page 2022-01-06 17:36:40 +01:00
Georg Krause ef99f47449 Fix not working podcast subscription form 2022-01-06 14:03:01 +00: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
Georg Krause dbad92ce33
Fix wrong spelling of component prop 2021-12-30 12:29:19 +01:00
Georg Krause ec9f8e1611 Fix remote content page 2021-12-30 05:51:15 +00:00
Georg Krause ce46e4d929
Fix album play button 2021-12-27 10:00:29 +01:00
Marcos Peña e567abd5fb Enhances about page ui (#1619)
Done some css refactoring
2021-12-23 14:40:54 +01:00
Marcos Peña 57d6489007 Fix moderation user request list crash (#1645) 2021-12-22 19:54:59 +00:00
JuniorJPDJ 142008cbed Resolve "Too long radio descriptions resize the entire row" 2021-12-21 07:37:43 +00:00
Marcos Peña 312ceb9cfb Resolve "Computed properties already defined in data" 2021-12-19 17:37:48 +00:00
Marcos Peña a561e4a315 Fix: duplicated tracks in multi-disc albums 2021-12-14 00:04:05 +00:00
Georg Krause e1b86a3f35 Fix tag filter 2021-12-12 11:09:00 +00:00
Georg Krause 35ffc6ee71
Open external links on about page in new tab 2021-12-12 09:58:51 +01: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 72950d52d3 Fix weird behavior on external Links in Sidebar 2021-12-11 20:41:42 +01:00
Georg Krause 4c64694da2 Load all tracks for albums, disable play button if not playable 2021-12-11 19:20:36 +00:00
Marcos Peña aa996d1bd8 fix(front): duplicate keys detected in tags page 2021-12-08 22:08:33 +01: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
Georg Krause 869fc20536
Use the same help menu entry for mobile and desktop 2021-12-03 11:35:15 +01:00
Georg Krause 8328ce9c9c
Fix nested routes, remove / prefix 2021-12-01 13:18:31 +01:00
Georg Krause 87c5283ead
Lint all changes files 2021-11-29 12:31:30 +01:00
Georg Krause 2dcbb6dc1a
Add Podname to Banner 2021-11-29 12:31:30 +01:00
Georg Krause 862bfe9365
Fix desktop banner regression 2021-11-29 12:31:30 +01:00
Georg Krause fc3730e5bc
Do not show registration form for logged in users 2021-11-29 12:31:30 +01:00
Georg Krause 10a611bfb8
Remove done todo 2021-11-29 12:31:30 +01:00
Georg Krause 7823726df1
Fix moderators section 2021-11-29 12:31:30 +01:00
Georg Krause d6f5b82ef3
Prevent feature tables on about page to get stacked 2021-11-29 12:31:29 +01:00
Georg Krause 82816ebd50
Justify about page text blocks 2021-11-29 12:31:29 +01:00
Georg Krause 302c1dd472
Make mobile about page banner full width 2021-11-29 12:31:29 +01:00
Georg Krause 0578d18cd9
Fix statistics view 2021-11-29 12:31:29 +01:00
Ciarán Ainsworth 58df0d4529 Profile menu redesign 2021-11-26 11:01:58 +00:00
Marcos Peña 474f16674c Disables 'change password' button until both fields are filled (#1591)
MR !1405
2021-11-11 19:05:11 +00:00
Marcos Peña 1512b0ede3 Resolve "Don't show Delete account window if the user has not enetered a password" 2021-11-11 08:54:59 +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
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 6adae1de66
Allow to set listen activity privacy to be public 2021-10-25 12:15:37 +02:00
Ciarán Ainsworth 44394275ec Update track table 2021-10-21 17:26:18 +00:00
Georg Krause da33ec0241
Fixes crash at About Page, closes #1594 2021-10-21 11:13:41 +02:00
Georg Krause 0abf71095c
Revert progress bar changes, see #1381 2021-10-21 10:24:14 +02:00
Connor Hay 77bffa20ac Update about page and add new /about/pod page 2021-10-21 07:44:34 +00:00