Commit Graph

4182 Commits

Author SHA1 Message Date
Frédéric Péters 7e1f2ca385 debian: declare systemd service (#30016) 2019-01-23 10:08:09 +01:00
Benjamin Dauvergne 72dd3264cc apps: let router control JSON columns post migrations (fixes #29926) 2019-01-22 16:07:10 +01:00
Benjamin Dauvergne 275b7cd4db compat: ignore error on checking db vendor (fixes #29926)
compat can be loaded before initialization of db in tests, we must
ignore errors at such a time.
2019-01-22 14:31:40 +01:00
Benjamin Dauvergne a44d45fc24 data_transfer: save object in update_model (fixes #29545) 2019-01-21 12:07:21 +01:00
Benjamin Dauvergne ce72b9a24e data_transfer: fix indentation/whitespaces (#29545) 2019-01-21 12:07:21 +01:00
Benjamin Dauvergne 53b9f74ab2 data_transfer: move update_model (#29545) 2019-01-21 12:07:21 +01:00
Benjamin Dauvergne 75e0b37880 tests: simplify import_site tests (#29545) 2019-01-21 12:07:21 +01:00
Benjamin Dauvergne c60ed8b5ee compat: support pre 1.0 django-jsonfield (fixes #29917) 2019-01-19 15:33:10 +01:00
Paul Marillonnet 44d24825c7 python3 compatibility on setup.py (fixes #28278) 2019-01-19 12:23:01 +01:00
Benjamin Dauvergne 000f683601 compat: handle case of Django 1.11 without psycopg2 (fixes #29193) 2019-01-19 10:36:56 +01:00
Benjamin Dauvergne d730dba525 add compatibility layer for support of Django native JSONField (fixes #29193) 2019-01-18 19:30:41 +01:00
Benjamin Dauvergne b03a76dfff manager: use and operator to combine terms (fixes #28952) 2019-01-18 19:29:54 +01:00
Frédéric Péters a855c86c29 debian: add missing dh-sytemd dependency (#29839) 2019-01-17 09:57:31 +01:00
Emmanuel Cazenave f71dfaf15d allow redirect after user edition (#28779) 2019-01-15 16:37:06 +01:00
Emmanuel Cazenave 0ad3bf4dfe cancel user add: set correct location (#29181) 2019-01-15 16:32:03 +01:00
Emmanuel Cazenave 93c52a940c custom attributes prefetching (#29531) 2019-01-15 16:11:36 +01:00
Emmanuel Cazenave 56c72c2cf2 use directly tablib instead of django-export-export (#29531) 2019-01-15 16:11:36 +01:00
Benjamin Dauvergne 29eb8217f8 views: thread ?next= through pre-registration views (fixes #29242) 2019-01-14 10:33:45 +01:00
Benjamin Dauvergne c39e847d36 utils: ignore URL parameters with a None value (#29242) 2019-01-14 10:33:45 +01:00
Benjamin Dauvergne 5095f90afc utils: use iri_to_uri/uri_to_iri to manipulate URLs in make_url (fixes #28935)
This patch add non-ASCII characters to URLs in OIDC and CAS tests to
check make_url() works correctly.
2019-01-14 10:32:19 +01:00
Frédéric Péters c5a273d026 Revert "tox: limit pytest version to a version compatible with pytest-cov"
A new version of pytest-cov got released.
2019-01-08 15:47:17 +01:00
Frédéric Péters e966f15556 debian: sync gunicorn timeout of systemd unit with init.d script (#29533) 2019-01-07 16:10:17 +01:00
Frédéric Péters 277afc5a2d tox: limit pytest version to a version compatible with pytest-cov 2019-01-07 05:53:53 +01:00
Frédéric Péters 849155f495 jenkins: publish results earlier (#29442) 2019-01-04 10:41:45 +01:00
Frédéric Péters 3fe0a9f826 misc: add support for passwords hashed by Plone (#29430) 2019-01-03 17:01:07 +01:00
Benjamin Dauvergne 5cb0cb54c3 api: manage verified attributes (fixes #28962) 2018-12-18 17:39:18 +01:00
Benjamin Dauvergne 7d2840d4a4 api: replace unicode by force_text (#28962) 2018-12-18 17:39:18 +01:00
Benjamin Dauvergne dabfc180a0 api: pep8ness (#28962) 2018-12-18 17:39:18 +01:00
Benjamin Dauvergne 3f5821aa5f api: remove unused function (#28962) 2018-12-18 17:39:18 +01:00
Benjamin Dauvergne 205b994d91 pep8ness 2018-12-18 17:27:56 +01:00
Benjamin Dauvergne 506de394f9 manager: dont require username or email for passwordless accounts (fixes #28916) 2018-12-18 17:27:56 +01:00
Benjamin Dauvergne 5a4dbd9df7 tox.ini: limit pylint and pylint-django versions (#29170) 2018-12-18 17:15:51 +01:00
Benjamin Dauvergne b4110b3b3c auth_oidc: verify and store id_token nonce (fixes #29009) 2018-12-18 17:15:51 +01:00
Paul Marillonnet 0e34001537 manager: keep querystring while performing default ou user creation (#28897) 2018-12-17 16:34:36 +01:00
Paul Marillonnet f48147b471 user post-creation redirect based on 'next' keyword (#28931) 2018-12-17 16:16:10 +01:00
Benjamin Dauvergne bc26abc94c remove vendored dpam library (fixes #29085) 2018-12-17 10:38:39 +01:00
Frédéric Péters 2182f8a65d debian: add systemd service unit for authentic2-multitenant (#16807) 2018-12-15 10:07:57 +01:00
Benjamin Dauvergne 09b618d997 manager: remove json export (fixes #28669) 2018-12-07 15:32:10 +01:00
Benjamin Dauvergne b610880f07 data_transfer: check that import is a dictionnary 2018-12-07 15:04:02 +01:00
Benjamin Dauvergne fa960a5901 tox.ini: filter warnings 2018-12-07 15:03:48 +01:00
Frédéric Péters 13ec5eb896 debian: don't reference undefined STATICFILES_DIRS (#28727) 2018-12-07 08:49:48 +01:00
Benjamin Dauvergne 32418d2e87 tox.ini: use psycopg2-binary instead of psycopg2 2018-12-06 16:38:17 +01:00
Benjamin Dauvergne 07d1fc82b1 settings: remove default STATICFILES_DIRS (fixes #28667) 2018-12-06 09:59:14 +01:00
Benjamin Dauvergne bf734f0064 idp_oidc: fix name of verified claims (fixes #27538) 2018-12-05 20:09:10 +01:00
Benjamin Dauvergne f95cf05508 tests: use a certificate for localhost.entrouvert.org
I had to create an alias for localhost as libldap from OpenLDAP is
automatically aliasing localhost to the local FQDN when checking
certificate of a connection to ldap(s)://localhost. See
http://www.openldap.org/its/index.cgi/Incoming?id=6838;expression=rhafer@suse.de;statetype=-1
2018-12-05 18:03:51 +01:00
Benjamin Dauvergne 00d8d00a63 tests: set CN to localhost in cert.pem 2018-12-05 16:56:29 +01:00
Benjamin Dauvergne e86a87a2e7 tests: add missing TLS certificate 2018-12-04 18:48:07 +01:00
Benjamin Dauvergne acb2822992 ldap: fix setting client TLS certificate (fixes #28570)
New tests depends upon ldaptools 0.15.
2018-12-04 15:35:04 +01:00
Benjamin Dauvergne 977455a304 idp_oidc: hide RSA algorithms if no JWKSET is defined (fixes #28249) 2018-12-03 14:01:23 +01:00
Benjamin Dauvergne b4036dd183 idp_oidc: put HMAC algo before RSA (#28249) 2018-12-03 14:01:23 +01:00