Skip to content

Dispatch a JS event when an entry finishes being marked read/unread - #9031

Merged
Alkarex merged 3 commits into
FreshRSS:edgefrom
Elgeryy1:8862-read-unread-js-hook
Jul 12, 2026
Merged

Alkarex merged 3 commits into
FreshRSS:edgefrom
Elgeryy1:8862-read-unread-js-hook

Conversation

@Elgeryy1

Copy link
Copy Markdown
Contributor

Summary

Fixes #8862.

Extensions that render their own read/unread indicator outside of the main article list (e.g. a custom reading pane, like the ThreePanesView extension mentioned in the issue) have no way to know when a mark read/unread AJAX request completes, so their own UI can get stuck (e.g. a spinner that never resets).

This dispatches a freshrss:entryStateChange event on document in send_mark_read_queue() in p/scripts/main.js, once the read/unread state has actually been toggled for an entry. The event's detail contains id (entry id) and isRead (new state).

This follows the naming and dispatch convention already used for the other undocumented/documented freshrss:* events in the same file (freshrss:globalContextLoaded, freshrss:openArticle, freshrss:load-more), and covers every code path that toggles read state through this function: single-entry marking, batched marking, and keyboard-shortcut/auto-mark-on-scroll actions all funnel through send_mark_read_queue().

Also documented the new event in docs/en/developers/03_Backend/05_Extensions.md and added a changelog entry.

Test plan

  • npm run eslint passes on p/scripts/main.js
  • npm run markdownlint passes on the changed docs/changelog files
  • Manually verified in a browser that the event fires with the correct id/isRead when marking an entry read/unread (single and batch)

Extensions that render their own read/unread indicator outside of the
main article list (e.g. a custom reading pane) had no way to know when
a mark read/unread AJAX request completed, so their own UI could get
stuck (e.g. a spinner never reset).

Dispatch a `freshrss:entryStateChange` event on `document` with the
entry id and new state once the toggle has been applied, following the
existing `freshrss:*` JavaScript event convention used elsewhere in
main.js.

Fixes FreshRSS#8862
@Alkarex

Alkarex commented Jul 11, 2026

Copy link
Copy Markdown
Member

It is probably better to merge #9035 first?

@Alkarex Alkarex added this to the 1.30.0 milestone Jul 12, 2026
@Alkarex Alkarex added UI 🎨 User Interfaces javascript Pull requests that update Javascript code Extension 🔌 labels Jul 12, 2026
The following events are available:

* `freshrss:globalContextLoaded`: will be dispatched after load the global `context` variable, useful for referencing variables injected with the `Minz_HookType::JsVars` hook.
* `freshrss:entryStateChange`: will be dispatched on `document` after an entry has finished being marked as read or unread (i.e. once the underlying AJAX request has completed). The `detail` property of the event contains `id` (the entry ID) and `isRead` (the new read state). Useful for extensions that display their own read/unread indicator outside of the main article list, e.g. in a custom reading pane.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note for another PR: it would be nice to add missing events such as freshrss:openArticle

@Alkarex
Alkarex merged commit 28bc73a into FreshRSS:edge Jul 12, 2026
1 check passed
doonga pushed a commit to greyrock-labs/home-ops that referenced this pull request Sep 9, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` |

---

### Release Notes

<details>
<summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary>

### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300)

[Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0)

- Security
  - 💥 Disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#&#8203;8400](FreshRSS/FreshRSS#8400),
    [#&#8203;9195](FreshRSS/FreshRSS#9195)
    - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable
    - Passing `*` allows all networks like before (unsafe)
  - Improve SSRF mitigations by restricting `CURLOPT_PROXY` [#&#8203;8950](FreshRSS/FreshRSS#8950)
  - Fix auth CSRFs (login and register actions) [#&#8203;9171](FreshRSS/FreshRSS#9171)
  - Log invalid challenge and ignore JSON error during login [#&#8203;9278](FreshRSS/FreshRSS#9278)
  - Disallow fetching of non remote URI [#&#8203;9215](FreshRSS/FreshRSS#9215)
  - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#&#8203;9272](FreshRSS/FreshRSS#9272)
  - Fix access control in `rss` and `opml` actions [#&#8203;8912](FreshRSS/FreshRSS#8912)
  - Refactor to use CSRF field directly instead of borrowing it from a form [#&#8203;9169](FreshRSS/FreshRSS#9169), [#&#8203;9205](FreshRSS/FreshRSS#9205)
  - Cleaner limit anonymous mode to default user [#&#8203;9235](FreshRSS/FreshRSS#9235)
  - Fix HTML ingestions in templates [#&#8203;9146](FreshRSS/FreshRSS#9146), [#&#8203;9170](FreshRSS/FreshRSS#9170)
  - Fix bad header filtering bypass [#&#8203;8964](FreshRSS/FreshRSS#8964)
  - Sanitize all fields during JSON import [#&#8203;9168](FreshRSS/FreshRSS#9168)
  - Gate `greader` (JSON) user query share format behind *Share by OPML* [#&#8203;9248](FreshRSS/FreshRSS#9248)
  - Public OPML should not contain cURL parameters [#&#8203;9070](FreshRSS/FreshRSS#9070)
  - Ignore security-relevant OPML attributes for dynamic OPML sources [#&#8203;9276](FreshRSS/FreshRSS#9276)
  - Strip feed URL credentials from anonymous user query output [#&#8203;9246](FreshRSS/FreshRSS#9246)
  - Set limits for regex during search [#&#8203;8913](FreshRSS/FreshRSS#8913)
  - Fix path disclosure in cache error message [#&#8203;9206](FreshRSS/FreshRSS#9206)
  - Limit the length and parentheses nesting depth of a search query [#&#8203;9277](FreshRSS/FreshRSS#9277)
  - Use timing-safe comparison for tokens [#&#8203;8945](FreshRSS/FreshRSS#8945)
  - Use `hash_equals()` for GReader API token comparison [#&#8203;9183](FreshRSS/FreshRSS#9183)
  - Mailer: allow disabling SMTPAutoTLS via config [#&#8203;9026](FreshRSS/FreshRSS#9026)
  - Warn during install if document root does not point to `./p/` [#&#8203;9010](FreshRSS/FreshRSS#9010)
  - Stop the unread-count poller after the session ends [#&#8203;9065](FreshRSS/FreshRSS#9065)
  - Add remote IP address to warning on form login [#&#8203;8942](FreshRSS/FreshRSS#8942)
  - Pin the GitHub actions using SHA [#&#8203;9200](FreshRSS/FreshRSS#9200)
  - Harden cache and SimplePie cache deserialization [#&#8203;9273](FreshRSS/FreshRSS#9273)
- SimplePie
  - Security: Disallow `javascript:` URI scheme (protocol) [#&#8203;8263](FreshRSS/FreshRSS#8263)
  - Fix wrong player parent logic leading to invalid type [#&#8203;8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978)
  - Consistently enable `XML_OPTION_PARSE_HUGE` [#&#8203;8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977)
  - Fix null warning in IRI for PHP 8.5+ [#&#8203;8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979)
  - Fix sanitizer whitelist stripping order [#&#8203;9066](FreshRSS/FreshRSS#9066)
  - Show only one representation per `media:group` [#&#8203;9009](FreshRSS/FreshRSS#9009)
  - Bump upstream SimplePie [#&#8203;8947](FreshRSS/FreshRSS#8947)
- Features
  - Filter global view feed list by state and search [#&#8203;9132](FreshRSS/FreshRSS#9132)
    - Use global view when searching from subscription page [#&#8203;9144](FreshRSS/FreshRSS#9144)
  - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#&#8203;8844](FreshRSS/FreshRSS#8844)
  - Refresh only feeds in the current view [#&#8203;9060](FreshRSS/FreshRSS#9060)
  - Offer to add a prefix when resharing user labels [#&#8203;9236](FreshRSS/FreshRSS#9236)
  - Add log search to the logs page [#&#8203;9059](FreshRSS/FreshRSS#9059)
  - Add configurable `log_level` system setting [#&#8203;9185](FreshRSS/FreshRSS#9185)
  - New option to keep or not the custom sort order when navigating between categories and feeds [#&#8203;8969](FreshRSS/FreshRSS#8969)
  - New per-feed option to show or hide enclosures (attachments) [#&#8203;9015](FreshRSS/FreshRSS#9015)
  - Detect JSON feeds from URLs containing `json` [#&#8203;9058](FreshRSS/FreshRSS#9058)
    - Also when subscribing via the API [#&#8203;9167](FreshRSS/FreshRSS#9167)
  - Order categories during OPML import/export according to position [#&#8203;9203](FreshRSS/FreshRSS#9203)
  - OPML: include each feed’s refresh interval (TTL) in export/import [#&#8203;8982](FreshRSS/FreshRSS#8982)
  - Log failed CSS content retrieval (Web scraping) [#&#8203;9077](FreshRSS/FreshRSS#9077)
  - Allow providing a category when adding a feed by bookmarklet [#&#8203;9047](FreshRSS/FreshRSS#9047)
  - Add LinkAce sharing service [#&#8203;9024](FreshRSS/FreshRSS#9024)
  - Add Nextcloud Bookmarks sharing service [#&#8203;9032](FreshRSS/FreshRSS#9032)
- Bug fixing
  - Fix lost elements while parsing search query [#&#8203;8884](FreshRSS/FreshRSS#8884)
  - Fix “mark as read older than…” widening the active search [#&#8203;9173](FreshRSS/FreshRSS#9173)
  - Fix saving user queries [#&#8203;9190](FreshRSS/FreshRSS#9190)
  - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#&#8203;9036](FreshRSS/FreshRSS#9036)
  - Fix marking filtered label articles as read in SQLite and PostgreSQL [#&#8203;9264](FreshRSS/FreshRSS#9264)
  - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#&#8203;9136](FreshRSS/FreshRSS#9136)
  - PostgreSQL: make committing new entries resilient to duplicate keys [#&#8203;9231](FreshRSS/FreshRSS#9231)
  - Preserve negative timezone offsets in date intervals [#&#8203;9071](FreshRSS/FreshRSS#9071)
  - Fix feed dropdown bugs due to hash desync [#&#8203;8949](FreshRSS/FreshRSS#8949)
  - Fix slider not reinitializing after form submit [#&#8203;8973](FreshRSS/FreshRSS#8973)
  - Minz: Skip loading duplicated JS/CSS assets [#&#8203;9000](FreshRSS/FreshRSS#9000)
  - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#&#8203;8986](FreshRSS/FreshRSS#8986)
  - Fix statistics repartition averages [#&#8203;8996](FreshRSS/FreshRSS#8996)
  - Fix article hover date visibility [#&#8203;8997](FreshRSS/FreshRSS#8997)
  - Keep search and state filters when marking articles as read [#&#8203;9007](FreshRSS/FreshRSS#9007)
  - Fix `--db-prefix` silently drops following CLI flags [#&#8203;9042](FreshRSS/FreshRSS#9042)
  - Remove stale dynamic favicon links [#&#8203;9127](FreshRSS/FreshRSS#9127)
  - Fix desync between favicon and title unread counters [#&#8203;9262](FreshRSS/FreshRSS#9262)
  - Fix outdated username length hint on registration and install forms [#&#8203;9013](FreshRSS/FreshRSS#9013)
  - Redirect away from wrong URL paths [#&#8203;9075](FreshRSS/FreshRSS#9075)
  - Fix auto-share shortcut on first use [#&#8203;9072](FreshRSS/FreshRSS#9072)
  - Exclude hidden feeds from global view counts [#&#8203;9152](FreshRSS/FreshRSS#9152)
  - Fix only the last `<media:credit>` being written to the RSS output [#&#8203;9174](FreshRSS/FreshRSS#9174)
- CLI
  - New `cli/reconfigure-user.php` to read/write per-user config attributes [#&#8203;8873](FreshRSS/FreshRSS#8873)
  - Report new articles count per feed in `app/actualize_script.php` output [#&#8203;8948](FreshRSS/FreshRSS#8948)
  - Output a diagnostic when the `cli/health.php` check fails [#&#8203;8980](FreshRSS/FreshRSS#8980)
- API
  - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#&#8203;8845](FreshRSS/FreshRSS#8845)
  - Fever API: log the client IP address on authentication failure [#&#8203;8981](FreshRSS/FreshRSS#8981)
  - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#&#8203;9005](FreshRSS/FreshRSS#9005)
- Deployment
  - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#&#8203;8916](FreshRSS/FreshRSS#8916)
  - Start supporting PHP 8.6+
    - Docker dev `:newest` with PHP 8.6 [#&#8203;9155](FreshRSS/FreshRSS#9155)
  - Docker: attach provenance and SBOM attestations to the published image [#&#8203;9150](FreshRSS/FreshRSS#9150)
  - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#&#8203;8890](FreshRSS/FreshRSS#8890)
  - Fix `.dockerignore` being ignored during build in CI [#&#8203;9001](FreshRSS/FreshRSS#9001)
  - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#&#8203;9191](FreshRSS/FreshRSS#9191)
  - Check GMP during 32-bit installation [#&#8203;9046](FreshRSS/FreshRSS#9046)
  - Improve actualize mutex to allow multiple instances [#&#8203;9045](FreshRSS/FreshRSS#9045)
  - OIDC: redirect to a default URL on expired auth state instead of 400 [#&#8203;9143](FreshRSS/FreshRSS#9143)
- UI
  - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#&#8203;8870](FreshRSS/FreshRSS#8870)
  - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#&#8203;9139](FreshRSS/FreshRSS#9139)
  - Move disable button before remove button in user management [#&#8203;8944](FreshRSS/FreshRSS#8944)
  - Keep scroll position of slider after form submit [#&#8203;8974](FreshRSS/FreshRSS#8974)
  - Group export feeds by category [#&#8203;9079](FreshRSS/FreshRSS#9079), [#&#8203;9154](FreshRSS/FreshRSS#9154)
  - Sort feed names with locale-aware collation [#&#8203;8985](FreshRSS/FreshRSS#8985)
  - Sort labels with locale-aware collation [#&#8203;9023](FreshRSS/FreshRSS#9023)
  - Format unread counter in title on page load [#&#8203;9263](FreshRSS/FreshRSS#9263)
  - Display slider after submit for all buttons in feed update UI [#&#8203;8999](FreshRSS/FreshRSS#8999)
  - Improve aside keyboard navigation [#&#8203;9202](FreshRSS/FreshRSS#9202)
  - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#&#8203;9186](FreshRSS/FreshRSS#9186)
  - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#&#8203;8901](FreshRSS/FreshRSS#8901)
  - Fix typo in alert error border `color` variable [#&#8203;9266](FreshRSS/FreshRSS#9266)
  - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#&#8203;9035](FreshRSS/FreshRSS#9035)
  - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#&#8203;9025](FreshRSS/FreshRSS#9025)
  - Remove unused simple layout [#&#8203;8998](FreshRSS/FreshRSS#8998)
  - Various UI and style improvements: [#&#8203;8823](FreshRSS/FreshRSS#8823), [#&#8203;8824](FreshRSS/FreshRSS#8824),
    [#&#8203;9140](FreshRSS/FreshRSS#9140), [#&#8203;9145](FreshRSS/FreshRSS#9145)
- Extensions
  - Minor `Minz_Extension` typing [#&#8203;8952](FreshRSS/FreshRSS#8952)
  - Improve extension list fetch diagnostics [#&#8203;9055](FreshRSS/FreshRSS#9055)
  - Fix a PHP warning in *Serve* action [#&#8203;9267](FreshRSS/FreshRSS#9267)
  - Fix extension settings cancel action [#&#8203;9053](FreshRSS/FreshRSS#9053)
  - Fix sharing menu conflicts with extensions [#&#8203;9074](FreshRSS/FreshRSS#9074)
  - Add read status hook for entries [#&#8203;8995](FreshRSS/FreshRSS#8995)
  - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#&#8203;9031](FreshRSS/FreshRSS#9031)
  - Redirect after saving user CSS/JS so changes apply immediately [#&#8203;9006](FreshRSS/FreshRSS#9006)
- I18n
  - New plural system [#&#8203;8988](FreshRSS/FreshRSS#8988)
    - Pluralize the *new articles* count message
  - Prefer OS-bundled Japanese fonts when UI language is Japanese [#&#8203;9002](FreshRSS/FreshRSS#9002)
  - Add Azerbaijani [#&#8203;9269](FreshRSS/FreshRSS#9269)
  - Add Lithuanian [#&#8203;9201](FreshRSS/FreshRSS#9201), [#&#8203;9213](FreshRSS/FreshRSS#9213)
  - Improve Brazilian Portuguese [#&#8203;9240](FreshRSS/FreshRSS#9240), [#&#8203;9242](FreshRSS/FreshRSS#9242)
  - Improve German [#&#8203;9149](FreshRSS/FreshRSS#9149)
  - Improve Greek [#&#8203;8977](FreshRSS/FreshRSS#8977), [#&#8203;9038](FreshRSS/FreshRSS#9038)
  - Improve Hungarian [#&#8203;8879](FreshRSS/FreshRSS#8879)
  - Improve Indonesian (Bahasa Indonesia) [#&#8203;9220](FreshRSS/FreshRSS#9220)
  - Improve Italian [#&#8203;8880](FreshRSS/FreshRSS#8880)
  - Improve Japanese [#&#8203;9064](FreshRSS/FreshRSS#9064)
  - Improve Persian [#&#8203;8923](FreshRSS/FreshRSS#8923)
  - Improve Spanish [#&#8203;8878](FreshRSS/FreshRSS#8878), [#&#8203;9245](FreshRSS/FreshRSS#9245)
  - Improve Traditional Chinese [#&#8203;9037](FreshRSS/FreshRSS#9037), [#&#8203;9069](FreshRSS/FreshRSS#9069), [#&#8203;9223](FreshRSS/FreshRSS#9223)
  - Improve Turkish [#&#8203;8966](FreshRSS/FreshRSS#8966), [#&#8203;8971](FreshRSS/FreshRSS#8971), [#&#8203;8970](FreshRSS/FreshRSS#8970),
    [#&#8203;8989](FreshRSS/FreshRSS#8989)
  - Improve Ukrainian [#&#8203;8871](FreshRSS/FreshRSS#8871)
  - Refactor user query translation keys [#&#8203;9049](FreshRSS/FreshRSS#9049)
- Misc.
  - Update to PHPMailer 7.1.1 [#&#8203;8907](FreshRSS/FreshRSS#8907)
  - Improve PHP code [#&#8203;8906](FreshRSS/FreshRSS#8906), [#&#8203;9156](FreshRSS/FreshRSS#9156)
  - Fix PHPStan 2.2.2 in CLI [#&#8203;8911](FreshRSS/FreshRSS#8911)
  - Migrate `markdownlint-cli` to `markdownlint-cli2` [#&#8203;8987](FreshRSS/FreshRSS#8987)
  - Update dev dependencies [#&#8203;8904](FreshRSS/FreshRSS#8904), [#&#8203;8905](FreshRSS/FreshRSS#8905), [#&#8203;8926](FreshRSS/FreshRSS#8926),
    [#&#8203;8939](FreshRSS/FreshRSS#8939), [#&#8203;8940](FreshRSS/FreshRSS#8940), [#&#8203;8963](FreshRSS/FreshRSS#8963),
    [#&#8203;8961](FreshRSS/FreshRSS#8961), [#&#8203;8959](FreshRSS/FreshRSS#8959), [#&#8203;8958](FreshRSS/FreshRSS#8958),
    [#&#8203;8962](FreshRSS/FreshRSS#8962), [#&#8203;8960](FreshRSS/FreshRSS#8960), [#&#8203;9148](FreshRSS/FreshRSS#9148),
    [#&#8203;9162](FreshRSS/FreshRSS#9162), [#&#8203;9165](FreshRSS/FreshRSS#9165), [#&#8203;9158](FreshRSS/FreshRSS#9158),
    [#&#8203;9159](FreshRSS/FreshRSS#9159), [#&#8203;9176](FreshRSS/FreshRSS#9176), [#&#8203;9178](FreshRSS/FreshRSS#9178),
    [#&#8203;9179](FreshRSS/FreshRSS#9179), [#&#8203;9219](FreshRSS/FreshRSS#9219), [#&#8203;9253](FreshRSS/FreshRSS#9253),
    [#&#8203;9254](FreshRSS/FreshRSS#9254), [#&#8203;9255](FreshRSS/FreshRSS#9255), [#&#8203;9257](FreshRSS/FreshRSS#9257)

</details>

---

### Configuration

📅 **Schedule**: (in timezone America/New_York)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42Ni4xIiwidXBkYXRlZEluVmVyIjoiNDQuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==-->

Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/157
GiorgioAresu pushed a commit to GiorgioAresu/home-ops that referenced this pull request Sep 13, 2026
…056)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/6) for more information.

---

### Release Notes

<details>
<summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary>

### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300)

[Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0)

- Security
  - 💥 SSRF mitigation: disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#&#8203;8400](FreshRSS/FreshRSS#8400),
    [#&#8203;8950](FreshRSS/FreshRSS#8950), [#&#8203;9195](FreshRSS/FreshRSS#9195)
    - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable
    - Passing `*` allows all networks like before (unsafe)
  - Fix auth CSRFs (login and register actions) [#&#8203;9171](FreshRSS/FreshRSS#9171)
  - Log invalid challenge and ignore JSON error during login [#&#8203;9278](FreshRSS/FreshRSS#9278)
  - Disallow fetching of non remote URI [#&#8203;9215](FreshRSS/FreshRSS#9215)
  - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#&#8203;9272](FreshRSS/FreshRSS#9272)
  - Fix access control in `rss` and `opml` actions [#&#8203;8912](FreshRSS/FreshRSS#8912)
  - Refactor to use CSRF field directly instead of borrowing it from a form [#&#8203;9169](FreshRSS/FreshRSS#9169), [#&#8203;9205](FreshRSS/FreshRSS#9205)
  - Cleaner limit anonymous mode to default user [#&#8203;9235](FreshRSS/FreshRSS#9235)
  - Fix HTML ingestions in templates [#&#8203;9146](FreshRSS/FreshRSS#9146), [#&#8203;9170](FreshRSS/FreshRSS#9170)
  - Fix bad header filtering bypass [#&#8203;8964](FreshRSS/FreshRSS#8964)
  - Sanitize all fields during JSON import [#&#8203;9168](FreshRSS/FreshRSS#9168)
  - Gate `greader` (JSON) user query share format behind *Share by OPML* [#&#8203;9248](FreshRSS/FreshRSS#9248)
  - Public OPML should not contain cURL parameters [#&#8203;9070](FreshRSS/FreshRSS#9070)
  - Ignore security-relevant OPML attributes for dynamic OPML sources [#&#8203;9276](FreshRSS/FreshRSS#9276)
  - Strip feed URL credentials from anonymous user query output [#&#8203;9246](FreshRSS/FreshRSS#9246)
  - Set limits for regex during search [#&#8203;8913](FreshRSS/FreshRSS#8913)
  - Fix path disclosure in cache error message [#&#8203;9206](FreshRSS/FreshRSS#9206)
  - Limit the length and parentheses nesting depth of a search query [#&#8203;9277](FreshRSS/FreshRSS#9277)
  - Use timing-safe comparison for tokens [#&#8203;8945](FreshRSS/FreshRSS#8945)
  - Use `hash_equals()` for GReader API token comparison [#&#8203;9183](FreshRSS/FreshRSS#9183)
  - Mailer: allow disabling SMTPAutoTLS via config [#&#8203;9026](FreshRSS/FreshRSS#9026)
  - Warn during install if document root does not point to `./p/` [#&#8203;9010](FreshRSS/FreshRSS#9010)
  - Stop the unread-count poller after the session ends [#&#8203;9065](FreshRSS/FreshRSS#9065)
  - Add remote IP address to warning on form login [#&#8203;8942](FreshRSS/FreshRSS#8942)
  - Pin the GitHub actions using SHA [#&#8203;9200](FreshRSS/FreshRSS#9200)
  - Harden cache and SimplePie cache deserialization [#&#8203;9273](FreshRSS/FreshRSS#9273)
- SimplePie
  - Security: Disallow `javascript:` URI scheme (protocol) [#&#8203;8263](FreshRSS/FreshRSS#8263)
  - Fix wrong player parent logic leading to invalid type [#&#8203;8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978)
  - Consistently enable `XML_OPTION_PARSE_HUGE` [#&#8203;8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977)
  - Fix null warning in IRI for PHP 8.5+ [#&#8203;8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979)
  - Fix sanitizer whitelist stripping order [#&#8203;9066](FreshRSS/FreshRSS#9066)
  - Show only one representation per `media:group` [#&#8203;9009](FreshRSS/FreshRSS#9009)
  - Bump upstream SimplePie [#&#8203;8947](FreshRSS/FreshRSS#8947)
- Features
  - Filter global view feed list by state and search [#&#8203;9132](FreshRSS/FreshRSS#9132)
    - Use global view when searching from subscription page [#&#8203;9144](FreshRSS/FreshRSS#9144)
  - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#&#8203;8844](FreshRSS/FreshRSS#8844)
  - Refresh only feeds in the current view [#&#8203;9060](FreshRSS/FreshRSS#9060)
  - Offer to add a prefix when resharing user labels [#&#8203;9236](FreshRSS/FreshRSS#9236)
  - Add log search to the logs page [#&#8203;9059](FreshRSS/FreshRSS#9059)
  - Add configurable `log_level` system setting [#&#8203;9185](FreshRSS/FreshRSS#9185)
  - New option to keep or not the custom sort order when navigating between categories and feeds [#&#8203;8969](FreshRSS/FreshRSS#8969)
  - New per-feed option to show or hide enclosures (attachments) [#&#8203;9015](FreshRSS/FreshRSS#9015)
  - Detect JSON feeds from URLs containing `json` [#&#8203;9058](FreshRSS/FreshRSS#9058)
    - Also when subscribing via the API [#&#8203;9167](FreshRSS/FreshRSS#9167)
  - Order categories during OPML import/export according to position [#&#8203;9203](FreshRSS/FreshRSS#9203)
  - OPML: include each feed’s refresh interval (TTL) in export/import [#&#8203;8982](FreshRSS/FreshRSS#8982)
  - Log failed CSS content retrieval (Web scraping) [#&#8203;9077](FreshRSS/FreshRSS#9077)
  - Allow providing a category when adding a feed by bookmarklet [#&#8203;9047](FreshRSS/FreshRSS#9047)
  - Add LinkAce sharing service [#&#8203;9024](FreshRSS/FreshRSS#9024)
  - Add Nextcloud Bookmarks sharing service [#&#8203;9032](FreshRSS/FreshRSS#9032)
- Bug fixing
  - Fix lost elements while parsing search query [#&#8203;8884](FreshRSS/FreshRSS#8884)
  - Fix “mark as read older than…” widening the active search [#&#8203;9173](FreshRSS/FreshRSS#9173)
  - Fix saving user queries [#&#8203;9190](FreshRSS/FreshRSS#9190)
  - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#&#8203;9036](FreshRSS/FreshRSS#9036)
  - Fix marking filtered label articles as read in SQLite and PostgreSQL [#&#8203;9264](FreshRSS/FreshRSS#9264)
  - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#&#8203;9136](FreshRSS/FreshRSS#9136)
  - PostgreSQL: make committing new entries resilient to duplicate keys [#&#8203;9231](FreshRSS/FreshRSS#9231)
  - Preserve negative timezone offsets in date intervals [#&#8203;9071](FreshRSS/FreshRSS#9071)
  - Fix feed dropdown bugs due to hash desync [#&#8203;8949](FreshRSS/FreshRSS#8949)
  - Fix slider not reinitializing after form submit [#&#8203;8973](FreshRSS/FreshRSS#8973)
  - Minz: Skip loading duplicated JS/CSS assets [#&#8203;9000](FreshRSS/FreshRSS#9000)
  - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#&#8203;8986](FreshRSS/FreshRSS#8986)
  - Fix statistics repartition averages [#&#8203;8996](FreshRSS/FreshRSS#8996)
  - Fix article hover date visibility [#&#8203;8997](FreshRSS/FreshRSS#8997)
  - Keep search and state filters when marking articles as read [#&#8203;9007](FreshRSS/FreshRSS#9007)
  - Fix `--db-prefix` silently drops following CLI flags [#&#8203;9042](FreshRSS/FreshRSS#9042)
  - Remove stale dynamic favicon links [#&#8203;9127](FreshRSS/FreshRSS#9127)
  - Fix desync between favicon and title unread counters [#&#8203;9262](FreshRSS/FreshRSS#9262)
  - Fix outdated username length hint on registration and install forms [#&#8203;9013](FreshRSS/FreshRSS#9013)
  - Redirect away from wrong URL paths [#&#8203;9075](FreshRSS/FreshRSS#9075)
  - Fix auto-share shortcut on first use [#&#8203;9072](FreshRSS/FreshRSS#9072)
  - Exclude hidden feeds from global view counts [#&#8203;9152](FreshRSS/FreshRSS#9152)
  - Fix only the last `<media:credit>` being written to the RSS output [#&#8203;9174](FreshRSS/FreshRSS#9174)
- CLI
  - New `cli/reconfigure-user.php` to read/write per-user config attributes [#&#8203;8873](FreshRSS/FreshRSS#8873)
  - Report new articles count per feed in `app/actualize_script.php` output [#&#8203;8948](FreshRSS/FreshRSS#8948)
  - Output a diagnostic when the `cli/health.php` check fails [#&#8203;8980](FreshRSS/FreshRSS#8980)
- API
  - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#&#8203;8845](FreshRSS/FreshRSS#8845)
  - Fever API: log the client IP address on authentication failure [#&#8203;8981](FreshRSS/FreshRSS#8981)
  - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#&#8203;9005](FreshRSS/FreshRSS#9005)
- Deployment
  - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#&#8203;8916](FreshRSS/FreshRSS#8916)
  - Start supporting PHP 8.6+
    - Docker dev `:newest` with PHP 8.6 [#&#8203;9155](FreshRSS/FreshRSS#9155)
  - Docker: attach provenance and SBOM attestations to the published image [#&#8203;9150](FreshRSS/FreshRSS#9150)
  - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#&#8203;8890](FreshRSS/FreshRSS#8890)
  - Fix `.dockerignore` being ignored during build in CI [#&#8203;9001](FreshRSS/FreshRSS#9001)
  - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#&#8203;9191](FreshRSS/FreshRSS#9191)
  - Check GMP during 32-bit installation [#&#8203;9046](FreshRSS/FreshRSS#9046)
  - Improve actualize mutex to allow multiple instances [#&#8203;9045](FreshRSS/FreshRSS#9045)
  - OIDC: redirect to a default URL on expired auth state instead of 400 [#&#8203;9143](FreshRSS/FreshRSS#9143)
- UI
  - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#&#8203;8870](FreshRSS/FreshRSS#8870)
  - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#&#8203;9139](FreshRSS/FreshRSS#9139)
  - Move disable button before remove button in user management [#&#8203;8944](FreshRSS/FreshRSS#8944)
  - Keep scroll position of slider after form submit [#&#8203;8974](FreshRSS/FreshRSS#8974)
  - Group export feeds by category [#&#8203;9079](FreshRSS/FreshRSS#9079), [#&#8203;9154](FreshRSS/FreshRSS#9154)
  - Sort feed names with locale-aware collation [#&#8203;8985](FreshRSS/FreshRSS#8985)
  - Sort labels with locale-aware collation [#&#8203;9023](FreshRSS/FreshRSS#9023)
  - Format unread counter in title on page load [#&#8203;9263](FreshRSS/FreshRSS#9263)
  - Display slider after submit for all buttons in feed update UI [#&#8203;8999](FreshRSS/FreshRSS#8999)
  - Improve aside keyboard navigation [#&#8203;9202](FreshRSS/FreshRSS#9202)
  - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#&#8203;9186](FreshRSS/FreshRSS#9186)
  - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#&#8203;8901](FreshRSS/FreshRSS#8901)
  - Fix typo in alert error border `color` variable [#&#8203;9266](FreshRSS/FreshRSS#9266)
  - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#&#8203;9035](FreshRSS/FreshRSS#9035)
  - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#&#8203;9025](FreshRSS/FreshRSS#9025)
  - Remove unused simple layout [#&#8203;8998](FreshRSS/FreshRSS#8998)
  - Various UI and style improvements: [#&#8203;8823](FreshRSS/FreshRSS#8823), [#&#8203;8824](FreshRSS/FreshRSS#8824),
    [#&#8203;9140](FreshRSS/FreshRSS#9140), [#&#8203;9145](FreshRSS/FreshRSS#9145)
- Extensions
  - Minor `Minz_Extension` typing [#&#8203;8952](FreshRSS/FreshRSS#8952)
  - Improve extension list fetch diagnostics [#&#8203;9055](FreshRSS/FreshRSS#9055)
  - Fix a PHP warning in *Serve* action [#&#8203;9267](FreshRSS/FreshRSS#9267)
  - Fix extension settings cancel action [#&#8203;9053](FreshRSS/FreshRSS#9053)
  - Fix sharing menu conflicts with extensions [#&#8203;9074](FreshRSS/FreshRSS#9074)
  - Add read status hook for entries [#&#8203;8995](FreshRSS/FreshRSS#8995)
  - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#&#8203;9031](FreshRSS/FreshRSS#9031)
  - Redirect after saving user CSS/JS so changes apply immediately [#&#8203;9006](FreshRSS/FreshRSS#9006)
- I18n
  - New plural system [#&#8203;8988](FreshRSS/FreshRSS#8988)
    - Pluralize the *new articles* count message
  - Prefer OS-bundled Japanese fonts when UI language is Japanese [#&#8203;9002](FreshRSS/FreshRSS#9002)
  - Add Azerbaijani [#&#8203;9269](FreshRSS/FreshRSS#9269)
  - Add Lithuanian [#&#8203;9201](FreshRSS/FreshRSS#9201), [#&#8203;9213](FreshRSS/FreshRSS#9213)
  - Improve Brazilian Portuguese [#&#8203;9240](FreshRSS/FreshRSS#9240), [#&#8203;9242](FreshRSS/FreshRSS#9242)
  - Improve German [#&#8203;9149](FreshRSS/FreshRSS#9149)
  - Improve Greek [#&#8203;8977](FreshRSS/FreshRSS#8977), [#&#8203;9038](FreshRSS/FreshRSS#9038)
  - Improve Hungarian [#&#8203;8879](FreshRSS/FreshRSS#8879)
  - Improve Indonesian (Bahasa Indonesia) [#&#8203;9220](FreshRSS/FreshRSS#9220)
  - Improve Italian [#&#8203;8880](FreshRSS/FreshRSS#8880)
  - Improve Japanese [#&#8203;9064](FreshRSS/FreshRSS#9064)
  - Improve Persian [#&#8203;8923](FreshRSS/FreshRSS#8923)
  - Improve Spanish [#&#8203;8878](FreshRSS/FreshRSS#8878), [#&#8203;9245](FreshRSS/FreshRSS#9245)
  - Improve Traditional Chinese [#&#8203;9037](FreshRSS/FreshRSS#9037), [#&#8203;9069](FreshRSS/FreshRSS#9069), [#&#8203;9223](FreshRSS/FreshRSS#9223)
  - Improve Turkish [#&#8203;8966](FreshRSS/FreshRSS#8966), [#&#8203;8971](FreshRSS/FreshRSS#8971), [#&#8203;8970](FreshRSS/FreshRSS#8970),
    [#&#8203;8989](FreshRSS/FreshRSS#8989)
  - Improve Ukrainian [#&#8203;8871](FreshRSS/FreshRSS#8871)
  - Refactor user query translation keys [#&#8203;9049](FreshRSS/FreshRSS#9049)
- Misc.
  - Update to PHPMailer 7.1.1 [#&#8203;8907](FreshRSS/FreshRSS#8907)
  - Improve PHP code [#&#8203;8906](FreshRSS/FreshRSS#8906), [#&#8203;9156](FreshRSS/FreshRSS#9156)
  - Fix PHPStan 2.2.2 in CLI [#&#8203;8911](FreshRSS/FreshRSS#8911)
  - Migrate `markdownlint-cli` to `markdownlint-cli2` [#&#8203;8987](FreshRSS/FreshRSS#8987)
  - Update dev dependencies [#&#8203;8904](FreshRSS/FreshRSS#8904), [#&#8203;8905](FreshRSS/FreshRSS#8905), [#&#8203;8926](FreshRSS/FreshRSS#8926),
    [#&#8203;8939](FreshRSS/FreshRSS#8939), [#&#8203;8940](FreshRSS/FreshRSS#8940), [#&#8203;8963](FreshRSS/FreshRSS#8963),
    [#&#8203;8961](FreshRSS/FreshRSS#8961), [#&#8203;8959](FreshRSS/FreshRSS#8959), [#&#8203;8958](FreshRSS/FreshRSS#8958),
    [#&#8203;8962](FreshRSS/FreshRSS#8962), [#&#8203;8960](FreshRSS/FreshRSS#8960), [#&#8203;9148](FreshRSS/FreshRSS#9148),
    [#&#8203;9162](FreshRSS/FreshRSS#9162), [#&#8203;9165](FreshRSS/FreshRSS#9165), [#&#8203;9158](FreshRSS/FreshRSS#9158),
    [#&#8203;9159](FreshRSS/FreshRSS#9159), [#&#8203;9176](FreshRSS/FreshRSS#9176), [#&#8203;9178](FreshRSS/FreshRSS#9178),
    [#&#8203;9179](FreshRSS/FreshRSS#9179), [#&#8203;9219](FreshRSS/FreshRSS#9219), [#&#8203;9253](FreshRSS/FreshRSS#9253),
    [#&#8203;9254](FreshRSS/FreshRSS#9254), [#&#8203;9255](FreshRSS/FreshRSS#9255), [#&#8203;9257](FreshRSS/FreshRSS#9257)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/Rome)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNy4xIiwidXBkYXRlZEluVmVyIjoiNDQuMTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==-->

Reviewed-on: https://git.aresu.eu/GiorgioAresu/home-ops/pulls/2056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Extension 🔌 javascript Pull requests that update Javascript code UI 🎨 User Interfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Hook "mark as (un)read complete" for extensions

2 participants