mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-09-10 20:52:31 +00:00
.github
configs
deploy
docker
docker-test
docs
migrations
powerdnsadmin
lib
models
routes
services
static
assets
custom
img
favicon.png
switch.png
user_image.png
templates
__init__.py
assets.py
decorators.py
default_config.py
swagger-spec.yaml
tests
.dockerignore
.gitattributes
.gitignore
.lgtm.yml
.whitesource
.yarnrc
LICENSE
README.md
SECURITY.md
docker-compose-test.yml
docker-compose.yml
package.json
requirements.txt
run.py
update_accounts.py
update_zones.py
yarn.lock

Moved all the logic out of the template into a separate endpoint. This makes it easy to extend to also support images from different sources like LDAP/SAML/OIDC. Session-based caching is hard to do, so to allow time-based caching in the browser, the url needs to be unique for every user by using a query parameter. Replaced the default/fallback user image with a new one. It is based on the old one, but does not need css to be visible. And removed said css. Gravatar has now its own setting named `gravatar_enabled`, which is disabled by default.