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

5 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)

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

5 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

5 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

5 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).

5 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

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

5 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

5 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

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

5 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

5 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

5 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

5 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.

5 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

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

5 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

5 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

5 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

5 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

5 years agoDetermine language for atom entry without a loop.
Tobias Kappé [Sun, 12 Aug 2018 15:17:13 +0000 (16:17 +0100)] 
Determine language for atom entry without a loop.

5 years agoplugins: move af_lang_detect to tt-rss-attic repository
Andrew Dolgov [Sun, 12 Aug 2018 15:15:04 +0000 (18:15 +0300)] 
plugins: move af_lang_detect to tt-rss-attic repository

5 years agoSanitize language obtained for an entry.
Tobias Kappé [Sun, 12 Aug 2018 15:12:34 +0000 (16:12 +0100)] 
Sanitize language obtained for an entry.

5 years agoMerge branch 'pullreq-fix-undefined-index-warning' of tkappe/tt-rss into master
fox [Sun, 12 Aug 2018 15:10:51 +0000 (15:10 +0000)] 
Merge branch 'pullreq-fix-undefined-index-warning' of tkappe/tt-rss into master

5 years agoStore language of entries as indicated by the feed.
Tobias Kappé [Sun, 12 Aug 2018 13:54:13 +0000 (14:54 +0100)] 
Store language of entries as indicated by the feed.

5 years agoFix undefined index warning in installation.
Tobias Kappé [Sun, 12 Aug 2018 13:54:02 +0000 (14:54 +0100)] 
Fix undefined index warning in installation.

5 years agopluginhost: implement basic autoloader for classes bundled with plugins (uses vendor...
Andrew Dolgov [Tue, 7 Aug 2018 11:36:45 +0000 (14:36 +0300)] 
pluginhost: implement basic autoloader for classes bundled with plugins (uses vendor/ layout)

5 years agoMerge branch 'update-language-detect-plugin' of tschuettler/tt-rss into master
fox [Tue, 7 Aug 2018 11:18:05 +0000 (11:18 +0000)] 
Merge branch 'update-language-detect-plugin' of tschuettler/tt-rss into master

5 years agoMerge branch 'fix_mysql_utf8mb4' of BtbN/tt-rss into master
fox [Tue, 7 Aug 2018 11:10:50 +0000 (11:10 +0000)] 
Merge branch 'fix_mysql_utf8mb4' of BtbN/tt-rss into master

5 years agoOnly strip utf8mb4 if mysql_charset != utf8mb4
BtbN [Sat, 4 Aug 2018 13:07:32 +0000 (13:07 +0000)] 
Only strip utf8mb4 if mysql_charset != utf8mb4

If a user has fixed their database properly utf8mb4 works just fine allowing emoji and other 4 byte unicode characters to work.

5 years agoUpdate af_lang_detect plugin with changes from upstream
tschuettler [Thu, 2 Aug 2018 15:23:14 +0000 (17:23 +0200)] 
Update af_lang_detect plugin with changes from upstream

Reapplied downstream changes for phpmd ruleset

5 years agouse catchall exception handler for readability
Andrew Dolgov [Tue, 31 Jul 2018 15:31:01 +0000 (18:31 +0300)] 
use catchall exception handler for readability

5 years agoautoloader: check if class name is namespaced before trying to split it
Andrew Dolgov [Wed, 18 Jul 2018 10:25:18 +0000 (13:25 +0300)] 
autoloader: check if class name is namespaced before trying to split it

5 years agoMerge branch 'tumblr_hd_videos' of Self-Perfection/tt-rss into master
fox [Sun, 15 Jul 2018 09:04:09 +0000 (09:04 +0000)] 
Merge branch 'tumblr_hd_videos' of Self-Perfection/tt-rss into master

5 years agoReplace tumblr videos with HD versions
Self-Perfection [Sat, 14 Jul 2018 13:29:39 +0000 (16:29 +0300)] 
Replace tumblr videos with HD versions

Alternative approach might be extracting replacement URL from "hdUrl"
field of custom property "data-crt-options", but stripping last segment
of video URL is way easier and seems equally robust.

5 years agoupdate_rss_feed: limit maximum length of tsvector data because of pgsql limitations
Andrew Dolgov [Tue, 10 Jul 2018 11:08:55 +0000 (14:08 +0300)] 
update_rss_feed: limit maximum length of tsvector data because of pgsql limitations

5 years agoremove previous readability library (unused)
Andrew Dolgov [Thu, 21 Jun 2018 05:24:58 +0000 (08:24 +0300)] 
remove previous readability library (unused)

5 years agoaf_readability: check if sanitized content has anything before replacing
Andrew Dolgov [Thu, 21 Jun 2018 05:12:11 +0000 (08:12 +0300)] 
af_readability: check if sanitized content has anything before replacing
original excerpt
af_readability, af_redditimgur: check php version before using Readability

5 years agoremove old-style readability loading
Andrew Dolgov [Wed, 20 Jun 2018 19:17:10 +0000 (22:17 +0300)] 
remove old-style readability loading

5 years agoauth_internal: load Base32 using proper namespace
Andrew Dolgov [Wed, 20 Jun 2018 19:15:10 +0000 (22:15 +0300)] 
auth_internal: load Base32 using proper namespace

5 years agomove OTPHP to vendor/; additionally move Base32 class to OTPHP namespace
Andrew Dolgov [Wed, 20 Jun 2018 15:27:34 +0000 (18:27 +0300)] 
move OTPHP to vendor/; additionally move Base32 class to OTPHP namespace

5 years agoremove SWF enclosure audio player
Andrew Dolgov [Wed, 20 Jun 2018 15:17:44 +0000 (18:17 +0300)] 
remove SWF enclosure audio player

5 years agoAf_RedditImgur: update to use readability-php
Andrew Dolgov [Wed, 20 Jun 2018 12:56:08 +0000 (15:56 +0300)] 
Af_RedditImgur: update to use readability-php

5 years agomove JShrink Minifier to vendor/
Andrew Dolgov [Wed, 20 Jun 2018 12:04:59 +0000 (15:04 +0300)] 
move JShrink Minifier to vendor/

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

5 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

5 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).

5 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)

5 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

5 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

5 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

5 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

5 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)

5 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

5 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

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

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

5 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

5 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