Commit Graph

22 Commits

Author SHA1 Message Date
ArneBo 1779e66d4a chore(front): refactor plugin settings pages 2025-03-11 12:01:55 +01:00
ArneBo edad84b0b6 consistent use of i18n for translations, replace , and global variables with local definitions 2025-01-08 21:30:13 +01:00
Philipp Wolfer 993fb426ee Support boolean config fields in plugins
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2334>
2023-01-30 09:08:41 +00:00
Ciarán Ainsworth 3a46cb140d Clean up everything but views 2022-11-28 10:16:58 +00:00
Ciarán Ainsworth ef757e1854 Update all components 2022-11-28 10:16:58 +00:00
Ciarán Ainsworth 592e53486f Start using vue-18n in templates 2022-11-28 10:16:58 +00:00
wvffle edfbf94313 Add eslint rules for i18n 2022-11-28 10:16:58 +00:00
wvffle ebea32faf9 Replace gettext with i18n 2022-11-28 10:16:58 +00:00
wvffle 436a76928f Resolve most type conflicts 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 bbdb3dcb9d Fix auto-fixable linter issues 2022-09-06 09:26:36 +00:00
wvffle d090adc1f1 Sanitize html 2022-09-06 09:26:36 +00:00
wvffle 442f9ce0d7 Fix v-if keys 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 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 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 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Ciarán Ainsworth 26f8f7db9f Fix minor Vue and sanitize errors 2021-05-03 08:14:13 +00:00
Ciarán Ainsworth 9014c78238 Fixed plugins disable switch 2020-11-20 23:51:55 +00:00
Agate cce158b60b [plugin, scrobbler] Use last.fm API v2 for scrobbling if API key and secret are provided 2020-08-26 12:26:27 +02:00
Agate 86b90ec716 Fix #1121: Use semantic headers for accessibility 2020-07-03 14:20:47 +02:00
Agate d4028450a9 Plugins infrastructure 2020-07-03 10:59:12 +02:00