]> git.wh0rd.org - tt-rss.git/log
tt-rss.git
7 years agobump static version to 16.8 16.8
Andrew Dolgov [Wed, 10 Aug 2016 06:15:52 +0000 (09:15 +0300)] 
bump static version to 16.8

7 years agoMerge branch 'more-info-article-filter' into 'master'
Andrew Dolgov [Sun, 7 Aug 2016 19:22:09 +0000 (22:22 +0300)] 
Merge branch 'more-info-article-filter' into 'master'

Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.

Adds the `$cache_images` value to the `$article['feed']` array before calling HOOK_ARTICLE_FILTER. Allows plugins to know whether images will be cached in case they want to manage them in one way or another.

See merge request !32

7 years agoMerge branch 'patch-strip-harmful-tags' into 'master'
Andrew Dolgov [Sun, 7 Aug 2016 19:21:45 +0000 (22:21 +0300)] 
Merge branch 'patch-strip-harmful-tags' into 'master'

Remove href attribute if it executes JavaScript.

Security update to prevent A tags with a `javascript:` href from actually executing the JavaScript.

See merge request !31

7 years agoPass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.
JustAMacUser [Sat, 6 Aug 2016 18:16:39 +0000 (14:16 -0400)] 
Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.

7 years agoRemove href attribute if it executes JavaScript.
JustAMacUser [Sat, 6 Aug 2016 18:07:30 +0000 (14:07 -0400)] 
Remove href attribute if it executes JavaScript.

7 years agotweet embed: force utf-8
Andrew Dolgov [Tue, 2 Aug 2016 15:08:00 +0000 (18:08 +0300)] 
tweet embed: force utf-8

7 years agoaf_redditimgur: rework gfycat pages
Andrew Dolgov [Tue, 2 Aug 2016 14:01:53 +0000 (17:01 +0300)] 
af_redditimgur: rework gfycat pages

7 years agoaf_redditimgur: support .mp4 links
Andrew Dolgov [Tue, 2 Aug 2016 13:45:06 +0000 (16:45 +0300)] 
af_redditimgur: support .mp4 links

7 years agoreadability: increase maximum source document size, reorganize the reddit plugin...
Andrew Dolgov [Tue, 2 Aug 2016 09:25:54 +0000 (12:25 +0300)] 
readability: increase maximum source document size, reorganize the reddit plugin code a bit

7 years agoaf_redditimgur: relax poster image url condition for imgur a bit
Andrew Dolgov [Tue, 2 Aug 2016 04:56:25 +0000 (07:56 +0300)] 
af_redditimgur: relax poster image url condition for imgur a bit

7 years agoaf_redditimgur: only check embed url variants unless match is found
Andrew Dolgov [Mon, 1 Aug 2016 18:07:18 +0000 (21:07 +0300)] 
af_redditimgur: only check embed url variants unless match is found

7 years agobasic tweet embedding using oembed
Andrew Dolgov [Mon, 1 Aug 2016 18:03:36 +0000 (21:03 +0300)] 
basic tweet embedding using oembed

7 years agoaf_redditimgur: try to guess images to embed using content-type
Andrew Dolgov [Mon, 1 Aug 2016 13:20:14 +0000 (16:20 +0300)] 
af_redditimgur: try to guess images to embed using content-type

7 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Mon, 1 Aug 2016 05:26:35 +0000 (08:26 +0300)] 
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

7 years agotrgm plugin: increase check distance to 3 days
Andrew Dolgov [Mon, 1 Aug 2016 05:26:11 +0000 (08:26 +0300)] 
trgm plugin: increase check distance to 3 days

7 years agoMerge branch 'mb4-string-only' into 'master'
Andrew Dolgov [Tue, 26 Jul 2016 20:38:48 +0000 (23:38 +0300)] 
Merge branch 'mb4-string-only' into 'master'

Only strings need 4-byte filtering.

Things like booleans, integers, etc. can be excluded as only strings have 4-byte characters.

Keeps the data types consistent.

See merge request !30

7 years agoaf_redditimgur: support video elements in imgur albums
Andrew Dolgov [Tue, 26 Jul 2016 13:29:17 +0000 (16:29 +0300)] 
af_redditimgur: support video elements in imgur albums

7 years agoadd hotkey for toggling VFEED_GROUP_BY_FEED preference
Andrew Dolgov [Tue, 26 Jul 2016 12:55:00 +0000 (15:55 +0300)] 
add hotkey for toggling VFEED_GROUP_BY_FEED preference

7 years agoaf_redditimgur: use browser UA for readability requests
Andrew Dolgov [Tue, 26 Jul 2016 12:46:54 +0000 (15:46 +0300)] 
af_redditimgur: use browser UA for readability requests

7 years agoOnly strings need 4-byte filtering.
JustAMacUser [Tue, 26 Jul 2016 07:51:22 +0000 (03:51 -0400)] 
Only strings need 4-byte filtering.

7 years agoapi: fix article guid not being passed to render article hook
Andrew Dolgov [Wed, 20 Jul 2016 12:38:42 +0000 (15:38 +0300)] 
api: fix article guid not being passed to render article hook

7 years agoapi host: add session validation
Andrew Dolgov [Wed, 20 Jul 2016 10:55:51 +0000 (13:55 +0300)] 
api host: add session validation

7 years agoapi: load user plugins properly
Andrew Dolgov [Wed, 20 Jul 2016 10:52:22 +0000 (13:52 +0300)] 
api: load user plugins properly

7 years agotest if mb_internal_encoding() is available in functions.php head
Andrew Dolgov [Thu, 7 Jul 2016 07:02:55 +0000 (10:02 +0300)] 
test if mb_internal_encoding() is available in functions.php head

7 years agoaf_redditimgur: handle i.reddituploads.com as pictures
Andrew Dolgov [Thu, 7 Jul 2016 06:04:38 +0000 (09:04 +0300)] 
af_redditimgur: handle i.reddituploads.com as pictures

7 years agofix sql error when subscribing to a feed using feed archive
Andrew Dolgov [Tue, 5 Jul 2016 08:48:36 +0000 (11:48 +0300)] 
fix sql error when subscribing to a feed using feed archive

7 years agoaf_redditimgur: make sure content_link is defined even if content dupcheck is disabled
Andrew Dolgov [Tue, 5 Jul 2016 08:01:36 +0000 (11:01 +0300)] 
af_redditimgur: make sure content_link is defined even if content dupcheck is disabled

7 years agoset referrer policy to 'no-referrer'
Andrew Dolgov [Fri, 3 Jun 2016 09:08:03 +0000 (12:08 +0300)] 
set referrer policy to 'no-referrer'

7 years agoset referrer-policy to none
Andrew Dolgov [Wed, 1 Jun 2016 13:21:03 +0000 (16:21 +0300)] 
set referrer-policy to none

7 years agodisable autocomplete in subscription dialog
Andrew Dolgov [Wed, 18 May 2016 11:48:51 +0000 (14:48 +0300)] 
disable autocomplete in subscription dialog

7 years agoupdate autocomplete to "new-password"
Andrew Dolgov [Wed, 18 May 2016 09:43:56 +0000 (12:43 +0300)] 
update autocomplete to "new-password"

7 years agoset feed editor password fields to autocomplete=off
Andrew Dolgov [Wed, 18 May 2016 09:31:25 +0000 (12:31 +0300)] 
set feed editor password fields to autocomplete=off

7 years agoremove .htaccess files
Andrew Dolgov [Fri, 13 May 2016 06:10:54 +0000 (09:10 +0300)] 
remove .htaccess files

7 years agoupdate_rss_feed: log warning when attempting to update unknown feed
Andrew Dolgov [Fri, 29 Apr 2016 19:10:00 +0000 (22:10 +0300)] 
update_rss_feed: log warning when attempting to update unknown feed

7 years agogenerate_syndicated_feed: sanitize content excerpt
Andrew Dolgov [Fri, 29 Apr 2016 19:00:02 +0000 (22:00 +0300)] 
generate_syndicated_feed: sanitize content excerpt

7 years agosanitize: force strip unnecessary data outside of <body>...</body> tags generated...
Andrew Dolgov [Fri, 29 Apr 2016 18:59:34 +0000 (21:59 +0300)] 
sanitize: force strip unnecessary data outside of <body>...</body> tags generated by DOMDocument::saveHTML()

7 years agoactually check for failures properly in the dbupdater
Andrew Dolgov [Tue, 26 Apr 2016 17:04:24 +0000 (20:04 +0300)] 
actually check for failures properly in the dbupdater

8 years agodaemon common: use proper update condition checking for secondary-selected feeds
Andrew Dolgov [Fri, 1 Apr 2016 15:54:53 +0000 (18:54 +0300)] 
daemon common: use proper update condition checking for secondary-selected feeds

8 years agofetch_file_contents: fix shim when invoked with 1 argument only
Andrew Dolgov [Thu, 31 Mar 2016 06:48:05 +0000 (09:48 +0300)] 
fetch_file_contents: fix shim when invoked with 1 argument only

8 years agoremove fetch_file_contents2, use a compat shim instead
Andrew Dolgov [Wed, 30 Mar 2016 10:45:27 +0000 (13:45 +0300)] 
remove fetch_file_contents2, use a compat shim instead

8 years agoamend previous
Andrew Dolgov [Wed, 30 Mar 2016 10:34:26 +0000 (13:34 +0300)] 
amend previous

8 years agoset smallish timeout on update check, exclude update checking on initial load
Andrew Dolgov [Wed, 30 Mar 2016 10:32:49 +0000 (13:32 +0300)] 
set smallish timeout on update check, exclude update checking on initial load

8 years agoadd a hash-based fetch_file_contents2()
Andrew Dolgov [Wed, 30 Mar 2016 10:24:53 +0000 (13:24 +0300)] 
add a hash-based fetch_file_contents2()

8 years agolib/gettext: use proper constructor
Andrew Dolgov [Wed, 30 Mar 2016 06:56:11 +0000 (09:56 +0300)] 
lib/gettext: use proper constructor

8 years agoget_version: add missing substr
Andrew Dolgov [Mon, 28 Mar 2016 10:26:09 +0000 (13:26 +0300)] 
get_version: add missing substr

8 years agozoom: disable 650px p limit
Andrew Dolgov [Fri, 25 Mar 2016 08:42:04 +0000 (11:42 +0300)] 
zoom: disable 650px p limit

8 years agoMerge branch 'german-translation' into 'master'
Andrew Dolgov [Thu, 24 Mar 2016 09:23:26 +0000 (12:23 +0300)] 
Merge branch 'german-translation' into 'master'

German translation update

See merge request !29

8 years agoGerman translation update
Heiko Adams [Thu, 24 Mar 2016 07:11:02 +0000 (08:11 +0100)] 
German translation update

8 years agoMerge branch 'italian_translation' into 'master'
Andrew Dolgov [Thu, 24 Mar 2016 05:26:17 +0000 (08:26 +0300)] 
Merge branch 'italian_translation' into 'master'

Italian translation updated

- new strings translated
- fixed typos
- some minor style edits

See merge request !28

8 years agoItalian translation updated
dedioste [Wed, 23 Mar 2016 21:13:50 +0000 (22:13 +0100)] 
Italian translation updated

- new string translated
- fixed typos
- some minor style edits

8 years agobump version_static to 16.3 16.3
Andrew Dolgov [Wed, 23 Mar 2016 19:58:33 +0000 (22:58 +0300)] 
bump version_static to 16.3

8 years agorebase translations
Andrew Dolgov [Wed, 23 Mar 2016 19:58:20 +0000 (22:58 +0300)] 
rebase translations

8 years agoversion: do not hardcode master branch
Andrew Dolgov [Wed, 23 Mar 2016 16:08:38 +0000 (19:08 +0300)] 
version: do not hardcode master branch

8 years agonormalize some html5 custom attributes
Andrew Dolgov [Tue, 22 Mar 2016 20:43:32 +0000 (23:43 +0300)] 
normalize some html5 custom attributes

8 years agogetLoadedArticleIds: consider visible rows only
Andrew Dolgov [Tue, 22 Mar 2016 20:22:28 +0000 (23:22 +0300)] 
getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats

8 years agoshowArticleInHeadlines: remove unused code
Andrew Dolgov [Tue, 22 Mar 2016 10:41:55 +0000 (13:41 +0300)] 
showArticleInHeadlines: remove unused code

8 years agoupdateFloatingMenu: performance improvements
Andrew Dolgov [Tue, 22 Mar 2016 10:38:20 +0000 (13:38 +0300)] 
updateFloatingMenu: performance improvements

8 years agoadd a webkit hack to hopefully improve headlines-frame scrolling speed
Andrew Dolgov [Tue, 22 Mar 2016 09:53:17 +0000 (12:53 +0300)] 
add a webkit hack to hopefully improve headlines-frame scrolling speed

8 years agofix previous
Andrew Dolgov [Tue, 22 Mar 2016 09:51:15 +0000 (12:51 +0300)] 
fix previous

8 years agoheadlines scroll handler: add a rate limit
Andrew Dolgov [Tue, 22 Mar 2016 09:43:18 +0000 (12:43 +0300)] 
headlines scroll handler: add a rate limit

8 years agoremove dismiss* functions
Andrew Dolgov [Tue, 22 Mar 2016 07:28:34 +0000 (10:28 +0300)] 
remove dismiss* functions

8 years agocatchupfeedingroup: do not remove elements
Andrew Dolgov [Tue, 22 Mar 2016 07:23:57 +0000 (10:23 +0300)] 
catchupfeedingroup: do not remove elements

8 years agocleanup dismissArticle functions
Andrew Dolgov [Tue, 22 Mar 2016 07:11:11 +0000 (10:11 +0300)] 
cleanup dismissArticle functions

8 years agocatchupFeedInGroup: dismiss elements on catchup
Andrew Dolgov [Tue, 22 Mar 2016 06:42:00 +0000 (09:42 +0300)] 
catchupFeedInGroup: dismiss elements on catchup

8 years agoaf_redditimgur: try to handle mobile imgur albums
Andrew Dolgov [Tue, 22 Mar 2016 06:20:36 +0000 (09:20 +0300)] 
af_redditimgur: try to handle mobile imgur albums

8 years agocatchupFeedInGroup: send catchup request even if there are no unread articles in...
Andrew Dolgov [Mon, 21 Mar 2016 18:43:54 +0000 (21:43 +0300)] 
catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed

8 years agoimprovements for catchupFeedInGroup()
Andrew Dolgov [Mon, 21 Mar 2016 18:40:40 +0000 (21:40 +0300)] 
improvements for catchupFeedInGroup()

8 years agoaf_redditimgur: relax youtube matching a bit
Andrew Dolgov [Sun, 20 Mar 2016 09:05:23 +0000 (12:05 +0300)] 
af_redditimgur: relax youtube matching a bit

8 years agofix previous wrt single-image imgur pages
Andrew Dolgov [Sun, 20 Mar 2016 09:03:39 +0000 (12:03 +0300)] 
fix previous wrt single-image imgur pages

8 years agoaf_redditimgur: fix handling of imgur albums, implement debugging (method=testurl)
Andrew Dolgov [Sun, 20 Mar 2016 08:30:56 +0000 (11:30 +0300)] 
af_redditimgur: fix handling of imgur albums, implement debugging (method=testurl)

8 years agopass feed information to hook_article_export_feed
Andrew Dolgov [Tue, 1 Mar 2016 11:42:15 +0000 (14:42 +0300)] 
pass feed information to hook_article_export_feed

8 years agoadd PluginHost.HOOK_ARTICLE_EXPORT_FEED
Andrew Dolgov [Tue, 1 Mar 2016 11:39:36 +0000 (14:39 +0300)] 
add PluginHost.HOOK_ARTICLE_EXPORT_FEED

8 years agorewrite_relative_url: only skip urls like magnet: instead of everything with :
Andrew Dolgov [Sat, 20 Feb 2016 09:06:47 +0000 (12:06 +0300)] 
rewrite_relative_url: only skip urls like magnet: instead of everything with :

8 years agoRevert "rewrite_relative_url: do not skip urls containing :"
Andrew Dolgov [Sat, 20 Feb 2016 09:02:34 +0000 (12:02 +0300)] 
Revert "rewrite_relative_url: do not skip urls containing :"

This reverts commit a547fef6ab4da1d3691ac0f24aca8e9bb545bc25.

8 years agorewrite_relative_url: do not skip urls containing :
Andrew Dolgov [Sat, 20 Feb 2016 08:57:37 +0000 (11:57 +0300)] 
rewrite_relative_url: do not skip urls containing :

8 years agopref_filters: sort rules by reg_exp when displaying index
Andrew Dolgov [Fri, 19 Feb 2016 15:52:54 +0000 (18:52 +0300)] 
pref_filters: sort rules by reg_exp when displaying index

8 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Fri, 19 Feb 2016 06:39:29 +0000 (09:39 +0300)] 
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

8 years agoMerge branch 'remove-srcsrc-local-cache' into 'master'
Andrew Dolgov [Fri, 19 Feb 2016 06:39:11 +0000 (09:39 +0300)] 
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

8 years agoRemove srcset and sizes attributes from img tag if locally caching images.
JustAMacUser [Fri, 19 Feb 2016 06:35:11 +0000 (01:35 -0500)] 
Remove srcset and sizes attributes from img tag if locally caching images.

8 years agoerror handler: do not log last query, truncate error message to a smaller length
Andrew Dolgov [Wed, 17 Feb 2016 13:42:13 +0000 (16:42 +0300)] 
error handler: do not log last query, truncate error message to a smaller length

8 years agominitemplator: use proper constructor
Andrew Dolgov [Wed, 17 Feb 2016 09:29:42 +0000 (12:29 +0300)] 
minitemplator: use proper constructor

8 years agogenerate_syndicated_feed: pass article id to sanitize()
Andrew Dolgov [Thu, 11 Feb 2016 17:11:01 +0000 (20:11 +0300)] 
generate_syndicated_feed: pass article id to sanitize()

8 years agoMerge branch 'dont-wrap-excerpt' into 'master'
Andrew Dolgov [Mon, 8 Feb 2016 09:27:27 +0000 (12:27 +0300)] 
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

8 years agoMake sure author and excerpt spans don't wrap even if active.
Todd Vierling [Sun, 7 Feb 2016 18:04:50 +0000 (13:04 -0500)] 
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.

8 years agoMerge branch 'new_tab_mac_fix' into 'master'
Andrew Dolgov [Sun, 7 Feb 2016 19:17:03 +0000 (22:17 +0300)] 
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

8 years agoMake "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode)
Kostiantyn Moroz [Sun, 7 Feb 2016 18:48:24 +0000 (18:48 +0000)] 
Make "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode)

8 years agosanitize: allow <xml:namespace> (thanks, livejournal)
Andrew Dolgov [Fri, 5 Feb 2016 08:31:13 +0000 (11:31 +0300)] 
sanitize: allow <xml:namespace> (thanks, livejournal)

8 years agoupdate_rss_feed: disable support for http 304 for the time being
Andrew Dolgov [Tue, 2 Feb 2016 11:51:02 +0000 (14:51 +0300)] 
update_rss_feed: disable support for http 304 for the time being

8 years agoaf_redditimgur: add option for previous
Andrew Dolgov [Sun, 31 Jan 2016 11:14:31 +0000 (14:14 +0300)] 
af_redditimgur: add option for previous

8 years agoaf_redditimgur: add (disabled) wip content dupe checker
Andrew Dolgov [Sun, 31 Jan 2016 11:01:18 +0000 (14:01 +0300)] 
af_redditimgur: add (disabled) wip content dupe checker

8 years agoinline feed update: set feed as needing update if open_basedir is set + plugins need...
Andrew Dolgov [Sat, 30 Jan 2016 10:40:56 +0000 (13:40 +0300)] 
inline feed update: set feed as needing update if open_basedir is set + plugins need curl

8 years agopref-labels: remove obsolete searching code
Andrew Dolgov [Sat, 30 Jan 2016 10:03:00 +0000 (13:03 +0300)] 
pref-labels: remove obsolete searching code

8 years agopref-feeds: allow searching by feed_url
Andrew Dolgov [Sat, 30 Jan 2016 10:02:15 +0000 (13:02 +0300)] 
pref-feeds: allow searching by feed_url

8 years agofix item_id not being properly escaped in pref_feeds::process_category_order() (possi...
Andrew Dolgov [Fri, 29 Jan 2016 14:24:59 +0000 (17:24 +0300)] 
fix item_id not being properly escaped in pref_feeds::process_category_order() (possible sql injection)

8 years agocreate_published_article: only use readability if enabled in the plugin
Andrew Dolgov [Fri, 29 Jan 2016 12:48:44 +0000 (15:48 +0300)] 
create_published_article: only use readability if enabled in the plugin

8 years agoenable support for readability (if af_readability is enabled) in shareanything bookma...
Andrew Dolgov [Fri, 29 Jan 2016 12:38:05 +0000 (15:38 +0300)] 
enable support for readability (if af_readability is enabled) in shareanything bookmarklet

8 years agoremove reddit textnode hack since the feed is broken in a different way now
Andrew Dolgov [Wed, 27 Jan 2016 05:52:45 +0000 (08:52 +0300)] 
remove reddit textnode hack since the feed is broken in a different way now

8 years agofix multiple issues with archived feeds
Andrew Dolgov [Tue, 26 Jan 2016 16:03:05 +0000 (19:03 +0300)] 
fix multiple issues with archived feeds

8 years agoonly stop inline feed updates with open_basedir enabled if there are any plugins...
Andrew Dolgov [Tue, 26 Jan 2016 08:45:47 +0000 (11:45 +0300)] 
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)

8 years agoprevent frontend updating of feeds on view if open_basedir is set to prevent plugins...
Andrew Dolgov [Sat, 23 Jan 2016 09:13:03 +0000 (12:13 +0300)] 
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)