Commit Graph

29 Commits

Author SHA1 Message Date
Benjamin Dauvergne f63e250e0d utils: add tools to execute actions outisde of transactions (#31204)
gitea/passerelle/pipeline/head This commit looks good Details
First use of it is to create ResourceLog objects after the current
transaction commit or abort.
2023-10-19 09:59:10 +02:00
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Frédéric Péters e4a9d16719 general: be explicit about open endpoints (#78041) 2023-05-31 16:21:20 +02:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Agate 9d9969afdb Run tests under django 3.2 (#67781) 2022-08-01 11:16:26 +02:00
Valentin Deniaud 347944babf misc: remove usage of "six" module (#63682) 2022-04-20 17:01:01 +02:00
Lauréline Guérin 71ddfd62dc
misc: fix singleton-comparison pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 59182339ab
misc: fix redundant-u-string-prefix pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 35512c9c2f
misc: remove unused-variable pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin dbb8416537
misc: add __init__ file to tests dir (#62099) 2022-03-25 08:24:24 +01:00
Valentin Deniaud 7109698192 misc: log bytes as string without enclosing b"" (#57253) 2021-10-06 11:53:29 +02:00
Valentin Deniaud f6aafa93c3 utils: include exception logging in log_http_request (#55516) 2021-07-20 14:04:59 +02:00
Nicolas Roche 06db6d8767 misc: apply isort (#52937) 2021-05-07 13:51:13 +02:00
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
Nicolas Roche 165f7f4885 logging: allow empty value for logged data sizes (#48235) 2020-11-04 15:44:54 +01:00
Nicolas Roche 69133cb8d1 Revert "tests: do not suppress ResourceLog to keep order (#42368)"
This reverts commit 83863f5efa.
2020-05-01 15:36:32 +02:00
Nicolas Roche 83863f5efa tests: do not suppress ResourceLog to keep order (#42368) 2020-05-01 15:34:54 +02:00
Nicolas Roche 9a3d589d20 tests: move requests/responses log sizes test (#42187) 2020-04-29 14:43:41 +02:00
Emmanuel Cazenave f9b0a99e0e tests: use absolute imports (#38923)
And delete some __init__.py in tests directory.
2020-01-14 19:20:26 +01:00
Benjamin Dauvergne 8316231a22 base: add context method to ProxyLogger (#37491)
It copies the logger and add contextual informations to the extra dictionary,
it overwrites keys from previous calls to context.
2019-12-02 13:40:04 +01:00
Lauréline Guérin 8ac5660f25
errors: hide credentials in urls in error messages (#34793) 2019-10-14 10:06:55 +02:00
Frédéric Péters bebce7b305 tests: update for new status check string (#35380) 2019-09-16 10:50:25 +02:00
Benjamin Dauvergne 3d98363db7 log errors for down connectors when it persists (#35380) 2019-09-16 10:14:57 +02:00
Frédéric Péters 4ba28f811b utils: fix logging details of http errors (#30069) 2019-01-24 15:47:00 +01:00
Frédéric Péters d098de396c general: move logging parameters to its own model (#27162)
(and remove the NOTSET level during the migration)
2018-11-19 12:14:44 +01:00
Frédéric Péters 54c8322bd9 tests: update for new availability messages (#27769) 2018-11-06 08:58:46 +01:00
Frédéric Péters af2709b14b general: log on connector availability changes (#25610) 2018-08-17 14:51:05 +02:00
Frédéric Péters fbe5473013 general: don't log anything for connectors that are down (#25611) 2018-08-17 14:51:05 +02:00
Emmanuel Cazenave 59283d3386 handle string interpolation in ProxyLogger (#22380) 2018-03-13 11:37:30 +01:00