diff --git a/changelog.d/actions-extra-tap.fix b/changelog.d/actions-extra-tap.fix new file mode 100644 index 000000000..cb54c2e35 --- /dev/null +++ b/changelog.d/actions-extra-tap.fix @@ -0,0 +1 @@ +fixed tapping "Mute..." and "Change visiblity" (admin action) in extra status actions closing the dropdown diff --git a/changelog.d/fix-domain-mute.fix b/changelog.d/fix-domain-mute.fix new file mode 100644 index 000000000..1cb910d22 --- /dev/null +++ b/changelog.d/fix-domain-mute.fix @@ -0,0 +1 @@ +domain mute fixedw diff --git a/changelog.d/followers-list.fix b/changelog.d/followers-list.fix new file mode 100644 index 000000000..51e96f90c --- /dev/null +++ b/changelog.d/followers-list.fix @@ -0,0 +1 @@ +Fix followers list showing followed users as non-followed diff --git a/changelog.d/moderation-tools.fix b/changelog.d/moderation-tools.fix new file mode 100644 index 000000000..1417048a5 --- /dev/null +++ b/changelog.d/moderation-tools.fix @@ -0,0 +1 @@ +fix moderation tools button possibly not appearing for admins diff --git a/changelog.d/moderation.fix b/changelog.d/moderation.fix new file mode 100644 index 000000000..c206a5ea8 --- /dev/null +++ b/changelog.d/moderation.fix @@ -0,0 +1 @@ +Fixed moderation actions requiring confirmation closing user popover diff --git a/changelog.d/server-mute-render-modify.fix b/changelog.d/server-mute-render-modify.fix new file mode 100644 index 000000000..cb94bb826 --- /dev/null +++ b/changelog.d/server-mute-render-modify.fix @@ -0,0 +1 @@ +Fixed server-side domain mutes rendering/api calls diff --git a/changelog.d/theme-index-html-fallback.fix b/changelog.d/theme-index-html-fallback.fix new file mode 100644 index 000000000..90a23cacc --- /dev/null +++ b/changelog.d/theme-index-html-fallback.fix @@ -0,0 +1 @@ +Fix theme lists failing to load when custom resource indexes are unavailable diff --git a/changelog.d/theme2-font-cache.fix b/changelog.d/theme2-font-cache.fix new file mode 100644 index 000000000..d8782b467 --- /dev/null +++ b/changelog.d/theme2-font-cache.fix @@ -0,0 +1 @@ +Fix Theme 2 fonts falling back to serif after upgrade diff --git a/changelog.d/themes2-font.fix b/changelog.d/themes2-font.fix new file mode 100644 index 000000000..0842fae8a --- /dev/null +++ b/changelog.d/themes2-font.fix @@ -0,0 +1 @@ +Fix Themes 2.0 applying incorrect fonts diff --git a/changelog.d/themes3.fix b/changelog.d/themes3.fix new file mode 100644 index 000000000..a3192b263 --- /dev/null +++ b/changelog.d/themes3.fix @@ -0,0 +1 @@ +Fixed themes 3 not loading in appearance tab diff --git a/changelog.d/timeline_rendering_status_index_approx.fix b/changelog.d/timeline_rendering_status_index_approx.fix new file mode 100644 index 000000000..717464c58 --- /dev/null +++ b/changelog.d/timeline_rendering_status_index_approx.fix @@ -0,0 +1 @@ +Fixed status index approxmiation in timeline rendering for dynamically changing viewport geometries diff --git a/src/api/helpers.js b/src/api/helpers.js index f734debe9..8913cb078 100644 --- a/src/api/helpers.js +++ b/src/api/helpers.js @@ -67,6 +67,7 @@ export const promisedRequest = async ({ url, payload, formData, + forceContentType, cache, credentials, headers = {}, @@ -75,7 +76,7 @@ export const promisedRequest = async ({ method, credentials: 'same-origin', headers: { - Accept: 'application/json', + Accept: forceContentType ?? 'application/json', ...headers, }, } @@ -110,7 +111,7 @@ export const promisedRequest = async ({ ) if (contentLength === 0) return null - switch (contentType) { + switch (forceContentType ?? contentType) { case 'text/plain': return await response.text() case 'application/json': diff --git a/src/api/public.js b/src/api/public.js index 78db90bfe..5684298e4 100644 --- a/src/api/public.js +++ b/src/api/public.js @@ -117,9 +117,17 @@ export const fetchUserByName = ({ name, credentials }) => export const fetchFriends = ({ id, maxId, sinceId, limit = 20, credentials }) => promisedRequest({ - url: MASTODON_FOLLOWING_URL(id, { maxId, sinceId, limit }), + url: MASTODON_FOLLOWING_URL(id, { + maxId, + sinceId, + limit, + withRelationships: true, + }), credentials, - }).then(({ data, ...rest }) => ({ ...rest, data: data.map(parseUser) })) + }).then(({ data, ...rest }) => ({ + ...rest, + data: data.map(parseUser), + })) export const fetchFollowers = ({ id, @@ -136,7 +144,10 @@ export const fetchFollowers = ({ withRelationships: true, }), credentials, - }).then(({ data, ...rest }) => ({ ...rest, data: data.map(parseUser) })) + }).then(({ data, ...rest }) => ({ + ...rest, + data: data.map(parseUser), + })) export const fetchConversation = ({ id, credentials }) => promisedRequest({ diff --git a/src/api/user.js b/src/api/user.js index 8086d6d7f..ce9da977d 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -410,7 +410,6 @@ export const exportFriends = ({ id, credentials }) => { id, maxId, credentials, - withRelationships: true, }) friends = [...friends, ...users] if (users.length === 0) { diff --git a/src/components/moderation_tools/moderation_tools.js b/src/components/moderation_tools/moderation_tools.js index de213632c..9b948e306 100644 --- a/src/components/moderation_tools/moderation_tools.js +++ b/src/components/moderation_tools/moderation_tools.js @@ -517,8 +517,7 @@ const ModerationTools = { setOpen(value) { this.open = value }, - maybeShowConfirm(close, { group, name, action, value }) { - close() + maybeShowConfirm({ group, name, action, value }) { this.confirmDialogName = name this.confirmDialogGroup = group this.confirmDialogAction = () => action() diff --git a/src/components/moderation_tools/moderation_tools.vue b/src/components/moderation_tools/moderation_tools.vue index 4da0be0ee..e3da1a84d 100644 --- a/src/components/moderation_tools/moderation_tools.vue +++ b/src/components/moderation_tools/moderation_tools.vue @@ -9,7 +9,7 @@ @show="setOpen(true)" @close="setOpen(false)" > -