Skip to content

All user check#70

Open
alexander-b-clean wants to merge 2 commits into
devfrom
all-users-check.ab
Open

All user check#70
alexander-b-clean wants to merge 2 commits into
devfrom
all-users-check.ab

Conversation

@alexander-b-clean

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new extension setting to moderate all registered users’ posts/topics (not only “newly registered” users), wiring it through migration, ACP UI, language packs, and the runtime moderation decision.

Changes:

  • Introduces cleantalk_antispam_allusers config via a new release_5_7_8 migration (default off).
  • Exposes the new toggle in the ACP settings page and persists it in the ACP module.
  • Updates the main event listener to enable moderation for any registered user when the toggle is enabled, plus adds translations for all shipped locales.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
cleantalk/antispam/migrations/release_5_7_8.php Adds migration to create the new cleantalk_antispam_allusers config key (default 0).
cleantalk/antispam/event/main_listener.php Applies the new config option in the moderation decision for registered users.
cleantalk/antispam/acp/main_module.php Saves the new ACP setting and assigns it to the template.
cleantalk/antispam/adm/style/settings_body.html Adds ACP UI radios for enabling/disabling “all users” moderation.
cleantalk/antispam/language/en/common.php Adds English label/description for the new setting.
cleantalk/antispam/language/ru/common.php Adds Russian label/description for the new setting.
cleantalk/antispam/language/it/common.php Adds Italian label/description for the new setting.
cleantalk/antispam/language/fr/common.php Adds French label/description for the new setting.
cleantalk/antispam/language/es/common.php Adds Spanish label/description for the new setting.
cleantalk/antispam/language/de/common.php Adds German label/description for the new setting.
cleantalk/antispam/language/ar/common.php Adds Arabic label/description for the new setting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cleantalk/antispam/language/en/common.php Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@alexandergull

Copy link
Copy Markdown
Member

Rename pull request according to standards.

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.

5 participants