-
Notifications
You must be signed in to change notification settings - Fork 250
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
Add "report abuse" prompts for users (disabled by default) #112
base: master
Are you sure you want to change the base?
Conversation
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.
Please use spaces around operators, commas, etc. to match the existing style.
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.
This looks good! Could you also document the new configuration keys in the README.rst
file?
<p>The secret you requested is not available. This typically indicates that one of the three below conditions has occurred:</p> | ||
<ol> | ||
<li>The secret has already been retrieved.</li> | ||
<li>The link was corrupted</li> |
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.
To match the other items in the list:
<li>The link was corrupted</li> | |
<li>The link was corrupted.</li> |
@0secure just wanted to follow up on adding some |
@0secure do you think you'll be picking this work back up? |
This change adds two new environment variables (ABUSE_ORG and ABUSE_EMAIL) that are used to direct users to contact a particular organization in case of suspected abuse. In addition, a generic 404 page and a secret-specific 404 page are added to minimize confusion and direct users to report abuse. If neither environment variable is set, the prompt to report abuse is not shown.