Commit Graph

968 Commits

Author SHA1 Message Date
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
Andrew Dolgov 537eca4000 rssfuncs: fix typo 2013-12-18 14:22:24 +04:00
Andrew Dolgov f08426e3d3 when checking feeds to update, respect only default update setting stored in default profile 2013-12-18 13:55:50 +04:00
akapar 42a5abdce2 Added Turkish translation
Modified functions.php to include Turkish language
2013-12-08 20:47:29 +02:00
Andrew Dolgov bf5bcb8e27 queryFeedHeadlines: remove obsolete content_preview 2013-11-29 13:54:30 +04:00
Andrew Dolgov 15d8bd7dbf fix catchup older than X for labels category 2013-11-16 11:00:56 +04:00
Andrew Dolgov c6d970b857 search to sql: use str_getcsv instead of explode to support quoted long string tokens 2013-11-14 15:10:33 +04:00
Andrew Dolgov 5a450b8760 add workaround for languagedetect idiotic shit of some kind 2013-11-13 20:36:15 +04:00
Robert Wetzlmayr 60168a8d9a getFeedArticles(): Use valid query to get count of matching articles. 2013-11-12 13:46:56 +01:00
Andrew Dolgov d8179cb9d9 pubsubhubbub: use atom rel=self link (when available) when subscribing
to push-enabled feeds
2013-11-11 22:52:15 +04:00
Andrew Dolgov 4ad04ee227 report all libxml errors in updater debug output
force utf8 encoding if devforceupdate is on
parser: try to convert non-unicode feeds with specified encoding to utf8
before trying to remove dangling utf8 characters in case of utf8-related
libxml errors because doing so produces garbage content
2013-10-29 12:15:26 +04:00
Andrew Dolgov 88edaa9344 daemon: cache parser object while processing a batch of feeds withsame url on first success 2013-10-25 14:42:43 +04:00
Andrew Dolgov 0f6b926393 only try to set fucking cookie jar if open_basedir restriction is not in effect 2013-10-23 13:34:47 +04:00
aedrin 68349f55df Add missing translations in SINGLE_USER_MODE
In SINGLE_USER_MODE, some strings were untranslated.
For instance "Loading, please wait..." and all strings in the "Actions" Menu ("Preferences...", "Search..." and so on)
2013-10-15 18:06:44 +02:00
Andrew Dolgov 0a08d1b246 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-10-09 16:58:56 +04:00
Andrew Dolgov b66be03a48 add experimental hack to speed up ccache category calculation 2013-10-09 16:58:31 +04:00
Andrew Dolgov 6d45a15286 do not try to load user plugins on schema < 100 2013-10-08 22:35:36 +04:00
Andrew Dolgov e198cca75b Revert "sanitize: remove doctype properly, add experimental workaround against unnecessary html elements in sanitized data"
This reverts commit f44d59992e.
2013-10-06 15:59:28 +04:00
Andrew Dolgov 29a57cdc4d Merge pull request #311 from fsateler/curl-cookie-jar
Enable cookies when fetching feeds with curl
2013-10-06 04:39:54 -07:00
Andrew Dolgov 924a89ebf3 getFeedArticles: use date_entered for fresh feed same as queryFeedHeadlines (closes #780) 2013-10-06 15:38:58 +04:00
Andrew Dolgov f44d59992e sanitize: remove doctype properly, add experimental workaround against unnecessary html elements in sanitized data 2013-10-06 11:08:15 +04:00
Felipe Sateler d9eacf54a0 Enable cookies when fetching feeds with curl
If a feed requires cookies, curl needs to have them active in order to
access it. This is done by setting the COOKIE_JAR option.
Since we do not need the actual cookie jar, send it to /dev/null, curl
will still have a valid in-memory cookie jar.
2013-10-04 17:56:46 -03:00
Andrew Dolgov 05f14a7d19 add (undocumented) _CURL_HTTP_PROXY 2013-09-30 13:27:14 +04:00
Andrew Dolgov d0ee0f52b7 use favicon in some auxiliar dialogs 2013-09-30 00:01:34 +04:00
Andrew Dolgov 5ddd2705ca make language detection optional (closes #779) 2013-09-27 13:45:21 +04:00
Andrew Dolgov 02b0d14a18 release 1.10 2013-09-21 17:36:53 +04:00
Andrew Dolgov e596b5a9dd add update script to convert myisam tables to innodb (bump version) 2013-09-17 14:34:39 +04:00
Roland Angerer 4d8f4c5989 optimized query for label counters 2013-09-17 12:05:13 +02:00
Andrew Dolgov 1357a263be include title when detecting article language 2013-09-17 12:28:31 +04:00
Andrew Dolgov 4f71d7431c replace suppress debugging kludge with a more flexible function (fixes
logging with update.php --feeds being stopped after first feed)
2013-09-15 23:02:21 +04:00
Andrew Dolgov d3b0e3487e fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettext(), rebase translations 2013-09-02 13:09:32 +04:00
Andrew Dolgov ff04fe0625 use plurals for comment/comments link in article, properly translate comments string, add feed title to article in zoom mode 2013-09-02 12:58:14 +04:00
Andrew Dolgov a33558a61e pass logfile to child tasks if locking is possible, lock logfile before writing, add kludge to prevent update_rss_feed unneeded debugging go into master logfile 2013-09-02 12:33:59 +04:00
Andrew Dolgov f73e03e000 pass feed information to article filters 2013-09-02 10:03:04 +04:00
Andrew Dolgov 34e55fe8d9 fix cat filters always applying if set to uncategorized 2013-08-29 09:24:24 +04:00
Andrew Dolgov 5d4d591826 filter testing: exclude archived articles because filtering on them makes no sense 2013-08-29 09:12:05 +04:00
Andrew Dolgov 3eb55333c6 do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove sanity check for iconv because parser does not use it 2013-08-09 09:19:57 +04:00
Andrew Dolgov 5c54e68388 support media:description for media: enclosures 2013-08-05 12:26:09 +04:00
Andrew Dolgov edba269b6f fix entries not inserted properly when no languages are detected 2013-08-02 16:03:13 +04:00
Andrew Dolgov 00f22824d7 rss: force language to 2 characters; run house keeping hooks properly 2013-08-02 14:47:34 +04:00
Andrew Dolgov 8e47022036 add hook_house_keeping 2013-08-02 14:06:18 +04:00
Andrew Dolgov 910592b49a add plugin to cache images in starred articles; pass article_id to
sanitize
2013-08-02 14:04:14 +04:00
Andrew Dolgov 2fc4d981d1 remove unused old-style image rewritign 2013-08-02 14:04:00 +04:00
Andrew Dolgov 1bdbffcf11 highlight: remove unnecessary test for DomText 2013-08-01 16:31:44 +04:00
Andrew Dolgov 79834eda77 experimentally simplify highlight searching 2013-08-01 16:30:22 +04:00
wltb 28f92d28d8 Highlighting search results: Added heuristic approach for common capitalizations, fixed indentions 2013-08-01 13:05:03 +02:00
Andrew Dolgov a447f4e40a term highlighting in content: use mb functions 2013-07-31 16:42:48 +04:00
Andrew Dolgov 87721123b7 remove plaintext url rewriting for twitter posts 2013-07-31 14:58:16 +04:00
Andrew Dolgov d41ad03712 note the source of highlighting routine 2013-07-31 14:54:22 +04:00
Andrew Dolgov dd90eb2c7a search keyword highlighting (combined mode only) 2013-07-31 14:53:34 +04:00
Andrew Dolgov 07eb36583c lang: default to 'en' 2013-07-31 11:57:11 +04:00
Andrew Dolgov 6b4617970f add text_languagedetect to guess article language for better hyphenation
(bump schema)
2013-07-31 10:30:17 +04:00
Andrew Dolgov f035e6dc82 tweak the zoomed article a little bit 2013-07-31 01:22:13 +04:00
Andrew Dolgov cdfc41149d get_article_labels: cache converted label ids 2013-07-28 23:36:57 +04:00
Andrew Dolgov ac57b9dd19 add experimental css hyphens support for english language 2013-07-26 18:26:28 +04:00
Andrew Dolgov 8d47635919 fix yet another typo with the 2week catchup thing (closes #737) 2013-07-22 15:21:30 +04:00