summaryrefslogtreecommitdiff
path: root/classes/feeds.php
AgeCommit message (Collapse)Author
2022-03-09various fixes vor php 8.1 compatibilityDavid Edler
Cherry-picked from https://git-gitea.tt-rss.org/fox/tt-rss/pulls/56, while excluding changes in vendor/ (causes compatiblity issues with PHP<8 [1]) and strftime-related ones (already re-applied in https://git-gitea.tt-rss.org/fox/tt-rss/pulls/66). [1] https://community.tt-rss.org/t/support-for-php-8-1/5089/9
2022-02-20fix Feeds::_get_counters() used improperly as a replacement forAndrew Dolgov
getFeedUnread()
2022-02-20 * Feeds::_get_counters - fix retrieving unread for tagsAndrew Dolgov
* mark several symbols as @deprecated properly * replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2022-01-28Add workaround for boolean values being intergers with MySQL/PHP 8.1Schrottfresse
2022-01-06generate a warning if plugin-generated content of HOOK_ARTICLE_BUTTON or ↵Andrew Dolgov
_LEFT_BUTTON can't be parsed as valid XML
2021-12-23remove deprecated LOG_ constantsAndrew Dolgov
2021-12-14 * fox.form.Select: add several properties allowing it to betterAndrew Dolgov
imitate other controls like DropDownButton, etc. * rework several main toolbar items to use fox.form.Select instead of other controls * replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option instead of menuitem) * PluginHost: add some explicit typecasts to make intellephense shut up
2021-12-14Handle another potential 'SUM()' null situation in Feeds.wn_
2021-12-14Add a note on why ed74c43f18 was needed.wn_
2021-12-14Handle the admin user not having any entries in 'Feeds::_get_global_unread'.wn_
2021-12-01Revert "various fixes vor php 8.1 compatibility"Andrew Dolgov
This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09.
2021-11-30various fixes vor php 8.1 compatibilityDavid Edler
2021-11-29remove mixed type hints from function arguments because we still support PHP7Andrew Dolgov
2021-11-29 * fix showing headlines for tag-based virtual feedsAndrew Dolgov
* API: allow retrieving headlines for tag-based feeds (bump api level to 18)
2021-11-19feeds/add: force cast category id to integerAndrew Dolgov
2021-11-18Switch from null to false as the default for missing bool params.wn_
2021-11-18Consistently handle param string to bool conversions in handlers.wn_
2021-11-18_format_headlines_list: fix phpstan warning properlyAndrew Dolgov
2021-11-13Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might ↵wn_
be tag).
2021-11-13Fix type of 'check_first_id' in Feeds '_format_headlines_list'.wn_
2021-11-12Address PHPStan warnings in 'classes/feeds.php'.wn_
Also some minor related tweaks in other classes.
2021-11-12Update signature of handler 'csrf_ignore' to include types.wn_
2021-11-12Address PHPStan warnings in 'classes/article.php'.wn_
Also related changes in some other classes.
2021-11-11Address PHPStan warnings in 'classes/timehelper.php'.wn_
2021-11-11Address PHPStan warnings in 'classes/sanitizer.php'.wn_
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
2021-11-10add two helper account access levels:Andrew Dolgov
- read only - can't subscribe to more feeds, feed updates are skipped - disabled - can't login define used access levels as UserHelper constants and refactor code to use them instead of hardcoded numbers
2021-11-01Address PHPStan warning in 'classes/feeds.php'.wn_
------ ------------------------------------ Line classes/feeds.php ------ ------------------------------------ 8 Property Feeds::$params is unused. ------ ------------------------------------
2021-10-26HOOK_ARTICLE_BUTTON/HOOK_ARTICLE_LEFT_BUTTON: only try to parse markup if ↵Andrew Dolgov
its actually there
2021-10-24css: make plugin button container a flexboxAndrew Dolgov
backend: pass plugin button generated code through domdocument to ensure its correctness; set data-plugin-name attribute on children to make them sortable via css
2021-10-22pluginhost: update comments for HOOK_ constants to use phpdoc syntax; add ↵Andrew Dolgov
HOOK_PRE_SUBSCRIBE
2021-10-10feed tree context menu: add an entry to open originating websiteAndrew Dolgov
2021-09-08OPML: multiple fixesAndrew Dolgov
- remove unused integer indexes when exporting filters as JSON - fix warning when importing filters without rules - properly assign category IDs for category filter rules - fix warning: check if outline attributes like xmlUrl are set before trying to use them - fix warning: don't try to use libxml_disable_entity_loader on PHP 8
2021-05-07include archived articles (which lack associated feed id) when browsing by tagAndrew Dolgov
2021-03-27Adjust quotation marks in search query before 'str_getcsv'.wn_
This moves a potential first quotation mark to before the associated keyword to ensure 'str_getcsv' groups the key and value correctly. Without this 'str_getcsv' would split on potential spaces within the quoted value.
2021-03-07nsfw: support API clientsAndrew Dolgov
2021-03-06set some more type hintsAndrew Dolgov
2021-03-06general cleanup, set some type hintsAndrew Dolgov
2021-03-02use orm in some more places; prevent _get_cat_title from hitting the db for ↵Andrew Dolgov
uncategorized
2021-03-02feeds/_add_cat: use ORMAndrew Dolgov
2021-03-02use ORM when subscribing feedsAndrew Dolgov
2021-03-02revise behavior of Feeds::_cat_ofAndrew Dolgov
2021-03-02use orm for feed access keysAndrew Dolgov
2021-03-01don't try to pass string literal NOW() to ORM as a timestampAndrew Dolgov
2021-03-01revert back load_filters-related changesAndrew Dolgov
2021-03-01use orm for a bunch of short feed/cat queriesAndrew Dolgov
2021-03-01userhelper: use orm for a few more user-related thingsAndrew Dolgov
2021-02-28move all $fetch globals to UrlHelperAndrew Dolgov
2021-02-27feeds/add: hide php8 warningAndrew Dolgov
2021-02-27don't rely only on label_cache contents when displaying headline labelsAndrew Dolgov
2021-02-26when browsing by tags, return same set of columns as normallyAndrew Dolgov