summaryrefslogtreecommitdiff
path: root/include/functions.php
AgeCommit message (Collapse)Author
2017-12-02fix label cache being double escaped on saveAndrew Dolgov
remove some old-style escaping
2017-12-02more boolean fixesAndrew Dolgov
2017-12-02checkbox to sql bool related changes, some more boolean fixesAndrew Dolgov
2017-12-02boolean handling changes which probably won't break everythingAndrew Dolgov
2017-12-02OPML: use PDO; minor fixesAndrew Dolgov
2017-12-01rpc: switch to PDOAndrew Dolgov
2017-12-01fix add_feed_categoryAndrew Dolgov
2017-12-01ccache, misc: fixesAndrew Dolgov
feeds: start PDO transition
2017-12-01public: partial conversion to PDO, misc fixesAndrew Dolgov
2017-12-01some minor PDO-related fixesAndrew Dolgov
2017-12-01auth/base: PDOAndrew Dolgov
functions: fix small pdo-related bug
2017-12-01pdo pdo pdoAndrew Dolgov
2017-12-01sessions: PDOAndrew Dolgov
2017-12-01more pdo stuffAndrew Dolgov
2017-12-01add qmarks functionAndrew Dolgov
2017-12-01more pdo stuff i guessAndrew Dolgov
2017-12-01some more pdo stuffAndrew Dolgov
2017-12-01Merge branch 'pdo-experimental' of git.fakecake.org:tt-rss into pdo-experimentalAndrew Dolgov
2017-11-30enforce unconditional requests every 6 hours even if server claims data is ↵Andrew Dolgov
not modified
2017-11-30add ttrss_feeds.last_unconditional (schema bump)Andrew Dolgov
2017-11-30add some WIP pdo stuffAndrew Dolgov
2017-11-27add a sanity check for tt-rss myisam tablesAndrew Dolgov
2017-11-03Allow <hr> tag in the RSS item' descriptionwoxcab
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-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-17$_SERVER['HTTPS'] can be exists and 'off' for non-https connectiosNatan Frei
2017-07-10hopefully unify handling of server HTTPS variables where needed, use scheme ↵Andrew Dolgov
based on SELF_URL_PATH otherwise
2017-07-06replace some usages of SELF_URL_PATH with get_self_url_prefix()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-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-05move counter stuff to a separate classAndrew Dolgov
2017-05-04move label stuff to Labels classAndrew Dolgov
fix some unresolved functions
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 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 some common control-generating functions to controls.phpAndrew Dolgov
2017-04-26fix various issues reported by static analysisAndrew Dolgov
update gitlab-ci config