-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Administration > Diagnostics > Config file lets Super User view all config values in the UI #9526
Conversation
… value and whether it is an adjusted config value in the ui
* http://developer.piwik.org/guides/mvc-in-piwik or have a look at the our API references for controller and view: | ||
* http://developer.piwik.org/api-reference/Piwik/Plugin/Controller and | ||
* http://developer.piwik.org/api-reference/Piwik/View | ||
*/ |
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.
Maybe we should remove the auto generated comments here and in the other files
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.
I'm not sure about that. It might make it easier for when any developers have a look at it and try to understand it or when they want to know more about it. I'm always not sure myself what to do. Sometimes I remove them, sometimes I don't :) Currently I tend to rather have them as it is kinda nice to have such documentation everywhere. Problem is when the links are outdated etc.
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.
Isn't that what the Example plugins are ment for?
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.
In general yep. It's more like if they want to fix something in that file or try to understand what that file does. Not for developing new plugins. I really don't have a strong opinion on it so happy with leaving them there or removing them. We could merge it now and later check all the files to have it consistent if we decide to remove them.
@mattab any opinion?
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.
@tsteur +1 to remove these comments to keep things simpler (but let's keep them in the example plugin template files used by the generators)
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.
removed it.
Besides the comments: LGTM |
Made some changes based on the review |
changes look fine 👍 |
database
password
,salt
,apikey
,privatekey
orsecret
with****
(I looked through Piwik / Piwik PRO plugins to see which kinda keys could contain too sensitive data)password
with****
database_tests
,debugtests
andtests
This is especially useful for #9521 to see which plugin settings can be overwritten and which ones are defined. It also helps when we ask users to check their config etc.
@mattab can you change the
ConfigFileIntroduction
translation maybe?