]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
6 years agomove JShrink Minifier to vendor/
Andrew Dolgov [Wed, 20 Jun 2018 12:04:59 +0000 (15:04 +0300)]
move JShrink Minifier to vendor/

6 years agoupdate autoloader to consider namespaces for third party libraries: placed and loaded...
Andrew Dolgov [Wed, 20 Jun 2018 11:58:09 +0000 (14:58 +0300)]
update autoloader to consider namespaces for third party libraries: placed and loaded from vendor/namespace/classpath.php
update readability to a newer implementation based on Readability.js (https://github.com/andreskrey/readability.php)
add vendor/Psr/Log interface required for the above

6 years agofeedbrowser: fix incorrect usage of LIMIT in prepared statement
Andrew Dolgov [Mon, 18 Jun 2018 20:50:32 +0000 (23:50 +0300)]
feedbrowser: fix incorrect usage of LIMIT in prepared statement

6 years agoMerge branch 'fix/git-packed-ref' of tobidope/tt-rss into master
fox [Thu, 14 Jun 2018 04:27:11 +0000 (04:27 +0000)]
Merge branch 'fix/git-packed-ref' of tobidope/tt-rss into master

6 years agoDon't bail out if git gc removed refs
Tobias Bell [Fri, 8 Jun 2018 20:07:30 +0000 (22:07 +0200)]
Don't bail out if git gc removed refs

6 years agoshare: add support for og:image, etc. metadata for shared articles
Andrew Dolgov [Tue, 29 May 2018 19:04:02 +0000 (22:04 +0300)]
share: add support for og:image, etc. metadata for shared articles

6 years agoimport_export: limit and offset don't play nice with generic PDO placeholders
Andrew Dolgov [Mon, 28 May 2018 13:49:39 +0000 (16:49 +0300)]
import_export: limit and offset don't play nice with generic PDO placeholders

6 years agoimport_export: update to use PDO
Andrew Dolgov [Mon, 28 May 2018 13:43:53 +0000 (16:43 +0300)]
import_export: update to use PDO

6 years agoaf_redditimgur updates:
Andrew Dolgov [Sat, 26 May 2018 07:25:39 +0000 (10:25 +0300)]
af_redditimgur updates:
1. remove special handling for imgur albums/pages because its full on cancerous json garbage now with no scrapeable layout
2. skip all urls leading to reddit.com while trying to embed content
3. implement generic last resort embedding based on meta og:image element

6 years agoaf_readability: specify http accept header
Andrew Dolgov [Fri, 25 May 2018 11:35:33 +0000 (14:35 +0300)]
af_readability: specify http accept header

6 years agofetch_file_contents: allow setting http Accept header
Andrew Dolgov [Fri, 25 May 2018 11:25:08 +0000 (14:25 +0300)]
fetch_file_contents: allow setting http Accept header

6 years agoRevert "plugins/import_export: use PDO"
Andrew Dolgov [Thu, 24 May 2018 09:31:30 +0000 (12:31 +0300)]
Revert "plugins/import_export: use PDO"

This reverts commit 785ffca622b2fa706812e7897225a79994e1034e.

6 years agoMerge branch 'master' of MatthieuS/tt-rss into master
fox [Wed, 23 May 2018 09:08:15 +0000 (09:08 +0000)]
Merge branch 'master' of MatthieuS/tt-rss into master

6 years agoCall the subscription hook from the plugins even if fetch_file_contents returned...
MatthieuS [Wed, 23 May 2018 09:00:04 +0000 (09:00 +0000)]
Call the subscription hook from the plugins even if fetch_file_contents returned no data

This allows a plug-in to override the fetch when the core fetch method fails for some feeds (eg. Tumblr feeds when requested from an EU IP).

6 years agoincrease buffersize to 16384 bytes
Andrew Dolgov [Wed, 23 May 2018 07:40:22 +0000 (10:40 +0300)]
increase buffersize to 16384 bytes
(also some trailing whitespace got clipped)

6 years agoMerge branch 'master' of impa/tt-rss into master
fox [Wed, 23 May 2018 05:19:59 +0000 (05:19 +0000)]
Merge branch 'master' of impa/tt-rss into master

6 years agoincreased CURLOPT_BUFFERSIZE from 128 to 256
Alexander Yaburov [Wed, 23 May 2018 05:02:03 +0000 (10:02 +0500)]
increased CURLOPT_BUFFERSIZE from 128 to 256

6 years agoimplement hard limits on downloaded data size for general fetching and cache plugins...
Andrew Dolgov [Sun, 20 May 2018 08:08:33 +0000 (11:08 +0300)]
implement hard limits on downloaded data size for general fetching and cache plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE

6 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Sun, 20 May 2018 07:41:15 +0000 (10:41 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

6 years agobump date_updated when updated article data is saved to exclude it from purging ...
Andrew Dolgov [Sun, 20 May 2018 07:41:08 +0000 (10:41 +0300)]
bump date_updated when updated article data is saved to exclude it from purging (because it is still present in the originating feed)

6 years agoMerge branch 'fix-fr-translation-typos' of framasky/tt-rss into master
fox [Sun, 20 May 2018 07:21:12 +0000 (07:21 +0000)]
Merge branch 'fix-fr-translation-typos' of framasky/tt-rss into master

6 years agoMerge branch 'pdo-import-export-plugin' of framasky/tt-rss into master
fox [Sun, 20 May 2018 07:21:04 +0000 (07:21 +0000)]
Merge branch 'pdo-import-export-plugin' of framasky/tt-rss into master

6 years agoplugins/import_export: use PDO
Luc Didry [Wed, 16 May 2018 14:45:25 +0000 (16:45 +0200)]
plugins/import_export: use PDO

6 years agoFix FR translation typos
framasky [Tue, 15 May 2018 09:47:34 +0000 (09:47 +0000)]
Fix FR translation typos

6 years agoMerge branch 'af_comics-ssl' of JustAMacUser/tt-rss into master
fox [Sat, 12 May 2018 18:43:52 +0000 (18:43 +0000)]
Merge branch 'af_comics-ssl' of JustAMacUser/tt-rss into master

6 years agoaf_comics: Go Comics now uses HTTPS.
JustAMacUser [Sat, 12 May 2018 17:31:52 +0000 (13:31 -0400)]
af_comics: Go Comics now uses HTTPS.

6 years agorebase translations
Andrew Dolgov [Sat, 28 Apr 2018 14:03:51 +0000 (17:03 +0300)]
rebase translations

6 years agoMerge branch 'translation_pt_BR' of ekalin/tt-rss into master
fox [Sat, 28 Apr 2018 14:03:18 +0000 (14:03 +0000)]
Merge branch 'translation_pt_BR' of ekalin/tt-rss into master

6 years agoUpdated pt_BR translation.
Eduardo M KALINOWSKI [Sat, 28 Apr 2018 12:09:04 +0000 (09:09 -0300)]
Updated pt_BR translation.

6 years agoaf_comics: nedroid broke their rss feed, might as well plug them into generic comicpr...
Andrew Dolgov [Thu, 26 Apr 2018 08:46:56 +0000 (11:46 +0300)]
af_comics: nedroid broke their rss feed, might as well plug them into generic comicpress filter

6 years agoMerge branch 'reg_exp_length' of lllusion3418/tt-rss into master
fox [Sat, 14 Apr 2018 18:08:18 +0000 (18:08 +0000)]
Merge branch 'reg_exp_length' of lllusion3418/tt-rss into master

6 years agochange filter rule regexp type to text
foobar [Sat, 14 Apr 2018 12:11:29 +0000 (14:11 +0200)]
change filter rule regexp type to text

6 years agopass tsvector data as a named parameter on article update, remove escaping hacks
Andrew Dolgov [Tue, 3 Apr 2018 10:57:27 +0000 (13:57 +0300)]
pass tsvector data as a named parameter on article update, remove escaping hacks

6 years agofilter dialog: remove placeholder
Andrew Dolgov [Wed, 21 Mar 2018 11:02:06 +0000 (14:02 +0300)]
filter dialog: remove placeholder

6 years agofilter dialog: add tooltip re: filter syntax
Andrew Dolgov [Wed, 21 Mar 2018 10:38:36 +0000 (13:38 +0300)]
filter dialog: add tooltip re: filter syntax

6 years agohlClicked: do not set headline selected when ctrl-clicking
Andrew Dolgov [Fri, 16 Mar 2018 18:34:01 +0000 (21:34 +0300)]
hlClicked: do not set headline selected when ctrl-clicking

6 years agoaddLabel: remove unused active_tab
Andrew Dolgov [Fri, 16 Mar 2018 14:25:42 +0000 (17:25 +0300)]
addLabel: remove unused active_tab

6 years agogotoExportOpml: js strict mode fix
Andrew Dolgov [Fri, 16 Mar 2018 12:50:48 +0000 (15:50 +0300)]
gotoExportOpml: js strict mode fix

6 years agoMerge branch 'master' of tsia/tt-rss into master
fox [Thu, 15 Mar 2018 18:48:41 +0000 (18:48 +0000)]
Merge branch 'master' of tsia/tt-rss into master

6 years agofixed "reset to defaults" in preferences
tsia [Thu, 15 Mar 2018 16:26:50 +0000 (16:26 +0000)]
fixed "reset to defaults" in preferences

6 years agoMerge branch 'strict-js' of wn/tt-rss into master
fox [Thu, 15 Mar 2018 04:35:46 +0000 (04:35 +0000)]
Merge branch 'strict-js' of wn/tt-rss into master

6 years agostrict js: various var fixes
wn_ [Thu, 15 Mar 2018 01:02:21 +0000 (20:02 -0500)]
strict js: various var fixes

6 years agoviewfeed: remove force_nocache (unused)
Andrew Dolgov [Wed, 14 Mar 2018 19:35:12 +0000 (22:35 +0300)]
viewfeed: remove force_nocache (unused)

6 years agoswitchPanelMode: strict-mode fix for article_id
Andrew Dolgov [Wed, 14 Mar 2018 16:45:10 +0000 (19:45 +0300)]
switchPanelMode: strict-mode fix for article_id

6 years agoremove firefox feed subscribe integration code (obsolete)
Andrew Dolgov [Wed, 14 Mar 2018 15:15:21 +0000 (18:15 +0300)]
remove firefox feed subscribe integration code (obsolete)

6 years agoMerge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode
fox [Mon, 12 Mar 2018 05:00:35 +0000 (05:00 +0000)]
Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode

6 years agostrict js: fix subscribing when HTML with multiple feeds
wn_ [Sun, 11 Mar 2018 19:35:36 +0000 (14:35 -0500)]
strict js: fix subscribing when HTML with multiple feeds

also a minor fix for response handling in quickAddFilter

6 years agoMerge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode
fox [Sun, 11 Mar 2018 08:38:55 +0000 (08:38 +0000)]
Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode

6 years agostrict js: fix catchupBatchedArticles
wn_ [Sat, 10 Mar 2018 13:38:23 +0000 (07:38 -0600)]
strict js: fix catchupBatchedArticles

This addresses the "Unread not removed from row" issue.

6 years agostrict js: fix more dialog vars
wn_ [Sat, 10 Mar 2018 13:11:33 +0000 (07:11 -0600)]
strict js: fix more dialog vars

6 years agoMerge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode
fox [Sat, 10 Mar 2018 05:28:43 +0000 (05:28 +0000)]
Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode

6 years agostrict js: fix helpDialog
wn_ [Sat, 10 Mar 2018 01:57:17 +0000 (19:57 -0600)]
strict js: fix helpDialog

6 years agodo not enforce strict mode for plugins
Andrew Dolgov [Thu, 8 Mar 2018 15:41:03 +0000 (18:41 +0300)]
do not enforce strict mode for plugins

6 years agoinitial for JS strict mode
Andrew Dolgov [Thu, 8 Mar 2018 15:33:42 +0000 (18:33 +0300)]
initial for JS strict mode

6 years agofeed editor: expose site_url for editing
Andrew Dolgov [Thu, 1 Mar 2018 12:43:40 +0000 (15:43 +0300)]
feed editor: expose site_url for editing

6 years agoMerge branch 'abbr-tag' of JustAMacUser/tt-rss into master
fox [Tue, 27 Feb 2018 16:37:24 +0000 (16:37 +0000)]
Merge branch 'abbr-tag' of JustAMacUser/tt-rss into master

6 years agoAllow abbr tag when sanitizing.
JustAMacUser [Tue, 27 Feb 2018 16:06:10 +0000 (16:06 +0000)]
Allow abbr tag when sanitizing.

6 years agoprefs: expand feed tree if displaying search results
Andrew Dolgov [Mon, 26 Feb 2018 08:58:53 +0000 (11:58 +0300)]
prefs: expand feed tree if displaying search results

6 years agofix previous wrt if-modified-since being added to context options headers
Andrew Dolgov [Sun, 25 Feb 2018 11:22:46 +0000 (14:22 +0300)]
fix previous wrt if-modified-since being added to context options headers

6 years agoMerge branch 'master' of Metallizzer/tt-rss into master
fox [Sun, 25 Feb 2018 11:05:16 +0000 (11:05 +0000)]
Merge branch 'master' of Metallizzer/tt-rss into master

6 years agoОбновить 'include/functions.php'
Metallizzer [Sun, 25 Feb 2018 10:03:09 +0000 (10:03 +0000)]
Обновить 'include/functions.php'

The "Connection: close" header is added to the context_options

6 years agoauto_assign_labels: pass delimiter to preg_quote() to escape slashes properly
Andrew Dolgov [Fri, 23 Feb 2018 10:31:08 +0000 (13:31 +0300)]
auto_assign_labels: pass delimiter to preg_quote() to escape slashes properly

6 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Mon, 12 Feb 2018 06:38:17 +0000 (09:38 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

6 years agoMerge branch 'af_readability-refactor' of JustAMacUser/tt-rss into master
fox [Mon, 12 Feb 2018 06:38:11 +0000 (06:38 +0000)]
Merge branch 'af_readability-refactor' of JustAMacUser/tt-rss into master

6 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Mon, 12 Feb 2018 06:37:31 +0000 (09:37 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss

6 years agoaf_readability: Use new global fetch_effective_url for canonical URL.
JustAMacUser [Sun, 11 Feb 2018 21:02:17 +0000 (21:02 +0000)]
af_readability: Use new global fetch_effective_url for canonical URL.

6 years agosanitize: disallow width and height attributes for images
Andrew Dolgov [Sun, 11 Feb 2018 13:47:19 +0000 (16:47 +0300)]
sanitize: disallow width and height attributes for images

6 years agoMerge branch 'save-effective-url' of JustAMacUser/tt-rss into master
fox [Sun, 11 Feb 2018 08:57:12 +0000 (08:57 +0000)]
Merge branch 'save-effective-url' of JustAMacUser/tt-rss into master

6 years agoHave fetch_file_contents() save the effective URL.
JustAMacUser [Sun, 11 Feb 2018 07:56:28 +0000 (07:56 +0000)]
Have fetch_file_contents() save the effective URL.

6 years agotag_is_valid: simplify code
Andrew Dolgov [Sun, 11 Feb 2018 07:26:33 +0000 (10:26 +0300)]
tag_is_valid: simplify code

6 years agoadd a workaround to support numeric tags
Andrew Dolgov [Sun, 11 Feb 2018 07:24:24 +0000 (10:24 +0300)]
add a workaround to support numeric tags

6 years agoMerge branch 'master' of JustAMacUser/tt-rss into master
fox [Sun, 11 Feb 2018 07:10:13 +0000 (07:10 +0000)]
Merge branch 'master' of JustAMacUser/tt-rss into master

6 years agoaf_comics: Fix typo -- call to undefined method.
JustAMacUser [Sun, 11 Feb 2018 07:01:29 +0000 (07:01 +0000)]
af_comics: Fix typo -- call to undefined method.

6 years agoupdate CSS
Andrew Dolgov [Thu, 8 Feb 2018 10:54:38 +0000 (13:54 +0300)]
update CSS

6 years agoadd special class for feeds with disabled updates
Andrew Dolgov [Thu, 8 Feb 2018 10:54:06 +0000 (13:54 +0300)]
add special class for feeds with disabled updates

6 years agominor updates for utility/zoom CSS
Andrew Dolgov [Thu, 8 Feb 2018 10:17:04 +0000 (13:17 +0300)]
minor updates for utility/zoom CSS

6 years agoMerge branch 'fix-gocomics-subscribe' of JustAMacUser/tt-rss into master
fox [Wed, 7 Feb 2018 17:18:38 +0000 (17:18 +0000)]
Merge branch 'fix-gocomics-subscribe' of JustAMacUser/tt-rss into master

6 years agoaf_comics: Workaround for GoComics' lazy loading images in srcset.
Dave Z [Wed, 7 Feb 2018 16:57:32 +0000 (16:57 +0000)]
af_comics: Workaround for GoComics' lazy loading images in srcset.

6 years agoaf_comics: Allow subscribing to GoComics URLs via page (only this time, *actually...
Dave Z [Wed, 7 Feb 2018 06:52:36 +0000 (06:52 +0000)]
af_comics: Allow subscribing to GoComics URLs via page (only this time, *actually allow* it).

6 years agofilter delete action/rule: fix selector syntax
Andrew Dolgov [Sun, 4 Feb 2018 09:50:21 +0000 (12:50 +0300)]
filter delete action/rule: fix selector syntax

6 years agopref-feeds: disable tree autoexpand
Andrew Dolgov [Sun, 4 Feb 2018 06:36:56 +0000 (09:36 +0300)]
pref-feeds: disable tree autoexpand

6 years agosavefeedorder, savefilterorder: do not use clean() on json payload
Andrew Dolgov [Sun, 4 Feb 2018 06:33:28 +0000 (09:33 +0300)]
savefeedorder, savefilterorder: do not use clean() on json payload

6 years agoRevert "import_export: do not use DOMDocument->loadXML in static context"
Andrew Dolgov [Tue, 30 Jan 2018 11:41:27 +0000 (14:41 +0300)]
Revert "import_export: do not use DOMDocument->loadXML in static context"

This reverts commit 1ddf3a28e56d64fa8e80868e731cdde8b2abefa8.

6 years agoimport_export: do not use DOMDocument->loadXML in static context
Andrew Dolgov [Tue, 30 Jan 2018 10:17:05 +0000 (13:17 +0300)]
import_export: do not use DOMDocument->loadXML in static context

6 years agoimport_export: use legacy true/false values
Andrew Dolgov [Tue, 30 Jan 2018 08:45:15 +0000 (11:45 +0300)]
import_export: use legacy true/false values

6 years agoinclude: convert some spaces to tabs
Andrew Dolgov [Tue, 30 Jan 2018 07:44:31 +0000 (10:44 +0300)]
include: convert some spaces to tabs

6 years agoadd .editorconfig
Andrew Dolgov [Tue, 30 Jan 2018 07:36:41 +0000 (10:36 +0300)]
add .editorconfig

6 years agostrip utf8mb4 characters in enclosures on mysql
Andrew Dolgov [Mon, 29 Jan 2018 20:24:11 +0000 (23:24 +0300)]
strip utf8mb4 characters in enclosures on mysql

6 years agogocomics: remove width attribute to fix improper scaling of images
Andrew Dolgov [Sat, 27 Jan 2018 06:50:49 +0000 (09:50 +0300)]
gocomics: remove width attribute to fix improper scaling of images

6 years agoMerge branch 'master' of jsoares/tt-rss into master
fox [Wed, 24 Jan 2018 07:03:59 +0000 (07:03 +0000)]
Merge branch 'master' of jsoares/tt-rss into master

6 years agoFixed time stamping of new unmarked/unpublished articles
jsoares [Mon, 22 Jan 2018 22:41:24 +0000 (22:41 +0000)]
Fixed time stamping of new unmarked/unpublished articles

6 years agoMerge branch 'master' of binfalse/tt-rss into master
fox [Thu, 18 Jan 2018 12:40:24 +0000 (12:40 +0000)]
Merge branch 'master' of binfalse/tt-rss into master

6 years agoundocumenting the proxy settings [see #36]
martin scharm [Thu, 18 Jan 2018 07:48:53 +0000 (08:48 +0100)]
undocumenting the proxy settings [see #36]

in response to https://git.tt-rss.org/git/tt-rss/pulls/36#issuecomment-119

6 years agoMerge branch 'master' of cvidal/tt-rss into master
fox [Wed, 17 Jan 2018 17:45:28 +0000 (17:45 +0000)]
Merge branch 'master' of cvidal/tt-rss into master

6 years agosome proxies require `request_fulluri` set to true [see #36]
martin scharm [Wed, 17 Jan 2018 11:28:47 +0000 (12:28 +0100)]
some proxies require `request_fulluri` set to true [see #36]

at least polipo won't work for plain HTTP URLs (HTTPS strangely also works without `request_fulluri`..?)

see https://git.tt-rss.org/git/tt-rss/pulls/36

6 years agorpc: addfeed: gets login and pass only if need_auth is checked.
Colin Vidal [Sun, 14 Jan 2018 19:55:39 +0000 (20:55 +0100)]
rpc: addfeed: gets login and pass only if need_auth is checked.

Because of browser form auto-completion, the hidden field login and
password can be automatically filled when adding a feed. It would
enable feed authentication even if the user doesn't click on need_auth
button.

6 years agoAdd proper support for proxies
martin scharm [Sat, 13 Jan 2018 23:30:22 +0000 (00:30 +0100)]
Add proper support for proxies

There are situations where you want tt-rss to use a proxy (e.g.
because of network restrictions, or privacy concerns).
tt-rss already comes with an undocumented `_CURL_HTTP_PROXY`
variable (see eg https://binfalse.de/2015/05/06/ttrss-with-proxy/),
however that won't have an effect when, for example, php-curl is
not installed, see
https://git.tt-rss.org/git/tt-rss/src/c30f5e18119d1935e8fe6d422053b127e8f4f1b3/include/functions.php#L377
In this case it would use the `file_get_contents` with a stream
context without a proxy definition:
https://git.tt-rss.org/git/tt-rss/src/c30f5e18119d1935e8fe6d422053b127e8f4f1b3/include/functions.php#L487

Here I propose to properly support proxies, and I introduced a
`PROXY` variable, that is respected in both scenarios, with and
without curl installed.

6 years agosubscribe_to_feed: force-cast login and password to string
Andrew Dolgov [Fri, 5 Jan 2018 03:50:37 +0000 (06:50 +0300)]
subscribe_to_feed: force-cast login and password to string

6 years agoMerge branch 'improvement/digest-pdo-params' of immanuelfodor/tt-rss into master
fox [Tue, 2 Jan 2018 06:47:55 +0000 (06:47 +0000)]
Merge branch 'improvement/digest-pdo-params' of immanuelfodor/tt-rss into master

6 years agobinding statement named param instead of positional replacement
immanuelfodor [Tue, 2 Jan 2018 06:30:22 +0000 (06:30 +0000)]
binding statement named param instead of positional replacement