-
Notifications
You must be signed in to change notification settings - Fork 687
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
Remove CUSTOM_HEADER_IMAGE legacy code #5347
Comments
I also don't see any way this legacy functionality could possibly work in current |
I am seeing reference to the old custom header image logic in https://github.com/freedomofpress/securedrop/blob/develop/install_files/ansible-base/roles/backup/files/0.3_collect.py which looks like an older version of |
- Removes old, unreachable "custom header image" logic which was replaced with custom logo upload feature - Remove old, 0.3 era backup script and backup variable from staging.yml - Remove old logo images and AppArmor whitelisting rules for them Resolves #5347
- Removes old, unreachable "custom header image" logic which was replaced with custom logo upload feature - Remove old, 0.3 era backup script and backup variable from staging.yml - Remove old logo images and AppArmor whitelisting rules for them Resolves #5347
I encountered a couple of old logo versions in
securedrop/static/i
:securedrop.png
andsecuredrop_small.png
. The latter file is in fact still in use in the journalist and source UI templates, but only ifCUSTOM_HEADER_IMAGE
is set. What'sCUSTOM_HEADER_IMAGE
you ask? It's neither configurable viasdconfig
nor found inconfig.py
.Turns out this is an old "theming option" in early versions of SecureDrop. It looks like any explanation of what it is intended to do was dropped in 5aa8a44 and it's now just being quietly passed into the template. This looks to me like legacy code that can be safely removed.
The text was updated successfully, but these errors were encountered: