Commit Graph

1573 Commits

Author SHA1 Message Date
Emmanuel Cazenave 453389ca40 agent: add a comment (#60793) 2022-01-18 17:32:03 +01:00
Emmanuel Cazenave b3943a61d0 jenkins: show execution context in coverage reports (#60446) 2022-01-11 16:16:16 +01:00
Frédéric Péters e5f72cd12f build: update setup.py to require django at least django 2.2 2022-01-08 16:08:06 +01:00
Valentin Deniaud 38189e9de7 templatetags: handle only integers with as_numeral filter (#58158) 2022-01-06 10:58:09 +01:00
Paul Marillonnet b333bf4833 matomo: try to load tracking js included in script tags (#59832) 2021-12-17 13:43:28 +01:00
Frédéric Péters 2c2f779a5c misc: check a theme is selected before applying it (#59815) 2021-12-16 20:41:06 +01:00
Benjamin Dauvergne 1d26faf22b tests: fix number of queries in test (#59794) 2021-12-16 17:50:38 +01:00
Benjamin Dauvergne 6bdb9fee2c provisionning: do not delete roles two times (#59794) 2021-12-16 15:03:17 +01:00
Emmanuel Cazenave ac0079c68a multitenant: add --legacy-hostname option to create_tenant (#59094) 2021-12-15 12:10:20 +01:00
Benjamin Dauvergne f164fe6205 settings_loaders: adapt service slug for secondary services (#57482) 2021-12-14 11:56:49 +01:00
Paul Marillonnet 339ab63855 agent/authentic: use http provisionning by default (#59312) 2021-12-08 10:56:07 +01:00
Emmanuel Cazenave 1a6734bd32 Revert "settings_loaders: adapt service slug for secondary services (#57482)"
This reverts commit a4f778ea10.
2021-12-06 10:18:31 +01:00
Frédéric Péters 418dbee011 jenkins: build buster & bullseye packages 2021-12-03 16:54:19 +01:00
Frédéric Péters d9e421d01e debian: remove obsolete build-dependency on dh-systemd 2021-12-03 16:52:47 +01:00
Benjamin Dauvergne a4f778ea10 settings_loaders: adapt service slug for secondary services (#57482) 2021-12-02 10:58:33 +01:00
Emmanuel Cazenave 4f4a2bfb05 environment: add missing migration (#58914) 2021-11-23 17:57:02 +01:00
Frédéric Péters 8e2af27c01 build: bump black version 2021-11-22 22:16:32 +01:00
Valentin Deniaud b735937066 setup: upgrade num2words requirement to 0.5.9 (#58471) 2021-11-08 15:49:08 +01:00
Emmanuel Cazenave b915308d74 multitenant: use TENANT_DISABLE_CRON_JOBS to disable cron for a specific tenant (#57527) 2021-11-02 13:55:42 +01:00
Valentin Deniaud 4b3a581150 templatetags: pass float to num2words and work with 0.5.6 (#58022) 2021-10-25 11:32:08 +02:00
Emmanuel Cazenave 529da620ee setup.py: declare num2words dependency (#58045) 2021-10-21 11:04:30 +02:00
Benjamin Dauvergne 9b46019149 rest_authentication: improve signature errors reporting (#57450) 2021-10-21 08:18:11 +02:00
Valentin Deniaud 1e2cf7f618 templatetags: add as_numeral filters (#57983) 2021-10-19 17:11:23 +02:00
Frédéric Péters f4e0289d27 debian: switch to debhelper-compat 12 (#57538) 2021-10-09 19:02:16 +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 6e896dbcdd provisionning: delete roles in one query when deprovisionning (#55043)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
2021-09-28 15:19:16 +02:00
Emmanuel Cazenave 5dc88fc9a7 provisionning: delete superfluous roles in one query (#55043) 2021-09-28 15:15:53 +02:00
Emmanuel Cazenave 32ce076834 provisionning: grab existing roles by uuid in one query (#55043) 2021-09-28 15:15:53 +02:00
Emmanuel Cazenave 438b79dc7e provisionning: count db queries (#55043) 2021-09-28 15:15:53 +02:00
Benjamin Dauvergne 44fc912ab4 provisionning: integrate changes to UserSAMLIdentifier (#57084)
Cf. #56819
2021-09-20 12:35:17 +02:00
Benjamin Dauvergne be9d312fc0 provisionning: close connection to DB in spooler function (#57023) 2021-09-17 11:43:21 +02:00
Benjamin Dauvergne e599e1c5f8 mellon: define SLUG=idp (#57018)
It should help when changing domain name of a service.
2021-09-17 10:14:25 +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
Paul Marillonnet ded8905ebc logging: filter out http 403 messages in request context filter (#56711) 2021-09-16 12:20:26 +02:00
Emmanuel Cazenave f9de8f6f6d multitenant: enable DISABLE_CRON_JOBS for a specific tenant (#56595) 2021-09-13 16:26:22 +02:00
Emmanuel Cazenave 4d2d6a05d1 provisionning: use uwsgi spooler (#55092) 2021-09-13 15:44:48 +02:00
Paul Marillonnet 78eea8656a translation update 2021-09-02 16:43:31 +02:00
Paul Marillonnet dc69e1cfcf profile: add support for "french phone number" attribute type (#56541) 2021-09-01 15:02:13 +02:00
Emmanuel Cazenave b50346485a update translations 2021-08-31 15:43:38 +02:00
Benjamin Dauvergne 0b3c8a03eb agent/authentic: set required_on_login on Attribute (#56502) 2021-08-31 12:25:21 +02:00
Emmanuel Cazenave cf3c111e94 uwsgi: enable provisionning spooler (#55092) 2021-08-31 12:18:33 +02:00
Emmanuel Cazenave 34e535d9ca debian: add uwsgi spooler (#55567) 2021-08-31 12:15:04 +02:00
Benjamin Dauvergne cd1e3ce53e provisionning: use actual field's max_length when truncating (#56411) 2021-08-27 19:18:54 +02:00
Nicolas Roche e6ce17b1dc debian: update celery run command (#47559) 2021-08-27 12:28:35 +02:00
Benjamin Dauvergne 739bffb78b provisionning: add hex digest to truncated role's name (#56295)
Max length of role's name is also augmented to 150 starting with Django
2.2.
2021-08-23 14:05:47 +02:00
Frédéric Péters 49a95cbc4b misc: add custom makemessages command to skip line numbers by default (#56060) 2021-08-09 14:07:28 +02:00
Benjamin Dauvergne 73c66f6a0a update translations 2021-07-30 14:47:13 +02:00
Benjamin Dauvergne 12efc02102 tox.ini: add update-locales target 2021-07-30 14:47:13 +02:00
Valentin Deniaud bee6b57876 sms: allow templated urls (#46778) 2021-07-29 18:17:19 +02:00