Commit Graph

185 Commits

Author SHA1 Message Date
Frédéric Péters 439762cb89 ci: keep on using pylint 2 while pylint-django is not ready (#81905)
gitea/petale/pipeline/head This commit looks good Details
2023-10-03 06:31:42 +02:00
Benjamin Dauvergne df316ade0a tests: change expected http error on authentication failure (#81376)
gitea/petale/pipeline/head This commit looks good Details
Previous expectation of a 403 status code was dependant upon
django-webtest preprending its own django-rest-framework authentication
backend in the settings, this behaviour changed in django-webtest
1.9.11. Previously the tests were testing the behaviour of
django-webtest more than the one from petale.
2023-09-20 11:11:27 +02:00
Benjamin Dauvergne cdca28ab46 tox.ini: use psycopg2-binary 2023-09-20 11:07:55 +02:00
Guillaume Baffoin c7a9ae1f86 wip: pre-commit-hook failed
gitea/petale/pipeline/head This commit looks good Details
2023-08-22 17:08:46 +02:00
Guillaume Baffoin 7382c9f615 debian: add a dependancy on service authentic2-multitenant (#75460)
gitea/petale/pipeline/head There was a failure building this commit Details
2023-08-22 16:37:44 +02:00
Valentin Deniaud b0e2b8b3ad misc: update git-blame-ignore-revs to ignore quote changes (#79788)
gitea/petale/pipeline/head This commit looks good Details
2023-08-16 11:53:10 +02:00
Valentin Deniaud 1dd4eda05f misc: apply double-quote-string-fixer (#79788) 2023-08-16 11:53:10 +02:00
Valentin Deniaud 4edb5ca5b2 misc: add pre commit hook to force single quotes (#79788) 2023-08-16 11:53:10 +02:00
Thomas NOËL 97ae4d3374 debian: remove memory-report from uwsgi default configuration (#79890)
gitea/petale/pipeline/head This commit looks good Details
2023-07-21 15:16:17 +02:00
Frédéric Péters a2e3654bbc ci: build deb package for bookworm (#78968)
gitea/petale/pipeline/head This commit looks good Details
2023-06-23 17:48:50 +02:00
Frédéric Péters b1db08282d debian: apply new pre-commit-debian (#77727)
gitea/petale/pipeline/head This commit looks good Details
2023-05-27 21:49:34 +02:00
Frédéric Péters 07ad841af4 ci: upgrade pre-commit-debian (#77727) 2023-05-27 21:49:34 +02:00
Benjamin Dauvergne a989f65171 debian: restart petale every minute (#75725)
gitea/petale/pipeline/head This commit looks good Details
Instead of every 100ms, the default value for RestartSec (man
systemd.service).
2023-03-22 18:06:12 +01:00
Agate 64d0dbae03 Prepare Jenkinsfile for Gitea migration (#74572)
gitea/petale/pipeline/head This commit looks good Details
2023-02-20 15:14:59 +01:00
Frédéric Péters 32ef9e5678 ci: upgrade isort (#74044) 2023-02-01 09:29:08 +01:00
Benjamin Dauvergne fe2b44ab29 misc: silence pylint warning (#72942)
@logit
    def head(self, request, partner_name, cut_uuid, petal_name):

    -> pylint: An attribute defined in django.views.generic.base line 85 hides this method

It comes from some conditional code in the base View class:

    class View:
    ...
	    def setup(self, request, *args, **kwargs):
		"""Initialize attributes shared by all view methods."""
		if hasattr(self, 'get') and not hasattr(self, 'head'):
		    self.head = self.get
2023-01-10 19:18:45 +01:00
Benjamin Dauvergne 972ce33d5d dj32: remove use of force_text (#72942) 2023-01-10 18:57:15 +01:00
Benjamin Dauvergne 9e1e43b1da dj32: adjust UI strings in admin interface tests (#72942) 2023-01-10 18:56:48 +01:00
Benjamin Dauvergne 3f70e53875 dj32: replace url by re_path (#72942) 2023-01-10 18:48:52 +01:00
Benjamin Dauvergne 321be9396c dj32: replace ugettext_lazy by gettext_lazy (#72942) 2023-01-10 18:47:44 +01:00
Benjamin Dauvergne 6b4e71032d dj32: run tests with django 3.2 (#72942) 2023-01-10 18:45:29 +01:00
Frédéric Péters 451f34d201 ci: only build package for bullseye (#72729) 2022-12-22 17:21:28 +01:00
Paul Marillonnet 5bbcdf86a9 ci: limit tox version used while running tests (#72165) 2022-12-08 10:46:39 +01:00
Frédéric Péters b167d03123 ci: update pyupgrade to 3.1.0 (#70693) 2022-10-26 19:22:44 +02:00
Frédéric Péters d028208383 misc: always check idp certificate (#68471) 2022-08-29 08:22:20 +02:00
Frédéric Péters 9e7d2f1640 misc: always set a timeout on requests (#68471) 2022-08-29 08:22:20 +02:00
Frédéric Péters 8edd406c88 debian: remove obsolete standard error output config from systemd unit (#65101) 2022-08-02 10:01:54 +02:00
Frédéric Péters 6d19c336f9 pylint: remove obsolete options 2022-07-06 13:04:36 +02:00
Frédéric Péters 55587cea46 debian: switch to debhelper-compat 12 (#57538) 2022-07-06 13:01:26 +02:00
Frédéric Péters 311aa1d761 debian/trivial: apply pre-commit-debian 2022-07-06 12:56:53 +02:00
Frédéric Péters b0f9b8e666 misc: add pre-commit-debian 2022-07-06 12:56:34 +02:00
Frédéric Péters f6c66cf343 ci: build for both buster and bullseye (#67061) 2022-07-06 12:54:53 +02:00
Benjamin Dauvergne 75ce199ce1 Fix tests... 2022-05-02 12:15:34 +02:00
Benjamin Dauvergne cc6a534ba4 Use verify=True to remove requests warnings 2022-04-30 12:57:46 +02:00
Benjamin Dauvergne 9f183d7e0a clean: remove files and take partner's info on command line 2022-04-29 23:40:50 +02:00
Benjamin Dauvergne aed59546fc misc: fix typo PETALE_AUTHENTIC_CREDS -> PETALE_AUTHENTIC_AUTH (#646950 2022-04-29 11:51:45 +02:00
Benjamin Dauvergne 3fe60f226c tox.ini: remove limitation on django-webtest (#64695) 2022-04-29 11:51:42 +02:00
Benjamin Dauvergne 16ba0f649e tox.ini: do not fail on ImportWarning from six (#64695) 2022-04-29 11:51:34 +02:00
Thomas NOËL f34a68765b trivial: bump black version to 22.3.0 2022-03-31 12:56:37 +02:00
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