summaryrefslogtreecommitdiff
path: root/include
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-29add sanity check for mime_content_type()Andrew Dolgov
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-01get_favicon_url: only check base elements with href attributewn_
2017-10-01Handle potentially-relative base element when getting favicon.wn_
The base element's "href" attribute is not required to be absolute, so rewrite relative to the site URL if it is relative. See: * https://www.w3.org/TR/html51/document-metadata.html#the-base-element * https://html.spec.whatwg.org/multipage/semantics.html#the-base-element
2017-08-17add support for http 304 not modified (no timestamp calculation bullshit ↵Andrew Dolgov
like last time)
2017-07-30do not base headlines label context submenu on feed tree labels categoryAndrew Dolgov
2017-07-17sessions: use is_server_https() for secure cookie settingAndrew Dolgov
2017-07-17$_SERVER['HTTPS'] can be exists and 'off' for non-https connectiosNatan Frei
2017-07-13rework previous 32 bit session stuffAndrew Dolgov
2017-07-13Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2017-07-13sessions: clip max expiry value to a 32bit integerAndrew Dolgov
2017-07-10hopefully unify handling of server HTTPS variables where needed, use scheme ↵Andrew Dolgov
based on SELF_URL_PATH otherwise
2017-07-10sanity: check X-Forwarded-Proto for self_urlCédric Barboiron
2017-07-06replace some usages of SELF_URL_PATH with get_self_url_prefix()Andrew Dolgov
2017-07-06self url path checking: accept value without an ending slashAndrew Dolgov
2017-07-05sanity: it's probably a good idea to check whether we're running under httpd ↵Andrew Dolgov
before enforcing SELF_URL_PATH checks
2017-07-05previous: spaces -> tabsAndrew Dolgov
2017-07-05sanity: check whether SELF_URL_PATH conforms to data returned by httpdAndrew Dolgov
2017-07-02controls: disable print_feed_select (unused)Andrew Dolgov
2017-07-02schema: updates for new filter format (bump version to 131)Andrew 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-02filters: support matching on multiple feeds/categoriesAndrew Dolgov
opml: update filter export/import for new format
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-27Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.wn_
http://php.net/manual/en/function.autoload.php http://php.net/spl_autoload_register https://wiki.php.net/rfc/deprecations_php_7_2
2017-05-16remove pubsubhubbub: deadAndrew 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-05add sanity check for SELF_URL_PATH going to http url if server is accessed ↵Andrew Dolgov
over https
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-04abs_to_rel_path: removedAndrew Dolgov
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
2017-05-04move opml-specific get_feed_category to opml.phpAndrew Dolgov
2017-05-04move some common control-generating functions to controls.phpAndrew Dolgov
2017-04-27update_rss_feed: minor code cleanupAndrew Dolgov
2017-04-26remove some redundant php closing tagsAndrew Dolgov
2017-04-26fix various issues reported by static analysisAndrew Dolgov
update gitlab-ci config
2017-04-23bump version_static to 17.4Andrew Dolgov
2017-03-31filter by search results while marking feed as readAndrew Dolgov