]> git.wh0rd.org Git - tt-rss.git/log
tt-rss.git
6 years agoremove ok = confirm() thing
Andrew Dolgov [Fri, 30 Nov 2018 10:05:59 +0000 (13:05 +0300)]
remove ok = confirm() thing

6 years agofinish xhrPost migration of js/
Andrew Dolgov [Fri, 30 Nov 2018 10:00:26 +0000 (13:00 +0300)]
finish xhrPost migration of js/

6 years agoremove duplicated code from hotkey actions handler
Andrew Dolgov [Fri, 30 Nov 2018 09:46:52 +0000 (12:46 +0300)]
remove duplicated code from hotkey actions handler
more xhrPost() refactoring

6 years agoeditSelectedFeeds: fix missing unset checkboxes properly
Andrew Dolgov [Fri, 30 Nov 2018 08:55:24 +0000 (11:55 +0300)]
editSelectedFeeds: fix missing unset checkboxes properly

6 years agosome more xhrPost refactoring (batchEditSave WIP)
Andrew Dolgov [Fri, 30 Nov 2018 07:48:50 +0000 (10:48 +0300)]
some more xhrPost refactoring (batchEditSave WIP)

6 years agouse xhrPost is even more places!
Andrew Dolgov [Fri, 30 Nov 2018 06:23:51 +0000 (09:23 +0300)]
use xhrPost is even more places!

6 years agofix missing sprintf() argument
Andrew Dolgov [Fri, 30 Nov 2018 06:19:00 +0000 (09:19 +0300)]
fix missing sprintf() argument

6 years agoplugins: run eslint const/let fixes
Andrew Dolgov [Fri, 30 Nov 2018 05:39:45 +0000 (08:39 +0300)]
plugins: run eslint const/let fixes

6 years agodebug logging system rework:
Andrew Dolgov [Fri, 30 Nov 2018 05:34:29 +0000 (08:34 +0300)]
debug logging system rework:
 * support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins

6 years agocache_starred_articles: limit maximum amount of download attempts per-article, consid...
Andrew Dolgov [Fri, 30 Nov 2018 04:20:13 +0000 (07:20 +0300)]
cache_starred_articles: limit maximum amount of download attempts per-article, consider cache operation a success even if all images were too small (prevents repeated requests)

6 years agouse xhrPost in even more places!
Andrew Dolgov [Thu, 29 Nov 2018 20:36:54 +0000 (23:36 +0300)]
use xhrPost in even more places!

6 years agooops, remove useless db_escape_string() in article class (and nsfw plugin)
Andrew Dolgov [Thu, 29 Nov 2018 20:04:12 +0000 (23:04 +0300)]
oops, remove useless db_escape_string() in article class (and nsfw plugin)

6 years agouse xhrPost in more places
Andrew Dolgov [Thu, 29 Nov 2018 19:56:34 +0000 (22:56 +0300)]
use xhrPost in more places

6 years agouse xhrPost in more places; various minor cleanup
Andrew Dolgov [Thu, 29 Nov 2018 19:21:09 +0000 (22:21 +0300)]
use xhrPost in more places; various minor cleanup

6 years agomove to let/const syntax in custom dojo modules
Andrew Dolgov [Thu, 29 Nov 2018 18:21:06 +0000 (21:21 +0300)]
move to let/const syntax in custom dojo modules

6 years agoset dialogs to const
Andrew Dolgov [Thu, 29 Nov 2018 18:13:41 +0000 (21:13 +0300)]
set dialogs to const

6 years agodon't compare result with undefined seq
Andrew Dolgov [Thu, 29 Nov 2018 18:07:19 +0000 (21:07 +0300)]
don't compare result with undefined seq

6 years agosome more eslint-related stuff
Andrew Dolgov [Thu, 29 Nov 2018 18:03:55 +0000 (21:03 +0300)]
some more eslint-related stuff

6 years agodeclare globals with let
Andrew Dolgov [Thu, 29 Nov 2018 17:09:25 +0000 (20:09 +0300)]
declare globals with let

6 years agoeslint-related fixes
Andrew Dolgov [Thu, 29 Nov 2018 17:07:23 +0000 (20:07 +0300)]
eslint-related fixes

6 years agoreset password: use updated mailer parameters properly
Andrew Dolgov [Mon, 26 Nov 2018 09:44:36 +0000 (12:44 +0300)]
reset password: use updated mailer parameters properly

6 years agoremove cache/simplepie
Andrew Dolgov [Fri, 23 Nov 2018 09:31:47 +0000 (12:31 +0300)]
remove cache/simplepie

6 years agomention mailer_smtp plugin in config.php-dist
Andrew Dolgov [Thu, 22 Nov 2018 20:10:28 +0000 (23:10 +0300)]
mention mailer_smtp plugin in config.php-dist

6 years agosanity config: fix typo
Andrew Dolgov [Thu, 22 Nov 2018 19:15:27 +0000 (22:15 +0300)]
sanity config: fix typo

6 years agoupdate sanity_config.php
Andrew Dolgov [Thu, 22 Nov 2018 18:47:58 +0000 (21:47 +0300)]
update sanity_config.php

6 years agomailer: fix indents
Andrew Dolgov [Thu, 22 Nov 2018 13:55:37 +0000 (16:55 +0300)]
mailer: fix indents

6 years agomailer: return 0 if plugin requested to stop (-1)
Andrew Dolgov [Thu, 22 Nov 2018 13:39:10 +0000 (16:39 +0300)]
mailer: return 0 if plugin requested to stop (-1)

6 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Thu, 22 Nov 2018 13:36:13 +0000 (16:36 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss

6 years agomailer: split to/from name/addresses
Andrew Dolgov [Thu, 22 Nov 2018 13:36:10 +0000 (16:36 +0300)]
mailer: split to/from name/addresses

6 years agoMailer->error: no argument
Andrew Dolgov [Thu, 22 Nov 2018 13:19:41 +0000 (16:19 +0300)]
Mailer->error: no argument

6 years agoremove PHPMailer and related directives from config.php-dist; add pluggable Mailer...
Andrew Dolgov [Thu, 22 Nov 2018 11:45:14 +0000 (14:45 +0300)]
remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class

6 years agoupdate .gitignore
Andrew Dolgov [Wed, 7 Nov 2018 11:59:44 +0000 (14:59 +0300)]
update .gitignore

6 years agogenerate_syndicated_feed: add support for virtual feeds provided by plugins
Andrew Dolgov [Wed, 7 Nov 2018 11:21:39 +0000 (14:21 +0300)]
generate_syndicated_feed: add support for virtual feeds provided by plugins

6 years agodb_prefs: fix cache never being used on read(); remove unnecessary
Andrew Dolgov [Sat, 3 Nov 2018 18:52:38 +0000 (21:52 +0300)]
db_prefs: fix cache never being used on read(); remove unnecessary
sprintf()s to integer

6 years agophp: remove trailing whitespaces
Andrew Dolgov [Sat, 3 Nov 2018 12:08:43 +0000 (15:08 +0300)]
php: remove trailing whitespaces

6 years agoupd .gitignore
Andrew Dolgov [Sat, 3 Nov 2018 12:03:52 +0000 (15:03 +0300)]
upd .gitignore

6 years agobetter handle PDOExceptions during open transaction in feed update
Andrew Dolgov [Sat, 3 Nov 2018 12:00:58 +0000 (15:00 +0300)]
better handle PDOExceptions during open transaction in feed update

6 years agofix session write handler always assuming that database entry exists and failing...
Andrew Dolgov [Tue, 16 Oct 2018 11:07:42 +0000 (14:07 +0300)]
fix session write handler always assuming that database entry exists and failing silently if it doesn't; remove session cookie-related hacks

6 years agoremove session REMOTE_ADDR checks
Andrew Dolgov [Tue, 16 Oct 2018 09:12:07 +0000 (12:12 +0300)]
remove session REMOTE_ADDR checks

6 years agologin: check for stale session in login handler, instead of authenticate_user()
Andrew Dolgov [Tue, 16 Oct 2018 08:39:12 +0000 (11:39 +0300)]
login: check for stale session in login handler, instead of authenticate_user()

6 years agoanother attempt to enforce session ID regeneration on login
Andrew Dolgov [Tue, 16 Oct 2018 06:11:32 +0000 (09:11 +0300)]
another attempt to enforce session ID regeneration on login

6 years agoproperly save auth_module after logging in
Andrew Dolgov [Tue, 16 Oct 2018 04:34:22 +0000 (07:34 +0300)]
properly save auth_module after logging in

6 years agoit was probably not the best idea to use session_regenerate_id() right after session_...
Andrew Dolgov [Mon, 15 Oct 2018 18:47:12 +0000 (21:47 +0300)]
it was probably not the best idea to use session_regenerate_id() right after session_start(), duh

6 years agodo not use separate _ssl cookie for secure sessions
Andrew Dolgov [Mon, 15 Oct 2018 12:48:37 +0000 (15:48 +0300)]
do not use separate _ssl cookie for secure sessions

6 years agoforce regenerate session id on successful login, remove previous blank SID check
Andrew Dolgov [Mon, 15 Oct 2018 12:47:50 +0000 (15:47 +0300)]
force regenerate session id on successful login, remove previous blank SID check

6 years agoif empty session is autostarted because of a cookie, immediately destroy it
Andrew Dolgov [Mon, 15 Oct 2018 11:53:35 +0000 (14:53 +0300)]
if empty session is autostarted because of a cookie, immediately destroy it

6 years agovalidate_session: bring back IP session binding (enabled by default) and UA checking
Andrew Dolgov [Mon, 15 Oct 2018 05:26:07 +0000 (08:26 +0300)]
validate_session: bring back IP session binding (enabled by default) and UA checking

6 years agoAPI endpoint: disable session cookies
Andrew Dolgov [Mon, 15 Oct 2018 04:37:07 +0000 (07:37 +0300)]
API endpoint: disable session cookies

6 years agologout user: commit destroyed session
Andrew Dolgov [Sun, 14 Oct 2018 19:50:45 +0000 (22:50 +0300)]
logout user: commit destroyed session

6 years agorebase translations
Andrew Dolgov [Wed, 10 Oct 2018 05:25:30 +0000 (08:25 +0300)]
rebase translations

6 years agoMerge branch 'i18n' of HenryQW/tt-rss into master
fox [Wed, 10 Oct 2018 04:37:38 +0000 (04:37 +0000)]
Merge branch 'i18n' of HenryQW/tt-rss into master

6 years agoUpdate Chinese translation
Henry [Tue, 9 Oct 2018 22:34:49 +0000 (23:34 +0100)]
Update Chinese translation

6 years agoMerge branch 'master' of git.tt-rss.org:fox/tt-rss
Andrew Dolgov [Tue, 9 Oct 2018 11:16:38 +0000 (14:16 +0300)]
Merge branch 'master' of git.tt-rss.org:fox/tt-rss

6 years agoremove segoe ui web fontface
Andrew Dolgov [Tue, 9 Oct 2018 11:16:26 +0000 (14:16 +0300)]
remove segoe ui web fontface

6 years agoMerge branch 'i18n' of HenryQW/tt-rss into master
fox [Mon, 8 Oct 2018 05:20:16 +0000 (05:20 +0000)]
Merge branch 'i18n' of HenryQW/tt-rss into master

6 years agoCorrect Chinese translation
Henry [Mon, 8 Oct 2018 00:08:36 +0000 (01:08 +0100)]
Correct Chinese translation

6 years agoshorten_expanded: also hide embedded attachments behind wrapper
Andrew Dolgov [Fri, 21 Sep 2018 05:14:55 +0000 (08:14 +0300)]
shorten_expanded: also hide embedded attachments behind wrapper

6 years agofix af_zz_vidmute for new chrome breaking muting via setAttribute
Andrew Dolgov [Tue, 11 Sep 2018 08:46:10 +0000 (11:46 +0300)]
fix af_zz_vidmute for new chrome breaking muting via setAttribute

6 years agoLogger_SQL: use separate PDO connection
Andrew Dolgov [Mon, 10 Sep 2018 18:49:31 +0000 (21:49 +0300)]
Logger_SQL: use separate PDO connection

6 years agoLogger->log() allow passing context (defaults to '')
Andrew Dolgov [Mon, 10 Sep 2018 18:32:10 +0000 (21:32 +0300)]
Logger->log() allow passing context (defaults to '')

6 years agoLogger: add implementation for logger->log(message)
Andrew Dolgov [Mon, 10 Sep 2018 18:26:28 +0000 (21:26 +0300)]
Logger: add implementation for logger->log(message)

6 years agocache_media: only touch() local file if it's writable
Andrew Dolgov [Mon, 10 Sep 2018 13:17:12 +0000 (16:17 +0300)]
cache_media: only touch() local file if it's writable

6 years agoaf_redditimgur: check gfycat content type before embedding, add generic
Andrew Dolgov [Mon, 10 Sep 2018 13:09:38 +0000 (16:09 +0300)]
af_redditimgur: check gfycat content type before embedding, add generic
catchall embedding for og:video metadata

6 years agoaf_redditimgur: simplify handling of gfycat URLs
Andrew Dolgov [Sun, 9 Sep 2018 09:45:02 +0000 (12:45 +0300)]
af_redditimgur: simplify handling of gfycat URLs

6 years agorebase translations
Andrew Dolgov [Fri, 7 Sep 2018 07:25:06 +0000 (10:25 +0300)]
rebase translations

6 years agorewrite per-feed/global strip images to strip media
Andrew Dolgov [Fri, 7 Sep 2018 07:24:46 +0000 (10:24 +0300)]
rewrite per-feed/global strip images to strip media

6 years ago1. per-feed option STRIP_IMAGES should now also affect other media tags
Andrew Dolgov [Fri, 7 Sep 2018 06:55:43 +0000 (09:55 +0300)]
1. per-feed option STRIP_IMAGES should now also affect other media tags
2. video/audio elements were not replaced with text links properly in
low bandwidth mode

6 years agoupdate_daemon_common: do not abort entire batch if PDOException happens when processi...
Andrew Dolgov [Mon, 3 Sep 2018 10:03:35 +0000 (13:03 +0300)]
update_daemon_common: do not abort entire batch if PDOException happens when processing individual feeds

6 years agoPDO: switch error reporting to exceptions
Andrew Dolgov [Mon, 3 Sep 2018 09:30:26 +0000 (12:30 +0300)]
PDO: switch error reporting to exceptions

6 years agoaf_comics: simplify srcset attribute handling for gocomics pseudo-feeds
Andrew Dolgov [Fri, 31 Aug 2018 05:33:36 +0000 (08:33 +0300)]
af_comics: simplify srcset attribute handling for gocomics pseudo-feeds

6 years agoAPI: getHeadlines: return feed_id for Archived entries as 0 instead of null to be...
Andrew Dolgov [Wed, 29 Aug 2018 12:13:07 +0000 (15:13 +0300)]
API: getHeadlines: return feed_id for Archived entries as 0 instead of null to be consistent with requested feed_id

6 years agoAPI: oops, forgot that headlines could be requested for a tag
Andrew Dolgov [Wed, 29 Aug 2018 09:55:03 +0000 (12:55 +0300)]
API: oops, forgot that headlines could be requested for a tag

6 years agoAPI: getHeadlines: check for feed_id correctly
Andrew Dolgov [Wed, 29 Aug 2018 09:53:30 +0000 (12:53 +0300)]
API: getHeadlines: check for feed_id correctly

6 years agoupdate previous to not die on errors
Andrew Dolgov [Fri, 24 Aug 2018 14:23:46 +0000 (17:23 +0300)]
update previous to not die on errors

6 years agofix user theme ignoring active settings profile
Andrew Dolgov [Fri, 24 Aug 2018 14:22:32 +0000 (17:22 +0300)]
fix user theme ignoring active settings profile

6 years agoMerge branch 'master' into dojo-module-define-test
Andrew Dolgov [Thu, 23 Aug 2018 10:43:57 +0000 (13:43 +0300)]
Merge branch 'master' into dojo-module-define-test

6 years agosend_local_file: touch() sent files to reset their expiration cooldown
Andrew Dolgov [Thu, 23 Aug 2018 10:43:31 +0000 (13:43 +0300)]
send_local_file: touch() sent files to reset their expiration cooldown

6 years agodefine custom dojo modules with define() instead of require(), update startup module...
Andrew Dolgov [Thu, 23 Aug 2018 06:56:34 +0000 (09:56 +0300)]
define custom dojo modules with define() instead of require(), update startup module dependencies

6 years agoparser: move media:element handling to feeditem_common; use media:content @media...
Andrew Dolgov [Tue, 21 Aug 2018 04:01:26 +0000 (07:01 +0300)]
parser: move media:element handling to feeditem_common; use media:content @media attribute to generate placeholder content-type if not specified

6 years agoMerge branch 'pullreq-enclosure-content-type' of tkappe/tt-rss into master
fox [Tue, 21 Aug 2018 03:47:39 +0000 (03:47 +0000)]
Merge branch 'pullreq-enclosure-content-type' of tkappe/tt-rss into master

6 years agorewrite_cached_urls: support video posters
Andrew Dolgov [Mon, 20 Aug 2018 11:13:14 +0000 (14:13 +0300)]
rewrite_cached_urls: support video posters

6 years agoRevert "add (hidden) _NGINX_XACCEL_PREFIX which uses nginx X-Accel-Redirect to serve...
Andrew Dolgov [Mon, 20 Aug 2018 09:48:23 +0000 (12:48 +0300)]
Revert "add (hidden) _NGINX_XACCEL_PREFIX which uses nginx X-Accel-Redirect to serve static files faster"

This reverts commit c5c3a0a2a8febaa2b1ebcae6c17ff4398a9da6c7.

6 years agosplit transparent rewriting of locally cached media URLs to execute after both saniti...
Andrew Dolgov [Mon, 20 Aug 2018 09:12:32 +0000 (12:12 +0300)]
split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently

6 years agoadd (hidden) _NGINX_XACCEL_PREFIX which uses nginx X-Accel-Redirect to serve static...
Andrew Dolgov [Mon, 20 Aug 2018 06:14:10 +0000 (09:14 +0300)]
add (hidden) _NGINX_XACCEL_PREFIX which uses nginx X-Accel-Redirect to serve static files faster

6 years agoDifferentiate enclosures based on content type.
Tobias Kappé [Sat, 18 Aug 2018 16:17:30 +0000 (17:17 +0100)]
Differentiate enclosures based on content type.

Some RSS feeds contain multiple enclosures with the same URL. When the first of
these is not recognized as an image, later entries are not added to the
database as rows in ttrss_enclosures. This change differentiates enclosures
based on their content type, so an entry can have multiple enclosure types with
the same URL (but possibly a different content type).

6 years agoMerge branch 'master' of git.fakecake.org:tt-rss
Andrew Dolgov [Fri, 17 Aug 2018 07:11:53 +0000 (10:11 +0300)]
Merge branch 'master' of git.fakecake.org:tt-rss

6 years agozoom css: limit video width
Andrew Dolgov [Thu, 16 Aug 2018 18:36:44 +0000 (21:36 +0300)]
zoom css: limit video width

6 years agosend_local_file: add application/octet-stream hack
Andrew Dolgov [Thu, 16 Aug 2018 09:16:51 +0000 (12:16 +0300)]
send_local_file: add application/octet-stream hack
cached_url: return original requested filename to save as

6 years agocache_media: only show downloading debug message when actually downloading
Andrew Dolgov [Thu, 16 Aug 2018 08:56:51 +0000 (11:56 +0300)]
cache_media: only show downloading debug message when actually downloading

6 years agoadd debug stdout logger
Andrew Dolgov [Wed, 15 Aug 2018 12:08:31 +0000 (15:08 +0300)]
add debug stdout logger

6 years agoremove more mcrypt stuff from config.php-dist
Andrew Dolgov [Mon, 13 Aug 2018 17:51:06 +0000 (20:51 +0300)]
remove more mcrypt stuff from config.php-dist

6 years agoif PHP_VERSION check fails, show current version
Andrew Dolgov [Mon, 13 Aug 2018 17:13:08 +0000 (20:13 +0300)]
if PHP_VERSION check fails, show current version

6 years agoMerge branch 'php56-minimum' of wn/tt-rss into master
fox [Mon, 13 Aug 2018 13:45:25 +0000 (13:45 +0000)]
Merge branch 'php56-minimum' of wn/tt-rss into master

6 years agoCheck for PHP 5.6 minimum everywhere.
wn_ [Mon, 13 Aug 2018 13:41:47 +0000 (08:41 -0500)]
Check for PHP 5.6 minimum everywhere.

6 years agoupdate.php: remove decrypt-feeds mention in help text
Andrew Dolgov [Mon, 13 Aug 2018 13:19:18 +0000 (16:19 +0300)]
update.php: remove decrypt-feeds mention in help text

6 years agobump version_static 18.8
Andrew Dolgov [Mon, 13 Aug 2018 13:11:28 +0000 (16:11 +0300)]
bump version_static

6 years agobump required php version to 5.6
Andrew Dolgov [Mon, 13 Aug 2018 13:04:09 +0000 (16:04 +0300)]
bump required php version to 5.6

6 years agoremove FEED_CRYPT_KEY and everything related to it
Andrew Dolgov [Mon, 13 Aug 2018 12:59:24 +0000 (15:59 +0300)]
remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false

6 years agofix previous to not crash if document first child is not a DOMElement or whatever
Andrew Dolgov [Sun, 12 Aug 2018 16:27:04 +0000 (19:27 +0300)]
fix previous to not crash if document first child is not a DOMElement or whatever

6 years agoMerge branch 'pullreq-store-language' of tkappe/tt-rss into master
fox [Sun, 12 Aug 2018 15:45:11 +0000 (15:45 +0000)]
Merge branch 'pullreq-store-language' of tkappe/tt-rss into master