Commit Graph

10945 Commits

Author SHA1 Message Date
Andrew Dolgov e9c062a189 UrlHelper::rewrite_relative():
- support invoking specifying owner URL element/attribute
 - restrict mailto/magnet/tel schemes for A href
 - allow some data: base64 image types for IMG src

Sanitizer::sanitize():

 - when checking href and src attributes, pass element tagname and attribute to rewrite_relative()
2021-06-18 11:20:57 +03:00
fox 34807bacd4 Merge pull request 'Skip all urls with schemes different from base_url in rewrite_relative' (#38) from klempin/tt-rss:fix/mailto into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/38
2021-06-17 18:51:35 +03:00
Andrew Dolgov 4e9c3500fb clarify some @deprecation notices 2021-06-17 11:27:00 +03:00
Philip Klempin b3bedd0a94 Skip URI base on ALLOWED_RELATIVE_SCHEMES in rewrite_relative 2021-06-16 15:24:15 +02:00
Andrew Dolgov 8ed8a10965 add settings profile cloning 2021-06-16 14:24:57 +03:00
Andrew Dolgov 92c78beb90 apply usort workaround for readability-php because its authors were unable to do so for 3 months (https://github.com/andreskrey/readability.php/issues/99) 2021-05-28 14:42:14 +03:00
Andrew Dolgov 8e1281b41e add workaround for prefs feed tree favicon placement 2021-05-28 11:53:44 +03:00
Andrew Dolgov 326850845d UrlHelper::rewrite_relative: don't try to feed NULL to with_trailing_slash() 2021-05-21 17:10:32 +03:00
Andrew Dolgov dff479af64 feeditem_atom: support xml:base for enclosures and entry content
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
2021-05-21 15:39:41 +03:00
Andrew Dolgov d09a64d6f9 split googlereaderkeys plugin into separate repo 2021-05-21 13:30:56 +03:00
Andrew Dolgov 8574532b7f add hotkeys J/K to move between unread feeds 2021-05-20 20:32:00 +03:00
Andrew Dolgov 4795c4a2a9 Merge branch 'weblate-integration' 2021-05-20 20:23:42 +03:00
Eike 0f51350e9f Translated using Weblate (German)
Currently translated at 100.0% (660 of 660 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/de/
2021-05-19 15:33:05 +00:00
Andrew Dolgov 295fc1f88a API: bump api level to 17 2021-05-18 16:55:00 +03:00
Andrew Dolgov 2adf364c2c provide base configuration object in login response to skip on initial getConfig 2021-05-18 16:54:33 +03:00
Andrew Dolgov 9f6237a1b8 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2021-05-18 16:37:09 +03:00
Andrew Dolgov 57cd8acfc9 API: return custom sort types in getConfig 2021-05-18 16:36:56 +03:00
fox 77031575ab Merge pull request 'Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived articles' (#35) from kdan/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/35
2021-05-12 08:42:16 +03:00
linkai 983655165e Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived 2021-05-12 09:46:52 +08:00
kdan 6c06a26649 Merge branch 'master' into master 2021-05-12 04:43:04 +03:00
Andrew Dolgov f423874e05 checking for PDO there is rather useless 2021-05-11 19:37:31 +03:00
Andrew Dolgov b5a559a1a7 sanity check: in single user mode, only test for admin user if migrations have been completed 2021-05-11 19:36:25 +03:00
Andrew Dolgov e3c4724dc1 use database-backed sessions in single user mode 2021-05-11 19:21:53 +03:00
fox 82749ee7a7 Merge pull request 'Improve missing token check' (#36) from skazi/tt-rss:quiet-csrf into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/36
2021-05-11 11:34:13 +03:00
Jacek Tomasiak 0c38dc8456 Improve missing token check
Avoid "E_NOTICE (8) (classes/userhelper.php:78) Undefined index:
csrf_token" in logs.
2021-05-11 10:32:59 +02:00
kdan 2ccf0e50a2 Merge branch 'master' into master 2021-05-11 11:05:20 +03:00
linkai acf0e0d266 Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived 2021-05-11 16:03:18 +08:00
Andrew Dolgov b2f888e386 include archived articles (which lack associated feed id) when browsing by tag 2021-05-07 19:15:10 +03:00
Andrew Dolgov fea59de26b af_redditimgur: use core youtube vid helper 2021-05-07 07:42:24 +03:00
Andrew Dolgov 86300a0ca8 add urlhelper to extract youtube video id from url 2021-05-07 07:37:27 +03:00
Andrew Dolgov d11718c89c fix combined/three panel transition to expandable mode 2021-05-06 22:27:49 +03:00
linkai 0574675ed6 Fix:Plugins-share:init.php - site_url is NULL when share atircle by URL form archived 2021-04-26 12:17:29 +08:00
Andrew Dolgov e8f78181f1 af_redditimgur: instead of generating potentially blacklisted iframes (i.e. huge black boxes),
save found youtube videos as post enclosures for af_youtube_... plugins to deal with later, if enabled
2021-04-23 20:30:29 +03:00
Andrew Dolgov 88a7130d79 fix for previous changeset that broke expanded mode 2021-04-22 19:49:51 +03:00
Andrew Dolgov e8e4fc641e Article.pack: add no-op for three panel mode 2021-04-22 17:50:07 +03:00
Andrew Dolgov df145c8064 * cdm: render enclosures into content element
* deprecate cdm.intermediate
 * implement lazy-load for rendered enclosures
 * simplify pack/unpack logic for articles
2021-04-22 10:45:27 +03:00
Andrew Dolgov c6befcddb7 Merge branch 'master' of git.fakecake.org:fox/tt-rss 2021-04-21 18:48:46 +03:00
Andrew Dolgov 5a71426ea5 youtube_embed: use embed-responsive 2021-04-21 18:47:49 +03:00
Andrew Dolgov b3d45a4a5d Merge branch 'master' of git.tt-rss.org:fox/tt-rss 2021-04-20 09:12:28 +03:00
Andrew Dolgov cc634ba91d Merge branch 'weblate-integration' 2021-04-20 09:12:13 +03:00
Eike b12072fef9 Translated using Weblate (German)
Currently translated at 99.8% (659 of 660 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/de/
2021-04-19 11:32:23 +00:00
fox a6c5dda7e0 Merge pull request 'FIX: public.php - Undefined index: feed_title' (#34) from ohaucke/tt-rss:public-php-fix into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/34
2021-04-19 11:48:36 +03:00
Oliver Haucke cfd9e6b53b FIX: public.php - Undefined index: feed_title 2021-04-19 10:43:30 +02:00
fox 0f61675cd0 Merge pull request 'Fix `getCategory` method.' (#32) from rodneys_mission/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/32
2021-04-13 07:03:55 +03:00
Rodney Stromlund c18383d1ea Fix `getCategory` method. 2021-04-12 20:20:52 +00:00
Andrew Dolgov 3e22368962 getPreviousFeed/getNextFeed: implement wrap around 2021-04-12 16:04:45 +03:00
Andrew Dolgov eadaaebd58 functions_enabled: trim spaces from disable_functions php ini setting 2021-04-12 11:55:19 +03:00
fox 61b4a678ea Merge pull request 'if backend request 'op' is empty fixed' (#27) from Cyb10101/tt-rss:cyb-backend-op into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/27
2021-04-10 08:30:32 +03:00
Cyb10101 c15c1dfb0b if backend request 'op' is empty fixed 2021-04-09 21:55:08 +02:00
Andrew Dolgov a61348e2b7 pluginhost: add profile_get/profile_set helpers 2021-04-09 14:01:30 +03:00