New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New INI setting "enable_internet_features" to disable outgoing network communications #11465
New INI setting "enable_internet_features" to disable outgoing network communications #11465
Conversation
Still outgoing currently is the Marketplace plugin |
Thanks for the PR @ThaDafinser - we will review this soon |
Just had a rough look: SEO Widget might still do outgoing requests. Not sure if we maybe should disable this widget if outgoing connections are disabled. |
<div piwik-widget-loader='{"module":"Marketplace","action":"getPremiumFeatures"}'></div> | ||
{% endif %} | ||
{% if hasNewPlugins and isMarketplaceEnabled %} | ||
{% if hasNewPlugins and isMarketplaceEnabled and isInternetEnabled %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add the check for the RssWidget some lines below as well? It also requires connection to the internet.
config/global.ini.php
Outdated
@@ -810,7 +816,6 @@ | |||
Plugins[] = Insights | |||
Plugins[] = Morpheus | |||
Plugins[] = Contents | |||
Plugins[] = TestRunner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any purpose on changing that?
config/global.ini.php
Outdated
@@ -552,13 +552,19 @@ | |||
; - "Email server settings" | |||
enable_general_settings_admin = 1 | |||
|
|||
; By setting this option to 0, all outgoing connections will be disabled | |||
; It also disables enable_auto_update, enable_update_communication if enabled! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it doesn't disable those settings - it makes them being ignored in current use cases. Maybe it's better to write something like:
Disabling this will disable features like automatic updates for Piwik, its plugins and components like the GeoIP database, referrer spam blacklist or search engines and social network definitions
Hi @ThaDafinser Stefan reviewed the pr and left a few comments. Do you think you could look at them over next few days? Thanks and have a great week |
@ThaDafinser thanks for the update. Will check that in the coming days. |
When disabling internet connection and trying to install a plugin via marketplace the error message currently says |
We maybe should hide the ´check for updates´ area in admin, as those check should not work. |
|
That's all I just can think off. Other changes now look good. |
Note: this might also fix #11065 |
@ThaDafinser Could you adjust the other mentioned things? Or shall we merge this one, and make a new issue/PR for the remaining stuff? |
👍 for merging and making the rest in a new one |
First try for #6324