Commit Graph

1222 Commits

Author SHA1 Message Date
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 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 cac12a85fb Add proper tracking alert 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 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 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 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 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 8ef28e3aa3 Fix unhandled error 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 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 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 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 03e29b3fbc Fix playlist modal error handling 2022-09-06 09:26:36 +00:00
wvffle e608089557 Fix router warnings 2022-09-06 09:26:36 +00:00
wvffle a28e00708b Remove @vue/compat 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 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 40c7e08744 Replace deprecated document.domain with location.hostname 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 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 1234e61e14 Remove exact prop from router links 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3915716dd6 Fix modals 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 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 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 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 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 615a801b89 Fix app rendering 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
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
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
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
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
Marcos Peña 8e2d686386 Fix Upload Form Vue Errors 2022-03-16 12:17:48 +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
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
Kasper Seweryn 08b57c67d2
Fix production env var checks 2022-02-24 11:54:30 +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 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
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
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 aecbd101c0 fix(front): update code to work with focus-trap v6 2022-02-03 22:36:39 +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
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
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 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
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