Commit Graph

10326 Commits

Author SHA1 Message Date
Andrew Dolgov 83c8834421 sanitize: handle picture[@srcset] elements properly, i.e. rewrite relative URLs 2020-04-29 19:02:44 +03:00
Andrew Dolgov 4a00f96733 remove unneeded var_dump() 2020-04-29 11:35:02 +03:00
Andrew Dolgov 6573541873 * add HOOK_ENCLOSURE_IMPORTED
* pass feed id to HOOK_FEED_PARSED
2020-04-29 11:33:39 +03:00
Andrew Dolgov 84bea5086c Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2020-04-23 15:56:48 +03:00
Andrew Dolgov 01248f09bc change double quotes to single quotes in config.php-dist because double quotes break docker initialization 2020-04-23 15:56:31 +03:00
fox daaba66f85 Merge branch 'escape-install-part-two' of JustAMacUser/tt-rss into master 2020-04-22 03:55:06 +00:00
fox 2c53343e43 Merge branch 'encoded-installer-entities' of JustAMacUser/tt-rss into master 2020-04-22 03:53:14 +00:00
JustAMacUser 9c3cf60592 More fixes when installer generates config file.
* Use single quotes in config.php when when defining database values so PHP doesn't interpret `$` as a variable (mostly for the password constant).
* Use `addcslashes` instead of `addslashes` and only escape backslash and single quotes.
* Do not convert DB_PORT to integer if leaving it blank (the default).
2020-04-21 21:10:32 -04:00
JustAMacUser 0fb5267d07 During install, HTML encode POST data for forms. 2020-04-21 20:52:19 -04:00
fox 11a9d3bd9b Merge branch 'escape-install' of JustAMacUser/tt-rss into master 2020-04-19 06:41:27 +00:00
JustAMacUser 56e16a8d85 Escape user-defined values during installation. 2020-04-18 21:33:56 -04:00
Andrew Dolgov 0d467973dc Article.pack: dispose of unpacked content properly 2020-04-17 15:59:12 +03:00
Andrew Dolgov e17c7e2fb4 Headlines.renderAgain: scroll instantly to active article when going back to combined mode on the fly 2020-04-17 07:58:34 +03:00
Andrew Dolgov b3e4f0188e in combined non-expanded mode, pack headline rows as they are unfocused to save RAM 2020-04-17 07:37:56 +03:00
Andrew Dolgov afaac95d8d if comment URL is not specified but comment count is non-zero, show comments prompt leading to the article 2020-04-07 06:50:24 +03:00
Andrew Dolgov 44b1f0fcc0 search: add support for label:XXX search keyword
Labels: enforce case-insensitive lookups when creating/looking for labels
2020-04-04 14:34:08 +03:00
Andrew Dolgov 586ed55178 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2020-03-28 11:46:36 +03:00
Andrew Dolgov a0da71598a remove atom-to-html XSLT 2020-03-28 11:45:42 +03:00
fox c0f689a58f Merge branch 'fix_noexpand_doc' of d7415/tt-rss into master 2020-03-26 04:05:05 +00:00
Martin Stone 1ad43dd202
Fix documentation for _noexpand commands 2020-03-25 20:30:34 +00:00
Andrew Dolgov 61be0b215d minitemplator->writeString: print always returns 1 in PHP 2020-03-13 14:48:40 +03:00
Andrew Dolgov 491090d21b minitemplator: fix deprecations for PHP 7.4 2020-03-13 14:46:40 +03:00
Andrew Dolgov 1f2a721905 allow overriding built-in templates via templates.local 2020-03-13 14:40:35 +03:00
fox 82326187f9 Merge branch 'cache_videos_with_src_and_poster' of lllusion3418/tt-rss into master 2020-03-12 10:18:59 +00:00
lllusion3418 ec1b0befc7 add support for video[@src] in media cache
it's a valid alternative to a source[@src] child element:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
2020-03-12 11:08:39 +01:00
lllusion3418 cdde23b4dc actually download <video> posters to media cache
video[@poster] is already supported in the rewriting logic but never
actually downloaded
2020-03-12 11:08:33 +01:00
lllusion3418 b4287a2e98 fix url rewriting for videos with poster and src
if a poster attribute was present only that would have been rewritten
and the (arguably more important) src attribute would be left as-is
2020-03-12 11:08:24 +01:00
Andrew Dolgov 208e02c47d PluginHost/save_data: use separate PDO connection to prevent issues with nested transactions 2020-03-10 08:14:00 +03:00
Dario Di Ludovico e025d92fc5 Translated using Weblate (Italian)
Currently translated at 100.0% (727 of 727 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/it/
2020-03-08 21:12:10 +00:00
fox da926067ab Merge branch 'get-version-git-on-windows' of tsimmons/tt-rss into master 2020-03-03 05:36:22 +00:00
Toby Simmons 569228a5df In get_version() disable DIRECTORY_SEPARATOR check, permit using git on Windows to get version details; 2020-03-02 11:28:21 -06:00
Andrew Dolgov 8ad523fcec do not keep current feed visible when hide as read is enabled 2020-03-01 21:12:50 +03:00
Andrew Dolgov 68562e2618 fix wrong colors applying to rule textarea when invoked from main UI 2020-02-28 18:23:19 +03:00
Andrew Dolgov 482db14c1a filter rule editor: bring back regexp valid/invalid BG colors (now for light theme) 2020-02-28 18:21:16 +03:00
Andrew Dolgov 490a98df11 filter rule editor: bring back regexp valid/invalid BG colors 2020-02-28 18:19:34 +03:00
Ptsa Daniel 3f88dbad71 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.5% (724 of 727 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/zh_Hans/
2020-02-28 14:59:46 +00:00
Andrew Dolgov 19e1d13460 add URL parameter to ignore user theme on startup 2020-02-28 14:53:01 +03:00
Andrew Dolgov ad0a9c02e5 move default (light) theme LESS source to a more appropriate place
add compact_dark theme variant
2020-02-28 14:48:48 +03:00
Andrew Dolgov 76c8b318e5 set all tooltip colors via less variables 2020-02-28 14:34:48 +03:00
Andrew Dolgov 0875dc332e fix tooltip colors for night mode 2020-02-28 14:22:11 +03:00
Andrew Dolgov a65749a512 source validationtextarea in main UI 2020-02-28 14:04:29 +03:00
Andrew Dolgov bcbc5ccc78 batchSubscribe: use validationtextarea 2020-02-28 14:03:29 +03:00
Andrew Dolgov f24ece85a6 add validationtextarea control, use it for filter match editor 2020-02-28 13:53:45 +03:00
Andrew Dolgov 2fefb4fd87 getTestResults: don't try to use previously removed variable 2020-02-28 12:54:39 +03:00
Andrew Dolgov 4f62f5f3f1 filter edit dialog: load rule editor via XHR 2020-02-28 12:52:20 +03:00
Andrew Dolgov 340bb7f392 fix typo 2020-02-28 12:17:49 +03:00
Andrew Dolgov 8645f36c5b filter test dialog: pass contents via xhr POST 2020-02-28 12:16:54 +03:00
Andrew Dolgov 0eb3f1c3dc rebase translations 2020-02-28 08:08:52 +03:00
Andrew Dolgov 864f3e7e07 Merge branch 'weblate-integration' 2020-02-28 08:08:24 +03:00
Andrew Dolgov 4e74da590e af_readability: allow get full text button to work as a toggle; in cdm, scroll to article after embedding 2020-02-28 08:03:25 +03:00