diff --git a/fe_calckey/frontend/calckey-js/src/api.types.ts b/fe_calckey/frontend/calckey-js/src/api.types.ts
index 2995818..bb492ae 100644
--- a/fe_calckey/frontend/calckey-js/src/api.types.ts
+++ b/fe_calckey/frontend/calckey-js/src/api.types.ts
@@ -14,7 +14,6 @@ import {
FollowingFolloweePopulated,
FollowingFollowerPopulated,
FollowRequest,
- GalleryPost,
Instance,
LiteInstanceMetadata,
MeDetailed,
@@ -563,25 +562,6 @@ export type Endpoints = {
"following/requests/list": { req: NoParams; res: FollowRequest[] };
"following/requests/reject": { req: { userId: User["id"] }; res: null };
- // gallery
- "gallery/featured": { req: TODO; res: TODO };
- "gallery/popular": { req: TODO; res: TODO };
- "gallery/posts": { req: TODO; res: TODO };
- "gallery/posts/create": { req: TODO; res: TODO };
- "gallery/posts/delete": { req: { postId: GalleryPost["id"] }; res: null };
- "gallery/posts/like": { req: TODO; res: TODO };
- "gallery/posts/show": { req: TODO; res: TODO };
- "gallery/posts/unlike": { req: TODO; res: TODO };
- "gallery/posts/update": { req: TODO; res: TODO };
-
- // games
- "games/reversi/games": { req: TODO; res: TODO };
- "games/reversi/games/show": { req: TODO; res: TODO };
- "games/reversi/games/surrender": { req: TODO; res: TODO };
- "games/reversi/invitations": { req: TODO; res: TODO };
- "games/reversi/match": { req: TODO; res: TODO };
- "games/reversi/match/cancel": { req: TODO; res: TODO };
-
// get-online-users-count
"get-online-users-count": { req: NoParams; res: { count: number } };
@@ -611,8 +591,6 @@ export type Endpoints = {
};
res: NoteFavorite[];
};
- "i/gallery/likes": { req: TODO; res: TODO };
- "i/gallery/posts": { req: TODO; res: TODO };
"i/get-word-muted-notes-count": { req: TODO; res: TODO };
"i/import-following": { req: TODO; res: TODO };
"i/import-user-lists": { req: TODO; res: TODO };
@@ -950,7 +928,6 @@ export type Endpoints = {
};
res: FollowingFolloweePopulated[];
};
- "users/gallery/posts": { req: TODO; res: TODO };
"users/get-frequently-replied-users": { req: TODO; res: TODO };
"users/lists/create": { req: { name: string }; res: UserList };
"users/lists/delete": { req: { listId: UserList["id"] }; res: null };
diff --git a/fe_calckey/frontend/calckey-js/src/consts.ts b/fe_calckey/frontend/calckey-js/src/consts.ts
index f72b5f7..5a4848a 100644
--- a/fe_calckey/frontend/calckey-js/src/consts.ts
+++ b/fe_calckey/frontend/calckey-js/src/consts.ts
@@ -44,12 +44,4 @@ export const permissions = [
"read:reactions",
"write:reactions",
"write:votes",
- "read:pages",
- "write:pages",
- "write:page-likes",
- "read:page-likes",
- "read:gallery",
- "write:gallery",
- "read:gallery-likes",
- "write:gallery-likes",
];
diff --git a/fe_calckey/frontend/calckey-js/src/entities.ts b/fe_calckey/frontend/calckey-js/src/entities.ts
index 67a4a69..c9f7eb6 100644
--- a/fe_calckey/frontend/calckey-js/src/entities.ts
+++ b/fe_calckey/frontend/calckey-js/src/entities.ts
@@ -121,8 +121,6 @@ export type DriveFile = {
export type DriveFolder = TODO;
-export type GalleryPost = TODO;
-
export type Note = {
id: ID;
createdAt: DateString;
diff --git a/fe_calckey/frontend/client/src/components/MkGalleryPostPreview.vue b/fe_calckey/frontend/client/src/components/MkGalleryPostPreview.vue
deleted file mode 100644
index 341dcc4..0000000
--- a/fe_calckey/frontend/client/src/components/MkGalleryPostPreview.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/fe_calckey/frontend/client/src/components/MkMediaList.vue b/fe_calckey/frontend/client/src/components/MkMediaList.vue
index 9190360..52d09e5 100644
--- a/fe_calckey/frontend/client/src/components/MkMediaList.vue
+++ b/fe_calckey/frontend/client/src/components/MkMediaList.vue
@@ -49,7 +49,7 @@
-
-
diff --git a/fe_calckey/frontend/client/src/pages/gallery/index.vue b/fe_calckey/frontend/client/src/pages/gallery/index.vue
deleted file mode 100644
index 374009e..0000000
--- a/fe_calckey/frontend/client/src/pages/gallery/index.vue
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-
-
-
- {{ i18n.ts.recentPosts }}
-
-
-
-
-
-
-
-
- {{ i18n.ts.popularPosts }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n.ts.postToGallery }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/fe_calckey/frontend/client/src/pages/gallery/post.vue b/fe_calckey/frontend/client/src/pages/gallery/post.vue
deleted file mode 100644
index 431b4fc..0000000
--- a/fe_calckey/frontend/client/src/pages/gallery/post.vue
+++ /dev/null
@@ -1,360 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ post.title }}
-
-
-
-
-
-
-
-
-
- {{ post.likedCount }}
- {{ post.likedCount }}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n.ts.recentPosts }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/fe_calckey/frontend/client/src/pages/user/gallery.vue b/fe_calckey/frontend/client/src/pages/user/gallery.vue
deleted file mode 100644
index c577bd0..0000000
--- a/fe_calckey/frontend/client/src/pages/user/gallery.vue
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/fe_calckey/frontend/client/src/pages/user/index.vue b/fe_calckey/frontend/client/src/pages/user/index.vue
index 5425fb4..3c037bc 100644
--- a/fe_calckey/frontend/client/src/pages/user/index.vue
+++ b/fe_calckey/frontend/client/src/pages/user/index.vue
@@ -18,7 +18,6 @@
/>
-
@@ -41,7 +40,6 @@ import * as Acct from "calckey-js/built/acct";
const XHome = defineAsyncComponent(() => import("./home.vue"));
const XReactions = defineAsyncComponent(() => import("./reactions.vue"));
const XClips = defineAsyncComponent(() => import("./clips.vue"));
-const XGallery = defineAsyncComponent(() => import("./gallery.vue"));
const props = withDefaults(
defineProps<{
@@ -142,11 +140,6 @@ const headerTabs = $computed(() =>
title: i18n.ts.clips,
icon: "ph-paperclip ph-bold ph-lg",
},
- {
- key: "gallery",
- title: i18n.ts.gallery,
- icon: "ph-image-square ph-bold ph-lg",
- },
]
: []),
]
diff --git a/fe_calckey/frontend/client/src/router.ts b/fe_calckey/frontend/client/src/router.ts
index ad7ccc2..af19c13 100644
--- a/fe_calckey/frontend/client/src/router.ts
+++ b/fe_calckey/frontend/client/src/router.ts
@@ -364,24 +364,6 @@ export const routes = [
path: "/tags/:tag",
component: page(() => import("./pages/tag.vue")),
},
- {
- path: "/gallery/:postId/edit",
- component: page(() => import("./pages/gallery/edit.vue")),
- loginRequired: true,
- },
- {
- path: "/gallery/new",
- component: page(() => import("./pages/gallery/edit.vue")),
- loginRequired: true,
- },
- {
- path: "/gallery/:postId",
- component: page(() => import("./pages/gallery/post.vue")),
- },
- {
- path: "/gallery",
- component: page(() => import("./pages/gallery/index.vue")),
- },
{
path: "/registry/keys/system/:path(*)?",
component: page(() => import("./pages/registry.keys.vue")),
diff --git a/fe_calckey/frontend/client/src/ui/visitor/b.vue b/fe_calckey/frontend/client/src/ui/visitor/b.vue
index 374e520..bdbfcbc 100644
--- a/fe_calckey/frontend/client/src/ui/visitor/b.vue
+++ b/fe_calckey/frontend/client/src/ui/visitor/b.vue
@@ -47,10 +47,6 @@
>{{ i18n.ts.explore }}
- {{ i18n.ts.gallery }}