Commit Graph

121 Commits

Author SHA1 Message Date
Andrew Dolgov dcbe36b2a2 fix some remaining old-style viewfeed() calls 2015-08-13 09:51:39 +03:00
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
2015-08-12 14:09:46 +03:00
Andrew Dolgov 884ae7a941 limit recently read feed to 1 day of read headlines 2015-08-12 10:02:46 +03:00
Andrew Dolgov 6ee255fba3 use join between user_entries and entries table 2015-08-11 20:04:38 +03:00
Andrew Dolgov c1ebb6cdf7 update notice/error css classes 2015-08-11 18:37:07 +03:00
Andrew Dolgov 6810a1de42 use dijit form widget for attachments dropdown 2015-08-11 14:53:07 +03:00
Andrew Dolgov 209ebdc644 queryfeedheadlines: only use disable_offsets hack in expanded mode 2015-08-11 09:19:47 +03:00
Andrew Dolgov e07be79a8b first id query: add last_read for recently read feed 2015-08-10 12:20:01 +03:00
Andrew Dolgov c7edba791c don't bother with topmost id if working with disabled offsets 2015-08-05 16:23:27 +03:00
Andrew Dolgov 0bd172cd6a experimental: if using adaptive/unread mode w/ auto catchup don't calculate offsets because we're only interested in top $limit headlines anyway 2015-08-05 10:13:30 +03:00
Andrew Dolgov 332ff5cfb8 add a very obvious speed improvement to topmost_id calculation 2015-08-04 20:38:43 +03:00
Andrew Dolgov 60e680599d allow selecting stemming language in search dialog 2015-08-04 13:53:48 +03:00
Andrew Dolgov df659891ac implement per-feed stemming language setting 2015-08-04 13:32:52 +03:00
Andrew Dolgov e854442e1f more fts stuff for simple index 2015-08-04 12:52:49 +03:00
Andrew Dolgov b4f544d389 add some fts stuff 2015-08-04 09:53:43 +03:00
Andrew Dolgov 3ceb893f66 add one catchall function to make uniqids/keyhashes/etc used by tt-rss 2015-08-03 19:21:06 +03:00
Andrew Dolgov f45b67c53e queryFeedHeadlines: remove filter stuff 2015-07-13 12:54:22 +03:00
Andrew Dolgov 0e4da73f06 do not allow commas in tags 2015-07-13 01:22:44 +03:00
Andrew Dolgov f56e5a3504 add workaround for fresh feed first id calculation issue 2015-07-13 00:40:15 +03:00
Andrew Dolgov f7fd1edb76 first_id default value: type is important 2015-07-12 22:54:55 +03:00
Andrew Dolgov 8831632905 add some more stuff to first_id query to fix virtual feeds 2015-07-12 22:50:21 +03:00
Andrew Dolgov d5e0486e0c minor first_id query fix 2015-07-12 18:47:06 +03:00
Andrew Dolgov 48fefe2f6b fixes for first_id stuff 2015-07-12 18:08:02 +03:00
Andrew Dolgov 83ce77a2e8 functions: fix some phpstorm-reported warnings 2015-07-12 14:07:38 +03:00
Andrew Dolgov 3444020100 report top id changed in headlines buffer 2015-07-12 12:01:34 +03:00
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 2015-07-12 01:29:36 +03:00
Christian Weiske 5a4074a9f8 Check for HTML in the first 100 bytes.
Some HTML pages have an XML header (XHTML), which alone is nearly 50 bytes.
Thus we need to check for the HTML or doctype tags in the first 100 bytes.
2015-07-09 13:39:07 +02:00
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
2015-07-07 15:59:32 +03:00
Andrew Dolgov e2a3689a18 sanitize: disable <hr> for now 2015-07-06 23:09:51 +03:00
Andrew Dolgov b90c4468fc sanitize: allow <hr> elements
af_redditimgur: optionally add original content using Readability php implementation
2015-07-06 22:44:43 +03:00
Andrew Dolgov 35c3735494 fix article tags/labels not assigning properly on mysql because of the 4byte unicode workaround 2015-07-06 15:32:26 +03:00
Andrew Dolgov dd6e2386fd fix_url: support schema-less urls 2015-06-08 14:18:49 +03:00
Andrew Dolgov b9634eb8b8 support loading themes from themes.local 2015-06-05 18:08:19 +03:00
Andrew Dolgov 7c0a2ab202 pluginhost: allow loading user plugins from plugins.local 2015-06-05 17:54:52 +03:00
Andrew Dolgov 945346cbff add HOOK_RENDER_ENCLOSURE & af_youtube_embed plugin 2015-04-21 14:07:20 +03:00
Andrew Dolgov 27f7b59353 add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible 2015-03-30 13:02:24 +03:00
Andrew Dolgov 755869ffbc remove unread first sorting: has issues, is pretty much adaptive anyway 2015-03-17 02:01:10 +03:00
SkyREgit 95a95b0a40 Add unread category to build-in Search
unread:{true,false} - match only unread or read articles
2015-03-05 15:26:10 +02:00
Andrew Dolgov 0c6f7b314a remove image.php; put cached image endpoint to public.php 2015-02-27 14:51:26 +03:00
Andrew Dolgov 4ca621a360 add config option CHECK_FOR_UPDATES 2015-02-03 14:46:51 +03:00
Andrew Dolgov 480b2de3b1 minor fixes for previous (2) 2015-02-03 14:43:11 +03:00
Andrew Dolgov 119ba03bd4 minor fixes for previous 2015-02-03 14:42:20 +03:00
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 2015-02-03 14:39:15 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
Andrew Dolgov 21d7585a54 disable version checking for night.css 2014-12-09 23:54:28 +03:00
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 2014-12-09 15:16:53 +03:00
Andrew Dolgov c63850fad0 if loaded over ssl and iframe is whitelisted, set its source to https 2014-12-06 08:52:43 +03:00
tmo-github 8458a312ae Modify query to avoid a full table scan on MySQL 2014-11-27 20:04:24 +01:00
Andrew Dolgov 59b5d5f3e6 allow embedding videos from youtube and vimeo natively 2014-11-25 13:45:02 +03:00
Andrew Dolgov 229a871be7 do not force sslversion in any cases 2014-10-16 09:01:23 +04:00
Andrew Dolgov 8ef0ca2fa6 remove unused format_libxml_error 2014-08-20 12:31:10 +04:00
Andrew Dolgov ae962a96fd fix typo 2014-08-20 12:04:22 +04:00
Andrew Dolgov fafac207c5 geturl: if head request is denied because host is still living in 20th century, try requesting body (thanks to incompetent admins of arxiv.org) 2014-08-20 12:01:41 +04:00
Andrew Dolgov aa9f7d4447 get_minified_js: store and check tt-rss version in cached files 2014-08-19 14:50:25 +04:00
Felix Eckhofer 1e87193815 Add width/height attribute to image enclosures 2014-07-15 16:23:49 +02:00
Dave Zaikos 0c019b4436 Added curl CURLOPT_NOBODY option in geturl function to ensure the HEAD method is used when resolving permanent/temporary URL moves. 2014-06-22 01:08:57 -04:00
Andrew Dolgov 3e0f2090bf mail plugin: cleanup disabled completion, add configurable destination email list 2014-07-02 10:38:59 +04:00
Bram Schoenmakers 7b3110c9c9 Fix for testing filters getting stuck sometimes.
Sometimes when testing a filter the database becomes unresponsive, stuck
in a long query.

Solution: properly join ttrss_entries and ttrss_user_entries instead of
working with their carthesian product.
2014-06-19 10:29:48 +02:00
Dave Zaikos c6ce584dd5 Changed how the enclosures array is checked for content so an empty array is not processed. Fixes a change from the previous branch commit. 2014-05-12 13:54:04 -04:00
Dave Zaikos 2bb11658a8 Added HOOK_FORMAT_ENCLOSURES plugin hook.
Runs HTML and enclosures array through a plugin hook when rendering an article's enclosures in format_article_enclosures(). Allows plugins to override handling of how enclosures are presented by either filtering the array of enclosures, or generating the HTML to add to the article content.
2014-05-12 00:59:27 -04:00
Rob Hoelz 9a6456fa12 Stop after first search plugin
The sanity check should have caught any extra ones, but it doesn't
hurt to be careful
2014-04-23 04:50:09 +00:00
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
Andrew Dolgov 84e36b61a3 make_init_params: add plugins 2014-03-14 15:06:37 +04:00
Andrew Dolgov 3e8a79be6d make_init_params: add theme 2014-03-14 14:51:12 +04:00
Andrew Dolgov 31460f84fe make_init_params: add some additional information useful for reporting 2014-03-14 14:38:51 +04:00
Andrew Dolgov ad593e4393 disable headlines grouping for recently read vfeed 2014-03-13 01:07:52 +04:00
Andrew Dolgov 99c19e1dcb start_ts for feeds: use date_entered for consistency 2014-03-10 02:19:26 +04:00
Andrew Dolgov d1e631f301 generated feeds, add ts= (strtotime) start timestamp 2014-03-09 21:48:22 +04:00
Andrew Dolgov 16c4803251 Revert "get_feeds_from_html: add rel='alternate feed'"
This reverts commit 526e1d80be.
2014-03-05 18:49:52 +04:00
Andrew Dolgov 526e1d80be get_feeds_from_html: add rel='alternate feed' 2014-03-05 18:34:13 +04:00
Andrew Dolgov 97b7d5c038 split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
2014-03-05 16:48:41 +04:00