Commit Graph

254 Commits

Author SHA1 Message Date
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
Kasper Seweryn 0732bc36a8 Remove initSettings 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
petitminion 0f4226e06f Resolve "Add "play all" button in tag search result page" 2022-07-15 09:07:15 +00:00
Georg Krause d22a7fa57b Rework Docker Deployment and add frontend container 2022-06-28 13:55:54 +00: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
Kasper Seweryn f21c860985 Replace django-channels with `useWebSocket` from `@vueuse/core` (!1759) 2022-04-16 08:56:26 +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 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 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