Commit Graph

148 Commits

Author SHA1 Message Date
Paul Marillonnet dda27fe488 idp_oidc: support oauth2 resource owner password credential grant (#35205) 2020-01-24 14:38:42 +01:00
Frédéric Péters 3b2da052ad misc: limit django-model-utils version to a version supporting django 1.11 2019-12-11 16:19:38 +01:00
Thomas NOËL 0fc5a97113 crypto: use pycrytodomex, replace Crypto with Cryptodome (#38017)
mainly because Debian python-cryptodome package use pycrytodomex, which
is a library independent of the old PyCrypto, available under the
Cryptodome name.
2019-11-28 14:25:33 +01:00
Paul Marillonnet 6d064a2c22 auth_oidc: drop now-redundant django-jsonfield dependency 2019-11-21 17:02:06 +01:00
Paul Marillonnet c8ce9fdd0a debian: discard deprecated pycrypto dependency (#35584) 2019-10-31 14:28:37 +01:00
Paul Marillonnet 5b8b62a19f set upper bound on django-import-export dependency version (#36774)
* so as to maintain the role CSV export feature
2019-10-08 14:02:22 +02:00
Paul Marillonnet c5625c57a7 end django 1.8 support (#36429) 2019-10-02 12:02:05 +02:00
Frédéric Péters 900c8dab0f Revert "Revert "misc: remove auth2_ssl entrypoint (#35418)""
This reverts commit c8bce84a7a.
2019-08-19 17:37:17 +02:00
Frédéric Péters c8bce84a7a Revert "misc: remove auth2_ssl entrypoint (#35418)"
This reverts commit e9897ce3a2.
2019-08-19 17:05:23 +02:00
Frédéric Péters e9897ce3a2 misc: remove auth2_ssl entrypoint (#35418) 2019-08-19 16:37:25 +02:00
Frédéric Péters 983eb2084d build: limit to django-jsonfield<1.3, for Python 2 support 2019-08-18 11:39:53 +02:00
Benjamin Dauvergne 06b729b41e setup.py: add requirement on attrs 2019-06-22 22:04:48 +02:00
Benjamin Dauvergne dc3582ed45 manager: add user import views (fixes #32833) 2019-06-22 13:06:01 +02:00
Benjamin Dauvergne fe0895da8b add csv import framework (#32833) 2019-06-21 18:44:13 +02:00
Benjamin Dauvergne 7eda057909 integrate authentic2-auth-fc in packaging (#20852) 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 1097339aeb setup.py: adopt a more PEP440 process to create version (fixes #29918) 2019-01-31 13:43:35 +01:00
Paul Marillonnet 44d24825c7 python3 compatibility on setup.py (fixes #28278) 2019-01-19 12:23:01 +01:00
Emmanuel Cazenave 56c72c2cf2 use directly tablib instead of django-export-export (#29531) 2019-01-15 16:11:36 +01:00
Emmanuel Cazenave 2d54ac7f74 change jquery dependencies version (#28342) 2018-11-27 17:12:33 +01:00
Paul Marillonnet a5d652ce81 support avatar picture in user profile (#26022) 2018-10-30 10:23:11 +01:00
Frédéric Péters e6d1fafa0d misc: bump djangorestframework requirement to <3.5 (#26405) 2018-09-26 17:42:13 +02:00
Emmanuel Cazenave db9b9028b1 django 1.11: ensure compatibility with recent django-tables2 (#21489)
django-tables2 1.1 is not compatbible with django 1.11
In recent version of django-tables2 'row' is not available in
the context of TemplateColumn, so we use direclty 'record'
(instead of 'row.record').
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave c6e2632fbc django 1.11: adapt tox.ini and setup.py (#21489) 2018-08-12 20:11:31 +02:00
Elias Showk 49420b2b96 removed django-admin-tools (#22626) 2018-07-17 09:21:07 +02:00
Benjamin Dauvergne d0bcf4a992 remove authentic2_idp_openid (fixes #23515)
Code is no more used nor maintained.

Also remove diagnose.py which is obsolete too and referrred to
django-authopenid (and south and other obsolete things).

Mentions of OpenID libraries licenses were removed from license files.
2018-07-01 13:51:44 +02:00
Frédéric Péters 507f48ec78 mark minimal gadjo version (#22440) 2018-04-16 13:27:56 +02:00
Benjamin Dauvergne ae35e23f77 setup.py: restrain to django-filter<2 (#22351) 2018-03-26 14:53:49 +02:00
Benjamin Dauvergne 8d8dcd00e4 views: add setting to redirect authenticated users to homepage on access to login page (fixes #20257) 2017-11-27 00:07:01 +01:00
Benjamin Dauvergne ab0d7e8db0 setup.py: force jquery-ui < 1.12 as 1.12 is incompatible with gadjo (fixes #16651) 2017-06-13 19:40:06 +02:00
Benjamin Dauvergne 418b86d7f1 migrate to Django-Select2>5 (fixes #15604) 2017-06-08 18:14:45 +02:00
Frédéric Péters 7fbfbbaf99 misc: update compatibility django-jsonfield to also support 1.0 (#15963) 2017-04-24 11:43:30 +02:00
Benjamin Dauvergne 4b6b64522d setup.py: require django-filter > 1 (fixes #15751) 2017-04-06 18:31:11 +02:00
Benjamin Dauvergne e1c5bc5457 api: add more filtering possibility to users API (fixes #15620)
You can now do incremental synchronization using the modified__gt filter
and the last date of synchronization.

We also change the pagination mode for the cursor version which is more
efficient with a large user table (as limit/offset pagination forces a
sequential scan).
2017-04-04 10:48:56 +02:00
Benjamin Dauvergne aae4691991 add bootstrap based date and datetime fields (#10606) 2017-04-03 23:13:24 +02:00
Benjamin Dauvergne 2ca9167303 setup.py: make version PEP440 compliant (fixes #15605) 2017-03-29 13:02:28 +02:00
Benjamin Dauvergne 90596aa651 unsupport django 1.7 2017-03-15 22:51:55 +01:00
Thomas NOËL 40ebd23fab setup.py: bypasses a pep440 problem with gadjo version (#13954) 2017-01-24 17:33:33 +01:00
Benjamin Dauvergne c0b3a554c4 setup.py: walk all source directories searching for locales 2016-12-15 10:55:15 +01:00
Benjamin Dauvergne 5009b6eb8a add OpenID Connect IdP plugin (fixes #6982)
You must set a valid RSA JWK in a JWKSet in the setting key A2_IDP_OIDC_JWKSET
or only use HMAC signature for your clients.
2016-11-06 16:19:12 +01:00
Benjamin Dauvergne 4efb2b534c add OpenID Connect authentication plugin (fixes #13714)
It only supports the authorization code flow, and configuration can only be done
through Django admin for now.
2016-11-03 16:31:02 +01:00
Benjamin Dauvergne 8e71ce1bf3 add Attribute.disabled field (fixed #13234)
Also raise needed django-model-utils version to >=2.4.
2016-09-28 21:32:15 +02:00
Benjamin Dauvergne 4a70a3d291 limit django-rest-framework to version <3.4 2016-07-15 08:22:01 +02:00
Benjamin Dauvergne d802632182 replace custom Slapd class by using the ldaptools package 2016-04-26 00:45:00 +02:00
Benjamin Dauvergne 59d2c75e19 constraint version of django-table2 to <1.1 2016-03-15 11:05:52 +01:00
Thomas NOËL e7064769e6 setup.py: update dependency upon django-restframework>=3.3 (#10206) 2016-03-04 17:55:56 +01:00
Benjamin Dauvergne 1b983803b0 setup.py: add missing dependency upon django-mellon 2016-03-02 20:42:30 +01:00
Benjamin Dauvergne a9eec8336f Implement beta version of SAML authentication using django-mellon (fixes #10107)
To test it, you could add to your settings:

  A2_AUTH_SAML_ENABLE = True
  MELLON_IDENTITY_PROVIDERS = [
      {
          'METADATA_URL': 'https://cresson.entrouvert.org/idp/saml2/metadata',
      }
  ]
  MELLON_ATTRIBUTE_MAPPING = {
      'email': '{attributes[email][0]',
      'first_name': '{attributes[first_name][0]}',
      'last_name': '{attributes[last_name][0]}',
  }

Requirement is that your IdP is sending 3 attributes named, email, first_name
and last_name.
2016-03-02 19:01:44 +01:00
Benjamin Dauvergne 130cd22669 setup.py: fix recursive call in sdist 2016-02-25 11:01:58 +01:00
Benjamin Dauvergne b640291cb0 setup.py: pep8ness, cleaning 2016-02-25 09:53:55 +01:00
Benjamin Dauvergne 332dbca4ea add simple crypto module using pycrypto (#9666)
It provides two simple primitives to encrypt / decrypt any string using AES-CFB
using any key material.
2016-01-15 13:17:18 +01:00