Commit Graph

8975 Commits

Author SHA1 Message Date
Andrew Dolgov 481ab9acbf add some less files for base css 2017-11-29 17:00:29 +03:00
Andrew Dolgov 820873de9f update myisam fail warning 2017-11-27 20:20:33 +03:00
Andrew Dolgov 0b68b1629e add a sanity check for tt-rss myisam tables 2017-11-27 20:09:02 +03:00
dim0x69 5395526444 add HOOK_UNSUBSCRIBE_FEED 2017-11-27 11:46:46 +01:00
fox d7effa92a4 Merge branch 'ja_fix' of yoheie/tt-rss into master 2017-11-26 14:44:43 +00:00
Yohei Endo f3006ce09d Small fix in Japanese translation 2017-11-26 10:48:03 +09:00
Andrew Dolgov d2957a2718 Merge branch 'master' of git.fakecake.org:tt-rss 2017-11-20 08:48:28 +03:00
Andrew Dolgov 2352c320c2 fix possible sql injection in public/forgotpass 2017-11-20 08:48:18 +03:00
fox 99d770ca54 Merge branch 'comics-regex-patch' of JustAMacUser/tt-rss into master 2017-11-18 06:27:36 +00:00
fox 139c38535a Merge branch 'viewport-meta-prefs' of JustAMacUser/tt-rss into master 2017-11-18 06:27:12 +00:00
JustAMacUser 1d74979dfc Add viewport meta tag to Preferences page. Similiar to commit b4865103 for the main index.php file. 2017-11-16 12:18:28 -05:00
JustAMacUser d1d05f7a12 Updated af_comics GoComics handling to support comics with numbers and use the main web URL as a feed URL (legacy FeedBurner URL support still exists). 2017-11-16 12:14:20 -05:00
fox 138813314e Merge branch 'master' of tschuettler/tt-rss into master 2017-11-14 05:22:12 +00:00
tschuettler ee0f64c0f2 Fix german string 2017-11-14 01:09:11 +01:00
fox 8569b95a28 Merge branch 'allow_hr_tag' of ubetly/tt-rss into master 2017-11-03 09:32:09 +00:00
woxcab 6eeeec4838 Allow <hr> tag in the RSS item' description 2017-11-03 10:23:29 +03:00
Andrew Dolgov 9d930af9e1 fetch_file_contents: improve error handling
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-30 13:13:10 +03:00
Andrew Dolgov 8716ec20d6 add sanity check for mime_content_type() 2017-10-29 10:17:43 +03:00
Andrew Dolgov 91f49ba17d api, setArticleLabel: allow JSON booleans 2017-10-15 16:47:44 +03:00
fox d320b55af9 Merge branch 'sort_title_date' of ggrandou/tt-rss into master 2017-10-13 05:53:03 +00:00
fox a7011a82db Merge branch 'favicons_bmp' of ggrandou/tt-rss into master 2017-10-13 05:52:56 +00:00
Gilles Grandou f9ad33c2d8 allows favicons to be in Windows PC BMP format 2017-10-09 22:58:00 +02:00
Gilles Grandou 81d96c0dee makes 'order by title' to sort by title and by ascending date
* this allows to chronologically browse all articles with the
  same title.
2017-10-09 22:50:03 +02:00
Andrew Dolgov d4fec604fc main toolbar: set overflow to hidden 2017-10-09 16:11:53 +03:00
Andrew Dolgov 8b73bd28d8 remove apache-specific x-sendfile stuff
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-08 17:14:56 +03:00
fox 852496fa15 Merge branch 'viewport' of jrconlin/tt-rss into master 2017-10-08 11:15:19 +00:00
fox b1d1bc901f Merge branch 'checkbox-feed' of dxbi/tt-rss into master 2017-10-06 06:47:54 +00:00
Andrew Dolgov 916c1e9b16 Merge branch 'master' of git.tt-rss.org:git/tt-rss 2017-10-06 09:45:28 +03:00
Felix Eckhofer cc50affb62
Add checkbox for authentication in edit feed dialog
This makes the UI more consistent with the "add feed" dialog and
prevents overzealous password-managers from leaking the login password.
2017-10-06 08:37:37 +02:00
Andrew Dolgov 51b521c326 fix batch feed editor using wrong SQL syntax when saving feed password
remove uses of auth_pass_encrypted in several other places
2017-10-06 09:22:04 +03:00
fox 3b8d9bc6ff Merge branch 'relative_html_base' of wn/tt-rss into master 2017-10-02 15:52:17 +00:00
wn_ 701c5a7ee4 get_favicon_url: only check base elements with href attribute 2017-10-01 15:47:31 -05:00
wn_ 241f69e4db Handle potentially-relative base element when getting favicon.
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-10-01 14:25:12 -05:00
fox 0f0d6ca559 Merge branch 'hook_feed_basic_info' of wn/tt-rss into master 2017-10-01 09:52:51 +00:00
wn_ 3476690cbf Only require an array of basic info from 'HOOK_FEED_BASIC_INFO'.
Removes the need for the plugin to provide feed content.

Gives plugins a chance to provide 'title' and 'site_url' basic info.
Falls back to attempting retrieval+parsing of the fetch URL if needed.
2017-09-26 20:42:33 -05:00
wn_ bec5ba93e2 Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
It's expected the plugin will return content parsable by FeedParser, which
will act as an interface to the basic feed info.  In the case of a plugin
that also uses 'HOOK_FETCH_FEED', both might return the same content.

The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
2017-09-24 19:37:49 -05:00
fox af13f3009c Merge branch 'vreddit_fallback_url' of wn/tt-rss into master 2017-09-18 04:14:57 +00:00
wn_ b4b5236ec4 af_redditimgur: use common header retrieval function 2017-09-17 13:56:57 -05:00
wn_ 8352d7c6cb af_redditimgur: Rework retrieval of v.redd.it fallback URL.
Use the v.redd.it redirects to identify the original Reddit post,
whose JSON should have the fallback_url we're looking for.
2017-09-17 13:41:08 -05:00
wn_ 81d83a68cd af_redditimgur: Use v.redd.it fallback URL when possible. 2017-09-17 01:18:05 -05:00
Andrew Dolgov 06a19166bd af_redditimgur: add basic support for v.redd.it videos 2017-09-16 10:08:30 +03:00
fox 7cadef1eff Merge branch 'domdocument_content_savehtml' of wn/tt-rss into master 2017-09-15 14:58:37 +00:00
wn_ f3774b9d65 Use 'saveHTML' when generating HTML from a DOMDocument.
This primarily occurs when modifying article content.  If 'saveXML' is
used following 'loadHTML' there is the possibility of strangeness, such
as a self-closing anchor tag.

Note that the DOMDocument used in 'classes/feeditem/atom.php' came from
'loadXML', but we use 'saveHTML' since we're returning HTML content.
2017-09-09 13:51:59 -05:00
jr conlin b486510385 Add "viewport" meta to allow mobile devices ability to resize and display page. 2017-09-02 14:15:19 -07:00
Andrew Dolgov 153cb6d305 add support for http 304 not modified (no timestamp calculation bullshit like last time) 2017-08-17 14:40:21 +03:00
Andrew Dolgov edefcec19d filters/edit: properly parse feed-specific legacy format filter rules 2017-08-14 22:29:50 +03:00
Andrew Dolgov 03c56b041f force-request counters on load once if bw_limit option is enabled (because there's no timeout()) 2017-08-12 07:51:37 +03:00
Andrew Dolgov ab8daa0389 use mysqli_set_charset() to set MYSQL_CHARSET 2017-08-09 08:05:52 +03:00
Andrew Dolgov 20d2195f13 rssutils: include comment count when calculating article hash 2017-08-06 20:20:39 +03:00
fox eaa90b2287 Merge branch 'labels_context_menu' of wn/tt-rss into master 2017-08-02 05:01:00 +00:00