From 5b9f3701f58ca00c151498d16b6a839a91ba8643 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 2 Apr 2018 12:58:53 +0900 Subject: [PATCH] Abolish common and misc directories --- src/client/app/ch/tags/channel.tag | 2 +- .../app/common/scripts/compose-notification.ts | 4 ++-- .../app/common/views/components/autocomplete.vue | 2 +- .../views/components/messaging-room.message.vue | 4 ++-- src/client/app/common/views/components/messaging.vue | 2 +- .../app/common/views/components/othello.game.vue | 2 +- .../app/common/views/components/othello.room.vue | 2 +- src/client/app/common/views/components/post-html.ts | 4 ++-- .../app/common/views/components/welcome-timeline.vue | 2 +- .../app/desktop/views/components/friends-maker.vue | 2 +- .../views/components/messaging-room-window.vue | 2 +- .../app/desktop/views/components/notifications.vue | 4 ++-- .../app/desktop/views/components/post-detail.sub.vue | 2 +- .../app/desktop/views/components/post-detail.vue | 4 ++-- .../app/desktop/views/components/post-preview.vue | 2 +- .../app/desktop/views/components/posts.post.sub.vue | 2 +- .../app/desktop/views/components/posts.post.vue | 4 ++-- .../app/desktop/views/components/settings.mute.vue | 2 +- .../app/desktop/views/components/user-preview.vue | 4 ++-- .../app/desktop/views/components/users-list.item.vue | 2 +- src/client/app/desktop/views/pages/home.vue | 2 +- .../app/desktop/views/pages/messaging-room.vue | 2 +- .../views/pages/user/user.followers-you-know.vue | 2 +- .../app/desktop/views/pages/user/user.friends.vue | 2 +- .../app/desktop/views/pages/user/user.header.vue | 2 +- src/client/app/desktop/views/pages/user/user.vue | 2 +- src/client/app/desktop/views/pages/welcome.vue | 2 +- .../desktop/views/widgets/channel.channel.post.vue | 2 +- src/client/app/desktop/views/widgets/polls.vue | 2 +- src/client/app/desktop/views/widgets/trends.vue | 2 +- src/client/app/desktop/views/widgets/users.vue | 2 +- src/client/app/mobile/api/post.ts | 2 +- .../mobile/views/components/notification-preview.vue | 2 +- .../app/mobile/views/components/notification.vue | 4 ++-- src/client/app/mobile/views/components/post-card.vue | 4 ++-- .../app/mobile/views/components/post-detail.sub.vue | 2 +- .../app/mobile/views/components/post-detail.vue | 4 ++-- .../app/mobile/views/components/post-preview.vue | 2 +- src/client/app/mobile/views/components/post.sub.vue | 2 +- src/client/app/mobile/views/components/post.vue | 4 ++-- src/client/app/mobile/views/components/user-card.vue | 2 +- .../app/mobile/views/components/user-preview.vue | 2 +- src/client/app/mobile/views/pages/followers.vue | 2 +- src/client/app/mobile/views/pages/following.vue | 2 +- src/client/app/mobile/views/pages/home.vue | 2 +- src/client/app/mobile/views/pages/messaging-room.vue | 2 +- src/client/app/mobile/views/pages/messaging.vue | 2 +- src/client/app/mobile/views/pages/user.vue | 4 ++-- .../views/pages/user/home.followers-you-know.vue | 2 +- .../app/mobile/views/pages/user/home.photos.vue | 2 +- src/{common => }/drive/add-file.ts | 12 ++++++------ src/{common => }/drive/upload-from-url.ts | 2 +- src/{common => }/event.ts | 2 +- src/{misc => }/get-notification-summary.ts | 0 src/{misc => }/get-post-summary.ts | 0 src/{misc => }/get-reaction-emoji.ts | 0 src/{common => }/notify.ts | 6 +++--- src/{misc => }/othello/ai/back.ts | 2 +- src/{misc => }/othello/ai/front.ts | 2 +- src/{misc => }/othello/ai/index.ts | 0 src/{misc => }/othello/core.ts | 0 src/{misc => }/othello/maps.ts | 0 src/processor/http/follow.ts | 4 ++-- src/{common => }/push-sw.ts | 4 ++-- src/remote/activitypub/create.ts | 2 +- src/server/activitypub/inbox.ts | 2 +- src/server/activitypub/post.ts | 2 +- src/server/activitypub/with-user.ts | 2 +- src/server/api/bot/core.ts | 8 ++++---- src/server/api/bot/interfaces/line.ts | 6 +++--- src/server/api/common/read-messaging-message.ts | 6 +++--- src/server/api/common/read-notification.ts | 2 +- src/server/api/endpoints/drive/files/create.ts | 2 +- src/server/api/endpoints/drive/files/update.ts | 2 +- .../api/endpoints/drive/files/upload_from_url.ts | 2 +- src/server/api/endpoints/drive/folders/create.ts | 2 +- src/server/api/endpoints/drive/folders/update.ts | 2 +- src/server/api/endpoints/following/delete.ts | 2 +- src/server/api/endpoints/i/regenerate_token.ts | 2 +- src/server/api/endpoints/i/update.ts | 2 +- src/server/api/endpoints/i/update_client_setting.ts | 2 +- src/server/api/endpoints/i/update_home.ts | 2 +- src/server/api/endpoints/i/update_mobile_home.ts | 2 +- .../api/endpoints/messaging/messages/create.ts | 8 ++++---- .../api/endpoints/notifications/mark_as_read_all.ts | 2 +- src/server/api/endpoints/othello/games/show.ts | 2 +- src/server/api/endpoints/othello/match.ts | 4 ++-- src/server/api/endpoints/posts/create.ts | 12 ++++++------ src/server/api/endpoints/posts/polls/vote.ts | 4 ++-- src/server/api/endpoints/posts/reactions/create.ts | 4 ++-- src/server/api/limitter.ts | 2 +- src/server/api/private/signin.ts | 2 +- src/server/api/service/twitter.ts | 2 +- src/server/api/stream/othello-game.ts | 6 +++--- src/server/api/stream/othello.ts | 2 +- src/server/webfinger.ts | 2 +- src/{common => }/text/html.ts | 0 .../text/parse/core/syntax-highlighter.ts | 0 src/{common => }/text/parse/elements/bold.ts | 0 src/{common => }/text/parse/elements/code.ts | 0 src/{common => }/text/parse/elements/emoji.ts | 0 src/{common => }/text/parse/elements/hashtag.ts | 0 src/{common => }/text/parse/elements/inline-code.ts | 0 src/{common => }/text/parse/elements/link.ts | 0 src/{common => }/text/parse/elements/mention.ts | 2 +- src/{common => }/text/parse/elements/quote.ts | 0 src/{common => }/text/parse/elements/url.ts | 0 src/{common => }/text/parse/index.ts | 0 src/{misc => }/user/get-acct.ts | 0 src/{misc => }/user/get-summary.ts | 2 +- src/{misc => }/user/parse-acct.ts | 0 111 files changed, 133 insertions(+), 133 deletions(-) rename src/{common => }/drive/add-file.ts (96%) rename src/{common => }/drive/upload-from-url.ts (93%) rename src/{common => }/event.ts (98%) rename src/{misc => }/get-notification-summary.ts (100%) rename src/{misc => }/get-post-summary.ts (100%) rename src/{misc => }/get-reaction-emoji.ts (100%) rename src/{common => }/notify.ts (90%) rename src/{misc => }/othello/ai/back.ts (99%) rename src/{misc => }/othello/ai/front.ts (99%) rename src/{misc => }/othello/ai/index.ts (100%) rename src/{misc => }/othello/core.ts (100%) rename src/{misc => }/othello/maps.ts (100%) rename src/{common => }/push-sw.ts (93%) rename src/{common => }/text/html.ts (100%) rename src/{common => }/text/parse/core/syntax-highlighter.ts (100%) rename src/{common => }/text/parse/elements/bold.ts (100%) rename src/{common => }/text/parse/elements/code.ts (100%) rename src/{common => }/text/parse/elements/emoji.ts (100%) rename src/{common => }/text/parse/elements/hashtag.ts (100%) rename src/{common => }/text/parse/elements/inline-code.ts (100%) rename src/{common => }/text/parse/elements/link.ts (100%) rename src/{common => }/text/parse/elements/mention.ts (83%) rename src/{common => }/text/parse/elements/quote.ts (100%) rename src/{common => }/text/parse/elements/url.ts (100%) rename src/{common => }/text/parse/index.ts (100%) rename src/{misc => }/user/get-acct.ts (100%) rename src/{misc => }/user/get-summary.ts (90%) rename src/{misc => }/user/parse-acct.ts (100%) diff --git a/src/client/app/ch/tags/channel.tag b/src/client/app/ch/tags/channel.tag index 70e494aedd..0c139ba267 100644 --- a/src/client/app/ch/tags/channel.tag +++ b/src/client/app/ch/tags/channel.tag @@ -229,7 +229,7 @@