Commit Graph

418 Commits

Author SHA1 Message Date
wvffle ee975e5854 Add error handler in all unhandled places 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 148adbf702 Fix #1836 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 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 1f27692e37 Fix edits list 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 405eed0c0f Add semantic ui types 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 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 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 b597dc4a71 Migrate Settings and SettingsGroup 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 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 442f9ce0d7 Fix v-if keys 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 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 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 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 561c1d868c Migrate rest of inputs to new v-model 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
Kasper Seweryn 2f8f7cbafa Refactor withDefaults 2022-09-06 09:26:36 +00:00
Kasper Seweryn 57aef1001e Remove deprecated slot syntax 2022-09-06 09:26:36 +00:00
Kasper Seweryn 1122324799 Fix linting 2022-09-06 09:26:36 +00:00
Kasper Seweryn 1234e61e14 Remove exact prop from router links 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3915716dd6 Fix modals 2022-09-06 09:26:36 +00:00
Kasper Seweryn b7d66232f6 Remove vue 2 filters
Fixes #1759
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 071eb2fa35 Move ~/modules to ~/init 2022-09-06 09:26:36 +00:00
Kasper Seweryn f61fafec2a Remove '@/' 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 a129f7f882 Temporarily disable failing typescript rules 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
Marcos Peña 75b33cebad Fixes wrong vue prop types NOCHANGELOG 2022-04-17 15:53:44 +00:00
Marcos 9528437242 Fixes broken channel page 2022-04-02 11:39:15 +00:00
Georg Krause f81221ef11
Merge branch 'stable' into develop 2022-03-18 13:43:00 +01:00
Marcos Peña 8e2d686386 Fix Upload Form Vue Errors 2022-03-16 12:17:48 +00:00
MattDHarding 111ee4f518 fixed issue 1384 - element doesn't need v-dropdown directive 2022-02-27 14:16:08 +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
Ciaran Ainsworth 08d6772392 Fix broken imports 2022-02-21 17:27:00 +01:00
Georg Krause e9c4bfe947
Start migration to vite 2022-02-21 15:07:07 +01:00
Ciaran Ainsworth 7b74e55e7f Use proper method for fetching artist cover 2022-02-16 10:29:39 +00:00
Ciaran Ainsworth 41d444bbbb Add support for all cover sources in embedded player 2022-02-16 10:29:39 +00:00
Ciarán Ainsworth 62154bcd44 Resolve "No tracks appear on library tracks page" 2022-01-24 16:28:46 +00:00
Georg Krause ef99f47449 Fix not working podcast subscription form 2022-01-06 14:03:01 +00:00
Georg Krause dbad92ce33
Fix wrong spelling of component prop 2021-12-30 12:29:19 +01:00
Georg Krause ec9f8e1611 Fix remote content page 2021-12-30 05:51:15 +00:00
Georg Krause ce46e4d929
Fix album play button 2021-12-27 10:00:29 +01:00
Marcos Peña 57d6489007 Fix moderation user request list crash (#1645) 2021-12-22 19:54:59 +00:00
Marcos Peña 312ceb9cfb Resolve "Computed properties already defined in data" 2021-12-19 17:37:48 +00:00
Georg Krause cefa3ec9d2 Fix post lint issues 2021-12-08 18:48:06 +00:00
Georg Krause 6f58a49c91
Fix wrong prop types 2021-12-06 11:50:04 +01:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Ciarán Ainsworth 44394275ec Update track table 2021-10-21 17:26:18 +00:00
Marcos Peña b05bfee277 Fix moderation interface when missing album cover 2021-10-03 12:09:29 +00:00
Ciarán Ainsworth 1a362a2495 Prevent open redirect on login 2021-07-26 18:54:14 +00:00
jovuit f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Georg Krause b713d21a86 Merge branch 'playlist-detail-spacing' into 'develop'
Fix playlist header button spacing

See merge request funkwhale/funkwhale!1271
2021-02-21 22:00:14 +01:00
Erik Duxstad 22ca6e0175 Fix playlist header button spacing
Previously there was no spacing between the "Play all" and "Edit"
button in the playlist view. This fixes the issue by putting all
header buttons into their own "ui buttons" div similar to the
ArtistBase.vue component.
2021-02-20 17:58:15 -05:00
Erik Duxstad f0d2a3f4a6 add space to home's channel description 2021-02-17 13:46:43 +01:00
heyarne 7daeb46903 Improve Donation Notification 2021-01-21 05:53:18 +01:00
Ciarán Ainsworth d0b1b6e632 Resolve "Following channel with fediverse address not working" 2020-12-11 15:27:29 +01:00
Ciarán Ainsworth f477ba1b4f Podcast search capabilities 2020-12-04 09:33:17 +01:00
Ciarán Ainsworth 804f9a7d99 Add prop for default cover 2020-12-04 09:21:17 +01:00
Philipp Wolfer 872ad8633a Fix public shared remote library radio button being disabled
Fixes #1292
2020-11-21 18:14:36 +01:00
Philipp Wolfer 73b9cf8d71 Fix delete library modal closing immediately
The delete library button was not only opening the confirmation modal but also submitted the edit library form, causing the modal to close again.

Fixes #1272
2020-11-21 14:23:35 +01:00
Agate 1d3d5b3942 Fixed broken RSS channel detail page 2020-09-01 11:31:08 +02:00
Agate 36631439fa Merge branch 'remote-link' into 'develop'
Added link to origin pod for track, album, artist, profile, channel and library

See merge request funkwhale/funkwhale!1219
2020-08-28 20:47:17 +02:00
Agate 89037a76db Added link to origin pod for track, album, artist, profile, channel and library 2020-08-28 20:41:42 +02:00
Agate 482647dab9 Fix #1210: Enforce authentication when viewing remote channels, profiles and libraries 2020-08-28 20:19:08 +02:00
Agate af2bdc0591 Fix #1197: Ensure search page reloads if another search is submitted in the sidebar 2020-08-23 17:04:43 +02:00
Agate d4a256b2f9 Fixed some unfocusable links/buttons 2020-08-11 14:07:06 +02:00
Agate c6b36913bd Fixed link redirection issue 2020-08-08 12:36:16 +02: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 3533ba889f Fixed UI crash due to accessing wrong cover 2020-08-04 11:30:26 +02:00
Agate e271851f67 See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
Ciarán Ainsworth 8c3c19796c Resolve "Add alt tags to existing images" 2020-08-01 19:07:06 +02:00
Ciarán Ainsworth 33ba92a0d6 Contrast and labelling fixes 2020-08-01 11:11:51 +02:00
Agate 667d9d2ba6 Resolve "UX, UI : Search Page" 2020-07-31 15:10:16 +02:00
Agate e9186ca813 Fx #1178: Display channel and track downloads count 2020-07-31 11:46:25 +02:00