From cd2542e0fd8578f6e41114ffebbda1f16f7d04ce Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Apr 2018 04:15:27 +0900 Subject: [PATCH] Refactor --- src/client/app/ch/tags/channel.tag | 2 +- src/client/app/common/scripts/compose-notification.ts | 4 ++-- src/client/app/common/views/components/autocomplete.vue | 2 +- .../common/views/components/messaging-room.message.vue | 2 +- src/client/app/common/views/components/messaging.vue | 2 +- src/client/app/common/views/components/othello.game.vue | 2 +- src/client/app/common/views/components/othello.room.vue | 2 +- src/client/app/common/views/components/post-html.ts | 2 +- .../app/common/views/components/welcome-timeline.vue | 2 +- src/client/app/desktop/views/components/friends-maker.vue | 2 +- .../desktop/views/components/messaging-room-window.vue | 2 +- src/client/app/desktop/views/components/notifications.vue | 4 ++-- .../app/desktop/views/components/post-detail.sub.vue | 2 +- src/client/app/desktop/views/components/post-detail.vue | 2 +- src/client/app/desktop/views/components/post-preview.vue | 2 +- .../app/desktop/views/components/posts.post.sub.vue | 2 +- src/client/app/desktop/views/components/posts.post.vue | 2 +- src/client/app/desktop/views/components/settings.mute.vue | 2 +- src/client/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 +- src/client/app/desktop/views/pages/messaging-room.vue | 2 +- .../desktop/views/pages/user/user.followers-you-know.vue | 2 +- src/client/app/desktop/views/pages/user/user.friends.vue | 2 +- src/client/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 +- .../app/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 +- .../app/mobile/views/components/notification-preview.vue | 2 +- src/client/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 +- src/client/app/mobile/views/components/post-detail.vue | 2 +- src/client/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 | 2 +- src/client/app/mobile/views/components/user-card.vue | 2 +- src/client/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 ++-- .../mobile/views/pages/user/home.followers-you-know.vue | 2 +- src/client/app/mobile/views/pages/user/home.photos.vue | 2 +- src/common/drive/add-file.ts | 2 +- .../drive/{upload_from_url.ts => upload-from-url.ts} | 0 src/common/text/parse/elements/mention.ts | 2 +- src/{common => misc}/get-notification-summary.ts | 0 src/{common => misc}/get-post-summary.ts | 0 src/{common => misc}/get-reaction-emoji.ts | 0 src/{common => misc}/othello/ai/back.ts | 0 src/{common => misc}/othello/ai/front.ts | 0 src/{common => misc}/othello/ai/index.ts | 0 src/{common => misc}/othello/core.ts | 0 src/{common => misc}/othello/maps.ts | 0 src/{common => misc}/user/get-acct.ts | 0 src/{common => misc}/user/get-summary.ts | 0 src/{common => misc}/user/parse-acct.ts | 0 src/processor/http/follow.ts | 4 ++-- src/processor/http/perform-activitypub.ts | 2 +- src/{common => }/remote/activitypub/act/create.ts | 0 src/{common => }/remote/activitypub/act/index.ts | 0 src/{common => }/remote/activitypub/create.ts | 8 ++++---- src/{common => }/remote/activitypub/renderer/context.ts | 0 src/{common => }/remote/activitypub/renderer/document.ts | 2 +- src/{common => }/remote/activitypub/renderer/follow.ts | 4 ++-- src/{common => }/remote/activitypub/renderer/hashtag.ts | 2 +- src/{common => }/remote/activitypub/renderer/image.ts | 2 +- src/{common => }/remote/activitypub/renderer/key.ts | 6 +++--- src/{common => }/remote/activitypub/renderer/note.ts | 8 ++++---- .../remote/activitypub/renderer/ordered-collection.ts | 0 src/{common => }/remote/activitypub/renderer/person.ts | 2 +- src/{common => }/remote/activitypub/resolve-person.ts | 4 ++-- src/{common => }/remote/activitypub/resolver.ts | 2 +- src/{common => }/remote/activitypub/type.ts | 0 src/{common => }/remote/resolve-user.ts | 2 +- src/{common => }/remote/webfinger.ts | 0 src/server/activitypub/inbox.ts | 2 +- src/server/activitypub/outbox.ts | 6 +++--- src/server/activitypub/post.ts | 6 +++--- src/server/activitypub/publickey.ts | 4 ++-- src/server/activitypub/user.ts | 4 ++-- 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/endpoints/drive/files/upload_from_url.ts | 2 +- src/server/api/endpoints/othello/games/show.ts | 2 +- src/server/api/endpoints/othello/match.ts | 2 +- src/server/api/endpoints/posts/create.ts | 4 ++-- src/server/api/endpoints/users/show.ts | 2 +- src/server/api/limitter.ts | 2 +- src/server/api/stream/othello-game.ts | 4 ++-- src/server/webfinger.ts | 2 +- 99 files changed, 111 insertions(+), 111 deletions(-) rename src/common/drive/{upload_from_url.ts => upload-from-url.ts} (100%) rename src/{common => misc}/get-notification-summary.ts (100%) rename src/{common => misc}/get-post-summary.ts (100%) rename src/{common => misc}/get-reaction-emoji.ts (100%) rename src/{common => misc}/othello/ai/back.ts (100%) rename src/{common => misc}/othello/ai/front.ts (100%) rename src/{common => misc}/othello/ai/index.ts (100%) rename src/{common => misc}/othello/core.ts (100%) rename src/{common => misc}/othello/maps.ts (100%) rename src/{common => misc}/user/get-acct.ts (100%) rename src/{common => misc}/user/get-summary.ts (100%) rename src/{common => misc}/user/parse-acct.ts (100%) rename src/{common => }/remote/activitypub/act/create.ts (100%) rename src/{common => }/remote/activitypub/act/index.ts (100%) rename src/{common => }/remote/activitypub/create.ts (90%) rename src/{common => }/remote/activitypub/renderer/context.ts (100%) rename src/{common => }/remote/activitypub/renderer/document.ts (76%) rename src/{common => }/remote/activitypub/renderer/follow.ts (61%) rename src/{common => }/remote/activitypub/renderer/hashtag.ts (76%) rename src/{common => }/remote/activitypub/renderer/image.ts (69%) rename src/{common => }/remote/activitypub/renderer/key.ts (57%) rename src/{common => }/remote/activitypub/renderer/note.ts (84%) rename src/{common => }/remote/activitypub/renderer/ordered-collection.ts (100%) rename src/{common => }/remote/activitypub/renderer/person.ts (92%) rename src/{common => }/remote/activitypub/resolve-person.ts (97%) rename src/{common => }/remote/activitypub/resolver.ts (96%) rename src/{common => }/remote/activitypub/type.ts (100%) rename src/{common => }/remote/resolve-user.ts (95%) rename src/{common => }/remote/webfinger.ts (100%) diff --git a/src/client/app/ch/tags/channel.tag b/src/client/app/ch/tags/channel.tag index 2abfb106a..70e494aed 100644 --- a/src/client/app/ch/tags/channel.tag +++ b/src/client/app/ch/tags/channel.tag @@ -229,7 +229,7 @@