wvffle
1567426a74
Add proper mediaSession controls to embedded player
2022-09-26 19:03:27 +00:00
wvffle
23947ee475
Fix favicon
2022-09-26 18:36:31 +00:00
wvffle
b95249964d
Make `instance` more important than `b` in embedded player
2022-09-26 18:35:18 +00:00
wvffle
306a2e9738
Fix CSP for remote instances
2022-09-26 18:34:13 +00:00
wvffle
50fd01de1a
Fix embedded player
2022-09-26 18:25:17 +00:00
wvffle
132974959b
Add baseUrl support
2022-09-26 18:22:27 +00:00
wvffle
333d0a83c2
Cleanup config files
2022-09-26 17:57:47 +00:00
wvffle
3597527362
Implement embedded player logic
2022-09-26 17:45:27 +00:00
wvffle
86be283c6c
Reimplement embedded player ui with petite-vue
2022-09-25 22:52:02 +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
de815301e4
Fix dependency lock file
2022-09-15 19:13:20 +02:00
RenovateBot
e1bca7128c
Update dependency typescript to v4.8.3 (develop)
2022-09-15 09:45:00 +00:00
Georg Krause
7c01c65af2
Revert "Update dependency @vue/runtime-core to v3.2.39 (develop)"
...
This reverts commit 02ebed8b9d
2022-09-15 09:07:08 +00:00
RenovateBot
15e4c2a895
Update dependency sass to v1.54.9 (develop)
2022-09-15 08:27:53 +00:00
Georg Krause
6d5e1b3c17
Align sentry configuration of front- and backend
2022-09-15 06:54:02 +00:00
RenovateBot
92eed5f422
Update dependency eslint to v8.23.1 (develop)
2022-09-13 14:01:15 +00:00
Kasper Seweryn
fd60fa2add
Fix about pod info NOCHANGELOG
2022-09-13 12:18:46 +00:00
RenovateBot
02ebed8b9d
Update dependency @vue/runtime-core to v3.2.39 (develop)
2022-09-12 14:31:13 +00:00
Marcos Peña
875a6ba2df
Merge branch 'stable' into develop
2022-09-12 11:37:18 +02:00
RenovateBot
9fe2a31d0b
Update dependency @vue/eslint-config-typescript to v11.0.1 (develop)
2022-09-11 17:05:45 +00:00
RenovateBot
521b492f6b
Lock file maintenance (stable)
2022-09-11 07:28:48 +00:00
RenovateBot
4e8d4c35e0
Update dependency @vue/compiler-sfc to v3.2.39 (develop)
2022-09-10 18:09:21 +00:00
RenovateBot
a7b70126b9
Update dependency @typescript-eslint/eslint-plugin to v5.36.2 (develop)
2022-09-10 12:30:12 +00:00
RenovateBot
e41125a89b
Pin dependency utility-types to 3.10.0 (develop)
2022-09-09 16:01:06 +00: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
f4c34acb40
Fix tests
2022-09-06 09:26:36 +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
fb27bccaa3
Cleanup test directory
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
debe024f88
Add option to disable HMR
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
937a44251e
Fix custom css
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
6cdf2ddd1e
Fix webworker manifest in dev mode
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
58d40a1eea
Fix #1635
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
58eec54952
Cleanup tsconfig
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
f5bd906110
Upgrade frontend dependencies
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