Commit Graph

1688 Commits

Author SHA1 Message Date
Frédéric Péters d0609db602 translation update 2022-02-17 20:53:41 +01:00
Frédéric Péters 62220edc86 add section to create/deploy applications (#60699) 2022-02-17 16:05:53 +01:00
Emmanuel Cazenave 00f897753b environment: store local hobo info in Hobo model (#60572) 2022-02-16 16:40:08 +01:00
Guillaume Baffoin 206193e357 agent: change option max-tasks-per-child for bullseye (#61676) 2022-02-11 09:42:48 +01:00
Paul Marillonnet ceac0b6892 profile: disable title (Civilité) default attribute (#61301) 2022-02-04 15:54:56 +01:00
Benjamin Dauvergne 936e50d70b misc: ugly hack for user_urls on w.c.s. (#61192) 2022-02-02 11:13:07 +01:00
Benjamin Dauvergne 13d74f4169 misc: add context-processor user_urls (#61192)
It introduces three template's variables:
- login_url
- logout_url
- registration_url
- account_url

Each one is adapted to return to the current page.
2022-02-02 11:13:07 +01:00
Frédéric Péters c88ab84425 trivial: remove python 2 from classifiers 2022-02-02 08:09:19 +01:00
Frédéric Péters 8b4dba0622 misc: keep text of section buttons left aligned (#61290) 2022-02-01 15:25:59 +01:00
Benjamin Dauvergne fc2c4ee794 add uwsgidecorators module (#57019) 2022-01-28 17:58:21 +01:00
Benjamin Dauvergne 7817af0ded tests: refactor multitenant conftest (#57019) 2022-01-28 17:58:21 +01:00
Benjamin Dauvergne c1820e1f64 agent/authentic: fix ou.base_url -> ou.home_url (#61029) 2022-01-28 14:55:27 +01:00
Emmanuel Cazenave 3c8927d8ee agent/authentic: store portal-user url on correponding OU (#61029) 2022-01-28 13:34:39 +01:00
Emmanuel Cazenave d4123343d8 multitenant: improve cron messages (#57526) 2022-01-28 13:19:36 +01:00
Emmanuel Cazenave 026cfba744 tests_multipublik: add assertions and comments (#60846) 2022-01-19 17:49:19 +01:00
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