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

引用機能 for v2.4.0 #6

Closed
wants to merge 7 commits into from
Closed

引用機能 for v2.4.0 #6

wants to merge 7 commits into from

Conversation

wakin-
Copy link
Owner

@wakin- wakin- commented May 23, 2018

使い方

引用ボタンを選択すると

image

引用トゥートになります。

image

引用元トゥートが埋め込み表示されるようになります。

image

引用機能の無いインスタンスでは代替テキストが表示されます。

image

導入方法

前提

v2.4.0をベースにしています。

手順

このリモートリポジトリを取り込みます。

git remote add wakin https://github.com/wakin-/mastodon.git
git fetch wakin

quote ブランチのコミットを cherry-pick します。

git cherry-pick 4d81809f36fcbfe787e23d490f2cb0ad943ab32c..c3258e59a5d91ff1b7592200a2493a1c7e7df484

DB の statuses テーブルに bigint 型のquote_idカラムを追加します。

RAILS_ENV=production bundle exec rails db:migrate

アセットファイルを更新します。

RAILS_ENV=production bundle exec rails assets:precompile

その後いつものようにプロセスの再起動で完了です。

@wakin- wakin- closed this Jun 20, 2018
@wakin- wakin- deleted the quote_v2_4_0 branch February 1, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants