Commit Graph

171 Commits

Author SHA1 Message Date
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