Provide a way to manage the flood control limits for remote image resize filters through the Admin UI

Created on 9 March 2024, 9 months ago

Problem/Motivation

We have a client site that is applying content formatting, including image resize filters to remote images, to content being ingested on RSS feeds from a number of affiliate sites.

We need a way to:

* Configure the flood control triggers (number of remote images and time limit on flood control rules)
* Whitelist IP addresses from flood control limits

The flood control triggers are currently hardcoded in the module, and there is no way to effectively whitelist trusted IP addresses from flood control.

Proposed resolution

Include a submodule that allows management of these settings through an Admin UI, and maintains compatibility with the core image_resize_filter module by utilizing the hard-coded flood control triggers if the submodule is not enabled, or flood control trigger limits are not configured by the submodule.

Associated MR provides this submodule and revises the core code of the image_resize_filter module to preserve backwards compatibility.

Remaining tasks

Write tests

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States lhridley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024