Clarify the content retrieval settings in Brazilian Portuguese. The current label asks for a CSS path, which can suggest a stylesheet location. The setting expects a selector such as `.entry-content`. The help text now explains that FreshRSS fetches article content from the original site when the RSS feed provides only part of the text.
Closes#9658
Changes proposed in this pull request:
- Use PostgreSQL `dow` instead of `day` for the day-of-week chart.
- Normalize month repartitions to exactly 12 entries, from January to December.
- Include today in the 30-day chart, anchor the day calculation on the oldest timestamp so integer division is always positive, and return a JSON list.
- Set chart labels and build the average line as an array matching the bar data.
* Fix: corriger les statistiques PostgreSQL
* Remove dead code
---------
Co-authored-by: upskaling <upskaling@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
The backup guide covers full installations, subscriptions and saved articles. Add a short section for people who only need the installation and per-user settings, with links to the existing instructions for exporting subscriptions or backing up the whole installation.
Refs #4278.
* Document how to back up FreshRSS settings only
* Favour typographic quotes
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
The systemd setup currently enables the feed refresh timer for future boots but leaves it stopped during initial setup. Use `enable --now` so the timer starts as part of setup, and show how to check when it will next run.
Checked the commands against the systemctl manual. Markdownlint passed for all 114 documentation files. OpenAI Codex assisted with the edit and verification.
Fix#9654
When the subscription page shows only the feeds with errors and a feed is removed from its slider, the redirect went back to the full list. The remove button now keeps `error=1`, and `feed/delete` redirects to the subscription page with `error=1` in that case.
Without `error`, the redirect is unchanged.
How this was checked: I ran FreshRSS 1.31 edge with the PHP built-in server and SQLite, with one feed in error. Before the change, `POST feed/delete` from the error-filtered slider redirected to `?c=subscription`. After the change, it redirects to `?c=subscription&error=1`. Without the error filter, it still redirects to `?c=subscription`. I did not add a PHPUnit test because the action ends in a redirect, and I did not run `make test-all`.
Translate the remaining English text for user-query sorting, the pending WebSub notification, and the existing password length message. These keys are separate from #9655.
Fixes#9650
Writes the temporary config file with a checked full write followed by `fflush()` and `fsync()` before the atomic rename, so an unclean shutdown cannot leave `config.php` truncated to zero bytes. The backup is now only replaced when the current config file is non-empty, preserving the last known-good backup if a previous save was interrupted.
Adds regression tests covering a normal save (previous config backed up) and a save when the current config file is empty (existing backup preserved).
* Make configuration saves crash-safe
* Simplify comments
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Added:
* `make build-docs`: builds the documentation to `docs/_site`, to test if anything is broken.
* `make serve-docs`: runs a server for serving the documentation files, by default at `http://127.0.0.1:4000/FreshRSS/`.
* Can also specify e.g. `DOCS_HOST=0.0.0.0 DOCS_PORT=8080`.
* `make clean-docs`: deletes `docs/{_site,.jekyll-cache}`.
The new commands are available in `make help`:
```
Documentation
build-docs Test building Jekyll documentation
serve-docs Run local server for serving docs
clean-docs Clean up generated Jekyll files
```
[docs/README.md](https://github.com/FreshRSS/FreshRSS/blob/edge/docs/README.md) was updated with new information regarding the commands.
* After uncollapsing an article, the first element inside of it will be focused (the title link) for easier Tab navigation.
* All of the links inside entry headers (normal view) now use `tabindex="-1"`, so they can't be focused anymore using Tab. This makes navigation less confusing as there is JS functionality already for moving between articles (i.e. j/k keys) which is the intended way.
* (or s/l for the Share or Labels menu)
* Focus rings are now visible again (removed `outline: none` from CSS for `<a>` elements).
This is mainly for the Normal view, but affects the Reader and Global views too.
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.
Fix [GHSA-gqgh-h7rm-f87f](https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-gqgh-h7rm-f87f)
Problem can be observed by going to https://demo.freshrss.org/i/?a=abouT. It might not be obvious immediately that the action actually launched. But that's because the view being searched for is `index/abouT.phtml`, which won't work when filenames are case sensitive (view shows up empty instead, but the action launches).
Now with the fixes, the following error message will be shown instead:
> Invalid action name “abouTAction” for controller “FreshRSS_index_Controller”.
This is relevant for e.g. [xExtension-Captcha](https://github.com/FreshRSS/Extensions/tree/main/xExtension-Captcha).
* Minz: Launch actions case-sensitively
* Simplify and more robust
* Stricter classAutoloader
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>