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.8.0 #34

Closed
wants to merge 2 commits into from
Closed

引用機能 for v2.8.0 #34

wants to merge 2 commits into from

Conversation

wakin-
Copy link
Owner

@wakin- wakin- commented Apr 11, 2019

使い方

引用ボタンを選択すると

image

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

image

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

image

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

image

導入方法

前提

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

手順

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

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

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

git cherry-pick bd39da8a4418606b29309e891ec5dcfd82c09a2c
git cherry-pick 9f905969125e916c82f8dbcc86c11bb604eedabb

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 May 4, 2019
@wakin- wakin- deleted the quote_v2.8.0 branch May 4, 2019 08:08
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.

2 participants