summaryrefslogtreecommitdiff
path: root/include/functions.php
AgeCommit message (Collapse)Author
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
2017-03-31filter by search results while marking feed as readAndrew Dolgov
2017-03-04simplify error handlingAndrew Dolgov
* less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations
2017-02-10add some print_checkbox/print_button calls; rename some plugin preference ↵Andrew Dolgov
pane titles
2017-02-10af_zz_imgproxy: add optional setting to proxy all remote imagesAndrew Dolgov
functions: add some form helper methods
2017-01-28subscribe dialog: do not report errors via alert()Andrew Dolgov
fetch_file_contents: reset all globals on start, return error message body when not using curl subscribe_to_feed: report if cloudflare is in the error message
2017-01-24fetch_file_contents: rework the way shim works to prevent intermittent warningsAndrew Dolgov
2017-01-22feed tree: only run animation for appearing unread counters to prevent ↵Andrew Dolgov
clashes with aux counter updating and animations ending up in wrong state
2017-01-22Added support to fetch_file_contents() to explicitly set CURLOPT_FOLLOWLOCATION.JustAMacUser
2017-01-21lib: Upgrade php-publisher from ??? to a5d6a0e (2016-11-15)Anders Kaseorg
https://github.com/pubsubhubbub/php-publisher Signed-off-by: Anders Kaseorg <[email protected]>
2017-01-07deprecate encrypted feed passwords because mcrypt is getting removed from ↵Andrew Dolgov
php 7.1 1. transparent decryption for existing installs stays for the time being 2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined 3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords 4. updated install to not auto-generate crypt key 5. added warning to config.php-dist
2016-10-24fetch_file_contents: set timeout when not using CURLAndrew Dolgov
2016-08-28Specify feed_id as an int rather than a string.John Brayton
2016-08-27Add feed_id to subscribeToFeed response when the code is 1 or 0.John Brayton
Set the API_LEVEL to 14.
2016-08-11perform housekeeping tasks for plugins loaded in user-context onlyAndrew Dolgov
2016-07-07test if mb_internal_encoding() is available in functions.php headAndrew Dolgov
2016-03-31fetch_file_contents: fix shim when invoked with 1 argument onlyAndrew Dolgov
2016-03-30remove fetch_file_contents2, use a compat shim insteadAndrew Dolgov
2016-03-30add a hash-based fetch_file_contents2()Andrew Dolgov
2016-02-17error handler: do not log last query, truncate error message to a smaller lengthAndrew Dolgov
2016-01-13updates: auto-disable CURL if open_basedir is enabled, notify possible ↵Andrew Dolgov
issues w/ plugins
2015-12-07catchup_feed: proper fix for mysql 5.7Andrew Dolgov
2015-12-03catchup maybe add workaround for mysql 5.7 derived_mergeAndrew Dolgov
2015-11-19drop support for (obsolete, removed from recent php versions) php safe_mode ↵Andrew Dolgov
setting remove ugly hacks for curl + open_basedir combination breaking support for http redirects
2015-11-18fix ttrss_feeds.last_update defaulting to 0 on mysql, set to null insteadAndrew Dolgov
bump schema
2015-11-02getLabelCounters: stricter ownership checkAndrew Dolgov
2015-08-17curl: let's verify ssl peersAndrew Dolgov
2015-08-12fetch_file_contents: use http/1.1 when not using curlAndrew Dolgov
2015-08-11add plugin-based filter actions (see example plugin in attic)Andrew Dolgov
bump schema
2015-08-06purge_feed: remove obsolete postgresql queriesAndrew Dolgov
2015-08-04bump schemaAndrew Dolgov
2015-08-03add one catchall function to make uniqids/keyhashes/etc used by tt-rssAndrew Dolgov
2015-07-18smart_date_time: better eta_min handlingAndrew Dolgov