Stefan
2714a2ddcd
Update CREDITS.md ( #7685 )
...
+ Added myself as requested in #7668
2025-06-22 17:15:10 +02:00
Stefan
51298cd6bc
Exposed the reading modes for extensions through Minz ( #7668 )
...
* + Exposed the reading modes for extensions through Minz. Now extensions can add a custom view mode. Graceful fallback to normal view in case the extension was disabled without resetting the view_mode through the uninstall method. In that case the user will be informed via Minz_Request::setBadNotification that the view has been reset to normal.
+ Added translation strings for de, en and en-us for the notification
* + Added missing, generated translations
* Simplify indexAction, performance
* Minor settings htmlspecialchars
* i18n: fr
* Minor wording
* Doc
* Fix i18n
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-22 00:36:32 +02:00
Inverle
bea9ca12ad
Restore user config from backup when it doesn't exist ( #7682 )
...
* Restore user config from backup when it doesn't exist
* Supress warnings
* Remove copied config if copy() fails
* `return false` after `unlink()`
* Performance
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-22 00:10:13 +02:00
the7thNightmare
50887f191b
i18n:ID ( #7683 )
...
* id translation
* id translation
* Avoid problematic array sentence
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-22 00:09:52 +02:00
Inverle
18b5c8ec6d
Handle redirects when scraping feed from HTML ( #7654 )
...
* Handle redirects when scraping feed from HTML
* pass codesniffer
* pass PHPStan
* Optimize
* Another approach relying on HTML base
Standard way to save an HTML document with relative references
* Fix case of existing HTML base
which should not be overriden
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-22 00:09:18 +02:00
Inverle
a6948218fb
frame-ancestors CSP ( #7677 )
2025-06-18 22:20:17 +02:00
Alexandre Alapetite
aa45bcbe5a
Fix Markdown 78a4256 ( #7678 )
...
Fix for 78a4256362
2025-06-18 22:15:54 +02:00
ghostvirus
78a4256362
Merge commit from fork
2025-06-18 21:11:41 +02:00
Alexandre Alapetite
b418b83bd4
SimplePie: Fix propagation of HTTP error codes ( #7670 )
...
* SimplePie: Fix propagation of HTTP error codes
fix https://github.com/FreshRSS/FreshRSS/issues/7038
https://github.com/FreshRSS/simplepie/pull/36
upstream https://github.com/simplepie/simplepie/pull/905
Co-authored-by: Edgar Alvarado <15692727+pe1uca@users.noreply.github.com >
2025-06-15 21:25:03 +02:00
Alexandre Alapetite
67c42b0e7c
Remove several PHPStan ignore ( #7665 )
...
* Remove several PHPStan ignore
* One syntax error
* PDO returns int, not bool (MySQL and SQLite Boolean types are aliases for tinyint).
* A few missing type hints
* Revert strange PHPStan bug
2025-06-15 01:17:20 +02:00
Alexandre Alapetite
f620f16e2b
Install: add test PDO typing ( #7651 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/7647
2025-06-06 09:56:27 +02:00
Alexandre Alapetite
4de7d0b813
PHPStan: pass checkImplicitMixed ( #7642 )
...
* PHPStan: pass checkImplicitMixed
* Complete
2025-06-04 14:00:33 +02:00
Alexandre Alapetite
2b94cffeab
Archive some change logs ( #7650 )
...
* Move old changelog
* Archive some logs
2025-06-04 11:39:59 +02:00
Alexandre Alapetite
cc35094bb2
Add API endpoint for extensions ( #7576 )
...
* Add API endpoint for extensions
Useful for https://github.com/FreshRSS/FreshRSS/issues/7572
* Support PATH_INFO
Now also support being invoked like `/api/misc.php/Extension%20Name/`
* More documentation
2025-06-03 00:16:17 +02:00
Alexandre Alapetite
430d4e898e
Docker: Alpine 3.22 ( #7627 )
...
https://alpinelinux.org/posts/Alpine-3.22.0-released.html
PHP 8.3.21, Apache 2.4.63
2025-06-03 00:15:12 +02:00
Inverle
dd5ea7ab4e
Include remaining tags/attributes for lazy loading ( #7636 )
...
* Include remaining tags/attributes for lazy loading
* Suggested change
2025-06-03 00:14:50 +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
1.26.3
2025-06-02 23:43:39 +02:00
Alexandre Alapetite
09ca86dd58
Changelog
2025-06-02 23:25:11 +02:00
dependabot[bot]
7d86cbe804
Bump markdownlint-cli from 0.44.0 to 0.45.0 ( #7632 )
...
* Bump markdownlint-cli from 0.44.0 to 0.45.0
Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases )
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.44.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: markdownlint-cli
dependency-version: 0.45.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix Markdown
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-01 22:50:58 +02:00
dependabot[bot]
ec7edacf8c
Bump the stylelint group with 2 updates ( #7631 )
...
Bumps the stylelint group with 2 updates: [stylelint](https://github.com/stylelint/stylelint ) and [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss ).
Updates `stylelint` from 16.19.1 to 16.20.0
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.19.1...16.20.0 )
Updates `stylelint-config-recommended-scss` from 14.1.0 to 15.0.1
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v14.1.0...v15.0.1 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-version: 16.20.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: stylelint
- dependency-name: stylelint-config-recommended-scss
dependency-version: 15.0.1
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: stylelint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:13:17 +02:00
dependabot[bot]
d3bb86669c
Bump squizlabs/php_codesniffer from 3.12.2 to 3.13.0 ( #7634 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer ) from 3.12.2 to 3.13.0.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases )
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.2...3.13.0 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-version: 3.13.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:12:58 +02:00
dependabot[bot]
8997c6b182
Bump the eslint group with 3 updates ( #7630 )
...
Bumps the eslint group with 3 updates: [eslint](https://github.com/eslint/eslint ), [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) and [globals](https://github.com/sindresorhus/globals ).
Updates `eslint` from 9.25.1 to 9.28.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.28.0 )
Updates `@eslint/js` from 9.25.1 to 9.28.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.28.0/packages/js )
Updates `globals` from 16.0.0 to 16.2.0
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v16.0.0...v16.2.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 9.28.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@eslint/js"
dependency-version: 9.28.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: globals
dependency-version: 16.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:07:38 +02:00
dependabot[bot]
7a88f61678
Bump phpstan/phpstan from 2.1.13 to 2.1.17 ( #7635 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 2.1.13 to 2.1.17.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/2.1.13...2.1.17 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-version: 2.1.17
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 22:07:17 +02:00
dependabot[bot]
2d5f91abc6
Bump sass from 1.87.0 to 1.89.1 ( #7633 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.87.0 to 1.89.1.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.87.0...1.89.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-version: 1.89.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 21:41:14 +02:00
Ron
b606833e14
docs: add ClawCloud Run button ( #7578 )
2025-05-31 23:47:45 +02:00
Inverle
464921108b
Fix user self-deletion ( #7626 )
...
* Fix user self-deletion
* Minor code cleanup
2025-05-31 21:43:18 +02:00
Alexandre Alapetite
80c9623f8f
API fix default category ( #7610 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/7368
2025-05-31 13:01:27 +02:00
the7thNightmare
88de42085f
i18n:ID ( #7622 )
...
* id translation
* small fix
2025-05-27 21:47:48 +02:00
Alexandre Alapetite
62592da283
Fix remove last share ( #7613 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/7612
2025-05-25 13:05:23 +02:00
Alexandre Alapetite
ee7538d4e9
Changelog
2025-05-23 23:47:01 +02:00
Alexandre Alapetite
5f45df3168
Strip more styles attributes ( #7606 )
...
Strip `bgcolor`, `text`, `background`, `link`, `alink`, `vlink`
fix https://github.com/FreshRSS/FreshRSS/issues/7604
2025-05-23 22:12:05 +02:00
Alexandre Alapetite
648eddaf13
Fix important articles on reader view ( #7602 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/7601
2025-05-20 07:07:00 +02:00
Alexandre Alapetite
9fbde0605b
Keep sort and order during navigation ( #7585 )
...
* Keep sort and order during navigation
fix https://github.com/FreshRSS/FreshRSS/issues/7584
* Sanitize
* Minor format
* Avoid uneeded HTML escaping
2025-05-17 22:52:30 +02:00
Alexandre Alapetite
52848d414d
Add info about PDO::ATTR_CLIENT_VERSION ( #7591 )
...
Help with https://github.com/FreshRSS/FreshRSS/issues/7586
2025-05-17 22:51:44 +02:00
Alexandre Alapetite
e24d9f39fb
Fix .htaccess.dist for access to /scripts/vendor/ ( #7598 )
...
* Fix .htaccess.dist for access to /scripts/vendor/
fix https://github.com/FreshRSS/FreshRSS/issues/7596
* Exclude extensions folder, which may be mounted as volume without .htaccess
2025-05-17 22:50:53 +02:00
Alexandre Alapetite
459ede2b7e
Fix SQL request for user labels with custom sort ( #7588 )
...
The list or articles with a user label with a custom sort was broken when using PostgreSQL
Example: `https://freshrss.example.net/i/?a=normal&get=T&sort=title&order=ASC `
```
SQL error FreshRSS_EntryDAO::listWhereRaw["42P10",7,"ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list\nLINE 3: ...d_entry = e.id WHERE 1=1 AND e.id <= $1 ORDER BY e.title DE...\n ^"]
```
2025-05-13 22:28:34 +02:00
Inverle
b401f152ca
i18n: pl ( #7587 )
2025-05-13 20:47:40 +02:00
Alexandre Alapetite
5fcfb31a85
Changelog
2025-05-10 23:36:07 +02:00
Alexandre Alapetite
532d229d33
Fix newest articles not shown ( #7577 )
...
* Fix newest articles not shown
Case when processing was faster than 1 second.
fix https://github.com/FreshRSS/FreshRSS/issues/7412
Regression from https://github.com/FreshRSS/FreshRSS/pull/7149
* Simplify uTimeString()
PHPStan has become a bit smarter
2025-05-10 23:17:25 +02:00
Inverle
84d4aeb9e6
Implement loading spinner for marking as favorite/read, read/unread ( #7564 )
...
* Implement loading spinner for marking as favorite
* Ensure that the correct previous icon gets set
* Remove delay
* Improve compatibility with various parsers
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
* Support multiple icons (top, bottom)
* Remove preload for now
* Fix CSS, remove !important
* Implement read/unread and alt
* Ensure correct bookmark icon gets set after error
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-05-10 21:06:58 +02:00
CarelessCaution
5f74634c83
Update CREDITS.md ( #7575 )
...
Add myself as a contributor for #7573 .
Co-authored-by: CarelessCaution <189675655+CarelessCaution@users.noreply.github.com >
2025-05-10 01:52:33 +02:00
CarelessCaution
c6f09e1ae4
Fix favicon hashing in GReader API ( #7573 )
...
* Fix favicon hashing in GReader API (#7570 )
This allows the correct iconUrl to be returned from the GReader API for
a given feed.
* Fix method signature
* Fix Fever API
---------
Co-authored-by: CarelessCaution <189675655+CarelessCaution@users.noreply.github.com >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-05-09 23:41:31 +02:00
Inverle
4968ff7ccc
Provide theme class for CSS ( #7559 )
...
* Provide theme class for CSS
* Replace more common characters with -
* Fix test error
* Make requested changes
* Make more requested changes
* Use htmlspecialchars_decode instead
* Replace whitespace
* One more whitespace character
* Simplify and move class to <html>
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-05-07 20:43:28 +02:00
Alexandre Alapetite
25f57beb90
Fix encoding of themes ( #7565 )
...
* Fix encoding of themes
Several HTML and URL encoding issues in the case of special chars in theme directory or in metadata.
Also usefull to simplify https://github.com/FreshRSS/FreshRSS/pull/7559
* Minor simplification
* Stricter decoding
2025-05-07 19:55:28 +02:00
Alexandre Alapetite
f2a7af03e8
Remove Apache 2.2 (only support Apache 2.4+) ( #7561 )
...
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7552
I cannot find any distribution still supporting Apache 2.2
2025-05-07 14:45:43 +02:00
Alexandre Alapetite
91d32acfdc
HTTP Cache-Control immutable ( #7552 )
...
Start using `Cache-Control: immutable` for some resources served with a timestamp.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#immutable
The `<If>` directive requires Apache 2.4+
2025-05-07 10:53:59 +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
b2f80ad00a
Fix duplicate HTTP header for POST ( #7556 )
...
Using POST with JSON would add `Content-Type: application/json` again and again everytime the feed's settings were saved
2025-05-05 18:55:43 +02:00
Alexandre Alapetite
2063e445af
PHPMailer 6.10.0 ( #7542 )
...
Supplement to https://github.com/FreshRSS/FreshRSS/pull/7541
2025-05-03 22:34:39 +02:00