Commit Graph

9 Commits

Author SHA1 Message Date
Valentin Deniaud cebdcf5bbf misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 14:49:55 +02:00
Emmanuel Cazenave 1700420a1e middleware: forbid provisionning without authentication (#65814) 2022-05-31 17:48:01 +02:00
Frédéric Péters 9877b65265 misc: remove usage of django.utils.six (#63684) 2022-04-15 18:28:51 +02:00
Benjamin Dauvergne add04ecadb provisionning: log received provisionning messages and actions (#56907) 2021-10-01 00:02:01 +02:00
Benjamin Dauvergne 96ce1fb02f provisionning: add ?sync=1 parameter to /__provision__ API (#56920)
When used by the /api/provision API on authentic, it garantees the
provisionning is made synchronously.
2021-09-28 17:11:56 +02:00
Emmanuel Cazenave d84fd70def provisionning: pass data to spooler function in body parameter (#56991)
The `data` can be very long, by spooler files cannot be longer thant 64k
except for the body bytes parameter.

See https://uwsgi-docs.readthedocs.io/en/latest/Spooler.html#spool-files

Using the body parameters is only possible with pass_arguments=False (not documented).
2021-09-16 18:39:06 +02:00
Emmanuel Cazenave 4d2d6a05d1 provisionning: use uwsgi spooler (#55092) 2021-09-13 15:44:48 +02:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Frédéric Péters 0012761656 general: use HTTP API to provision users & groups (#43245) 2020-05-29 12:24:18 +02:00