Commit Graph

61 Commits

Author SHA1 Message Date
Kasper Seweryn f21c860985 Replace django-channels with `useWebSocket` from `@vueuse/core` (!1759) 2022-04-16 08:56:26 +00:00
petitminion 5b7a28684a Catch ValueError at the end of a radio 2022-03-16 12:54:35 +00:00
Kasper Seweryn 08b57c67d2
Fix production env var checks 2022-02-24 11:54:30 +01:00
Kasper Seweryn 43f609b497
Update axios-auth-refresh 2022-02-24 11:54:21 +01:00
Kasper Seweryn 3b78ac8cc6
Workaround axios-auth-refresh in production
axios-auth-refresh has only prebuilt files, that might be the case when
vite is trying to bundle it. It seems like vite thinks that it's
constructed like:
```
export default {
    default () {
        // ...
    }
}
```

This also fixes `jQuery is not defined` in dev
2022-02-22 13:01:29 +01:00
Kasper Seweryn 5e24160375
Fix jQuery in fomantic-ui-css 2022-02-22 13:01:29 +01:00
Kasper Seweryn 17006094b6
Fix linter error
Linter did not like await in global scope besides it being fully
functional, so I've created a `src/jquery.js` file which sets jquery
globals and then we can safely import `src/semantic.js`.
2022-02-22 00:00:17 +01:00
Kasper Seweryn 94af589757
Fix jQuery and semantic ui 2022-02-21 23:38:51 +01:00
Georg Krause e9c4bfe947
Start migration to vite 2022-02-21 15:07:07 +01:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Agate 1cc5ed8871 Resolve "Ensure all buttons in the application are operable using only the keyboard" 2020-08-04 13:22:31 +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 1a08d1a032
Fix #1112: removed unused masonry dependency 2020-05-07 18:33:58 +02: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
Ciarán Ainsworth 2302dc0581 Set up initial configuration for installing
Set up player config for mobile control
2020-01-08 12:16:41 +01:00
Eliot Berriot d28bf65d00 See #261: Added a rate-limiting (throttling system) to limit the number of requests handled per user/IP 2019-09-17 11:23:59 +02:00
Eliot Berriot ab73752f55
See #880: removed vue runtime to remove "eval()" calls
Needed for CSP, and also helps with redusing JS size ;)
2019-07-18 10:21:54 +02:00
Qasim Ali 22f0235045 refactor playlist duplicate error structure
- use non_field_errors struct when writing duplicate track errors
- generalize frontend error handler and update frontend error parsing
2019-04-24 11:31:46 +02:00
Eliot Berriot b4731928fc UI To manage artists, albums, tracks 2019-04-17 14:17:59 +02:00
Ben Finney f24d2549ae Update document title to display track info. 2019-04-08 10:01:21 +02:00
Eliot Berriot b9f0c6aecd
Revert "Merge branch '629-cookie-auth' into 'develop'"
This reverts commit 8b47af8b81, reversing
changes made to c0055b3b20.
2019-03-15 15:52:30 +01:00
Eliot Berriot c395076fce Resolve "Use cookies instead of local storage for auth in Web UI" 2019-03-13 16:50:49 +01:00
jovuit bf4d987fb8 #511: Resolve "Page title not updated when changing the language" 2019-03-05 09:31:20 +01:00
Eliot Berriot be46fb0ea0
Fixed broken login redirection when 401 (again) 2019-01-17 11:04:46 +01:00
Eliot Berriot c20f1ad22e
Fix #650: Support setting a server URL in settings.json 2019-01-15 14:56:51 +01:00
Eliot Berriot 7c671177a8
Use vendored semantic UI CSS and JS 2018-12-19 22:04:35 +01:00
Eliot Berriot ba68246e0d
Load translations separately to reduce bandwidth usage 2018-12-19 21:45:12 +01:00
Eliot Berriot f3b6bc1029
Fixed weird bugs with translations not updating 2018-07-27 19:49:41 +02:00
Eliot Berriot d7f12caf5c
Fix #456: make Funkwhale themable by loading external stylesheets 2018-07-26 23:10:01 +02:00
Eliot Berriot 6afb0e5eb2
See #161: removed unused dependencies 2018-06-30 16:07:29 +02:00
Eliot Berriot 833c0f1625
WIP replace 2018-06-30 16:02:54 +02:00
Eliot Berriot 8926d93040
See #161: can now persist language in local storage 2018-06-30 12:05:52 +02:00
Eliot Berriot a0a75c9919
See #161: initial setup to collect/compile messages with vue-gettext 2018-06-30 11:11:45 +02:00
Eliot Berriot f3e2193782
See #327: can now use the front-end with any API server 2018-06-23 07:24:34 +02:00
Eliot Berriot e3e0a2eaf4
Improved error handling 2018-06-21 19:51:25 +02:00
Eliot Berriot 7ad19a3fbb
Ensure 403 errors are probably handled on the front-end 2018-05-26 12:46:13 +02:00
Eliot Berriot 0dc9cdabab
Use instance name in SPA page title 2018-05-17 23:38:19 +02:00
Eliot Berriot b602ed38e7
Fix #172: broken login 2018-04-22 12:12:46 +02:00
Eliot Berriot 0213ec6d02
Removed console.log calls 2018-04-18 18:54:30 +02:00
Bat 8fbcb01edc Start making components i18n-friendly 2018-04-14 18:28:41 +01:00
Bat e3cfab8bb4 Language detection 2018-04-13 14:01:23 +01:00
Bat 4bc866f98d Set fallback language 2018-04-13 13:13:21 +01:00
Bat bddb950beb i18n: lazy-loading 2018-04-11 14:24:22 +01:00
Bat de753502c9 Setup translations with Vue 2018-04-11 13:32:29 +01:00
Bat 62465342cb Page title binding
Fix #1
2018-03-30 22:58:16 +01:00
Eliot Berriot 2c79418d81
Moved backend error handling in axios 2018-03-03 12:38:11 +01:00
Eliot Berriot 3b164302cd
Install masonry dependency 2018-02-26 20:07:46 +01:00
Eliot Berriot 7808d14a49
Human date component 2018-02-22 23:34:52 +01:00