Commit Graph

11338 Commits

Author SHA1 Message Date
Andrew Dolgov 5e77d0062b use intersection observer to unpack visible articles, remove Headlines.unpackVisible() 2020-05-13 07:28:13 +03:00
Andrew Dolgov 7adbc95acc remove floating title, use position: sticky for cdm headers instead 2020-05-13 06:51:46 +03:00
Andrew Dolgov c275a0cd33 DiskCache: append fake file extension when sending cached files based on mime type to make saving files easier 2020-05-12 13:28:54 +03:00
Andrew Dolgov 4a00d41915 Article.cdmMoveToId: don't crash if params is not given 2020-05-09 19:41:11 +03:00
Andrew Dolgov 2b55afbeec sanitize: forbid "allow" attribute
CSS: remove auto hyphens stuff, remove iframe width clipping to 98% because they get squished
2020-05-09 12:49:19 +03:00
Andrew Dolgov a802649d53 rename cdmScrollToId to cdmMoveToId
prevent smooth scrolling when going directly to an article
2020-05-09 08:16:12 +03:00
Andrew Dolgov 2558fcbe21 add hotkey "\" to cancel current search 2020-05-09 07:56:06 +03:00
fox c8243b03c9 Merge branch 'master' of ltGuillaume/ttrss into master 2020-05-03 13:45:40 +00:00
ltGuillaume 19064864bf Allow setting Insert (45) and Delete (46) as hotkeys
These are not reported via keypress either, so handle them via keydown.
2020-05-03 14:35:17 +02:00
Andrew Dolgov 3a4b9249a9 DiskCache: properly deal with srcset attributes 2020-04-29 19:29:36 +03:00
Andrew Dolgov e934e9f05e sanitize: simplify initial attribute processing 2020-04-29 19:12:29 +03:00
Andrew Dolgov 7d9dd51cf4 sanitize: remove srcset plain-http hack, globally disallow width and height attributes for all elements 2020-04-29 19:04:34 +03:00
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