Commit Graph

78 Commits

Author SHA1 Message Date
Benjamin Dauvergne 211262eb78 tox.ini: use pytest's junit legacy format 2019-12-06 15:45:39 +01:00
Paul Marillonnet 2cc2cf4200 tests: drop partial sqlite support 2019-11-21 17:02:06 +01:00
Paul Marillonnet cef04caf83 Revert "add compatibility layer for support of Django native JSONField (fixes #29193)"
This reverts commit d730dba525.
2019-11-21 17:02:06 +01:00
Paul Marillonnet c5625c57a7 end django 1.8 support (#36429) 2019-10-02 12:02:05 +02:00
Benjamin Dauvergne 00fb033927 tox.ini: remove sqlite from default environments (#34296) 2019-07-01 09:52:27 +02:00
Benjamin Dauvergne 8cdd0cec16 tox.ini: require django-model-utils<3.2 for django 1.8 2019-06-25 12:35:27 +02:00
Benjamin Dauvergne 7a0d5719d8 tox.ini: run pylint (#32961) 2019-05-10 17:50:53 +02:00
Benjamin Dauvergne 20e0f61b6b tox: generate only one coverage and junit file (#32961) 2019-05-10 10:38:15 +02:00
Benjamin Dauvergne 9d945a6ecd tox.ini: use --random-group instead of --random with pytest 2019-04-12 14:49:18 +02:00
Paul Marillonnet 7e49ebc6e2 python3: restrict pytest version for tox (#31160) 2019-04-01 17:59:33 +02:00
Benjamin Dauvergne 43b3f5ddb1 Jenkinsfile: use pg_virtualenv to isolate test database (#31437) 2019-03-19 18:08:43 +01:00
Benjamin Dauvergne d361088985 Jenkinsfile: use a TMPDIR for tox (#31437) 2019-03-19 18:08:43 +01:00
Frédéric Péters 12c4abbc7b tox: limit django-jsonfield version to keep django 1.8 compatibility (#31482) 2019-03-17 13:44:35 +01:00
Benjamin Dauvergne de82c30847 tox.ini: add testing with python-ldap<3 (#30577)
Because there was big API change after version 3 and Debian stable is
still stuck with version 2.4.28.
2019-03-01 16:06:20 +01:00
Benjamin Dauvergne 1b9f11a3a7 tox.ini: set default environment to python2.7 (#30577)
In order to run in a python3 tox.
2019-03-01 16:06:20 +01:00
Benjamin Dauvergne 8ee1c232dc tox.ini: limit to pytest-django<3.4.6
See #30307 and https://github.com/pytest-dev/pytest-django/issues/698
2019-02-01 15:53:54 +01:00
Benjamin Dauvergne d730dba525 add compatibility layer for support of Django native JSONField (fixes #29193) 2019-01-18 19:30:41 +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 277afc5a2d tox: limit pytest version to a version compatible with pytest-cov 2019-01-07 05:53:53 +01:00
Benjamin Dauvergne 5a4dbd9df7 tox.ini: limit pylint and pylint-django versions (#29170) 2018-12-18 17:15:51 +01:00
Benjamin Dauvergne fa960a5901 tox.ini: filter warnings 2018-12-07 15:03:48 +01:00
Benjamin Dauvergne 32418d2e87 tox.ini: use psycopg2-binary instead of psycopg2 2018-12-06 16:38:17 +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
Frédéric Péters 7d2c18eb54 tox: limit Markdown version 2018-09-23 09:01:38 +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
Benjamin Dauvergne 99a7b14bf0 add a remember me button (fixes #25579)
It simply use session.set_expiry() to augment the session duration.
2018-08-03 18:52:22 +02:00
Emmanuel Cazenave 38e2d61e07 use a python2 compatible pylint-django (#25568) 2018-08-02 17:55:50 +02:00
Benjamin Dauvergne 0f36a964ac tox.ini: add a reusedb target 2018-07-03 18:10:40 +02:00
Emmanuel Cazenave 7bc89df159 create jenkins pipeline job (#24805) 2018-07-02 11:56:19 +02:00
Emmanuel Cazenave 74c29b60a9 pin django-webtest (#23611) 2018-05-04 16:01:39 +02:00
Benjamin Dauvergne 918c50b91a tox: do not restrain psycopg2 version 2018-05-02 19:44:28 +02:00
Benjamin Dauvergne bcf5b9a001 tox.ini: use pytest-random 2018-03-23 15:45:47 +01:00
Benjamin Dauvergne f2e4208f28 Revert "tox: limit to pytest < 3.4 for now (#21610)"
This reverts commit 7c2b5f3fcb.
2018-02-07 19:01:19 +01:00
Frédéric Péters 7c2b5f3fcb tox: limit to pytest < 3.4 for now (#21610) 2018-02-02 13:28:04 +01:00
Benjamin Dauvergne 8d6c197d6a tox.ini: force pytest>=3.3.0 remove pytest-catchlog (fixes #20326) 2017-11-28 16:46:27 +01:00
Benjamin Dauvergne 937456200b tox.ini: force use of pip > 9
It's needed for python-cryptography.
2017-10-13 12:47:18 +02:00
Benjamin Dauvergne 16dab48b9f registration: keep email in session after validation or pre-registration (fixes #18903) 2017-09-22 16:39:40 +02:00
Benjamin Dauvergne da679300ab tox.ini: replace python-capturelog by python-catchlog
python-catpurelog is not maintained, python-catchlog is a maintained fork.
2017-03-23 00:37:57 +01:00
Benjamin Dauvergne 90596aa651 unsupport django 1.7 2017-03-15 22:51:55 +01:00
Frédéric Péters e609e313ff tox: limit psycopg to <2.7, for postgresql 9.1 compatibility (#15243) 2017-03-06 10:07:17 +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 862aa00350 tests: add context manager to check content of logs (#13714) 2016-11-03 10:33:08 +01:00
Benjamin Dauvergne d70c7ecb2a remove all remaining uses of urllib2.urlopen (fixes #11388)
We replace it by requests API to improve SSL support (especially SNI).
2016-06-16 11:52:18 +02:00
Benjamin Dauvergne c6cb35757a tox.ini: add a fast option 2016-04-26 00:42:58 +02:00
Benjamin Dauvergne b29402ff9f tox.ini: choose a better default for toxworkdir 2016-03-30 16:21:07 +02:00
Frédéric Péters 8ad53c0171 jenkins.sh: upgrade pylint and install pylint_django (#10462) 2016-03-28 19:50:44 +02:00
Benjamin Dauvergne 74e7446e94 override pre-Django 1.8 PasswordResetTokenGenerator (#7150)
It supposes that user.last_login is always a datetime, which is not true anymore.
2016-03-07 15:13:33 +01:00
Benjamin Dauvergne 9f8e5ca061 tox.ini: add checker target 2016-03-02 02:25:52 +01:00
Benjamin Dauvergne 5262c3c365 simplify tox.ini, move remaining tests to root test directories (fixes #1156) 2016-03-02 01:15:51 +01:00