188 Commits

Author SHA1 Message Date
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
maTh
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
Alexandre Alapetite
941b370fe5 Start 1.23.1-dev 2023-12-24 11:37:36 +01:00
Alexandre Alapetite
a67c11c52d Release 1.23.0 2023-12-24 11:22:44 +01:00
Luc SANCHEZ
30c7a61a9b Use strict_types (#5830)
* Little's optimisations and booleans in conditions

* Apply strict type

* Apply strict type

* Apply strict type

* Fix multiple bugs with PHP 8.2 and 8.3

* Many declares missing, more errors fixed

* Apply strict type

* Another approach

* Stronger typing for Minz_Session

* Fix case of SQLite

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-16 22:43:00 +01:00
Alexandre Alapetite
06d0099504 Require PHP 7.4+ (#5720)
* Require PHP 7.4+
https://github.com/FreshRSS/FreshRSS/discussions/5474

* Update Docker oldest
Alpine 3.13 with PHP 7.4.26

* Add missing packets to Docker oldest

* Update to typed properties
https://php.net/migration74.new-features#migration74.new-features.core.typed-properties

* More types
2023-10-30 20:47:27 +01:00
Alexandre Alapetite
d50bb386e7 Start next version 1.22.2-dev 2023-10-30 20:03:15 +01:00
Alexandre Alapetite
cc2878aed8 Release 1.22.1 2023-10-30 19:48:26 +01:00
Alexandre Alapetite
29f3a41d12 Start next version 1.22.1-dev 2023-10-23 23:12:02 +02:00
Alexandre Alapetite
a2588fea22 Release 1.22.0 2023-10-23 22:38:59 +02:00
Alexandre Alapetite
0292b2f1f3 Improve Dev Container (#5423)
* Improve Dev Container
PHPStan was failing in Dev Container

* Update Docker to Alpine Linux 3.18
* New DATA_PATH environment variable

* README
2023-05-28 18:03:34 +02:00
Luc SANCHEZ
5f898dcc5e Modernize Constants and use new constant for string 'currentUser' (#5089)
* Modernize Constants and use new constant 'currentUser'

* Add FreshRSS_Context::currentUser() function and use

* Add FreshRSS_Context::currentUser() function and use

* Add FreshRSS_Context::currentUser() function and use

* Add FreshRSS_Context::currentUser() function and use

* Add FreshRSS_Context::currentUser() function and use

* Update app/Controllers/userController.php

* Update app/Controllers/userController.php

* Update app/Controllers/userController.php

* Update app/Models/Auth.php

* Update p/api/greader.php

* Update p/api/greader.php

* Update p/api/greader.php

* Update app/Models/Context.php

* Update app/Models/LogDAO.php

* Update lib/Minz/Log.php

* Update p/api/greader.php

* Update app/layout/header.phtml

* Update app/views/helpers/export/articles.phtml

* Update cli/do-install.php

* Remarque's from Alkarex

* Remarque's from Alkarex

* Refactor using new Minz_User class

* Consistent naming of public constants

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-26 14:17:22 +02:00
maTh
e679d3df0e Improved: show Terms of Service in config menu (#5215)
* Use constants for path to TOS

* improve comments

* TOS title moved to template

* TOS available via config menu

* CSS: improve handling of content of TOS/about

* give info about set/unset TOS in system config

* fix target

* i18n FR

* i18n DE
2023-03-21 18:47:07 +01:00
maTh
a7e1428485 defined('CLEANCACHE_HOURS') (#5144)
https://github.com/FreshRSS/FreshRSS/issues/4627
2023-03-04 13:46:46 +01:00
Alexandre Alapetite
b5969494f9 Start FreshRSS 1.21.1-dev 2023-03-04 13:43:53 +01:00
Alexandre Alapetite
de062c88ea Release FreshRSS 1.21.0 2023-03-04 12:55:43 +01:00
Alexandre Alapetite
f5bf654b1e Resume 1.21.0-dev 2022-12-09 23:10:15 +01:00
Alexandre Alapetite
45fb0d6803 Security release FreshRSS 1.20.2 2022-12-08 10:51:08 +01:00
Alexandre Alapetite
570503b7f1 Require PHP 7.2+ (#4848)
Drop PHP 7.0- as planned https://github.com/FreshRSS/FreshRSS/discussions/3321#discussioncomment-835704
2022-11-14 15:02:44 +01:00
Alexandre Alapetite
37cc854d12 Start FreshRSS 1.21.0-dev 2022-11-14 14:32:44 +01:00