Commit Graph

133 Commits

Author SHA1 Message Date
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
Benjamin Dauvergne 21cd4e4b9e setup.py: prevent using django-filter 0.12
django-filter 0.12 only support Django >= 1.8
2016-01-12 12:52:28 +01:00
Benjamin Dauvergne a6e0faa690 setup.py: hide DJANGO_SETTINGS_MODULE value when calling compilemessages 2015-12-17 11:15:51 +01:00
Benjamin Dauvergne 0cacd7cf4e setup.py: django-model-utils 2.4 breaks authentic (fixes #9192)
PassThroughManager was removed in favor of Manager.from_queryset() and
Queryset.as_manager() included in Django since 1.7.
2015-12-03 17:22:41 +01:00
Benjamin Dauvergne 34354efb45 api: new user API (#7862)
You can list/add/change users. Security is enforced by basic authentication,
session authentication and role permissions:
- custom_user.view_user for listing,
- custom_user.add_user for creating,
- custom_user.change_user for updating,
- custom_user.delete_user for deleting.
2015-11-16 11:47:31 +01:00
Benjamin Dauvergne 80de8cdb6f setup.py: fix versions of django-admin-tools 2015-11-05 14:19:28 +01:00
Benjamin Dauvergne 015d827eb3 setup.py,debian-*: restricts django-select2 version to < 5.0 (fixes #8429) 2015-09-30 13:15:39 +02:00
Benjamin Dauvergne 8c2010e9dc setup.py: define curdir before the try/except block 2015-09-26 21:57:57 +02:00
Benjamin Dauvergne 4e2b3d4819 setup.py: restore current workind directory if translation compilation fails 2015-09-25 22:43:21 +02:00
Benjamin Dauvergne fed464a22b setup.py: run compile_translations as part of sdist (fixes #8279)
To be sure compiled translations are distributed.
2015-09-16 15:08:06 +02:00
Benjamin Dauvergne 8d1ae27460 reduce required version for the six package (fixes #8138) 2015-09-01 16:05:43 +02:00
Benjamin Dauvergne 041be8373b setup.py: also reduce required version for dnspython and Markdown 2015-08-27 09:08:43 +02:00
Benjamin Dauvergne 863ff010d4 update minimum dependencies versions 2015-08-06 09:53:55 +02:00
Benjamin Dauvergne 1f087fb930 add new application authentic2_provisionning_ldap (fixes #6596)
Goal is to allow synchronizing users from the authentic2 db to an LDAP
directory. The application also contain helper class to do unittest
against an OpenLDAP server, for this OpenLDAP must be installed on your
computer.
2015-07-15 12:39:03 +02:00
Benjamin Dauvergne 0c77102237 setup.py: add markdown to install_requires (#7363) 2015-06-08 18:10:25 +02:00
Benjamin Dauvergne bb810a1d0b setup.py: add dependency on djangorestframework (#7363) 2015-06-08 18:10:25 +02:00