Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2023.12.1 #12771

Merged
merged 32 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
316ffce
ci: Get api.json from Misskeyでupload-artifact@v4で同名artifactでエラーになるのを修…
anatawa12 Dec 24, 2023
6fce363
enhance(backend): センシティブワードの設定がハッシュタグトレンドにも適用されるように
syuilo Dec 24, 2023
36701f8
fix(backend): 1702718871541-ffVisibility.jsのdownが壊れている (#12767)
samunohito Dec 24, 2023
cae40e6
fix: lint (#12761)
Candinya Dec 24, 2023
0393d8f
New Crowdin updates (#12759)
syuilo Dec 24, 2023
7167bb3
Update CHANGELOG.md
syuilo Dec 24, 2023
bf45c23
Update CHANGELOG.md
syuilo Dec 24, 2023
0009aa3
refactor(frontend): import宣言周りのエラーを修正 (#12773)
zyoshoka Dec 24, 2023
237fe24
chore(misskey-js): update misskey-js with api.json (#12778)
anatawa12 Dec 24, 2023
fd040c5
fix: 自分のdirect noteがuser list timelineに追加されない (#12782)
anatawa12 Dec 25, 2023
8ed7c74
fix(frontend): モデログ表示の"logYellow"が機能していない問題を修正 (#12794)
Sayamame-beans Dec 25, 2023
b079908
Update SECURITY.md
syuilo Dec 25, 2023
95547da
Update SECURITY.md
syuilo Dec 25, 2023
4f247a0
Feat: クリックイベントを発生させるMFM構文を追加 (#12798)
FineArchs Dec 25, 2023
eb23798
fix(frontend): ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 (misskey-dev#128…
Soli0222 Dec 26, 2023
a9b4276
(dev) Issue Templateに、自分で実装してPRを出したいかの意思表明を追加 (#12799)
kakkokari-gtyih Dec 26, 2023
75034d9
refactor(frontend): Reactivityで型を明示するように (#12791)
zyoshoka Dec 26, 2023
9022b05
fix(backend): 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 (#12801) (#12802)
shiosyakeyakini-info Dec 26, 2023
6855079
refactor: paginationの型を明示する (#12809)
GrapeApple0 Dec 26, 2023
d87fecd
chore(frontend): update team members
syuilo Dec 27, 2023
c96bc36
Merge pull request from GHSA-7pxq-6xx9-xpgm
chocolate-pie Dec 27, 2023
ad346b6
feat(backend/oauth): allow CORS for token endpoint (#12814)
saschanaz Dec 27, 2023
9410bc0
Update CHANGELOG.md
syuilo Dec 27, 2023
8904e0a
:art:
syuilo Dec 27, 2023
6439c7b
Revert "refactor: paginationの型を明示する (#12809)" (#12810)
GrapeApple0 Dec 27, 2023
cc65972
New Crowdin updates (#12789)
syuilo Dec 27, 2023
e0040f5
Add a prompt for Tor Browser users (#12776)
MomentQYC Dec 27, 2023
a598baa
fix(test): CIが落ちている問題を修正 (#12816)
chocolate-pie Dec 27, 2023
9d5fc4c
refactor
syuilo Dec 27, 2023
2a5c9e6
Fix(frontend): MFMでfgとbgに長い単語を使うと改行されない問題を修正 (#12819)
1STEP621 Dec 27, 2023
47558a6
feat(frontend): 投稿ウインドウにMFM要素を追加するボタンの追加 (#12788)
YAVIIGI Dec 27, 2023
f8261a1
2023.12.1
syuilo Dec 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkFileListForAdmin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ SPDX-License-Identifier: AGPL-3.0-only

<script lang="ts" setup>
import * as Misskey from 'misskey-js';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue';
import bytes from '@/filters/bytes.js';
import { i18n } from '@/i18n.js';
import { dateString } from '@/filters/date.js';

const props = defineProps<{
pagination: any;
pagination: Paging;
viewMode: 'grid' | 'list';
}>();
</script>
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ import { claimAchievement } from '@/scripts/achievements.js';
import MkRippleEffect from '@/components/MkRippleEffect.vue';
import { showMovedDialog } from '@/scripts/show-moved-dialog.js';
import MkUserCardMini from '@/components/MkUserCardMini.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkReactionIcon from '@/components/MkReactionIcon.vue';
import MkButton from '@/components/MkButton.vue';

Expand Down Expand Up @@ -307,7 +307,7 @@ const renotesPagination = computed(() => ({
params: {
noteId: appearNote.value.id,
},
}));
} satisfies Paging));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


const reactionsPagination = computed(() => ({
endpoint: 'notes/reactions',
Expand All @@ -316,7 +316,7 @@ const reactionsPagination = computed(() => ({
noteId: appearNote.value.id,
type: reactionTabType.value,
},
}));
} satisfies Paging));

useNoteCapture({
rootEl: el,
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/components/MkUserSetupDialog.Follow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ SPDX-License-Identifier: AGPL-3.0-only
import { i18n } from '@/i18n.js';
import MkFolder from '@/components/MkFolder.vue';
import XUser from '@/components/MkUserSetupDialog.User.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';

const pinnedUsers = { endpoint: 'pinned-users', noPaging: true };
const pinnedUsers = { endpoint: 'pinned-users', noPaging: true } satisfies Paging;

const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: {
state: 'alive',
origin: 'local',
sort: '+follower',
} };
} } satisfies Paging;
</script>

<style lang="scss" module>
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/about.federation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const pagination = {
state.value === 'notResponding' ? { notResponding: true } :
{}),
})),
} as Paging;
} satisfies Paging;

function getStatus(instance) {
if (instance.isSuspended) return 'Suspended';
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin-user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
import { i18n } from '@/i18n.js';
import { iAmAdmin, $i } from '@/account.js';
import MkRolePreview from '@/components/MkRolePreview.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';

const props = withDefaults(defineProps<{
userId: string;
Expand Down Expand Up @@ -258,7 +258,7 @@ const announcementsPagination = {
params: computed(() => ({
userId: props.userId,
})),
};
} satisfies Paging;
const expandedRoles = ref([]);

function createFetcher() {
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin/abuses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import { computed, shallowRef, ref } from 'vue';

import XHeader from './_header_.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import XAbuseReport from '@/components/MkAbuseReport.vue';
import { i18n } from '@/i18n.js';
import { definePageMetadata } from '@/scripts/page-metadata.js';
Expand All @@ -77,7 +77,7 @@ const pagination = {
reporterOrigin: reporterOrigin.value,
targetUserOrigin: targetUserOrigin.value,
})),
};
} satisfies Paging;

function resolved(reportId) {
reports.value.removeItem(reportId);
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin/federation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import { computed, ref } from 'vue';
import XHeader from './_header_.vue';
import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkInstanceCardMini from '@/components/MkInstanceCardMini.vue';
import FormSplit from '@/components/form/split.vue';
import { i18n } from '@/i18n.js';
Expand All @@ -88,7 +88,7 @@ const pagination = {
state.value === 'notResponding' ? { notResponding: true } :
{}),
})),
};
} satisfies Paging;

function getStatus(instance) {
if (instance.isSuspended) return 'Suspended';
Expand Down
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/admin/invites.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ const pagingComponent = shallowRef<InstanceType<typeof MkPagination>>();
const type = ref('all');
const sort = ref('+createdAt');

const pagination: Paging = {
const pagination = {
endpoint: 'admin/invite/list' as const,
limit: 10,
params: computed(() => ({
type: type.value,
sort: sort.value,
})),
offsetMode: true,
};
} satisfies Paging;

const expiresAt = ref('');
const noExpirationDate = ref(true);
Expand All @@ -97,10 +97,10 @@ async function createWithOptions() {
os.alert({
type: 'success',
title: i18n.ts.inviteCodeCreated,
text: tickets?.map(x => x.code).join('\n'),
text: tickets.map(x => x.code).join('\n'),
});

tickets?.forEach(ticket => pagingComponent.value?.prepend(ticket));
tickets.forEach(ticket => pagingComponent.value?.prepend(ticket));
}

function deleted(id: string) {
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin/modlog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import XHeader from './_header_.vue';
import XModLog from './modlog.ModLog.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkInput from '@/components/MkInput.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js';
import { definePageMetadata } from '@/scripts/page-metadata.js';

Expand All @@ -52,7 +52,7 @@ const pagination = {
type: type.value,
userId: moderatorId.value === '' ? null : moderatorId.value,
})),
};
} satisfies Paging;

console.log(Misskey);

Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin/roles.role.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ import { useRouter } from '@/router.js';
import MkButton from '@/components/MkButton.vue';
import MkUserCardMini from '@/components/MkUserCardMini.vue';
import MkInfo from '@/components/MkInfo.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import { infoImageUrl } from '@/instance.js';

const router = useRouter();
Expand All @@ -88,7 +88,7 @@ const usersPagination = {
params: computed(() => ({
roleId: props.id,
})),
};
} satisfies Paging;

const expandedItems = ref([]);

Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/admin/users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import { computed, shallowRef, ref } from 'vue';
import XHeader from './_header_.vue';
import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import * as os from '@/os.js';
import { lookupUser } from '@/scripts/lookup-user.js';
import { i18n } from '@/i18n.js';
Expand All @@ -87,7 +87,7 @@ const pagination = {
hostname: searchHost.value,
})),
offsetMode: true,
};
} satisfies Paging;

function searchUser() {
os.selectUser().then(user => {
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/announcements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only

<script lang="ts" setup>
import { ref, computed } from 'vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkButton from '@/components/MkButton.vue';
import MkInfo from '@/components/MkInfo.vue';
import * as os from '@/os.js';
Expand All @@ -55,15 +55,15 @@ const paginationCurrent = {
params: {
isActive: true,
},
};
} satisfies Paging;

const paginationPast = {
endpoint: 'announcements' as const,
limit: 10,
params: {
isActive: false,
},
};
} satisfies Paging;

const paginationEl = ref<InstanceType<typeof MkPagination>>();

Expand Down
10 changes: 5 additions & 5 deletions packages/frontend/src/pages/channels.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed, onMounted, ref } from 'vue';
import MkChannelPreview from '@/components/MkChannelPreview.vue';
import MkChannelList from '@/components/MkChannelList.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkInput from '@/components/MkInput.vue';
import MkRadios from '@/components/MkRadios.vue';
import MkButton from '@/components/MkButton.vue';
Expand Down Expand Up @@ -83,20 +83,20 @@ onMounted(() => {
const featuredPagination = {
endpoint: 'channels/featured' as const,
noPaging: true,
};
} satisfies Paging;
const favoritesPagination = {
endpoint: 'channels/my-favorites' as const,
limit: 100,
noPaging: true,
};
} satisfies Paging;
const followingPagination = {
endpoint: 'channels/followed' as const,
limit: 10,
};
} satisfies Paging;
const ownedPagination = {
endpoint: 'channels/owned' as const,
limit: 10,
};
} satisfies Paging;

async function search() {
const query = searchQuery.value.toString().trim();
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/custom-emojis-manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed, defineAsyncComponent, ref, shallowRef } from 'vue';
import MkButton from '@/components/MkButton.vue';
import MkInput from '@/components/MkInput.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkSwitch from '@/components/MkSwitch.vue';
import FormSplit from '@/components/form/split.vue';
import { selectFile } from '@/scripts/select-file.js';
Expand All @@ -100,7 +100,7 @@ const pagination = {
params: computed(() => ({
query: (query.value && query.value !== '') ? query.value : null,
})),
};
} satisfies Paging;

const remotePagination = {
endpoint: 'admin/emoji/list-remote' as const,
Expand All @@ -109,7 +109,7 @@ const remotePagination = {
query: (queryRemote.value && queryRemote.value !== '') ? queryRemote.value : null,
host: (host.value && host.value !== '') ? host.value : null,
})),
};
} satisfies Paging;

const selectAll = () => {
if (selectedEmojis.value.length > 0) {
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/favorites.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>

<script lang="ts" setup>
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkNote from '@/components/MkNote.vue';
import MkDateSeparatedList from '@/components/MkDateSeparatedList.vue';
import { i18n } from '@/i18n.js';
Expand All @@ -36,7 +36,7 @@ import { infoImageUrl } from '@/instance.js';
const pagination = {
endpoint: 'i/favorites' as const,
limit: 10,
};
} satisfies Paging;

definePageMetadata({
title: i18n.ts.favorites,
Expand Down
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/flash/flash-index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import { computed, ref } from 'vue';
import MkFlashPreview from '@/components/MkFlashPreview.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkButton from '@/components/MkButton.vue';
import { useRouter } from '@/router.js';
import { i18n } from '@/i18n.js';
Expand All @@ -53,15 +53,15 @@ const tab = ref('featured');
const featuredFlashsPagination = {
endpoint: 'flash/featured' as const,
noPaging: true,
};
} satisfies Paging;
const myFlashsPagination = {
endpoint: 'flash/my' as const,
limit: 5,
};
} satisfies Paging;
const likedFlashsPagination = {
endpoint: 'flash/my-likes' as const,
limit: 5,
};
} satisfies Paging;

function create() {
router.push('/play/new');
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/follow-requests.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only

<script lang="ts" setup>
import { shallowRef, computed } from 'vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkButton from '@/components/MkButton.vue';
import { userPage, acct } from '@/filters/user.js';
import * as os from '@/os.js';
Expand All @@ -51,7 +51,7 @@ const paginationComponent = shallowRef<InstanceType<typeof MkPagination>>();
const pagination = {
endpoint: 'following/requests/list' as const,
limit: 10,
};
} satisfies Paging;

function accept(user) {
os.api('following/requests/accept', { userId: user.id }).then(() => {
Expand Down
Loading
Loading