Problem/Motivation

When the external NoBotIQ balance is low, or the API/authentication flow fails for another reason, spam checks can stop working without a clear admin-facing warning.

In that situation site owners may continue to assume protection is active, while the module is effectively degraded.

Proposed resolution

Add an integration health status for the module and expose it to administrators in several places:
- Show a warning/error message on the settings form.
- Show the same warning on the Spam Protection Point list page.
- Show the same warning on the Spam List page.
- Add a Status report entry describing the degraded state.
- Optionally allow a notification email with throttled reminders.
- Reset the warning automatically after the next successful API check.

Possible implementation notes

- Distinguish at least between low balance, authentication failure, and temporary API unavailability.
- Store the current integration state in Drupal state so the warning can be reused across admin pages.
- Keep the default runtime behavior fail-open, but make the degraded state visible to administrators.

I already have a working local implementation for this direction and can prepare a merge request if this approach is acceptable.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alex_optim created an issue. See original summary.

  • voleger committed 283fa8d0 on 1.1.x authored by alex_optim
    feat: #3613414 Add admin notifications when the NoBotIQ balance is low...
alex_optim’s picture

Status: Active » Patch (to be ported)
alex_optim’s picture

Status: Patch (to be ported) » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

alex_optim’s picture

Status: Fixed » Closed (fixed)