summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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
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-01controls: PDOAndrew Dolgov
2017-12-01controls: start pdo stuffAndrew Dolgov
2017-12-01feedbrowser: PDOAndrew Dolgov