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

6 years agostyle feed icon and opml file upload controls
Andrew Dolgov [Sun, 3 Dec 2017 19:35:12 +0000 (22:35 +0300)]
style feed icon and opml file upload controls

6 years agoccache: properly recalculate counters for uncategorized
Andrew Dolgov [Sun, 3 Dec 2017 18:34:57 +0000 (21:34 +0300)]
ccache: properly recalculate counters for uncategorized

6 years agomove feeds cache directory to cache/feeds
Andrew Dolgov [Sun, 3 Dec 2017 18:01:35 +0000 (21:01 +0300)]
move feeds cache directory to cache/feeds

6 years agoadd defaultPasswordWarning nag dialog
Andrew Dolgov [Sun, 3 Dec 2017 17:46:27 +0000 (20:46 +0300)]
add defaultPasswordWarning nag dialog

6 years agottrss_zoom: fix CSS
Andrew Dolgov [Sun, 3 Dec 2017 16:55:19 +0000 (19:55 +0300)]
ttrss_zoom: fix CSS

6 years agofix background on sanity failed page
Andrew Dolgov [Sun, 3 Dec 2017 15:00:08 +0000 (18:00 +0300)]
fix background on sanity failed page

6 years agolimit #feedtree styling
Andrew Dolgov [Sun, 3 Dec 2017 14:57:34 +0000 (17:57 +0300)]
limit #feedtree styling

6 years agodb: return adapter on get(), remove IDB wrapper
Andrew Dolgov [Sun, 3 Dec 2017 11:54:15 +0000 (14:54 +0300)]
db: return adapter on get(), remove IDB wrapper

6 years agopluginhost: do not connect via legacy DB api until requested
Andrew Dolgov [Sun, 3 Dec 2017 11:49:18 +0000 (14:49 +0300)]
pluginhost: do not connect via legacy DB api until requested
log all initiated legacy database connections

6 years agofix night theme css
Andrew Dolgov [Sun, 3 Dec 2017 11:18:55 +0000 (14:18 +0300)]
fix night theme css

6 years agoget_theme_path: fallback to css/default.css if default theme is selected
Andrew Dolgov [Sun, 3 Dec 2017 11:17:25 +0000 (14:17 +0300)]
get_theme_path: fallback to css/default.css if default theme is selected

6 years agopref-users: fix sorting the table
Andrew Dolgov [Sun, 3 Dec 2017 10:54:03 +0000 (13:54 +0300)]
pref-users: fix sorting the table

6 years agosanity_check: do not invoke PDO without checking that it exists
Andrew Dolgov [Sun, 3 Dec 2017 10:41:09 +0000 (13:41 +0300)]
sanity_check: do not invoke PDO without checking that it exists

6 years agoadd sanity check for PDO
Andrew Dolgov [Sun, 3 Dec 2017 10:40:09 +0000 (13:40 +0300)]
add sanity check for PDO

6 years agoupdate version static for css & db changes 17.12
Andrew Dolgov [Sun, 3 Dec 2017 10:38:25 +0000 (13:38 +0300)]
update version static for css & db changes

6 years agopdo connection string: properly check for DB_PORT
Andrew Dolgov [Sun, 3 Dec 2017 10:37:43 +0000 (13:37 +0300)]
pdo connection string: properly check for DB_PORT

6 years agofeed debugger: only allow debugging users own feeds
Andrew Dolgov [Sun, 3 Dec 2017 10:35:18 +0000 (13:35 +0300)]
feed debugger: only allow debugging users own feeds

6 years agoforce article content/etc to string when updating to avoid failing null constraint...
Andrew Dolgov [Sun, 3 Dec 2017 10:32:24 +0000 (13:32 +0300)]
force article content/etc to string when updating to avoid failing null constraint check

6 years agoupd default.css
Andrew Dolgov [Sun, 3 Dec 2017 10:28:19 +0000 (13:28 +0300)]
upd default.css

6 years agofurther stylesheet simplification related fixes (2)
Andrew Dolgov [Sun, 3 Dec 2017 10:26:26 +0000 (13:26 +0300)]
further stylesheet simplification related fixes (2)

6 years agofurther stylesheet simplification related fixes
Andrew Dolgov [Sun, 3 Dec 2017 10:25:34 +0000 (13:25 +0300)]
further stylesheet simplification related fixes

6 years agoupd: default css url if no theme
Andrew Dolgov [Sun, 3 Dec 2017 10:10:25 +0000 (13:10 +0300)]
upd: default css url if no theme

6 years agoremove layout.css
Andrew Dolgov [Sun, 3 Dec 2017 10:07:28 +0000 (13:07 +0300)]
remove layout.css

6 years agofurther CSS updates
Andrew Dolgov [Sun, 3 Dec 2017 10:06:41 +0000 (13:06 +0300)]
further CSS updates