Commit Graph

1447 Commits

Author SHA1 Message Date
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
Benjamin Dauvergne fa678935a1 profile: show attribute name in list (#55864) 2021-07-29 15:55:24 +02:00
Benjamin Dauvergne f673a1652b profile: update migrations (#55865)
Some blank=True are missing.
2021-07-29 09:01:23 +02:00
Benjamin Dauvergne 9cabbc197a profile: add required_on_login flag to AttributeDefinition (#55865) 2021-07-29 09:01:23 +02:00
Frédéric Péters 7d4973b758 tox: stop testing against django 1.11 2021-07-02 14:35:56 +02:00
Frédéric Péters afb89ff9a8 tox: limit psycopg2 to < 2.9 (#54926) 2021-06-17 08:56:38 +02:00
Emmanuel Cazenave cdfe73d441 agent/authentic2: add debug mode for provisionning (#54637)
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-06-15 18:02:02 +02:00
Frédéric Péters 3252785cd0 agent: look for wcs tenant in both old and new directories (#54614) 2021-06-07 12:25:17 +02:00
Benjamin Dauvergne 0f8fe28274 tests: disable syslog logging handler (#51267) 2021-06-01 13:00:10 +02:00
Valentin Deniaud c7362f2418 authentic: fix role emails field for django 2 (#54302) 2021-05-26 15:00:33 +02:00
Benjamin Dauvergne 1a02b24d14 agent/authentic2: mark object for provisionning if transaction commit (#52355) 2021-05-20 18:31:47 +02:00
Frédéric Péters 75ec113ec4 debian: increase settings.DATA_UPLOAD_MAX_MEMORY_SIZE 20-fold (#54059) 2021-05-18 09:50:30 +02:00
Frédéric Péters ea4c80bac6 tox: add black (via pre-commit) to tests 2021-05-14 18:40:45 +02:00
Frédéric Péters f3f84bac3f misc: add black files/notes 2021-05-14 18:40:45 +02:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Frédéric Péters 567ed17306 translation update 2021-05-07 15:21:17 +02:00
Thomas NOËL fc265eda01 emails: add header names in description (#53118) 2021-05-06 18:21:30 +02:00
Frédéric Péters ac6ea6351b tox: remove obsolete oldstylemiddleware environments (#53458) 2021-04-27 12:26:51 +02:00
Frédéric Péters 9d87a30921 translation update 2021-04-27 12:22:16 +02:00
Frédéric Péters a25056ad27 templates: use sidebar for links to option screens (#53228) 2021-04-27 11:36:22 +02:00
Frédéric Péters 5e865ad9b3 general: remove ozwillo extension (#53229) 2021-04-24 10:29:44 +02:00
Frédéric Péters fb3627eaf8 misc: remove usage of CallableTrue (#41239) 2021-04-24 10:29:44 +02:00
Frédéric Péters acf578b79e fix mistranslation 2021-04-18 20:11:10 +02:00
Frédéric Péters 13c83ff3ce authentic: add API to force user provisionning (#53059) 2021-04-15 12:48:31 +02:00
Thomas NOËL 9325cc948e translations: fix typo 2021-04-14 10:55:34 +02:00
Emmanuel Cazenave 35ad2dadbf provisionning: do not fail on missing role (#50014) 2021-04-09 15:25:00 +02:00
Benjamin Dauvergne 9b5e4dde2e agent/authentic2: batch the provisionning of agents (#52620) 2021-04-08 14:31:21 +02:00