Commit Graph

216 Commits

Author SHA1 Message Date
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 45740d510e Migrate signup 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 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 801c04c07e Fix radios starting from second track 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 4c02478470 Fetch all user info on startup 2022-09-06 09:26:36 +00:00
wvffle 998c7e1c09 Fix radio buttons 2022-09-06 09:26:36 +00:00
wvffle fae4788000 Even smoother progress animations 2022-09-06 09:26:36 +00:00
wvffle 3dff9c74d9 Fix front settings fetching 2022-09-06 09:26:36 +00:00
wvffle bbdb3dcb9d Fix auto-fixable linter issues 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 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 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 77594351ae Remove PlayOptions and Report mixins 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 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 9e1e2bfa18 Rewrite search view 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 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 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 2f80e0935f Migrate a couple of components to new v-model and cleanup linting stuff 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 8402621faf Fix some vue compat warnings 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 f61fafec2a Remove '@/' 2022-09-06 09:26:36 +00:00