Commit graph

7987 commits

Author SHA1 Message Date
Andrew Dolgov
399678a14e add PluginHost.HOOK_ARTICLE_EXPORT_FEED 2016-03-01 14:39:36 +03:00
Andrew Dolgov
94d425fe4a rewrite_relative_url: only skip urls like magnet: instead of everything with : 2016-02-20 12:06:47 +03:00
Andrew Dolgov
7bbe94bc93 Revert "rewrite_relative_url: do not skip urls containing :"
This reverts commit a547fef6ab.
2016-02-20 12:02:34 +03:00
Andrew Dolgov
a547fef6ab rewrite_relative_url: do not skip urls containing : 2016-02-20 11:57:37 +03:00
Andrew Dolgov
4f100ece19 pref_filters: sort rules by reg_exp when displaying index 2016-02-19 18:52:54 +03:00
Andrew Dolgov
d43b6563ef Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2016-02-19 09:39:29 +03:00
Andrew Dolgov
b501dc3c5a Merge branch 'remove-srcsrc-local-cache' into 'master'
Remove srcset and sizes attributes from img tag if locally caching images.

As discussed in <https://tt-rss.org/forum/viewtopic.php?f=1&t=3624#p21886>

See merge request !27
2016-02-19 09:39:11 +03:00
JustAMacUser
a01bfd78c2 Remove srcset and sizes attributes from img tag if locally caching images. 2016-02-19 01:35:11 -05:00
Andrew Dolgov
cc43e19b44 error handler: do not log last query, truncate error message to a smaller length 2016-02-17 16:42:13 +03:00
Andrew Dolgov
1003f71e04 minitemplator: use proper constructor 2016-02-17 12:29:42 +03:00
Andrew Dolgov
3261dbfa21 generate_syndicated_feed: pass article id to sanitize() 2016-02-11 20:12:01 +03:00
Andrew Dolgov
724dea9a84 Merge branch 'dont-wrap-excerpt' into 'master'
Make sure author and excerpt spans don't wrap even if active.

In combined display mode with an article collapsed via keyboard nav,
the article remains active, which lets the excerpt bubble out to several
lines depending on display width. Keep the excerpt nowrap always.

While here, fix the author display; nowrap always to keep the name
from splitting across lines in rare cases.

See merge request !26
2016-02-08 12:27:27 +03:00
Todd Vierling
6b8a7aad08 Make sure author and excerpt spans don't wrap even if active.
In combined display mode with an article collapsed via keyboard nav,
the article remains active, which lets the excerpt bubble out to several
lines depending on display width. Keep the excerpt nowrap always.

While here, fix the author display; nowrap always to keep the name
from splitting across lines in rare cases.
2016-02-07 15:47:31 -05:00
Andrew Dolgov
378873b59a Merge branch 'new_tab_mac_fix' into 'master'
Make "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode)

https://tt-rss.org/forum/viewtopic.php?f=10&t=3682

See merge request !25
2016-02-07 22:17:03 +03:00
Kostiantyn Moroz
2757c49387 Make "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode) 2016-02-07 18:48:24 +00:00
Andrew Dolgov
50bda3fefb sanitize: allow <xml:namespace> (thanks, livejournal) 2016-02-05 11:31:13 +03:00
Andrew Dolgov
0edf1d0dc0 update_rss_feed: disable support for http 304 for the time being 2016-02-02 14:51:02 +03:00
Andrew Dolgov
891b77f90e af_redditimgur: add option for previous 2016-01-31 14:14:31 +03:00
Andrew Dolgov
902b1ac7b5 af_redditimgur: add (disabled) wip content dupe checker 2016-01-31 14:01:18 +03:00
Andrew Dolgov
d9de136c39 inline feed update: set feed as needing update if open_basedir is set + plugins need curl 2016-01-30 13:40:56 +03:00
Andrew Dolgov
67f3e3f942 pref-labels: remove obsolete searching code 2016-01-30 13:03:00 +03:00
Andrew Dolgov
9def554082 pref-feeds: allow searching by feed_url 2016-01-30 13:02:15 +03:00
Andrew Dolgov
a5556c2471 fix item_id not being properly escaped in pref_feeds::process_category_order() (possible sql injection) 2016-01-29 17:24:59 +03:00
Andrew Dolgov
7af2e79578 create_published_article: only use readability if enabled in the plugin 2016-01-29 15:48:44 +03:00
Andrew Dolgov
666cd33360 enable support for readability (if af_readability is enabled) in shareanything bookmarklet 2016-01-29 15:38:05 +03:00
Andrew Dolgov
4501d5ef45 remove reddit textnode hack since the feed is broken in a different way now 2016-01-27 08:52:45 +03:00
Andrew Dolgov
71b75bb7fa fix multiple issues with archived feeds 2016-01-26 19:03:05 +03:00
Andrew Dolgov
41245888f1 only stop inline feed updates with open_basedir enabled if there are any plugins that require CURL enabled
add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
2016-01-26 11:45:47 +03:00
Andrew Dolgov
29c92d7b08 prevent frontend updating of feeds on view if open_basedir is set to prevent plugins potentially not working correctly (i.e. if backend system has open_basedir disabled) 2016-01-23 12:13:03 +03:00
Andrew Dolgov
8f2268dd5e af_redditimgur: implement a hack to deal with reddit rss feed being currently broken 2016-01-23 11:51:17 +03:00
Andrew Dolgov
0bc503ff9a update_rss_feed: escape dumped content while debugging 2016-01-23 02:17:24 +03:00
Andrew Dolgov
3b44aae0f3 sanitize: allow <description> 2016-01-23 02:17:00 +03:00
Andrew Dolgov
7d1e15c396 parser: properly support tag subtrees instead of text content for article content 2016-01-23 01:48:32 +03:00
Andrew Dolgov
d2bb392bae Revert "parser: use node->c14n() instead of expecting html in nodeValue"
This reverts commit 1383514ad9.
2016-01-23 01:24:13 +03:00
Andrew Dolgov
1383514ad9 parser: use node->c14n() instead of expecting html in nodeValue 2016-01-23 01:04:24 +03:00
Andrew Dolgov
a93047802c rebase translations 2016-01-17 16:34:59 +03:00
Andrew Dolgov
6a3c902f81 Merge branch 'po_fixes' into 'master'
Fixes to .po files

There were a few minor problems in the .po files, mostly invalid headers. Nothing serious, but the fixes are also quite simple.

See merge request !24
2016-01-17 16:33:32 +03:00
Andrew Dolgov
368bd7ea49 add feed debugger to update.php 2016-01-17 14:24:20 +03:00
Andrew Dolgov
b1cefbc506 af_psql_trgm: fix min_title_length not being used while processing articles 2016-01-17 11:32:10 +03:00
Andrew Dolgov
c352248651 get_article_tags: while getting tags from cache check if article entry actually exists 2016-01-14 12:12:35 +03:00
Andrew Dolgov
312742db6e updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins 2016-01-13 18:12:31 +03:00
Andrew Dolgov
393fc7d6b5 update static version 2016-01-12 16:44:14 +03:00
Eduardo M KALINOWSKI
35a0a87913 Added (untranslated/fuzzy) boilerplate for messages with plural forms for tr_TR. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI
1ec807cc2b Added Plural-Forms to ca_CA and nb_NO. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI
b6314220f1 The code for Denmark is DK, rename to reflect that. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI
6e1862384c Fixed some small errors in the headers. 2016-01-10 20:53:54 -02:00
Eduardo M KALINOWSKI
ea1623a1bd Correct Plural-Forms for pt_PT. 2016-01-10 20:53:54 -02:00
Andrew Dolgov
0b41bd3414 add some hacks to hopefully mitigate headlines memory leaks 2016-01-11 01:11:26 +03:00
Andrew Dolgov
5bdcb8fd78 remove option ALLOW_DUPLICATE_POSTS as confusing/useless 2016-01-07 22:01:35 +03:00
Andrew Dolgov
4f186b1f10 fix broken article processing if ALLOW_DUPLICATE_POSTS is enabled 2016-01-07 21:49:31 +03:00