Module: Decidim
- Defined in:
- app/commands/decidim/comments/create_comment.rb,
lib/decidim/spam_signal.rb,
lib/decidim/spam_signal/admin.rb,
lib/decidim/spam_signal/engine.rb,
lib/decidim/spam_signal/cop_bot.rb,
lib/decidim/spam_signal/version.rb,
lib/decidim/spam_signal/admin_engine.rb,
app/models/decidim/spam_signal/config.rb,
app/forms/decidim/spam_signal/rule_form.rb,
app/commands/decidim/spam_signal/command.rb,
app/forms/decidim/spam_signal/settings_form.rb,
lib/decidim/spam_signal/cops/cops_repository.rb,
lib/decidim/spam_signal/extractors/extractor.rb,
app/forms/decidim/spam_signal/no_settings_form.rb,
lib/decidim/spam_signal/scans/scans_repository.rb,
app/commands/decidim/spam_signal/cops/cop_handler.rb,
app/helpers/decidim/spam_signal/application_helper.rb,
lib/decidim/spam_signal/spam_settings_form_builder.rb,
app/commands/decidim/spam_signal/scans/scan_handler.rb,
app/forms/decidim/spam_signal/cops/no_settings_form.rb,
app/commands/decidim/spam_signal/application_handler.rb,
lib/decidim/spam_signal/extractors/comment_extractor.rb,
lib/decidim/spam_signal/extractors/profile_extractor.rb,
app/controllers/concerns/decidim/user_blocked_checker.rb,
app/forms/decidim/spam_signal/cops/lock_settings_form.rb,
app/forms/decidim/spam_signal/scans/allowed_tlds_form.rb,
app/repositories/decidim/spam_signal/spam_config_repo.rb,
app/commands/decidim/spam_signal/cops/lock_cop_command.rb,
app/forms/decidim/spam_signal/scans/word_settings_form.rb,
app/commands/decidim/spam_signal/admin/add_rule_command.rb,
app/forms/decidim/spam_signal/scans/forbidden_tlds_form.rb,
app/commands/decidim/spam_signal/scans/word_scan_command.rb,
app/commands/decidim/spam_signal/admin/remove_cop_command.rb,
app/commands/decidim/spam_signal/admin/update_cop_command.rb,
app/forms/decidim/spam_signal/cops/sinalize_settings_form.rb,
lib/decidim/spam_signal/validators/comment_spam_validator.rb,
lib/decidim/spam_signal/validators/profile_spam_validator.rb,
app/commands/decidim/spam_signal/admin/add_scanner_command.rb,
app/commands/decidim/spam_signal/admin/remove_rule_command.rb,
app/commands/decidim/spam_signal/admin/update_rule_command.rb,
app/commands/decidim/spam_signal/cops/sinalize_cop_command.rb,
app/commands/decidim/spam_signal/admin/remove_scanner_command.rb,
app/commands/decidim/spam_signal/admin/update_scanner_command.rb,
app/commands/decidim/spam_signal/scans/allowed_tlds_scan_command.rb,
app/controllers/decidim/spam_signal/admin/application_controller.rb,
app/controllers/decidim/spam_signal/admin/comment_cops_controller.rb,
app/controllers/decidim/spam_signal/admin/profile_cops_controller.rb,
app/commands/decidim/spam_signal/scans/forbidden_tlds_scan_command.rb,
app/controllers/decidim/spam_signal/admin/comment_rules_controller.rb,
app/controllers/decidim/spam_signal/admin/comment_scans_controller.rb,
app/controllers/decidim/spam_signal/admin/profile_rules_controller.rb,
app/controllers/decidim/spam_signal/admin/profile_scans_controller.rb,
app/controllers/decidim/spam_signal/admin/application_cops_controller.rb,
app/controllers/decidim/spam_signal/admin/application_rules_controller.rb,
app/controllers/decidim/spam_signal/admin/application_scans_controller.rb,
app/controllers/decidim/spam_signal/admin/spam_filter_reports_controller.rb
Overview
Modified version of raw.githubusercontent.com/decidim/decidim/v0.24.3/decidim-comments/app/commands/decidim/comments/create_comment.rb add a ‘with_context(author: @author)` before validation
Defined Under Namespace
Modules: Comments, SpamSignal, UserBlockedChecker