Having requests to some CDNs on a login page is often considered Bad™,
since it can load third-party code on a sensitive page of the website.
As a side effect, this removes calls to fonts.google.com, which is a
known tracking website.
This fixes a redirection loop causing an authenticated user which is
*not* staff accessing /admin to be loop-redirected between
/admin -> /admin/login -> /accounts/login
Also include some hideous basic page to show a message. This should not
be a problem; a non-admin user accessing /admin deserves hurting their
eyes.
- Update django-allauth-cas to the last version.
- Add docs (README, example/README).
- Add tests for Clipper provider.
- Add tests to check templates do not contain syntax error.
- Add the last missing templates to override all allauth's displayable
templates.
- Improve stylesheets.
Introduce new settings:
- ACCOUNT_HOME_URL, used by 'Site name' link on templates.
- ACCOUNT_DETAILS_URL, used on templates when user is connected.
'username' is registered as extra_data too for Clipper provider.
Template tag 'get_accounts_by_providers' is cleaner.
Remove useless account/settings view. Its content should be displayed
by some profile view.
SOCIALACCOUNT_ENABLED settings (of allauth package) doesn't work well.
Template tag 'is_socialaccount_enabled' provides a better check.