-
Notifications
You must be signed in to change notification settings - Fork 447
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
web: add options for not collecting or showing URL and country #2906
Conversation
Add constants NO_USER_URL and NO_USER_COUNTRY. If you set these to true (in project.inc) there will be no query or display of user web site URL and user country, respectively.
@davidpanderson - I'm starting to test this. One request though. The two new flags you create are 'negative' flags. NO_USER_URL and NO_USER_COUNTRY which makes the logic in the if statements reads as Could you use USER_COUNTRY and USER_URL instead so that the logic will read |
Another question, shouldn't db_dump be changed also since it exports user country and user url as well? If it does, should the config option be moved into the project config.xml file? |
I made it negative so that projects won't see a change in behavior. |
You can preserve the existing behavior by changing this (from boinc/util.inc)
to
Also - what about db_purge? |
sorry - not db_purge - I meant db_dump.l |
Now that we have server releases it is ok to make changes that require projects to take action. All you need to do is make sure those changes are properly documented in release notes. |
- Put flags in config.xml instead of project.inc - Make them positive instead of negative - make db_dump respect them.
I changed things as Kevin requested. |
Looks good thanks for the changes! |
Add constants NO_USER_URL and NO_USER_COUNTRY.
If you set these to true (in project.inc)
there will be no query or display of user web site URL and user country, respectively.