Commit Graph

146 Commits

Author SHA1 Message Date
Benjamin Dauvergne b49f8dc0c8 misc: add clean command (#60348)
Delete CUT and Petal models for deleted GLC accounts.
2022-03-17 19:03:31 +01:00
Benjamin Dauvergne 4c28f24b68 tox: add check-migrations environment 2022-03-17 18:53:36 +01:00
Benjamin Dauvergne af7e404f84 tox: fix pylint 2022-03-10 17:14:41 +01:00
Benjamin Dauvergne 2ce0cf927e tox: add code-style target 2022-03-10 17:01:25 +01:00
Benjamin Dauvergne 283a0eae60 misc: remove byte strings in migrations 2022-03-10 16:57:24 +01:00
Benjamin Dauvergne b5bd134d69 setup.py: limit compatibility to django<2.3 2022-03-10 16:57:23 +01:00
Benjamin Dauvergne 7c5c732388 tox: add manage target 2022-03-10 16:57:23 +01:00
Frédéric Péters 7094728b47 trivial: remove python 2 from classifiers 2022-02-02 08:09:56 +01:00
Nicolas Roche 01c0e80fc0 tests: add context managers required by python3 (#60657) 2022-01-14 10:59:09 +01:00
Frédéric Péters 9723596999 jenkins: use python3 to get a port for postgresql (#60467) 2022-01-10 17:33:17 +01:00
Frédéric Péters 2251721204 tox: switch pylint to use python3 2021-12-15 08:27:17 +01:00
Frédéric Péters 608193932d tox: stop testing against django 1.11 2021-12-15 08:26:57 +01:00
Frédéric Péters 20f20c73cb tox: limit psycopg2 to < 2.9 (#54925) 2021-06-17 08:50:04 +02:00
Frédéric Péters 9af76d7ed5 debian: enable uwsgi memory reports (#54610) 2021-06-06 10:34:44 +02:00
Frédéric Péters 4183b023de build: update to use origin/main 2020-12-26 15:21:16 +01:00
Benjamin Dauvergne 808ce209bc tox.ini: add warning filters 2020-11-27 15:35:43 +01:00
Benjamin Dauvergne 7d7ddd93c6 tox.ini: remove py3 support, set default drf version to 3.9 2020-11-27 10:38:56 +01:00
Benjamin Dauvergne e9ba12bc87 Jenkinsfile: always clean build directories 2020-11-27 10:14:30 +01:00
Frédéric Péters b28fe29d5e tox: limit drf version when testing against django 1.11 2020-10-06 09:31:38 +02:00
Frédéric Péters 78f7e86f75 tox: limit mock version for compatibility with python 3.5 2020-10-06 09:30:25 +02:00
Valentin Deniaud 91c77f1b88 tox: tell setuptools to use distutils from stdlib (#46252) 2020-09-01 14:38:06 +02:00
Benjamin Dauvergne 97c483172a Jenkinsfile: use virtualenv and pg_virtualenv 2020-05-16 12:31:03 +02:00
Benjamin Dauvergne 75dc1f103b api_views: use atomicwrites for writing petale content (#41379) 2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 7b292a2c17 api_views: use loop to prevent NFS errors on GET (#41379)
File can disapear more frequently on NFS as open() is not atomic (NFS filehandle
refers to an inode but they don't lock it like an open file descriptor).
2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 9a2c6b23ed tests: test concurrent GET / PUT (#41379)
Also check we do not leak petal files during PUT.
2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 763559042f release 1.2 2020-04-08 13:41:18 +02:00
Benjamin Dauvergne 37a0101e38 debian: prevent install of python-petale (#41302) 2020-04-07 21:02:54 +02:00
Benjamin Dauvergne 571965f35e debian: adapt debian_config.py for Python 3 (#41302) 2020-04-07 21:01:14 +02:00
Benjamin Dauvergne 93ccbc1c39 debian: python3 packaging (#41374) 2020-04-07 10:17:56 +02:00
Nicolas Roche e030f6723f python3: pass strings to json.loads, for py3.5 compatibility (#41302) 2020-04-06 14:41:10 +02:00
Benjamin Dauvergne b1e015a398 misc: style (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 4524cb32e0 misc: python3 compatibility (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne f7d4dc6b1b dj111: use MIDDLEWARE (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 3100df5004 dj111: do not use include (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 34d434e557 dj111: set on_delete=models.CASCADE (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 51585f6290 tests: remove warning on Element.getchildren() (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 80bdcd9c09 tox.ini: add py3 run (#41302) 2020-04-06 14:06:30 +02:00
Frédéric Péters 4283c9817b tox: limit tests to django 1.11 (#41290) 2020-04-03 09:00:00 +02:00
Emmanuel Cazenave 9a4569cd12 add Jenkinsfile 2019-10-02 13:19:23 +02:00
Frédéric Péters 327919c0fe tox.ini: limit to pytest-django<3.4.6
See #30307 and https://github.com/pytest-dev/pytest-django/issues/698
2019-02-03 21:57:35 +01:00
Emmanuel Cazenave ed84f65f9b pin django-webtest (#23608) 2018-05-04 15:53:59 +02:00
Benjamin Dauvergne 15115b197c jenkins.sh: add Django to compile translations 2018-03-30 14:21:03 +02:00
Benjamin Dauvergne d45aa69837 tests: test admin pages 2018-03-30 12:06:05 +02:00
Benjamin Dauvergne 8849b47fe8 admin: do not link to petale view on the partner name use the id 2018-03-30 12:00:13 +02:00
Benjamin Dauvergne b7adc1dda6 debian: load settings from settings.d 2018-03-30 11:56:09 +02:00
Benjamin Dauvergne c3dbb781a9 add setting to disable UUID check on authentic (fixes #21453) 2018-01-26 22:24:06 +01:00
Benjamin Dauvergne 963582bfcf django 1.11 support (fixes #21116) 2018-01-26 18:46:33 +01:00
Benjamin Dauvergne d04235f7a4 models: change path construction in petal_directory (fixes #21111)
Use an md5 hash of the CUT.uuid instead of the first 4 characters which
are constant now.
2018-01-26 18:20:26 +01:00
Benjamin Dauvergne c39bf2773e debian: add systemd service file and replace gunicorn by uwsgi (fixes #21114) 2018-01-26 18:20:26 +01:00
Benjamin Dauvergne d8887ad7a8 tox.ini: remove pytest-catchlog now part of pytest (fixes #21113) 2018-01-11 15:07:42 +01:00