Commit graph

48 commits

Author SHA1 Message Date
Martin Pépin
a27921016b fix import ordering 2018-10-06 22:57:49 +02:00
Martin Pépin
fc16b3fedf Fix non py3-compatible test in CI 2018-10-06 17:18:40 +02:00
Martin Pépin
d22d1ea567 remove leftover debug print 2018-10-06 16:15:31 +02:00
Martin Pépin
4a119c7d13 Show ill-formed clipper uids in error messages 2018-10-06 11:57:36 +02:00
Aurélien Delobelle
28a8127d35 Bump version: 1.1.0 2018-09-30 00:48:49 +02:00
Aurélien Delobelle
e193239231 Lint with flake8 2018-09-30 00:15:18 +02:00
Aurélien Delobelle
b09bada052 Merge branch 'Evarin/highlight_clipper'
Highlight Clipper provider.
Toggle by settings "ALLAUTH_ENS_HIGHLIGHT_CLIPPER".

See merge request cof-geek/django-allauth-ens!9
2018-09-30 00:06:00 +02:00
Aurélien Delobelle
bc2b606288 Merge branch 'Evarin/archicubes' into 'master'
Un adapter django-allauth pour gérer les comptes en fin de scolarité et la possible réattribution des logins clippers.

See merge request cof-geek/django-allauth-ens!3
2018-09-30 00:03:25 +02:00
Evarin
a812a43a2c Compatibilite des tests en py2 2018-09-29 23:58:32 +02:00
Evarin
6a79b02fa8 Merge branch 'Evarin/archicubes' of git.eleves.ens.fr:cof-geek/django-allauth-ens into Evarin/archicubes 2018-09-29 23:36:17 +02:00
Evarin
b189c11454 Detoxify + debug py34 2018-09-29 23:32:50 +02:00
Evarin
232236b50b Fix translation and indentation 2018-06-24 20:11:33 +02:00
Aurélien Delobelle
534e0b188f LongTermClipper preserving LDAP data 2018-06-24 12:42:13 +02:00
Evarin
7a0ec189e2 Traductions en Français 2018-06-22 22:37:16 +02:00
Evarin
cca8da5772 Show prominently the Clipper third-party 2018-06-22 22:05:42 +02:00
Evarin
08a47150db Populate user model with promotion infos
As requested by Erkan et Martin
2018-06-03 22:26:53 +02:00
Evarin
17fef409a8 More readable and organized code
Working from Aurelien's code reviews
2018-06-03 22:10:34 +02:00
Aurélien Delobelle
fdafd407d4 Merge branch 'aureplop/fix-layout' into 'master'
Fix layout

See merge request cof-geek/django-allauth-ens!6
2018-05-15 10:23:38 +02:00
Aurélien Delobelle
2568bf9b6f Vendorize jQuery + FA (with nitpicking) 2018-05-14 16:11:25 +02:00
Aurélien Delobelle
d204405959 Fix layout 2018-05-14 15:34:22 +02:00
Théophile Bastian
93740066b3 Remove CDN dependencies, copy files locally
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.
2018-05-10 16:52:14 +02:00
Evarin
787efe96d0 LDAP error propagation + README + tox update and corrections 2018-04-29 01:28:30 +02:00
Evarin
bfc0bb42ad Add ldap query counting to tests 2018-04-28 16:33:08 +02:00
Evarin
a1671a3dd7 Fixes from Elarnon's review 2018-04-28 16:26:52 +02:00
Evarin
f0a73f6ef6 Util management command to install longtermadapter + fixes 2018-04-24 00:19:42 +02:00
Evarin
9c3fc72ec0 One more test case 2018-04-23 01:13:03 +02:00
Evarin
6fc012cb39 Fix my tests 2018-04-23 00:38:37 +02:00
Evarin
1142db73f7 Revert "Fix other tests"
This reverts commit 54963e9f91.
2018-04-23 00:35:57 +02:00
Evarin
54963e9f91 Fix other tests 2018-04-23 00:22:50 +02:00
Evarin
dc8873cafc Tests for adapter ready 2018-04-23 00:01:27 +02:00
Evarin
5a78561d17 WIP tests 2018-04-22 20:13:42 +02:00
Evarin
cdb9c3c722 Mail address disambiguation, debug, only one ldap query 2018-04-22 17:22:16 +02:00
Evarin
021d50fade An adapter to handle the 'end of scolarity' problem 2018-04-22 15:31:41 +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