Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-17 | some 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-14 | Add proper support for proxies | martin 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-30 | search_to_sql: quote fallback search language | Andrew Dolgov | |
2017-12-30 | Add missing quotes to array_map. | JustAMacUser | |
2017-12-17 | force-cast some variables used in queries to integer | Andrew Dolgov | |
do not display SQL query in headlines debug mode | |||
2017-12-13 | sanitize: disable referrer via referrerpolicy for img elements | Andrew Dolgov | |
2017-12-06 | bool_to_sql_bool: for some reason PDO really likes integers for boolean columns | Andrew Dolgov | |
incidentally this fixes OPML filter import | |||
2017-12-05 | remove mentions of deprecated.js | Andrew Dolgov | |
2017-12-03 | force strip_tags() on all user input unless explicitly allowed | Andrew Dolgov | |
2017-12-03 | queryfeedheadlines: there's no need to quote order_by/override_order | Andrew Dolgov | |
else: feedicon cache busting etc | |||
2017-12-03 | add defaultPasswordWarning nag dialog | Andrew Dolgov | |
2017-12-03 | get_theme_path: fallback to css/default.css if default theme is selected | Andrew Dolgov | |
2017-12-03 | pref-users: fix sorting the table | Andrew Dolgov | |
2017-12-03 | filters: remove sql_bool_to_bool() | Andrew Dolgov | |
checkbox_to_sql_bool: return ints (???) | |||
2017-12-03 | get_feed_access_key: param type bullshit | Andrew Dolgov | |
2017-12-03 | auth_internal: use PDO + other fixes | Andrew Dolgov | |
2017-12-02 | Merge branch 'master' of git.fakecake.org:tt-rss into pdo-experimental | Andrew Dolgov | |
2017-12-02 | search_to_sql: leftover tsquery query fix for pgsql | Andrew Dolgov | |
2017-12-02 | search_to_sql: quoting fix | Andrew Dolgov | |
2017-12-02 | sql_bool_to_bool: backwards compat fix | Andrew Dolgov | |
2017-12-02 | fix label cache being double escaped on save | Andrew Dolgov | |
remove some old-style escaping | |||
2017-12-02 | more boolean fixes | Andrew Dolgov | |
2017-12-02 | checkbox to sql bool related changes, some more boolean fixes | Andrew Dolgov | |
2017-12-02 | boolean handling changes which probably won't break everything | Andrew Dolgov | |
2017-12-02 | OPML: use PDO; minor fixes | Andrew Dolgov | |
2017-12-01 | rpc: switch to PDO | Andrew Dolgov | |
2017-12-01 | fix add_feed_category | Andrew Dolgov | |
2017-12-01 | ccache, misc: fixes | Andrew Dolgov | |
feeds: start PDO transition | |||
2017-12-01 | public: partial conversion to PDO, misc fixes | Andrew Dolgov | |
2017-12-01 | some minor PDO-related fixes | Andrew Dolgov | |
2017-12-01 | auth/base: PDO | Andrew Dolgov | |
functions: fix small pdo-related bug | |||
2017-12-01 | pdo pdo pdo | Andrew Dolgov | |
2017-12-01 | sessions: PDO | Andrew Dolgov | |
2017-12-01 | more pdo stuff | Andrew Dolgov | |
2017-12-01 | add qmarks function | Andrew Dolgov | |
2017-12-01 | more pdo stuff i guess | Andrew Dolgov | |
2017-12-01 | increase default of MAX_CONDITIONAL_INTERVAL to 12 hours | Andrew Dolgov | |
2017-12-01 | some more pdo stuff | Andrew Dolgov | |
2017-12-01 | Merge branch 'pdo-experimental' of git.fakecake.org:tt-rss into pdo-experimental | Andrew Dolgov | |
2017-11-30 | enforce unconditional requests every 6 hours even if server claims data is ↵ | Andrew Dolgov | |
not modified | |||
2017-11-30 | add ttrss_feeds.last_unconditional (schema bump) | Andrew Dolgov | |
2017-11-30 | add some WIP pdo stuff | Andrew Dolgov | |
2017-11-27 | add a sanity check for tt-rss myisam tables | Andrew Dolgov | |
2017-11-03 | Allow <hr> tag in the RSS item' description | woxcab | |
2017-10-30 | fetch_file_contents: improve error handling | Andrew 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-08 | remove apache-specific x-sendfile stuff | Andrew 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-01 | get_favicon_url: only check base elements with href attribute | wn_ | |
2017-10-01 | Handle 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-17 | add support for http 304 not modified (no timestamp calculation bullshit ↵ | Andrew Dolgov | |
like last time) | |||
2017-07-30 | do not base headlines label context submenu on feed tree labels category | Andrew Dolgov | |