summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2017-10-30fetch_file_contents: improve error handlingAndrew Dolgov
1. if request fails get error string from http response status line 2. do not override http error with possible CURL/php specific last error 3. fix silent php error generated while processing response headers to get last modified value
2017-10-15api, setArticleLabel: allow JSON booleansAndrew Dolgov
2017-10-13Merge branch 'sort_title_date' of ggrandou/tt-rss into masterfox
2017-10-09allows favicons to be in Windows PC BMP formatGilles Grandou
2017-10-09makes 'order by title' to sort by title and by ascending dateGilles Grandou
* this allows to chronologically browse all articles with the same title.
2017-10-08remove apache-specific x-sendfile stuffAndrew Dolgov
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files via httpd-specific implementation to increase performance typically on larger files
2017-10-06Merge branch 'checkbox-feed' of dxbi/tt-rss into masterfox
2017-10-06Add checkbox for authentication in edit feed dialogFelix Eckhofer
This makes the UI more consistent with the "add feed" dialog and prevents overzealous password-managers from leaking the login password.
2017-10-06fix batch feed editor using wrong SQL syntax when saving feed passwordAndrew Dolgov
remove uses of auth_pass_encrypted in several other places
2017-09-26Only require an array of basic info from 'HOOK_FEED_BASIC_INFO'.wn_
Removes the need for the plugin to provide feed content. Gives plugins a chance to provide 'title' and 'site_url' basic info. Falls back to attempting retrieval+parsing of the fetch URL if needed.
2017-09-24Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.wn_
It's expected the plugin will return content parsable by FeedParser, which will act as an interface to the basic feed info. In the case of a plugin that also uses 'HOOK_FETCH_FEED', both might return the same content. The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
2017-09-09Use 'saveHTML' when generating HTML from a DOMDocument.wn_
This primarily occurs when modifying article content. If 'saveXML' is used following 'loadHTML' there is the possibility of strangeness, such as a self-closing anchor tag. Note that the DOMDocument used in 'classes/feeditem/atom.php' came from 'loadXML', but we use 'saveHTML' since we're returning HTML content.
2017-08-17add support for http 304 not modified (no timestamp calculation bullshit ↵Andrew Dolgov
like last time)
2017-08-14filters/edit: properly parse feed-specific legacy format filter rulesAndrew Dolgov
2017-08-09use mysqli_set_charset() to set MYSQL_CHARSETAndrew Dolgov
2017-08-06rssutils: include comment count when calculating article hashAndrew Dolgov
2017-07-30get_all_labels: order by captionAndrew Dolgov
2017-07-30do not base headlines label context submenu on feed tree labels categoryAndrew Dolgov
2017-07-09filters dialog: do not break markup on long feed namesAndrew Dolgov
2017-07-06replace some usages of SELF_URL_PATH with get_self_url_prefix()Andrew Dolgov
2017-07-04remove obsolete forum plugin linksAndrew Dolgov
mention how to enable system plugins in the UI
2017-07-02filters: when adding rule select all feeds by defaultAndrew Dolgov
2017-07-02dbupdater: fail if version file missingAndrew Dolgov
2017-07-02Revert "Revert "filters: support matching on multiple feeds/categories""Andrew Dolgov
This reverts commit f5d174bda96ddc41aa3828bf372a2a3d99cc4460.
2017-07-02Revert "filters: support matching on multiple feeds/categories"Andrew Dolgov
This reverts commit 0bf7e007bb3a7039ea11601c7f93c6da33604228.
2017-07-02Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2017-07-02filters: support matching on multiple feeds/categoriesAndrew Dolgov
opml: update filter export/import for new format
2017-06-26pref/feeds: start user category ordering from 1Andrew Dolgov
api, getFeeds: send subcategory order_id
2017-06-24db prefs: ignore cache when preference requested for specified UID (in case ↵Andrew Dolgov
cached value of a different profile is stored) prefs: show (and set) enabled plugins for default profile only
2017-06-13update_daemon_common: do not escape feed_url twice, remove some comments and ↵Andrew Dolgov
stuff
2017-05-29tunables:Andrew Dolgov
* add CACHE_MAX_DAYS as a tunable generic expiry interval for various cached files * add some comments to tunables in functions.php * rename _MIN_CACHE_FILE_SIZE to MIN_CACHE_FILE_SIZE * respect MIN_CACHE_FILE_SIZE setting in a few more places where content is cached
2017-05-26add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDMAndrew Dolgov
Feeds::format_headlines_list: add some comments for cdm article closing tags
2017-05-23classes/Plugin: remove dbh & host fields; set init() and about() as abstract ↵Andrew Dolgov
methods.
2017-05-16remove pubsubhubbub: deadAndrew Dolgov
2017-05-11share function: remove tt-rss prefix from page titleAndrew Dolgov
2017-05-11move add_feed_url() to pref_feedsAndrew Dolgov
2017-05-06fix DAEMON_SLEEP_INTERVAL not being defined when usedAndrew Dolgov
enforce minimum 60 sec spawn/sleep interval in update processes
2017-05-05wrap rssfuncs into rssutils classAndrew Dolgov
2017-05-05move counter stuff to a separate classAndrew Dolgov
2017-05-05feeditem_common: add get_element()Andrew Dolgov
2017-05-04move label stuff to Labels classAndrew Dolgov
fix some unresolved functions
2017-05-04move digest stuff to Digest classAndrew Dolgov
2017-05-04move some label stuff to labels.phpAndrew Dolgov
move getfeedcategory() to Feeds
2017-05-04move get_article_labels to ArticleAndrew Dolgov
2017-05-04move counter cache to a separate classAndrew Dolgov
fix references to get_article_tags
2017-05-04move a bunch of functions into Feeds/Article namespacesAndrew Dolgov
+ static function catchupArticlesById($ids, $cmode, $owner_uid = false) { + static function getLastArticleId() { + static function queryFeedHeadlines($params) { + static function getParentCategories($cat, $owner_uid) { + static function getChildCategories($cat, $owner_uid) { move the rest of functions2.php back to functions.php as it is of more manageable size, remove the former
2017-05-04move to Article:Andrew Dolgov
+ static function purge_orphans($do_output = false) { move to Feeds + static function getGlobalUnread($user_id = false) { + static function getCategoryTitle($cat_id) { + static function getLabelUnread($label_id, $owner_uid = false) {
2017-05-04move the following to Feeds:Andrew Dolgov
+ static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) { + static function getFeedArticles($feed, $is_cat = false, $unread_only = false, + static function subscribe_to_feed($url, $cat_id = 0, + static function getFeedIcon($id) { + static function getFeedTitle($id, $cat = false) { + static function getCategoryUnread($cat, $owner_uid = false) { + static function getCategoryChildrenUnread($cat, $owner_uid = false) {
2017-05-04move the following to Article:Andrew Dolgov
+ static function format_article_enclosures($id, $always_display_enclosures, + static function format_article($id, $mark_as_read = true, $zoom_mode = false, $owner_uid = false) { + static function get_article_tags($id, $owner_uid = 0, $tag_cache = false) { + static function format_tags_string($tags) { + static function format_article_labels($labels) { + static function format_article_note($id, $note, $allow_edit = true) { + static function get_article_enclosures($id) {
2017-05-04move getArticleFeed to ArticleAndrew Dolgov
move print_label_select to controls