Skip to content
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

Make logo file error nicer #5932

Merged
merged 1 commit into from May 10, 2021
Merged

Make logo file error nicer #5932

merged 1 commit into from May 10, 2021

Conversation

rmol
Copy link
Contributor

@rmol rmol commented May 7, 2021

Status

Ready for review

Description of Changes

Fixes #5931.

Adds a "please" to the logo file error message.

Testing

Prevent custom logo uploads: chmod 555 securedrop/static/i.

Check out develop and run the dev server with make dev.

Log in as a journalist, and upload a PNG logo. Consider the error message and how it makes you feel.

Check out this branch with git checkout -b nicer-logo-error origin/nicer-logo-error. Upload the logo again, and see if the new error message stings a bit less.

Deployment

Any special considerations for deployment? Nope.

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

Choose one of the following:

  • I have opened a PR in the docs repo for these changes, or will do so later
  • I would appreciate help with the documentation
  • These changes do not require documentation

@rmol rmol requested a review from a team as a code owner May 7, 2021 14:41
@emkll emkll added this to Under Review in SecureDrop Team Board May 10, 2021
@emkll emkll merged commit 67f77a3 into develop May 10, 2021
SecureDrop Team Board automation moved this from Under Review to Done May 10, 2021
@emkll emkll deleted the nicer-logo-error branch May 10, 2021 15:11
@zenmonkeykstop zenmonkeykstop mentioned this pull request Jun 14, 2021
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Be nicer to admins when an uploaded logo doesn't work.
2 participants