summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-07Merge pull request 'Replace special feed and category numbers with ↵fox
constants.' (#104) from wn/tt-rss:feature/special-feed-and-cat-consts into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/104
2023-03-07Change 'FEED_NOTHING' to 'FEED_DASHBOARD'.wn_
2023-03-07Merge pull request 'Bump PHPStan to 1.10.3, address some new warnings' ↵fox
(#103) from wn/tt-rss:feature/bump-phpstan into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/103
2023-03-05Also use friendly names for special feed+cat IDs in the frontend.wn_
2023-03-05Replace special feed and category numbers with constants.wn_
2023-03-05Revert 7ed4fa4c1dbdd9df552cf6dd28907c6769911a0e and use @var instead.wn_
PHPStan had trouble recognizing that ['items'] might have elements added.
2023-03-05Remove unused 'Prefs::_delete()'.wn_
Related to dabb85c7dd82d2e97e400e0339d312030d4a1b4b.
2023-03-05Address PHPStan warning about unused private method 'Prefs::_delete()'.wn_
2023-03-05Tweak to appease PHPStan in 'Pref_Feeds::_makefeedtree()'.wn_
PHPStan flagged the 'count()' below this with: Comparison operation '>' between 0 and 0 is always false.
2023-03-05Address PHPStan 'right side always true' in 'PluginHost::lookup_command()'.wn_
Since 'PluginHost::add_command()' is currently the only way to add to this private array, and it always sets an array, this is reasonably safe.
2023-03-05Address PHPStan 'right side always true' in FeedItem_RSS.wn_
2023-03-05Bump PHPStan from 1.8.2 to 1.10.3wn_
* https://phpstan.org/blog/phpstan-1-9-0-with-phpdoc-asserts-list-type * https://phpstan.org/blog/phpstan-1-10-comes-with-lie-detector
2023-03-05API:Andrew Dolgov
- sharedToPublished: add optional sanitize parameter (defaults to true) if disabled, allows inserting HTML into shared article content; - clean() already invokes strip_tags() so it's pointless to do both;
2023-03-01tags display: instead of limiting to 5 tags, limit by container width %Andrew Dolgov
2023-02-25Merge branch 'master' of git.tt-rss.org:tt-rss/tt-rssAndrew Dolgov
2023-02-25require PHP to have support for flock()Andrew Dolgov
2023-02-24Merge pull request 'add override links to utility views' (#102) from ↵fox
levito/tt-rss:add-override-links-to-util-views into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/102
2023-02-24add override links to utility viewsVeit Lehmann
This enables `local-overrides.css` and `local-overrides.js` for all utility views, for example to add polyfills, enable responsive styling or to adjust styles globally.
2023-02-23API: add getFeedIcon endpoint, bump versionAndrew Dolgov
2023-02-19Merge pull request 'Handle fetch issues in 'RSSUtils::update_basic_info'.' ↵fox
(#101) from wn/tt-rss:bugfix/handle-failed-basic-info-fetch into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/101
2023-02-17Handle fetch issues in 'RSSUtils::update_basic_info'.wn_
2023-02-13Merge pull request 'Fix calculating average color for *.ico' (#100) from ↵fox
yan12125/tt-rss:fix-ico-avg-color into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/100
2023-02-10Fix calculating average color for *.icoChih-Hsuan Yen
Currently colorPalette() always fails for *.ico due to a logic error. It's a regression from 8f749fe61b038833069c4e2d0dec4749643b4371.
2023-02-04Merge pull request 'Attempt calculating custom favicon avg color, only try ↵fox
calculating once' (#99) from wn/tt-rss:feature/custom-favicon-detect-color into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/99
2023-02-03Minor tweak to favicon avg color debug log message.wn_
2023-02-03Don't set 'favicon_avg_color' on feed obj unless it's valid.wn_
2023-02-03Fix logging favicon-related bools in 'RSSUtils::update_rss_feed()'.wn_
2023-02-03Persist failure to detect favicon average color.wn_
Previously, an empty string returned by '\Colors\calculate_avg_color()' would be set as the 'favicon_avg_color' value, resulting in always reattempting average color calculation.
2023-02-03Ensure custom favicon color detection happens.wn_
2022-12-30deal with type errors in batch feed editor properly, un-deprecate PDO ↵Andrew Dolgov
wrapper functions and document them for posterity
2022-12-30batch feed editor: silence some more php8.1 undefined field warningsAndrew Dolgov
2022-12-30batch feed editor:Andrew Dolgov
- fix some field changes not applying because of DB type errors - rework to use bound vars instead of sql query concatenation deprecate: checkbox_to_sql_bool(), bool_to_sql_bool()
2022-12-30CI: use local registry php imageAndrew Dolgov
2022-12-30show full commit timestamp with version information in prefs footerAndrew Dolgov
2022-12-28Merge branch 'weblate-integration'Andrew Dolgov
2022-12-28Translated using Weblate (German)Eike
Currently translated at 99.2% (696 of 701 strings) Translation: Tiny Tiny RSS/messages Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/de/
2022-12-25Merge pull request 'Fix getting active feeds with errors.' (#97) from ↵fox
wn/tt-rss:bugfix/feeds-with-errors-default-interval into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/97
2022-12-24Fix getting active feeds with errors.wn_
fb4bc2615e3910e8a7d15c6306e10247f7f80f4b incorrectly excluded feeds using the default update interval. This change ignores the unlikely scenario where someone has the default update interval set to 'disabled'.
2022-12-22Merge pull request 'Only count updating (i.e. enabled) feeds when ↵fox
determining active feeds with errors.' (#96) from wn/tt-rss:feature/only-warn-for-updating-feeds into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/96
2022-12-21Only count updating (i.e. enabled) feeds when determining active feeds with ↵wn_
errors. This excludes feeds that had errors and currently have updating disabled (e.g. disabled due to the site being down for a while, getting compromised, etc.). Disabled / non-updating feeds' error states are still visible when viewed in the feed tree.
2022-12-20Merge pull request 'Only touch on send for expirable cache files.' (#95) ↵fox
from wn/tt-rss:bugfix/local-cache-feed-icons-ts into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/95
2022-12-20Only touch on send for expirable cache files.wn_
With d373b7b452c6d64b47180940ed88c99c21bd9bc3 feed icon modification times get used for cache-busting, but 'Cache_Local' updates that value on each send. This change makes it so the modification time only gets updated on files in expirable caches, keeping the value consistent between sends for files in non-expiring caches. Also, marking 'Cache_Local::send_local_file()' private since it's unique to that adapter.
2022-12-19make phpstan happyAndrew Dolgov
2022-12-19 * bring back cache-busting for feed icons based on timestampAndrew Dolgov
* DiskCache: use singleton pattern to create less cache object instances * DiskCache: implement ETag
2022-12-19limit tree expando white color to prefsAndrew Dolgov
2022-12-13move af_readability out of master treeAndrew Dolgov
2022-12-13Merge pull request 'Bump af_readability 'html5-php' dependency to latest.' ↵fox
(#94) from wn/tt-rss:feature/bump-af_readability-masterminds-html5 into master Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/94
2022-12-12Add af_readability 'html5-php' Jenkinsfile.wn_
Got missed when updating that dependency.
2022-12-12Bump af_readability 'html5-php' dependency to latest.wn_
This is to add a couple more 'ReturnTypeWillChange' ( https://dev.tt-rss.org/main/html5-php/pulls/1 ). Composer 2.4.4 (latest release) also updated some of its files.
2022-12-11phpstan: exclude tests in lib/Andrew Dolgov