]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
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

6 years agoMerge branch 'fix-pdo-mail-plugin' of JustAMacUser/tt-rss into master
fox [Tue, 2 Jan 2018 06:23:43 +0000 (06:23 +0000)]
Merge branch 'fix-pdo-mail-plugin' of JustAMacUser/tt-rss into master

6 years agoFix missing parenthesis.
Dave Z [Mon, 1 Jan 2018 23:59:28 +0000 (18:59 -0500)]
Fix missing parenthesis.

6 years agoFix PDO query in mail plugin.
Dave Z [Mon, 1 Jan 2018 18:33:58 +0000 (13:33 -0500)]
Fix PDO query in mail plugin.

6 years agoremove synchronous feed refreshing on ForceUpdate
Andrew Dolgov [Sun, 31 Dec 2017 04:37:49 +0000 (07:37 +0300)]
remove synchronous feed refreshing on ForceUpdate

6 years agosearch_to_sql: quote fallback search language
Andrew Dolgov [Sat, 30 Dec 2017 13:27:05 +0000 (16:27 +0300)]
search_to_sql: quote fallback search language

6 years agoMerge branch 'func-missing-quotes' of JustAMacUser/tt-rss into master
fox [Sat, 30 Dec 2017 06:12:22 +0000 (06:12 +0000)]
Merge branch 'func-missing-quotes' of JustAMacUser/tt-rss into master

6 years agoAdd missing quotes to array_map.
JustAMacUser [Sat, 30 Dec 2017 06:00:56 +0000 (01:00 -0500)]
Add missing quotes to array_map.

6 years agoMerge branch 'opml-titles' of tianon/tt-rss into master
fox [Sat, 30 Dec 2017 05:55:06 +0000 (05:55 +0000)]
Merge branch 'opml-titles' of tianon/tt-rss into master

6 years agotreat OPML-imported feeds without a title the same as a batch import
Tianon Gravi [Fri, 29 Dec 2017 23:26:34 +0000 (15:26 -0800)]
treat OPML-imported feeds without a title the same as a batch import

6 years agoMerge branch 'otp' of fturco/tt-rss into master
fox [Fri, 22 Dec 2017 15:00:32 +0000 (15:00 +0000)]
Merge branch 'otp' of fturco/tt-rss into master

6 years agofix two-factor authenticaton
Francesco Turco [Fri, 22 Dec 2017 11:29:25 +0000 (12:29 +0100)]
fix two-factor authenticaton

6 years agoupdate_rss_feed: don't try to use quoted NOW() in query
Andrew Dolgov [Mon, 18 Dec 2017 15:27:23 +0000 (18:27 +0300)]
update_rss_feed: don't try to use quoted NOW() in query

6 years agopluginhost: always return an array in get_all()
Andrew Dolgov [Sun, 17 Dec 2017 16:06:18 +0000 (19:06 +0300)]
pluginhost: always return an array in get_all()

6 years agoforce-cast some variables used in queries to integer
Andrew Dolgov [Sun, 17 Dec 2017 13:24:13 +0000 (16:24 +0300)]
force-cast some variables used in queries to integer
do not display SQL query in headlines debug mode

6 years agoisdefaultpassword: use method_exists() to check for check_password
Andrew Dolgov [Fri, 15 Dec 2017 09:15:15 +0000 (12:15 +0300)]
isdefaultpassword: use method_exists() to check for check_password

6 years agoproperly highlight search keywords containing forward slash
Andrew Dolgov [Fri, 15 Dec 2017 05:33:59 +0000 (08:33 +0300)]
properly highlight search keywords containing forward slash

6 years agoMerge branch 'master' of simonpl/tt-rss into master
fox [Thu, 14 Dec 2017 18:01:21 +0000 (18:01 +0000)]
Merge branch 'master' of simonpl/tt-rss into master

6 years agoFix typo from previous pull request
simonp [Thu, 14 Dec 2017 17:43:42 +0000 (18:43 +0100)]
Fix typo from previous pull request

6 years agoMerge branch 'master' of bcollet/tt-rss-fix-auth into master
fox [Thu, 14 Dec 2017 17:09:32 +0000 (17:09 +0000)]
Merge branch 'master' of bcollet/tt-rss-fix-auth into master

6 years agoCheck if the auth module supports check_password() method before using it
Benjamin Collet [Thu, 14 Dec 2017 17:02:37 +0000 (18:02 +0100)]
Check if the auth module supports check_password() method before using it

6 years agofix single user mode login failing because of isdefaultpassword()
Andrew Dolgov [Thu, 14 Dec 2017 16:27:55 +0000 (19:27 +0300)]
fix single user mode login failing because of isdefaultpassword()

6 years agominor css updates
Andrew Dolgov [Wed, 13 Dec 2017 17:17:19 +0000 (20:17 +0300)]
minor css updates

6 years agosanitize: disable referrer via referrerpolicy for img elements
Andrew Dolgov [Wed, 13 Dec 2017 17:07:10 +0000 (20:07 +0300)]
sanitize: disable referrer via referrerpolicy for img elements

6 years agostyle updates for combined expandable mode, etc
Andrew Dolgov [Wed, 13 Dec 2017 16:18:53 +0000 (19:18 +0300)]
style updates for combined expandable mode, etc

6 years agostyle updates for 3 panel mode
Andrew Dolgov [Wed, 13 Dec 2017 16:09:14 +0000 (19:09 +0300)]
style updates for 3 panel mode

6 years agohl selection: use accent color
Andrew Dolgov [Wed, 13 Dec 2017 15:53:31 +0000 (18:53 +0300)]
hl selection: use accent color

6 years agoadd ::selection
Andrew Dolgov [Wed, 13 Dec 2017 12:54:08 +0000 (15:54 +0300)]
add ::selection

6 years agoMerge branch 'master' of git.tt-rss.org:git/tt-rss into pdo-experimental
Andrew Dolgov [Wed, 13 Dec 2017 05:21:50 +0000 (08:21 +0300)]
Merge branch 'master' of git.tt-rss.org:git/tt-rss into pdo-experimental

6 years agoMerge branch 'readability-urls' of JustAMacUser/tt-rss into master
fox [Wed, 13 Dec 2017 05:21:10 +0000 (05:21 +0000)]
Merge branch 'readability-urls' of JustAMacUser/tt-rss into master

6 years agoMake af_readability use resolved URL when rewriting relative URLs in the article.
JustAMacUser [Wed, 13 Dec 2017 05:17:43 +0000 (00:17 -0500)]
Make af_readability use resolved URL when rewriting relative URLs in the article.

6 years agorebase translations
Andrew Dolgov [Mon, 11 Dec 2017 16:06:22 +0000 (19:06 +0300)]
rebase translations

6 years agouse button-style links for bookmarklets
Andrew Dolgov [Mon, 11 Dec 2017 16:04:06 +0000 (19:04 +0300)]
use button-style links for bookmarklets

6 years agopref-prefs: set button classes
Andrew Dolgov [Mon, 11 Dec 2017 15:48:28 +0000 (18:48 +0300)]
pref-prefs: set button classes

6 years agofilter rule/action dialogs: set default action
Andrew Dolgov [Mon, 11 Dec 2017 15:46:27 +0000 (18:46 +0300)]
filter rule/action dialogs: set default action

6 years agosubscribe dialog: add primary action
Andrew Dolgov [Mon, 11 Dec 2017 15:43:53 +0000 (18:43 +0300)]
subscribe dialog: add primary action

6 years agouser editor: add primary action
Andrew Dolgov [Mon, 11 Dec 2017 15:41:32 +0000 (18:41 +0300)]
user editor: add primary action

6 years agoadd some primary dialog actions; update css
Andrew Dolgov [Mon, 11 Dec 2017 15:36:36 +0000 (18:36 +0300)]
add some primary dialog actions; update css

6 years agofilter,label dlg: use default action
Andrew Dolgov [Mon, 11 Dec 2017 15:23:30 +0000 (18:23 +0300)]
filter,label dlg: use default action

6 years agosearch form: set default action
Andrew Dolgov [Mon, 11 Dec 2017 15:14:45 +0000 (18:14 +0300)]
search form: set default action

6 years agoMerge branch 'master' of git.tt-rss.org:git/tt-rss into pdo-experimental
Andrew Dolgov [Mon, 11 Dec 2017 09:54:30 +0000 (12:54 +0300)]
Merge branch 'master' of git.tt-rss.org:git/tt-rss into pdo-experimental

6 years agoMerge branch 'master' of dim0x69/tt-rss into master
fox [Mon, 11 Dec 2017 09:47:04 +0000 (09:47 +0000)]
Merge branch 'master' of dim0x69/tt-rss into master

6 years agoCheck return value from Plugins
dim0x69 [Mon, 11 Dec 2017 09:41:45 +0000 (09:41 +0000)]
Check return value from Plugins

6 years agoMerge branch 'pda-rss-now' of richm/tt-rss into pdo-experimental
fox [Mon, 11 Dec 2017 04:01:28 +0000 (04:01 +0000)]
Merge branch 'pda-rss-now' of richm/tt-rss into pdo-experimental

6 years agoInclude NOW() in prepared SQL for rssutils.php
Richard Mortimer [Sun, 10 Dec 2017 23:05:03 +0000 (23:05 +0000)]
Include NOW() in prepared SQL for rssutils.php

6 years agomerge login form css into default.css
Andrew Dolgov [Sun, 10 Dec 2017 19:51:39 +0000 (22:51 +0300)]
merge login form css into default.css
update more hardcoded colors to use @color-accent
update @color-accent

6 years agosynchronous feed update: catch PDO exceptions as to not break headlines output
Andrew Dolgov [Sun, 10 Dec 2017 18:10:19 +0000 (21:10 +0300)]
synchronous feed update: catch PDO exceptions as to not break headlines output

6 years agopdo_connect: catch exception on create
Andrew Dolgov [Sun, 10 Dec 2017 06:27:07 +0000 (09:27 +0300)]
pdo_connect: catch exception on create

6 years agoinstaller: use PDO, improve wording for some notices
Andrew Dolgov [Sun, 10 Dec 2017 06:20:52 +0000 (09:20 +0300)]
installer: use PDO, improve wording for some notices
PDO wrapper: allow working with blank DB_HOST

6 years agoMerge branch 'pdo-experimental' of cac2s/tt-rss into pdo-experimental
fox [Thu, 7 Dec 2017 08:53:38 +0000 (08:53 +0000)]
Merge branch 'pdo-experimental' of cac2s/tt-rss into pdo-experimental

6 years agoset charset to "utf-8"
cac2s [Thu, 7 Dec 2017 08:34:17 +0000 (08:34 +0000)]
set charset to "utf-8"

6 years agobool_to_sql_bool: for some reason PDO really likes integers for boolean columns
Andrew Dolgov [Tue, 5 Dec 2017 21:12:28 +0000 (00:12 +0300)]
bool_to_sql_bool: for some reason PDO really likes integers for boolean columns

incidentally this fixes OPML filter import

6 years agoupdate previous to only affect mysql
Andrew Dolgov [Tue, 5 Dec 2017 19:46:18 +0000 (22:46 +0300)]
update previous to only affect mysql

6 years agopurge_orphans: limit maximum number of deleted articles
Andrew Dolgov [Tue, 5 Dec 2017 19:37:50 +0000 (22:37 +0300)]
purge_orphans: limit maximum number of deleted articles

6 years agoopml_import_filter: remove debugging
Andrew Dolgov [Tue, 5 Dec 2017 07:18:54 +0000 (10:18 +0300)]
opml_import_filter: remove debugging

6 years agoremove mentions of deprecated.js
Andrew Dolgov [Tue, 5 Dec 2017 04:09:01 +0000 (07:09 +0300)]
remove mentions of deprecated.js

6 years agoremove some obsolete stuff, fix minor issues found by code analyzer
Andrew Dolgov [Mon, 4 Dec 2017 08:02:13 +0000 (11:02 +0300)]
remove some obsolete stuff, fix minor issues found by code analyzer

6 years agosome (very minor) code cleanup in feeds class
Andrew Dolgov [Mon, 4 Dec 2017 07:39:50 +0000 (10:39 +0300)]
some (very minor) code cleanup in feeds class

6 years agoformat_headlines_list: prevent warning on first_id changed check
Andrew Dolgov [Mon, 4 Dec 2017 07:26:22 +0000 (10:26 +0300)]
format_headlines_list: prevent warning on first_id changed check

6 years agosetpref: remove nl2br()
Andrew Dolgov [Mon, 4 Dec 2017 05:27:25 +0000 (08:27 +0300)]
setpref: remove nl2br()

6 years agoforce strip_tags() on all user input unless explicitly allowed
Andrew Dolgov [Sun, 3 Dec 2017 20:35:38 +0000 (23:35 +0300)]
force strip_tags() on all user input unless explicitly allowed

6 years agofix some minor issues found by code analyzer
Andrew Dolgov [Sun, 3 Dec 2017 20:08:04 +0000 (23:08 +0300)]
fix some minor issues found by code analyzer

6 years agoqueryfeedheadlines: there's no need to quote order_by/override_order
Andrew Dolgov [Sun, 3 Dec 2017 19:49:57 +0000 (22:49 +0300)]
queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc