summaryrefslogtreecommitdiff
path: root/classes/feeds.php
AgeCommit message (Collapse)Author
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
2021-02-26_get_headlines: don't try to use _SESSION uidAndrew Dolgov
2021-02-26feeds/view: silence view_mode warningAndrew Dolgov
2021-02-26add an option to disable DISTINCT on headlines query (unless it's Labels ↵Andrew Dolgov
category)
2021-02-26pass translations to frontend as a json objectAndrew Dolgov
2021-02-25cache schema version betterAndrew Dolgov
2021-02-25reduce overall amount of unnecessary database queriesAndrew Dolgov
2021-02-25use constants in get_pref()/set_pref()Andrew Dolgov
2021-02-25pref-prefs: use constants instead of hardcoded stringsAndrew Dolgov
2021-02-24request label counters conditionallyAndrew Dolgov
2021-02-24cats_of: enforce owner_uidAndrew Dolgov
2021-02-24no special counter handling for catchupAllAndrew Dolgov
2021-02-24_cats_of: only request parents if neededAndrew Dolgov
2021-02-24try to calculate counters conditionally based on feed idsAndrew Dolgov
2021-02-23drop errors.php and simplify error handlingAndrew Dolgov
2021-02-22migrate the rest into Config::Andrew Dolgov
2021-02-22wip: initial for config objectAndrew Dolgov
2021-02-22fix several issues reported by phpstanAndrew Dolgov
2021-02-20bookmarklets: cleanup some more markupAndrew Dolgov