Adds a complete Hindi translation in app/i18n/hi/ (all 1,180 strings of the English files, plus plurals.php with nplurals=2; plural=(n > 1)), registers hi in the gen.lang list of every language, and updates the translation table in README.md and README.fr.md.
Co-authored-by: Meer Khurram <199657909+imeerkhurram@users.noreply.github.com>
The Korean translation had 228 entries marked // TODO (falling back to English)
and 14 marked // DIRTY across 9 files. This translates the TODO entries, updates
the DIRTY ones to the current English, and marks three strings that stay the
same in Korean as // IGNORE (the "❌ " error prefix, "Lietuvių" and "URL").
Korean is now at 100% in the README tables.
* Update conf.php - European Portuguese pt-PT translation
Translated just 1 string at line 314
* make fix-all
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add option to open articles on their original website
Clicking an article title can now open the original website instead of the article in FreshRSS. The link icon then opens the article in FreshRSS.
fix https://github.com/FreshRSS/FreshRSS/issues/1954
* i18n: fr
---------
Co-authored-by: Eduardo Coronell <eduardo.coronell@aspsols.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* README: replace the Zeabur button with Zenavo
Zeabur is shutting down (new deployments stop on 2026-12-01, everything
is off by 2026-12-31), so its template link will stop working. Put a
Zenavo button in the same cell of the Automated install table, in the
English and French READMEs.
* Link the Zenavo button to the template's page
The page can be read without signing in, and has a Deploy now button.
* Support choosing the sort type when creating or editing a user query
Changes
- User queries can now store a sort field (sort type), not only the sort
direction. The create and edit forms expose a single combined dropdown
(field + direction) that reuses the existing `index.menu.sort.*` options,
matching the global reading-settings sort UI.
- The "Bookmark current query" action now also remembers the current sort
field, where it previously kept only the order direction.
- Relabel the query sort control from "Sort by date" to "Sort by"; other
languages are marked for re-translation (// TODO).
- Add a CHANGELOG entry and credit the contributor in CREDITS.
Implementation
- `FreshRSS_UserQuery`: add an optional `sort` property mirroring `order`
(constructor parsing, `toArray()`, `getSort()` falling back to the user
default sort, and a `hasParameters()` check).
- `configureController`: split the combined dropdown value into `sort` and
`order`, validating the field against the implemented sort types
(`id`, `c.name`, `date`, `f.name`, `length`, `link`, `title`, `rand`);
separate `sort`/`order` request parameters are still accepted so the
"bookmark current query" flow keeps working.
- Views render the combined dropdown and persist `sort` as a hidden field.
- `p/api/query.php`: back-fill `sort` from the saved query when the request
does not provide one, mirroring the existing `order` handling.
- Add unit tests covering the sort round-trip and `toArray()` inclusion.
Compatibility
- No database or schema change: user queries are stored in the per-user PHP
config array, which keeps arbitrary keys verbatim, so no migration is
required.
- Upgrade: existing queries without `sort` fall back to the user default
sort; behaviour is unchanged until a sort is explicitly chosen.
- Downgrade: older versions ignore the extra `sort` key and keep working;
re-saving under an old version simply drops the key with no data loss.
- Shared query URLs without a `sort` parameter remain valid.
* Refresh README translation statistics
* i18n: fr
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add English references to DIRTY translation comments
Translators currently have to find the English source separately for each `// DIRTY` entry. The translation formatter now appends it on the same line, including English plural fallback for languages with additional plural forms. It keeps hints on one safe PHP comment line and refreshes them when English changes.
Only comments change in the locale files; translation values and plural rules are unchanged. Single-form translations show both English forms as `Singular: … | Plural: …`. Generated README contribution links match bare and annotated TODO/DIRTY markers and retain the end-of-line anchor.
Closes#9463.
* Show both English forms for single-form translations
* Replace bcrypt challenge auth with direct password comparison
Closes#2428
Highlights:
* Replaced the bcrypt challenge authentication flow with direct password comparison against the bcrypt hash stored in the user configuration.
* Removed the `bcrypt.js` dependency, so authentication no longer depends on JavaScript.
* Removed the nonce and challenge mechanism and the `nonce` endpoint from the `javascript` controller.
* Removed the JavaScript and HTML code used for the previous authentication flow.
* Removed the `<noscript>` blocks that were only needed for the previous authentication flow.
* Updated `FreshRSS_FormAuth::checkCredentials()` to accept the username, stored bcrypt hash, and plain-text password directly.
* The stored password hash must still use the expected bcrypt format.
* Empty or whitespace-only passwords are rejected even if the hash would otherwise match.
* The bcrypt 72-byte limit is enforced during normal authentication.
* Existing bcrypt passwords are handled correctly when the 72-byte limit cuts through a UTF-8 character.
* Password input is no longer trimmed before authentication or password changes. Leading and trailing whitespace is therefore kept as part of the password.
* Added `FreshRSS_FormAuth::passwordRequirementsMet()` to replace `FreshRSS_password_Util::check()`.
* New passwords must be between 7 and 72 bytes by default.
* The minimum length check can be disabled where needed.
* Password requirements are now checked server-side for all password creation and update paths.
* Added client-side byte-length validation for password fields using `TextEncoder` and `data-max-bytes`.
* This gives better feedback for UTF-8 passwords.
* Server-side validation remains authoritative.
* Updated password handling in authentication, re-authentication, self-deletion, user creation, and user update paths so passwords are not trimmed automatically.
* Added `FormAuthTest` to cover:
* password length limits in bytes
* UTF-8 passwords around the 72-byte limit
* bcrypt truncation behavior during authentication
* malformed and non-bcrypt hashes
* empty passwords
* authentication failures and log messages
* Removed `bcrypt.js` from the documented dependencies and updated the authentication documentation.
* Updated the installation and authentication views and JavaScript to match the new password handling.
This simplifies the authentication flow, removes the client-side bcrypt challenge, makes password validation consistent between the client and server, and adds more test coverage while keeping compatibility with existing bcrypt password hashes.
Because the password is now sent directly to the server instead of being processed by `bcrypt.js`, deployments should use HTTPS. Documentation for HTTPS setup can be handled separately.
* Add test case with password truncated down to 71 characters
* Compare log messages too during form auth tests
* Mark the `getLastLog()` method as impure
* Fix: Check password reqs against new password instead of current
* Fix: Add custom JS validator for UTF-8, handle cut-off UTF-8 during login
* Fix: Enforce password requirements everywhere server-side
* Add TODO for updateUser in CLI
* make readme
* Fix extra.js in install.php
* Don't report validity yet if the password is too short or not filled out
* Simplify checking of whether to report validity
* Fix: Do not trim password from user's input
* Also `trim: false` in some userController paths
* Use the proper argument order for PHPUnit's `assertSame()`
* Remove `maxlength` in favor of `data-max-bytes`
But add `pattern` again for some nojs support
* make readme
* composer run-script translations
* Update i18n string for web form admin setting
* i18n: fr
* Minor whitespace
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add Arabic translation
Add a complete Arabic (ar) locale: all interface strings in
app/i18n/ar, Arabic plural forms (nplurals=6), registration of the
language name in gen.lang.ar for all languages, and the regenerated
translation status tables in the READMEs.
* Fix Arabic plural rule flagged by PHPStan
* Update websub_pending entry in sub.php
Translated the websub_pending attribute entry in sub.php in german
* make fix-all
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* docs: updates turkish websub_pending entry in sub.php
Modified the websub_pending attribute entry in sub.php in turkish
* make fix-all
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Translate the last untranslated Japanese strings and mark the Lithuanian
endonym as IGNORE, consistent with the other language names.
Co-authored-by: akinechan <1593847+akine@users.noreply.github.com>
* Reword explanations for edge/latest channels
Highlight the fact that we do not backport bug fixes or security fixes to previous releases.
Simplify also a slightly obsolte MySQL doc to favour SQLite
* Merge i18n: az
* Update Polish translations to specify rolling/versioned releases
Co-authored-by: Inverle <inverle@proton.me>
* Update 05_Release_new_version.md
---------
Co-authored-by: Inverle <inverle@proton.me>
- Reviewed all remaining Spanish translations marked as TODO or DIRTY
- Updated translations against the current English source
- Removed obsolete TODO, DIRTY, and IGNORE markers after verification
- Brought Spanish translation completion to 100%
* i18n(id): complete Indonesian translation
Translate the 130 remaining `// TODO` entries in app/i18n/id/ and refresh
the 5 `// DIRTY` ones, bringing Indonesian from 88% to 100%.
Terminology follows the strings already shipped (umpan, kategori, artikel,
belum dibaca, tandai, pintasan). Placeholders, inline markup and
documentation links are preserved unchanged. Entries with no natural
Indonesian form are marked `// IGNORE` rather than left silently as
English: the `lt` language endonym, `gen.search.url`, and the API error
marker.
Replace `peladen` with `server` throughout, including in strings that
predate this change, as `peladen` is unfamle
doing so, fix a mistranslation where the "Browser" field of the system
information panel read `Peladen`, i.e. ser
All edits were made through cli/manipulateME
progress tables were regenerated with `composer run-script translations`.
Refs #6349.
* i18n(id): Fix Indonesian translations for update messages and sorting options
* Refactor user query translation keys
What changed:
- replace dynamic user-query translation keys with explicit state, order, and type lookups
- retain the existing translations and query behaviour without adding dependencies
Why:
The translation checker cannot identify keys assembled at runtime. Explicit lookups make all user-query strings visible to validation and easier to maintain.
Fixes#6315
* Use semantic user query translation keys
* Show all effective user query states
* Display every effective user query state
* Preserve current Japanese translations
* Merge i18n: lt
* Update i18n: fr
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Inverle <inverle@proton.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add link to cloud providers list and Chatons directory
Closes#7628
Changes proposed in this pull request:
* Added a line after the "Automated install" section linking to the cloud providers list (freshrss.org/cloud-providers.html) and the Chatons directory
* Follows Alkarex's suggestion in the issue (keep the section, add links instead of removing content)
* docs(fr): add link to cloud providers list and Chatons directory
* Typographic quotes
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add per-feed option to show or hide enclosures
Some feeds attach lots of enclosures (images, audio, video, downloads)
that clutter the article view for readers who only want the text. Add
a per-feed "Show enclosures" setting (Feed configuration > Display),
defaulting to "by default" (i.e. shown, matching current behaviour),
following the same ternary-attribute pattern used by existing
per-feed overrides such as show_unread_count and read_upon_gone.
Also apply the preference to the GReader-compat API content call and
the Fever API entry serialization, so third-party clients like Reeder
and Fever apps respect it too, not just the normal web UI. Renamed the
translation key to display_enclosures to match the underlying feed
attribute name.
Fixes#4999
* i18n: fr
* Fix Fever API
* Remove accessor
* Forgotten fix
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Fix outdated username length hint on registration and install forms
The hint text said usernames were limited to 16 alphanumeric
characters, but FreshRSS_user_Controller::USERNAME_PATTERN has long
allowed 1-39 characters, including underscore, dot, @ and hyphen.
Update the English source strings so the hint matches what is
actually accepted, using make i18n-update-key so the change
propagates to languages that had an untranslated copy of the old
English text (en-US, he), keeping en-US's IGNORE marker intact.
39 is simply the pattern's technical ceiling, not a claim about what
is safest to allow; that broader question was never settled on the
issue and is left for a follow-up if needed.
Fixes#3971
* i18n: mark username hints dirty
* i18n: retain untranslated Hebrew username hint
* i18n: fr
* i18n: TODO instead of DIRTY
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Check GMP during 32-bit installation
- add an installer prerequisite for GMP when PHP uses 32-bit integers
- stop installation before favourite export can call GMP functions that are unavailable
- cover 32-bit and 64-bit GMP requirement states
Google Reader-compatible entry identifiers require GMP on 32-bit PHP. The installer did not check that prerequisite, so a missing extension could instead cause a fatal error during favourite export.
* i18n: fr
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update Japanese admin translations
* Update Japanese API translations
* Update Japanese configuration translations
* Update Japanese feedback translations
* Update Japanese general translations
* Update Japanese index translations
* Update Japanese installer translations
* Update Japanese subscription translations
* Normalize punctuation in Japanese translations
* fix(i18n): Correct Japanese scraping item label
* fix(i18n): Improve Japanese translations
* fix(i18n): Refine Japanese translations
* fix(i18n): Clear resolved Japanese DIRTY markers
* fix(i18n): Resolve remaining Japanese DIRTY translations
* fix(i18n): Use Arabic numerals for Japanese months
* style(i18n): Fix Japanese translation indentation
* docs(credits): Add gshimo contributor
* make fix-all
---------
Co-authored-by: gshimo <gakushimodaila@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Add LinkAce as a sharing service
LinkAce is a self-hosted bookmark manager with a bookmarklet-style
add endpoint, similar to Linkding and Shaarli. Add a 'linkace' entry
to app/shares.php using its documented bookmarklet URL scheme, add
the corresponding translation key, and list it in the sharing
services documentation.
Fixes#6698
* i18n Ignore
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Warn during install if document root does not point to ./p
If the Web server's document root is misconfigured to serve the
FreshRSS repository root instead of the ./p public folder, other
folders such as ./data (which store credentials, tokens, and the
database) can become publicly accessible.
Add a non-blocking check to installation step 1 that compares the
detected DOCUMENT_ROOT against the ./p folder and warns when they
do not match. The check is skipped when DOCUMENT_ROOT is unknown
(e.g. CLI/cron context), including when it is an empty string,
since realpath('') would otherwise misleadingly resolve to the
current working directory.
Fixes#3679
* i18n: fr, en-US
* Path semantics preference
* Minor syntax preference
* Warn when document root is unavailable
---------
Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
**Change(s)**
- Add missing punctuation
- Add missing spaces in the date format
- Add some new translations
**File(s) changed**
`app/i18n/zh-TW/{admin,conf,gen,install,sub}.php`
`README.md`
`README.fr.md`