Commit Graph

165 Commits

Author SHA1 Message Date
Yann Weber a03e111bab tests: remove httmock from tox.ini deps (#87799)
gitea/authentic/pipeline/head This commit looks good Details
2024-03-05 17:18:54 +01:00
Benjamin Dauvergne 798712ff88 tox.ini: simplify coverage configuration (#1)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 15:01:50 +01:00
Benjamin Dauvergne c0cd751081 tox.ini: include tests in coverage reports (#85643)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 12:04:54 +01:00
Benjamin Dauvergne 28afd8c425 tox.ini: use pytest-cov test context (#84017)
gitea/authentic/pipeline/head This commit looks good Details
2024-01-15 09:49:45 +01:00
Benjamin Dauvergne 8eea700e99 tox.ini: remove constraint on pylint version (#84019)
gitea/authentic/pipeline/head This commit looks good Details
authentic2.apps module had to be renamed in authntic2.app and le
AppConfig class referenced explicitely in settings.py to prevent
collision with the authentic2.apps package (it only bothers pylint,
python3 is happy to load Django applications from authentic2.apps in the
previous situation).
2023-12-18 08:09:16 +01:00
Benjamin Dauvergne 6d54fe2222 misc: add dependency on publik-django-templatetags to setup.py (#84358)
gitea/authentic/pipeline/head This commit looks good Details
2023-12-07 00:01:26 +01:00
Paul Marillonnet b925bc7b7c misc: declare dependency on publik-django-templatetags (#83698)
gitea/authentic/pipeline/head This commit looks good Details
2023-12-06 09:32:30 +01:00
Benjamin Dauvergne 49c9e6e574 tox.ini: remove last constraints on psycopg2-binary (#83888)
gitea/authentic/pipeline/head This commit looks good Details
2023-11-23 19:12:21 +01:00
Emmanuel Cazenave 46522676c0 api: add role summary view (#79620) 2023-10-17 14:55:57 +02:00
Benjamin Dauvergne 6bbcb37faf translation update
gitea/authentic/pipeline/head This commit looks good Details
2023-10-12 18:13:29 +02:00
Paul Marillonnet 5d6931a0cd tox: provide respective django-import-export dependencies (#81941) 2023-10-11 09:40:37 +02:00
Paul Marillonnet 6c2c4d58ef tox: add 'stable' env drf dependency (#81943) 2023-10-05 09:36:44 +02:00
Paul Marillonnet a76883e60d tox: add 'stable' env (and its only dependency supported yet) (#81945)
gitea/authentic/pipeline/head This commit looks good Details
2023-10-05 09:36:33 +02:00
Paul Marillonnet e86a669377 tox: make bullseye dependencies appear as 'oldstable' (#81945) 2023-10-05 09:36:33 +02:00
Benjamin Dauvergne 37a0c4c8e8 translation update
gitea/authentic/pipeline/head This commit looks good Details
2023-10-04 11:51:34 +02:00
Frédéric Péters 1f980ae638 ci: keep on using pylint 2 while pylint-django is not ready (#81905)
gitea/authentic/pipeline/head This commit looks good Details
2023-10-03 06:20:49 +02:00
Paul Marillonnet e40161cf93 tox: remove deprecated targets (#75439)
gitea/authentic/pipeline/head This commit looks good Details
2023-03-15 15:57:10 +01:00
Benjamin Dauvergne 210f6bdf01 misc: adapt to tox 4 and simplify Jenkinsfile (#72175) 2022-12-13 15:12:50 +01:00
Benjamin Dauvergne 855bb179b0 misc: use PIL.Image.Resampling.LANCZOS instead of PIL.Image.LANCZOS (#71899)
PIL.Image.LANCZOS is deprecated.
2022-12-01 12:00:42 +01:00
Benjamin Dauvergne 896819fce8 tox.ini: remove unused tox dependencies 2022-12-01 11:54:13 +01:00
Benjamin Dauvergne ea5366ac0d tox.ini: pass posargs to pylint 2022-12-01 11:54:09 +01:00
Benjamin Dauvergne 823240daf0 tox: ignore tests/ when updating locales (#71523) 2022-11-22 12:05:28 +01:00
Benjamin Dauvergne 5c4318d707 misc: use LANCZOS instead of PIL.Image.Antialias (#70634)
PIL.Image.Antialias is deprecated.
2022-11-04 08:07:14 +01:00
Benjamin Dauvergne 6f9ebfd827 misc: do not instantatiate StoreRequestMiddleware without an argument (#70631)
If fixes this warning :

  src/authentic2/utils/misc.py:699: RemovedInDjango40Warning: Passing None for the middleware get_response argument is deprecated.
    request = middleware.StoreRequestMiddleware().get_request()
2022-10-28 10:35:04 +02:00
Benjamin Dauvergne 427021b5b2 misc: do not use dns.resolver.query on later versions of dnspython (#70632) 2022-10-28 10:34:16 +02:00
Benjamin Dauvergne 64e67aaea6 misc: rename authentic2-ctl to manage.py (#70162) 2022-10-17 16:51:20 +02:00
Benjamin Dauvergne 8025072491 tox.ini: remove mandatory --sw pytest option (#70155) 2022-10-12 14:01:08 +02:00
Valentin Deniaud cea8ad7c9d tests: fix pylint errors in test_rbac (#58696) 2022-10-05 10:35:28 +02:00
Valentin Deniaud 1516c4d2e1 tests: move test_rbac to main tests (#58696) 2022-10-05 10:35:28 +02:00
Agate d5f16e620d ci: removed unnecessary slow marker (#67106) 2022-07-07 10:48:44 +02:00
Agate d3782c80f7 ci: speed up CI using multiple processes with pylint (#42144) 2022-07-06 22:32:15 +02:00
Agate f695aba659 ci: speed up CI by using pytest-xdist (#42144) 2022-07-06 22:32:11 +02:00
Paul Marillonnet 474b56913a tox: explicitly match envs dependencies with debian releases (#66488) 2022-06-29 17:02:02 +02:00
Paul Marillonnet cd12cdc0eb tox: remove deprecated dependency rules (#66488) 2022-06-29 17:02:01 +02:00
Benjamin Dauvergne 50c473d98d auth_oidc: adapt to be compatible with jwcrypto<1 (#66438) 2022-06-24 13:25:48 +02:00
Paul Marillonnet a26f30e3df tox: add locale to makemessages command (#64305) 2022-05-13 09:49:23 +02:00
Paul Marillonnet 1c442d7be9 tox: ldaptools version compatible with openldap matching dj3 in debian (#64305) 2022-05-13 09:49:23 +02:00
Paul Marillonnet 0d0f89345d tox: test with bullseye's django3 and matching dependency versions (#64305) 2022-05-13 09:49:23 +02:00
Benjamin Dauvergne c50f988286 tox.ini: simplify disabling of --sw 2022-05-11 21:32:22 +02:00
Benjamin Dauvergne bd93c71aa1 tox.ini: set psycopg2 constraint in all environments 2022-04-07 17:03:10 +02:00
Benjamin Dauvergne c7399b452c tests_rbac: add randomized tests on role parenting (#57500) 2022-03-25 11:14:05 +01:00
Paul Marillonnet d423c6c7c7 misc: add compatibility with bullseye's django-tables2 (#62527) 2022-03-14 17:31:00 +01:00
Emmanuel Cazenave 0bf05cdce0 jenkins: show execution context in coverage reports (#60446) 2022-01-11 15:57:21 +01:00
Paul Marillonnet aec2a4fa6f tox: update main env for more recent restframework testing (#59601) 2021-12-20 15:13:47 +01:00
Frédéric Péters 6761881ab0 tox: remove old django 1.11 reference 2021-12-19 16:36:23 +01:00
Valentin Deniaud d80c5ef988 jenkins: compile translations before tests (#58939) 2021-12-02 11:03:44 +01:00
Valentin Deniaud 85411f3376 api: allow filtering roles list (#57504) 2021-10-20 10:37:28 +02:00
Valentin Deniaud 9d7aa5d839 misc: fix import-error pylint error (#56982) 2021-09-24 11:21:18 +02:00
Valentin Deniaud e2079747b7 misc: update pylint configuration (#56982) 2021-09-24 11:21:17 +02:00
Benjamin Dauvergne c3f39b4637 ci: make target for check-migrations / simplify Jenkinsfile and default targets
tox.ini:
* check-migrations is now in its own target
* getlasso.sh is removed as python2 is not supported anymore
* code-style/check-migrations/pylint are run after tests to not delay
  reporting of test failures.
Jenkinsfile:
* regular test run use the default target list from tox.ini
* on time trigger, only the rbac target is run
2021-08-06 16:27:00 +02:00