summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2018-07-18autoloader: check if class name is namespaced before trying to split itAndrew Dolgov
2018-06-20remove SWF enclosure audio playerAndrew Dolgov
2018-06-20move JShrink Minifier to vendor/Andrew Dolgov
2018-06-20update autoloader to consider namespaces for third party libraries: placed ↵Andrew Dolgov
and loaded from vendor/namespace/classpath.php update readability to a newer implementation based on Readability.js (https://github.com/andreskrey/readability.php) add vendor/Psr/Log interface required for the above
2018-06-18feedbrowser: fix incorrect usage of LIMIT in prepared statementAndrew Dolgov
2018-06-08Don't bail out if git gc removed refsTobias Bell
2018-05-25fetch_file_contents: allow setting http Accept headerAndrew Dolgov
2018-05-23increase buffersize to 16384 bytesAndrew Dolgov
(also some trailing whitespace got clipped)
2018-05-23increased CURLOPT_BUFFERSIZE from 128 to 256Alexander Yaburov
2018-05-20implement hard limits on downloaded data size for general fetching and cache ↵Andrew Dolgov
plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE
2018-04-14change filter rule regexp type to textfoobar
2018-02-27Allow abbr tag when sanitizing.JustAMacUser
2018-02-25fix previous wrt if-modified-since being added to context options headersAndrew Dolgov
2018-02-25Обновить 'include/functions.php'Metallizzer
The "Connection: close" header is added to the context_options
2018-02-12Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2018-02-11sanitize: disallow width and height attributes for imagesAndrew Dolgov
2018-02-11Merge branch 'save-effective-url' of JustAMacUser/tt-rss into masterfox
2018-02-11Have fetch_file_contents() save the effective URL.JustAMacUser
2018-02-11tag_is_valid: simplify codeAndrew Dolgov
2018-01-30include: convert some spaces to tabsAndrew Dolgov
2018-01-18undocumenting the proxy settings [see #36]martin scharm
in response to https://git.tt-rss.org/git/tt-rss/pulls/36#issuecomment-119
2018-01-17some proxies require `request_fulluri` set to true [see #36]martin scharm
at least polipo won't work for plain HTTP URLs (HTTPS strangely also works without `request_fulluri`..?) see https://git.tt-rss.org/git/tt-rss/pulls/36
2018-01-14Add proper support for proxiesmartin scharm
There are situations where you want tt-rss to use a proxy (e.g. because of network restrictions, or privacy concerns). tt-rss already comes with an undocumented `_CURL_HTTP_PROXY` variable (see eg https://binfalse.de/2015/05/06/ttrss-with-proxy/), however that won't have an effect when, for example, php-curl is not installed, see https://git.tt-rss.org/git/tt-rss/src/c30f5e18119d1935e8fe6d422053b127e8f4f1b3/include/functions.php#L377 In this case it would use the `file_get_contents` with a stream context without a proxy definition: https://git.tt-rss.org/git/tt-rss/src/c30f5e18119d1935e8fe6d422053b127e8f4f1b3/include/functions.php#L487 Here I propose to properly support proxies, and I introduced a `PROXY` variable, that is respected in both scenarios, with and without curl installed.
2017-12-30search_to_sql: quote fallback search languageAndrew Dolgov
2017-12-30Add missing quotes to array_map.JustAMacUser
2017-12-17force-cast some variables used in queries to integerAndrew Dolgov
do not display SQL query in headlines debug mode
2017-12-13sanitize: disable referrer via referrerpolicy for img elementsAndrew Dolgov
2017-12-10merge login form css into default.cssAndrew Dolgov
update more hardcoded colors to use @color-accent update @color-accent
2017-12-10installer: use PDO, improve wording for some noticesAndrew Dolgov
PDO wrapper: allow working with blank DB_HOST
2017-12-06bool_to_sql_bool: for some reason PDO really likes integers for boolean columnsAndrew Dolgov
incidentally this fixes OPML filter import
2017-12-05remove mentions of deprecated.jsAndrew Dolgov
2017-12-03force strip_tags() on all user input unless explicitly allowedAndrew Dolgov
2017-12-03queryfeedheadlines: there's no need to quote order_by/override_orderAndrew Dolgov
else: feedicon cache busting etc
2017-12-03add defaultPasswordWarning nag dialogAndrew Dolgov
2017-12-03get_theme_path: fallback to css/default.css if default theme is selectedAndrew Dolgov
2017-12-03pref-users: fix sorting the tableAndrew Dolgov
2017-12-03sanity_check: do not invoke PDO without checking that it existsAndrew Dolgov
2017-12-03add sanity check for PDOAndrew Dolgov
2017-12-03update version static for css & db changesAndrew Dolgov
2017-12-03further stylesheet simplification related fixesAndrew Dolgov
2017-12-03filters: remove sql_bool_to_bool()Andrew Dolgov
checkbox_to_sql_bool: return ints (???)
2017-12-03get_feed_access_key: param type bullshitAndrew Dolgov
2017-12-03login: fix profile dropdown popping out in a weird placeAndrew Dolgov
2017-12-03auth_internal: use PDO + other fixesAndrew Dolgov
2017-12-02Merge branch 'master' of git.fakecake.org:tt-rss into pdo-experimentalAndrew Dolgov
2017-12-02search_to_sql: leftover tsquery query fix for pgsqlAndrew Dolgov
2017-12-02search_to_sql: quoting fixAndrew Dolgov
2017-12-02sql_bool_to_bool: backwards compat fixAndrew Dolgov
2017-12-02fix label cache being double escaped on saveAndrew Dolgov
remove some old-style escaping
2017-12-02more boolean fixesAndrew Dolgov