Commit graph

923 commits

Author SHA1 Message Date
Dave Zaikos
a3d5018490 Updated cache_images() to use _MIN_CACHE_IMAGE_SIZE constant when checking file size. New constant is defined upon including rssfuncs.php if not already defined. 2014-06-26 17:22: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
Andrew Dolgov
1fa5c5409d catchup_feed: only mark articles as read with non-negative score in fresh feed 2014-06-10 11:39:17 +04:00
Andrew Dolgov
1f16ede01d Revert "Revert "fix unicode problem from vim""
This reverts commit 0172de4244.
2014-06-03 04:56:49 +00:00
Andrew Dolgov
c2aa0593bb Revert "Revert "include new lang codes""
This reverts commit df13793f1c.
2014-06-03 04:56:40 +00:00
Andrew Dolgov
df13793f1c Revert "include new lang codes"
This reverts commit e385861ca5.
2014-06-03 04:53:26 +00:00
Andrew Dolgov
0172de4244 Revert "fix unicode problem from vim"
This reverts commit f33e373e59.
2014-06-03 04:53:18 +00:00
brendan braybrook
f33e373e59 fix unicode problem from vim 2014-06-02 18:40:29 +00:00
brendan braybrook
e385861ca5 include new lang codes 2014-06-02 17:37:08 +00:00
wltb
01465325b4 Add subscribe hook, give more information to fetch_feed hook 2014-05-19 14:06:52 +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
Andrew Dolgov
1fd733c8ff fetch_file_contents: do not set referrer when using curl 2014-05-09 11:33:21 +00:00
Andrew Dolgov
15d0528a9f rssfuncs: mention local cache filename for easier debugging 2014-04-30 08:49:46 +00: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
8067dc8ca5 bump schema version to fix resetpass_token created as a wrong type in 124 2014-04-06 13:40:16 +00:00
Andrew Dolgov
50e04efdc8 expand filtertree display to make filters easier to distinguish 2014-04-02 08:15:33 +00:00
Andrew Dolgov
1c776ade2a add pt_PT language 2014-03-21 15:56:26 +04:00
Andrew Dolgov
ff5cc7d763 Revert "Update functions.php"
This reverts commit d8cdb08f78.
2014-03-21 15:55:28 +04:00
Duarte Velez Grilo
d8cdb08f78 Update functions.php
Added new entry for pt_PT as requested. Thanks!
2014-03-21 12:46:05 +01:00
Andrew Dolgov
a983a827a3 release 1.12 2014-03-21 08:23:22 +04: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
Roland Angerer
f77c72038f deactivated FeedParser re-use as it is not multiuser safe
different users may have different fetch feed and feed fetched hooks
2014-03-14 08:36:44 +01:00
Roland Angerer
95beaa1471 fixed feed caching logic for multiuser scenario
only vanilla feed data may be cached as every user may have different
fetched feed hooks to apply
2014-03-14 08:35:39 +01: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
3b19a53acf schema: add resetpass_token (bump schema) 2014-03-09 10:50:32 +04:00
Andrew Dolgov
e95bb179a8 fix for article language breaking sql insert 2014-03-06 09:02:14 +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
cacc187732 sanity_check: ERRORS was not imported from global scope 2014-03-05 16:57:57 +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
Andrew Dolgov
f97b56a3c9 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2014-02-19 15:43:08 +04:00
Andrew Dolgov
4a80c57c50 remove some unused code reported by phpmd 2014-02-19 15:42:52 +04:00
Andrew Dolgov
5ba1ddd409 rssfuncs: remove unused variables 2014-02-19 15:17:29 +04:00
元兒~
8dc5e7f000 Add Traditional Chinese Option 2014-02-12 20:30:24 +08:00
Andrew Dolgov
f826070c56 af_comics: add happyjar 2014-02-10 23:03:58 +04:00
Andrew Dolgov
878a0083ff revert max ui feed title length, tweak truncate_string a bit 2014-02-02 23:17:13 +04:00
Andrew Dolgov
5a801bd6f0 load stylesheets/scripts using helper functions in a few more places 2014-01-28 15:32:19 +04:00
Andrew Dolgov
cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
2014-01-28 01:39:24 +04:00
Andrew Dolgov
5b319e8be2 sanitize: reinstate rel=noreferrer on article links 2014-01-22 18:28:44 +04:00
Andrew Dolgov
4c63934bac increase randomness of shared url keys a bit 2014-01-17 13:41:27 +04:00
Georg Göri
ac617ebc01 Fixed get_ssl_certificate_id
Fixed in a way that it also retrieves client certificates as they are supplied by Apache
2014-01-11 11:33:42 +01:00
Andrew Dolgov
76d78eb2e7 remove unnecessary wrapping from share uniqid() keys 2013-12-24 13:27:57 +04:00
Andrew Dolgov
416a9b1c9c Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-12-18 14:26:32 +04:00
Andrew Dolgov
c04fbe3711 release 1.11 2013-12-18 14:26:04 +04:00