Skip to content

Conversation

@masaton0216
Copy link
Contributor

@masaton0216 masaton0216 commented Jan 28, 2026

概要

スパム管理に以下の機能を追加しました。

  • ブロック履歴機能: スパムフィルタリングでブロックされた記録をDB(spam_block_histories テーブル)に保存し、管理画面から一覧・検索・CSVダウンロードできるようにしました
  • 管理メニューの移動: スパム管理を「データ管理」カテゴリに移動しました
  • ページリンク表示: スパムリスト一覧の「適用範囲」とブロック履歴の「フォーム名」に、フォームが配置されているページへのリンクを表示するようにしました
  • テスト追加: SpamBlockHistory モデルのユニットテスト、フォームスパムブロック時のDB記録テストを追加しました

レビュー完了希望日

急ぎません

関連Pull requests/Issues

なし

参考

DB変更の有無

有り

  • spam_block_histories テーブルの新規作成(マイグレーション: 2026_01_28_000000_create_spam_block_histories_table.php

チェックリスト

@masaton0216 masaton0216 merged commit e40c219 into master Jan 28, 2026
1 check passed
@masaton0216 masaton0216 deleted the add-manage-block-history branch January 28, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants