Commit Graph

6187 Commits

Author SHA1 Message Date
maTh
f7235bcb54 Improved: refactor the sharing menu to use a template instead of duplicated HTML code (#6751)
* <script> --> <template>

* sharing menu

* normal view, global view (reader view does not have a share button)

* fix
2024-09-07 23:24:05 +02:00
Alexandre Alapetite
93c102d7ea Changelog freshrss:oldest 2024-09-06 15:49:19 +02:00
Alexandre Alapetite
0ea13253af Fix warnings for PHP 8.4+ (#6781) 2024-09-06 10:41:11 +02:00
Alexandre Alapetite
7095f1d3b0 Changelog 2024-09-06 10:22:34 +02:00
Alexandre Alapetite
aefac3efb9 CI fix warnings (#6780) 2024-09-06 10:18:51 +02:00
Alexandre Alapetite
1a552bd60e Regex search (#6706)
* Regex search
fix https://github.com/FreshRSS/FreshRSS/issues/3549

* Fix PHPStan

* Fix escape

* Fix ungreedy

* Initial support for regex search in PostgreSQL and MySQL

* Improvements, support MySQL

* Fix multiline

* Add support for SQLite

* A few tests

* Added author: and inurl: support, documentation

* author example

* Remove \b for now

* Disable regex sanitization for now

* Fix getInurlRegex

* getNotInurlRegex

* Quotes for inurl:

* Fix test

* Fix quoted tags + regex for tags
https://github.com/FreshRSS/FreshRSS/issues/6761

* Fix wrong regex detection

* Add MariaDB

* Fix logic

* Increase requirements for MySQL and MariaDB
Check support for multiline mode in MySQL

* Remove sanitizeRegexes()

* Allow searching HTML code
Allow searching for instance `/<pre>/`
Fix https://github.com/FreshRSS/FreshRSS/issues/6775#issuecomment-2331769883

* Doc regex search HTML

* Fix Doctype
2024-09-06 09:35:58 +02:00
Alexandre Alapetite
35a7634e68 Changelog 2024-09-06 09:18:14 +02:00
Alexandre Alapetite
9f4f6e9cac Bump phpgt/cssxpath (#6618)
Includes https://github.com/PhpGt/CssXPath/pull/227
Follow-up of https://github.com/PhpGt/CssXPath/pull/227 for PHP 8.4
Requires PHP 8.0+
Full diff d99d35f719...45f3ac151f
2024-09-06 09:11:37 +02: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
maTh
8f7c3473a7 improved: Default styles for pre and code (#6770)
* set frss.css

* clean base.css

* themes
2024-09-06 08:59:22 +02:00
Alexandre Alapetite
4f29b715ef Use curl to fetch extensions list (#6767)
fix https://github.com/FreshRSS/FreshRSS/issues/6744
2024-09-06 08:51:51 +02:00
Alexandre Alapetite
a6138225ea Better cache name for JSON feeds (#6768) 2024-09-06 08:51:21 +02:00
Alexandre Alapetite
2cd9130726 PostgreSQL suggestion of index improvement (#6705)
https://www.postgresql.org/docs/current/sql-createstatistics.html
https://www.postgresql.org/docs/current/sql-analyze.html
Requires PostgreSQL 10+ (which is already EOL - shipped with Ubuntu 18.04, Debian 10 Buster -, so update doc at the same time even when not using it) https://www.postgresql.org/docs/release/10.0/
2024-09-06 08:50:31 +02:00
Alexandre Alapetite
da13a4b663 Start 1.25.0-dev 2024-09-06 08:49:40 +02:00
Alexandre Alapetite
671f910297 Credits 2024-09-06 08:49:31 +02:00
Alexandre Alapetite
4461784b8a Release 1.24.3 1.24.3 2024-09-06 08:33:17 +02:00
Alexandre Alapetite
3dafb7f995 Changelog 2024-09-05 23:32:10 +02:00
Alexandre Alapetite
73a84120ae Fix OPML for itemTimeFormat (#6779)
fix https://github.com/FreshRSS/FreshRSS/issues/6778
2024-09-05 23:28:59 +02:00
Alexandre Alapetite
462b0f8b2d Changelog 2024-09-04 22:27:18 +02:00
Alexandre Alapetite
efa0a92171 Fix feed title option (#6771)
fix https://github.com/FreshRSS/FreshRSS/issues/6756
2024-09-04 21:12:56 +02:00
Alexandre Alapetite
91d0e5099b Fix XPath for HTML documents with broken root (#6774)
fix https://github.com/FreshRSS/FreshRSS/issues/6773

The default `.//` prefix for the XPath does not to work for documents, which have content after the end of their main node
2024-09-04 21:02:46 +02:00
dependabot[bot]
2414edbd71 Bump the eslint group with 3 updates (#6758)
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 [neostandard](https://github.com/neostandard/neostandard).


Updates `eslint` from 9.9.0 to 9.9.1
- [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.9.0...v9.9.1)

Updates `@eslint/js` from 9.9.0 to 9.9.1
- [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.9.1/packages/js)

Updates `neostandard` from 0.11.2 to 0.11.4
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.2...v0.11.4)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
- dependency-name: neostandard
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 00:18:20 +02:00
dependabot[bot]
0056acb935 Bump the stylelint group with 2 updates (#6759)
Bumps the stylelint group with 2 updates: [stylelint](https://github.com/stylelint/stylelint) and [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic).


Updates `stylelint` from 16.8.1 to 16.9.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.8.1...16.9.0)

Updates `@stylistic/stylelint-plugin` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/stylelint-stylistic/stylelint-stylistic/releases)
- [Changelog](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint-stylistic/stylelint-stylistic/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: stylelint
- dependency-name: "@stylistic/stylelint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: stylelint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 00:13:49 +02:00
dependabot[bot]
ed32372b87 Bump rtlcss from 4.2.0 to 4.3.0 (#6760)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: rtlcss
  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>
2024-09-02 00:13:22 +02:00
maTh
1d4443b399 Improved: Feed aside bar more improvements (#6746)
* fix background color of category toggler

* nord theme

* adark theme

* dark pink theme
2024-08-29 08:14:02 +02:00
Alexandre Alapetite
cb355914e6 Changelog 2024-08-28 00:09:35 +02:00
maTh
f672b826d6 fixed: Shortcut keys for moving between categories (#6741) 2024-08-28 00:03:26 +02:00
maTh
e8f066b4c2 fixed: Mapco/Ansum theme (#6740)
* fixed

* fix RTL
2024-08-27 23:56:17 +02:00
Alexandre Alapetite
7ba880ca1c Fix mark-as-read from user query (#6738)
fix https://github.com/FreshRSS/FreshRSS/issues/6732
2024-08-27 15:33:45 +02:00
Alexandre Alapetite
05e24aa559 composer update (#6739)
PHPStan 1.12.0
2024-08-27 15:31:21 +02:00
Artur Weigandt
6be98417fc Fix PHPUnit version for tests (#6736) 2024-08-26 09:52:36 +02:00
Alexandre Alapetite
8ca70040b9 OIDC changelog + minor whitespace
+fix minor whitespace from https://github.com/FreshRSS/FreshRSS/pull/6730
2024-08-26 09:49:11 +02:00
pando85
82593f5968 Fix OIDC session params definition (#6730)
* Fix OIDC session params definition

- standardize environment variable names
- group all in the same configuration file
- use mod_auth_openidc default values
- fix `OIDCSessionMaxDuration` because it was not set with the previous
  code
- add documentation

* Add double quoting to prevent globbing and word splitting

* Revert line deleted by mistake
2024-08-25 19:57:30 +02:00
Alexandre Alapetite
19e1cb470e Link to FreshRSS releases 2024-08-23 16:52:14 +02:00
Alexandre Alapetite
899fb4db52 Changelog init 1.24.3-dev 2024-08-23 16:50:11 +02:00
Alexandre Alapetite
b6f208f518 Start FreshRSS 1.24.3-dev 2024-08-23 16:45:34 +02:00
Kaiwalya Koparkar
41bc15a9ff feat: Added Elestio as one-click deploy option (#6726)
* feat: Added Elestio as one-click deploy option

* update: Added my name with other contributors

* update: Removed the name from credits list

* update: Added Elestio one-click deploy button to French Readme

* fix: Removed the non-translated words from button
2024-08-23 16:40:15 +02:00
Alexandre Alapetite
f544da6015 Use .html extension for full content pages instead of .spc (#6724) 2024-08-23 16:39:34 +02:00
Alexandre Alapetite
3c2167d60b Charset for JSON exchanges (#6710)
Apply some minor recommendations from Snyk scanner
2024-08-23 16:39:19 +02:00
Alexandre Alapetite
ca28c90f8b Release 1.24.2 1.24.2 2024-08-23 16:28:56 +02:00
Alexandre Alapetite
ca09f37b43 Changelog 2024-08-19 20:05:27 +02:00
Alexandre Alapetite
673b5309ea Fix HTTP cache for modified time when content is not modified (#6723)
Fix case when server is sending a new modified time while the content was not actually modified.
fix https://github.com/FreshRSS/FreshRSS/issues/6712
2024-08-19 19:10:54 +02:00
Alexandre Alapetite
b49780b714 Changelog + credits 2024-08-17 22:15:26 +02:00
Alexandre Alapetite
bb61f698e8 Fix HTTP cache of main page (#6719)
Revert bug introduce by https://github.com/FreshRSS/FreshRSS/pull/3096 in which username was always null, preventing HTTP cache from working and always returning 200 instead of 304.
Discovered when checking https://github.com/FreshRSS/FreshRSS/pull/6718
2024-08-17 16:25:40 +02:00
Alexandre Alapetite
c480e57161 Fix HTTP cache of user queries (#6718)
fix https://github.com/FreshRSS/FreshRSS/issues/6717
2024-08-16 22:40:56 +02:00
Alexandre Alapetite
1fad724b95 Improve SQL transactions (#6713)
To avoid some locks.
Fix https://github.com/FreshRSS/FreshRSS/issues/6686
Might be some regressions since https://github.com/FreshRSS/FreshRSS/pull/6632
2024-08-15 21:39:33 +02:00
Alexandre Alapetite
692e30465d Update about running tests (#6709) 2024-08-14 21:54:34 +02:00
Alexandre Alapetite
396d5cc7ca Changelog 2024-08-14 21:21:22 +02:00
нездалисько
b4ceabc248 add OIDCSessionMaxDuration and OIDCSessionInactivityTimeout (#6642)
* add OIDCSessionMaxDuration and OIDCSessionInactivityTimeout

* entrypoint.sh OIDCSessionMaxDuration and Session fix

* fix: entrypoint.sh OIDCSessionMaxDuration and OIDCSessionInactivityTimeout and Alpine support

* Use Apache config file instead

* Spelling

* fixed after restarting the double OIDC lines

* Refactor

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-08-14 08:55:29 +02:00
Alexandre Alapetite
51f93e56f7 SQL single quote string literals, one more (#6702)
Forgotten from https://github.com/FreshRSS/FreshRSS/pull/6701
https://github.com/FreshRSS/FreshRSS/issues/6602
2024-08-11 22:09:14 +02:00