Skip to content

[Webhook] Add missing "Ignore updated articles" checkbox - #531

Merged
Alkarex merged 1 commit into
FreshRSS:mainfrom
wmorin:webhook-ignore-updated-checkbox
Sep 26, 2026
Merged

Alkarex merged 1 commit into
FreshRSS:mainfrom
wmorin:webhook-ignore-updated-checkbox

Conversation

@wmorin

@wmorin wmorin commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Ref #528

extension.php already supports an ignore_updated option (processArticle() skips entries where $entry->isUpdated()), but configure.phtml never rendered a field for it. So it could not be enabled from the UI, and every save of the settings wrote it back as false.

This matters because core also calls entry_before_insert for known entries whose content changed, so feeds that tweak their items send the same webhook again on each refresh.

This PR adds the checkbox with English and French strings, a short README section, and bumps the version to 0.2.4. No PHP logic change, and the default stays off.

Tested on freshrss/freshrss:latest (1.30.0) with a local feed and webhook receiver, saving through the real configure form:

  • Option off: a new item sends 1 webhook, and changing its content (same GUID) sends it again
  • Option on (checkbox renders checked): changing the item again sends nothing, and a new item still sends 1 webhook
  • Saving unchecked turns it off again

The repo's composer and npm checks (php-lint, phtml-lint, phpcs, phpstan, eslint, markdownlint, stylelint) and typos pass locally.

The ignore_updated option was read and saved by extension.php but had no
field in configure.phtml, so it could not be enabled and every save reset
it to false. Add the checkbox with en/fr strings and document it.

Ref FreshRSS#528
@wmorin
wmorin force-pushed the webhook-ignore-updated-checkbox branch from 98f52cb to 654720b Compare September 26, 2026 15:42
@wmorin wmorin changed the title [xExtension-Webhook] Add missing checkbox for ignore_updated [Webhook] Add missing "Ignore updated articles" checkbox Sep 26, 2026
@Alkarex
Alkarex merged commit 40fe169 into FreshRSS:main Sep 26, 2026
1 check passed
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.

2 participants