206 Commits
Author SHA1 Message Date
Alexandre Alapetite fd3f75b3a2 Require PHP 8.2+ (#9470)
Drop PHP 8.1 (EOL December 2025), drop Ubuntu 22.04 (EOL May 2027, and there is now 24.04 and 26.04 LTS).
PHP 8.1 is already EOL, and Debian, Alpine, Fedora, Red Hat, Synology have dropped PHP 8.1 already.
See https://github.com/FreshRSS/FreshRSS/discussions/5474#discussioncomment-16791937

With PHP 8.6 around the corner and in particular a relevant `FILTER_FLAG_GLOBAL_RANGE` in PHP 8.2+.
* https://www.php.net/releases/8.2
* https://www.php.net/filter.constants.validation#constant.filter-flag-global-range
* https://www.php.net/class.sensitiveparameter
* https://php.watch/versions/8.2/readonly-classes
* https://www.php.net/function.ini-parse-quantity

Allows updating to PHPUnit 11.x instead of 10.x
https://phpunit.de/supported-versions.html

Contributes to https://github.com/FreshRSS/FreshRSS/issues/9475

* Add regression test for FILTER_FLAG_GLOBAL_RANGE
https://github.com/FreshRSS/FreshRSS/pull/9470#discussion_r4371168720
2026-10-26 21:02:32 +01:00
Alexandre Alapetite 7de3c981d4 Start next version 2026-10-21 22:53:14 +02:00
Alexandre Alapetite 08f97bd497 Release FreshRSS 1.30.4
fix https://github.com/FreshRSS/FreshRSS/issues/9475
2026-10-21 22:33:48 +02:00
Alexandre Alapetite 7181627f2b 1.30.4-dev while waiting for Alpine 2026-10-21 21:47:49 +02:00
Alexandre Alapetite 67a641b2c8 Release 1.30.3
https://www.php.net/archive/2026.php#2026-10-21-5
Excluding Alpine for now
2026-10-21 16:20:20 +02:00
Alexandre Alapetite 020ef5515a Start next version 2026-10-19 23:08:37 +02:00
Alexandre Alapetite 417780ac46 Release 1.30.2 2026-10-19 22:38:20 +02:00
Alexandre Alapetite 588dd92d77 Start 1.30.2-dev 2026-10-05 21:43:00 +02:00
Alexandre Alapetite 4a810f1624 Release 1.30.1 2026-10-05 21:19:07 +02:00
Alexandre Alapetite 11d56601ad Start next version 1.30.1-dev 2026-09-09 17:01:06 +02:00
Alexandre Alapetite 62eb3b405e Release 1.30.0 2026-09-09 16:35:42 +02:00
InverleandAlexandre Alapetite a84c0a8bc2 Fix all broken links in the entire repository (#9207)
* Fix all broken links in the entire repository

* Update docs/CHANGELOG-old2.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update config.default.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update README.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update docs/i18n/freshrss.fr.po

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update docs/i18n/templates/freshrss.pot

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update README.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update docs/fr/users/01_Installation.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update docs/fr/users/01_Installation.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update docs/en/internationalization.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Manual fixes, preferences
* Prefer canonical when known, prefer shorter, prefer roots, prefer URLs with content negotation (e.g. language preference)
* Keep 302, 307 unchanged
* Use only `.example`, `example.net` or similarly reserved domains for URL examples

* Fix language negotiation for developer.mozilla.org

* Restore a Stackoverflow 302

* Fix some example.com

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2026-08-19 16:19:21 +02:00
Alexandre Alapetite 8bd486c591 Start 1.29.2 2026-05-20 20:00:46 +02:00
Alexandre Alapetite b2c50115ba Release 1.29.1 2026-05-20 19:47:37 +02:00
Alexandre Alapetite cedf339330 Start 1.29.1 2026-05-10 16:46:40 +02:00
Alexandre Alapetite 376ce66da8 Release 1.29.0 2026-05-10 16:04:07 +02:00
Alexandre Alapetite cc32b2daa5 Start 1.28.2-dev 2026-01-25 19:22:41 +01:00
Alexandre Alapetite f65e6b1cf8 Release 1.28.1 2026-01-25 19:08:04 +01:00
Alexandre Alapetite 3b7ce27be4 Start 1.28.1-dev 🎄 2025-12-24 20:28:59 +01:00
Alexandre Alapetite fdd82820f1 Release 1.28.0 🎄 2025-12-24 20:01:47 +01:00
Alexandre Alapetite 1a3912f25a Improve configuration checks (#8334)
Add a distinction between recommended and required extensions.
Add check for recommended php-intl extension as follow-up of https://github.com/FreshRSS/FreshRSS/pull/8329#issuecomment-3677686581
Improve related checks such as ZIP.
Reduce duplicated translations and tests.
2025-12-21 19:26:08 +01:00
Alexandre Alapetite fdbdd118bf Start 1.27.2-dev 2025-09-27 15:09:53 +02:00
Alexandre Alapetite 3f9b7b3331 Release 1.27.1 2025-09-27 14:51:48 +02:00
Alexis Degrugillier 23ba48c71f Change how files are included (#7916)
1. `include`, `include_once`, `require` and `require_once` are expressions not functions, parentheses are not necessary.
2. to move up the directory tree, it's better to use the `dirname` function instead of relying on `/..`.
2025-09-05 15:56:46 +02:00
Alexandre Alapetite 339dcb1ea3 Start 1.27.1-dev 2025-08-18 18:06:30 +02:00
Alexandre Alapetite 66e2f00223 Release 1.27.0
https://github.com/FreshRSS/FreshRSS/issues?q=is%3Aopen%20milestone%3A1.27.0
2025-08-18 17:46:26 +02:00
Alexandre Alapetite 58a264db40 Start 1.26.4-dev 2025-06-03 00:12:51 +02:00
Alexandre Alapetite 697f8f5811 Release FreshRSS 1.26.3 2025-06-02 23:43:39 +02:00
Alexandre Alapetite 3f187395ea Move PHP minimum version check (#7560)
It is too late to check for minimum version check in `lib_rss.php` because that file already contains some relatively new PHP language constructs, which will lead to a syntax error - when running with an old PHP version - instead of the expected error message.
Moved to `constants.php` for now.

Example of syntax error with PHP 7.4:
```
PHP Parse error:  syntax error, unexpected '|', expecting '{' in /var/www/FreshRSS/lib/lib_rss.php on line 166
```

Should help users like in:
* https://github.com/FreshRSS/FreshRSS/discussions/7539
* https://github.com/FreshRSS/FreshRSS/issues/7557
2025-05-07 10:47:09 +02:00
Alexandre Alapetite b09fa7a4e2 Start FreshRSS 1.26.3-dev 2025-05-03 22:33:26 +02:00
Alexandre Alapetite 4c5e8e77b3 Release FreshRSS 1.26.2 2025-05-03 22:11:42 +02:00
Alexandre Alapetite e61f00cb64 Start FreshRSS 1.26.2 2025-03-13 22:39:11 +01:00
Alexandre Alapetite 0dc96b0214 Release 1.26.1 2025-03-13 22:24:02 +01:00
Alexandre Alapetite ef20a23812 Start 1.26.1-dev 2025-02-23 16:34:14 +01:00
Alexandre Alapetite df82c23943 Release 1.26.0 2025-02-23 16:15:36 +01:00
Alexandre Alapetite b1d24fbdb7 PHPStan 2.0 (#7131)
* PHPStan 2.0
fix https://github.com/FreshRSS/FreshRSS/issues/6989
https://github.com/phpstan/phpstan/releases/tag/2.0.0
https://github.com/phpstan/phpstan/blob/2.0.x/UPGRADING.md

* More

* More

* Done

* fix i18n CLI

* Restore a PHPStan Next test
For work towards PHPStan Level 10

* 4 more on Level 10

* fix getTagsForEntry

* API at Level 10

* More Level 10

* Finish Minz at Level 10

* Finish CLI at Level 10

* Finish Controllers at Level 10

* More Level 10

* More

* Pass bleedingEdge

* Clean PHPStan options and add TODOs

* Level 10 for main config

* More

* Consitency array vs. list

* Sanitize themes get_infos

* Simplify TagDAO->getTagsForEntries()

* Finish reportAnyTypeWideningInVarTag

* Prepare checkBenevolentUnionTypes and checkImplicitMixed

* Fixes

* Refix

* Another fix

* Casing of __METHOD__ constant
2024-12-27 12:12:49 +01:00
Alexandre Alapetite a430fd2fd6 Start FreshRSS 1.25.1-dev 2024-12-23 11:48:43 +01:00
Alexandre Alapetite 2bfa0d9b68 Release FreshRSS 1.25.0 2024-12-23 11:46:02 +01:00
Alexandre Alapetite a81656c3ed Upgrade to PHP 8.1 (#6711)
* Upgrade to PHP 8.1
As discussed in https://github.com/FreshRSS/FreshRSS/discussions/5474

https://www.php.net/releases/8.0/en.php
https://www.php.net/releases/8.1/en.php

Upgrade to available native type declarations
https://php.net/language.types.declarations

Upgrade to https://phpunit.de/announcements/phpunit-10.html which requires PHP 8.1+ (good timing, as version 9 was not maintained anymore)

Upgrade `:oldest` Docker dev image to oldest Alpine version supporting PHP 8.1: Alpine 3.16, which includes PHP 8.1.22.

* Include 6736
https://github.com/FreshRSS/FreshRSS/pull/6736
2024-09-06 09:06:46 +02:00
Alexandre Alapetite da13a4b663 Start 1.25.0-dev 2024-09-06 08:49:40 +02:00
Alexandre Alapetite 4461784b8a Release 1.24.3 2024-09-06 08:33:17 +02:00
Alexandre Alapetite b6f208f518 Start FreshRSS 1.24.3-dev 2024-08-23 16:45:34 +02:00
Alexandre Alapetite ca28c90f8b Release 1.24.2 2024-08-23 16:28:56 +02:00
maThandAlexandre Alapetite fec9e53d0e Empty title guid or first words (#6240)
* settings

* add comments for better understanding

* Update reading.phtml

* overhaul the code

* i18n

* typo

* add a constant to configure the amount of chars

* fix

* simplify

* Update Entry.php

* clean

* Update Entry.php

* Update app/Models/Entry.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update constants.php

* Update app/Models/Entry.php

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-06-05 21:04:33 +02:00
Alexandre Alapetite e17c2c4479 Start 1.24.2-dev 2024-06-05 17:37:48 +02:00
Alexandre Alapetite 9b2bb50e41 Release 1.24.1 2024-06-05 17:30:42 +02:00
Alexandre Alapetite 6d7b5bf997 Start 1.24.1-dev 2024-05-23 12:00:43 +02:00
Alexandre Alapetite 5b1c36dcf1 Release 1.24.0
https://github.com/FreshRSS/FreshRSS/discussions/6462
2024-05-23 11:41:56 +02:00
Alexandre Alapetite 9c104ee6bb Prepare next dev version 2023-12-30 17:29:27 +01:00
Alexandre Alapetite 227233b4ef Release 1.23.1 2023-12-30 17:17:00 +01:00