forked from mastodon/mastodon
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix: #374 拡張ドメインブロックのインポート・エクスポートについてkmyblue独自の項目が反映されない問題 * Fix test
- Loading branch information
Showing
5 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#domain,#severity,#reject_media,#reject_reports,#public_comment,#obfuscate | ||
bad.domain,silence,false,false,bad server,false | ||
worse.domain,suspend,true,true,worse server,true | ||
reject.media,noop,true,false,reject media and test unicode characters ♥,false | ||
#domain,#severity,#reject_media,#reject_reports,#public_comment,#obfuscate,#reject_favourite,#reject_reply,#reject_send_sensitive,#reject_hashtag,#reject_straight_follow,#reject_new_follow,#hidden,#detect_invalid_subscription,#reject_reply_exclude_followers,#reject_friend,#block_trends | ||
bad.domain,silence,false,false,bad server,false,false,false,false,false,false,false,false,false,false,false,false | ||
worse.domain,suspend,true,true,worse server,true,false,false,false,false,false,false,false,false,false,false,false | ||
reject.media,noop,true,false,reject media and test unicode characters ♥,false,false,false,false,false,false,false,false,false,false,false,false | ||
little.spam,noop,false,false,has some spams,false,true,true,false,false,true,false,false,false,false,false,false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -291,7 +291,7 @@ | |
it_behaves_like 'on successful import', 'blocking', 'merge', 'imports.txt', (%w([email protected] [email protected]).map { |acct| { 'acct' => acct } }) | ||
it_behaves_like 'on successful import', 'blocking', 'overwrite', 'imports.txt', (%w([email protected] [email protected]).map { |acct| { 'acct' => acct } }) | ||
it_behaves_like 'on successful import', 'muting', 'merge', 'imports.txt', (%w([email protected] [email protected]).map { |acct| { 'acct' => acct } }) | ||
it_behaves_like 'on successful import', 'domain_blocking', 'merge', 'domain_blocks.csv', (%w(bad.domain worse.domain reject.media).map { |domain| { 'domain' => domain } }) | ||
it_behaves_like 'on successful import', 'domain_blocking', 'merge', 'domain_blocks.csv', (%w(bad.domain worse.domain reject.media little.spam).map { |domain| { 'domain' => domain } }) | ||
it_behaves_like 'on successful import', 'bookmarks', 'merge', 'bookmark-imports.txt', (%w(https://example.com/statuses/1312 https://local.com/users/foo/statuses/42 https://unknown-remote.com/users/bar/statuses/1 https://example.com/statuses/direct).map { |uri| { 'uri' => uri } }) | ||
|
||
it_behaves_like 'on successful import', 'following', 'merge', 'following_accounts.csv', [ | ||
|