Commit Graph

12251 Commits

Author SHA1 Message Date
wn_
667528d5b9 Use PHP 8 'str_' functions.
A few more characters in some places, but helps with readability.
2024-11-24 13:59:29 +00:00
Andrew Dolgov
53fee911e6 Merge branch 'feature/php8-match' into 'master'
Use match expressions in some places.

See merge request tt-rss/tt-rss!82
2024-11-24 13:55:00 +00:00
wn_
9b0baf9b32 Use match expressions in some places. 2024-11-24 13:45:26 +00:00
Andrew Dolgov
43e8864ead allow nullable password in auto_create_user for backwards compatibility 2024-11-24 12:55:59 +03:00
Andrew Dolgov
b089d67e26 Merge branch 'getfiltertree-eldritch-horrors' into 'master'
getfiltertree: switch to ORM and simplify code

See merge request tt-rss/tt-rss!79
2024-11-24 06:37:31 +00:00
Andrew Dolgov
7892b41234 Merge branch 'feature/php8-union-types' into 'master'
Use native union types in most places.

See merge request tt-rss/tt-rss!80
2024-11-24 06:36:58 +00:00
Andrew Dolgov
aad69b7ca6 make filter search properly case-insensitive 2024-11-24 09:24:20 +03:00
wn_
abcd0e8ba2 Use native union types in most places. 2024-11-23 17:43:24 +00:00
Andrew Dolgov
1ce1aee40f simplify resulting tree root object 2024-11-23 18:15:18 +03:00
Andrew Dolgov
6bc9097b0f getfiltertree: switch to ORM and simplify code 2024-11-23 18:13:09 +03:00
Andrew Dolgov
d4636716fb collapse actions summary list in filter tree if 'toggle rule display' is disabled, remove label-specific icon display, simplify markup 2024-11-23 17:43:20 +03:00
Andrew Dolgov
81ccfed4b4 Merge branch 'filter-fixes' into 'master'
get filter action descriptions on pref_filters class init instead of doing it...

See merge request tt-rss/tt-rss!78
2024-11-23 14:10:56 +00:00
Andrew Dolgov
4dc0e8cd29 fix text-muted being set to default text foreground color in light mode, adjust styling of filter actions list 2024-11-23 17:08:33 +03:00
Andrew Dolgov
417065b8f5 show cumulative score adjustment (if any) and up to 3 actions total in filter tree 2024-11-23 16:54:22 +03:00
Andrew Dolgov
c2d0c5a5c9 update usage of deprecated function 2024-11-23 15:59:53 +03:00
Andrew Dolgov
648024eb2e bump minimum required php version to 8.0 & remove some deprecated code 2024-11-23 15:54:40 +03:00
Andrew Dolgov
7be6484fee use select_many() without _expr 2024-11-23 15:49:50 +03:00
Andrew Dolgov
1fc19d6e50 adjust indent 2024-11-23 11:54:44 +03:00
Andrew Dolgov
64d9a77fde switch filters _get_rules_list() to ORM 2024-11-23 11:54:24 +03:00
Andrew Dolgov
c23b76eb72 pass resulting action description through gettext 2024-11-23 11:21:18 +03:00
Andrew Dolgov
ce5a96cb30 set type hint for $action_descriptions 2024-11-23 11:14:39 +03:00
Andrew Dolgov
bbc28e626a fix _get_name failing on filters without any rules because of wrong type of JOIN 2024-11-23 11:11:19 +03:00
Andrew Dolgov
31ca090c63 get filter action descriptions on pref_filters class init instead of doing it all the time, use ORM in _get_action_name 2024-11-23 11:07:50 +03:00
Andrew Dolgov
f28df34fec fix action params not hiding in edit action dialog if param-less action was initially selected 2024-11-23 10:47:41 +03:00
Andrew Dolgov
987936f57a pref_filters - refactor _get_name to use ORM, show cumulative score in tree filter description 2024-11-23 10:26:12 +03:00
Andrew Dolgov
9c1fb45d73 Merge branch 'feature/php-qrcode-5.0.x' into 'master'
Bump 'chillerlan/php-qrcode' to 5.0.x.

See merge request tt-rss/tt-rss!77
2024-11-21 17:36:54 +00:00
wn_
64a36970d6 Bump 'chillerlan/php-qrcode' to 5.0.x.
* Maintains PHP `7.4` compatibility and adds PHP `8.4` compatibility
  * The `4.4.x` branch does the same, but I didn't see any reason not to go to `5.0.x`.
* https://github.com/chillerlan/php-qrcode/releases
2024-11-21 17:34:32 +00:00
Andrew Dolgov
1e14fc0fd9 Merge branch 'wn-master-patch-27216' into 'master'
Fix array key warning in 'Feeds::_get_headlines()'.

See merge request tt-rss/tt-rss!76
2024-11-20 01:50:14 +00:00
wn
486c92240a Fix array key warning in 'Feeds::_get_headlines()'. 2024-11-19 23:13:10 +00:00
Andrew Dolgov
4bdd926a1c Merge branch 'feature/replace-get_pref-and-set_pref' into 'master'
Eliminate use of deprecated 'get_pref()' and 'set_pref()'.

See merge request tt-rss/tt-rss!75
2024-11-19 16:46:48 +00:00
wn_
154abc61a0 Eliminate use of deprecated 'get_pref()' and 'set_pref()'. 2024-11-18 21:59:45 +00:00
Andrew Dolgov
394d606fe9 Merge branch 'feature/phpstan-2.0.x' into 'master'
PHPStan 2.0.x

See merge request tt-rss/tt-rss!74
2024-11-13 18:38:32 +00:00
wn_
859ce4d7f6 Deal with an error showing up in Gitlab PHPStan runs 2024-11-13 02:11:58 +00:00
wn_
2dda9f9ab5 Minor @var cleanup in Counters 2024-11-12 04:14:51 +00:00
wn_
76b9cd8274 Make the 'requireOnce.fileNotFound' PHPStan error ignore more specific. 2024-11-12 03:59:52 +00:00
wn_
5a200755b8 Move 'IVirtualFeed' checks into 'PluginHost::get_feed_handler()'. 2024-11-12 03:49:58 +00:00
wn_
dca2ae60a1 Remove some PHPStan ignores and make others rule-specific. 2024-11-12 03:38:45 +00:00
wn_
a784305cc7 Address PHPStan findings as of 2.0.1 2024-11-12 03:15:53 +00:00
wn_
e4c57769e0 Upgrade PHPStan to 2.0.1 2024-11-12 01:26:43 +00:00
Andrew Dolgov
6273e26ea4 Merge branch 'feature/search-improvements' into 'master'
Search improvements

See merge request tt-rss/tt-rss!72
2024-11-11 04:36:47 +00:00
Andrew Dolgov
42ebdb027e fix get_self_url() misbehaving in plugins/ 2024-11-04 13:59:02 +03:00
Andrew Dolgov
d8718b7574 Merge branch 'master' of gitlab.tt-rss.org:tt-rss/tt-rss 2024-11-01 11:02:09 +03:00
Andrew Dolgov
b12b2afcc1 Merge branch 'weblate-integration' into 'master'
Translated using Weblate (Arabic (Saudi Arabia))

See merge request tt-rss/tt-rss!73
2024-11-01 08:01:47 +00:00
Andrew Dolgov
eb841b761c af_comics - fix for Danby Draws and maybe other similar wodpress-based sites 2024-11-01 10:59:57 +03:00
Younes
710e42cfd8 Translated using Weblate (Arabic (Saudi Arabia))
Currently translated at 59.2% (411 of 694 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/ar_SA/
2024-10-24 14:15:51 +00:00
Andrew Dolgov
68da94cc36 move sql patch file stuff after all initialization tasks 2024-10-24 11:35:05 +03:00
Andrew Dolgov
dba6a39d2a drop RESTORE_SCHEMA, add simple mechanism to apply SQL patch files after migrations 2024-10-24 11:08:20 +03:00
Andrew Dolgov
9f0eb4d7fc support TTRSS_DB_PORT in container startup scripts 2024-10-21 08:59:55 +03:00
wn_
842e9af4cf Feeds::_search_to_sql(): updates for clarity and SQL quoting. 2024-10-20 17:57:32 +00:00
wn_
142ca20cb0 Fix keyword searches with a quoted string value.
Before this change curly braces wrapped the keyword and its value, making the pair get treated as leftover words.

Also make the search query modification and CSV parsing a bit clearer with some comments and minor refactoring.
2024-10-20 16:08:20 +00:00