Commit graph

16 commits

Author SHA1 Message Date
Théophile Bastian
44e26bb8de Add capture_login_admin view
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.
2018-05-10 11:46:23 +02:00
Qwann
6b66ae3264 check valid clipper 2018-03-29 19:06:36 +02:00
Qwann
3be031957f remove debug print 2018-03-28 19:09:46 +02:00
Qwann
2779ce5d7d fetch name and last_name from ldap 2018-03-28 17:11:39 +02:00
Aurélien Delobelle
7c43a16e44 Beta release 2018-01-25 22:53:44 +01:00
Aurélien Delobelle
df12ed8173 Improve rendering of radios, checkboxes and select
Namely, it concerns the widgets: RadioSelect, CheckboxInput and Select.
2018-01-25 14:12:33 +01:00
Aurélien Delobelle
852829f73b Release 1.0.0 (beta) 2018-01-16 16:59:19 +01:00
Aurélien Delobelle
fe21f9c6af Eww, hard to sum up…
- 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.
2018-01-16 16:57:18 +01:00
Aurélien Delobelle
4cdbb049df New version 2017-10-18 16:49:53 +02:00
Aurélien Delobelle
f097a32a4f Improve base template 2017-10-18 16:45:15 +02:00
Aurélien Delobelle
8640a96c52 Fix JS 2017-09-16 03:08:41 +02:00
Aurélien Delobelle
a14e659836 Fix blocks relation in templates. 2017-09-16 03:02:48 +02:00
Aurélien Delobelle
6ec3ea34a3 Fix missing package from build 2017-09-16 02:55:19 +02:00
Aurélien Delobelle
7932da906e Minor changes
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.
2017-09-16 02:33:40 +02:00
Aurélien Delobelle
e66920ed4e Add & update templates + styles 2017-09-16 02:32:42 +02:00
Aurélien Delobelle
916b08374a Initial package (WIP) 2017-08-03 12:40:52 +02:00