Commit Graph

1385 Commits

Author SHA1 Message Date
Nicolas Roche 7cb75b9770 environment: display netloc on network checks service (#50451)
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-02-09 17:10:27 +01:00
Frédéric Péters 6beaab79fe debian: enable email backend by default (#50775) 2021-02-02 16:08:48 +01:00
Emmanuel Cazenave 1977c3ed95 run tests against django 2.2 (#49283)
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-02-02 11:48:38 +01:00
Emmanuel Cazenave 41d847ab04 use real string in migration (#49283) 2021-02-02 11:44:52 +01:00
Emmanuel Cazenave cd54c56f8c set CSRF_COOKIE_SAMESITE to None (#49283) 2021-02-02 11:44:52 +01:00
Emmanuel Cazenave 446788ece6 change command parser option or invocation (#49283)
To be compliant with https://code.djangoproject.com/ticket/27787 : parser arguments now gets introspected when using call_command.
2021-02-02 11:44:52 +01:00
Emmanuel Cazenave 7eedc0bbcc use the new names of URL related class (#49283) 2021-02-02 11:44:52 +01:00
Emmanuel Cazenave 6539d8ddbf declare a manager on Role (#49283) 2021-02-02 11:44:52 +01:00
Emmanuel Cazenave ba6bb6398b use contrib.auth class based views (#49283) 2021-02-02 11:44:52 +01:00
Frédéric Péters 2e8110ecb7 emails: use portal_url as default for List-Unsubscribe header (#50759) 2021-02-02 10:51:00 +01:00
Frédéric Péters 45c477091c translation update 2021-02-02 10:51:00 +01:00
Frédéric Péters 341c4d1e3a emails: add backend to add headers (#50753) 2021-02-02 10:40:55 +01:00
Valentin Deniaud d121f41a7c increase djangorestframework version limit (#49536) 2021-01-20 16:48:02 +01:00
Frédéric Péters 402e187edf build: update to use origin/main 2020-12-26 15:21:15 +01:00
Benjamin Dauvergne 17ee1bf6d5 middleware: define setting for CSRF cookie SameSite value (#48767) 2020-12-14 16:20:33 +01:00
Benjamin Dauvergne 44ed90ad84 agent: update user's attributes type in authentic (#48743) 2020-12-14 16:19:58 +01:00
Frédéric Péters e0607bfa58 general: consider null variable value as None (#49146) 2020-12-11 09:11:35 +01:00
Frédéric Péters 9764c3970b trivial: fix disable_global_logging import (#49028) 2020-12-01 19:58:00 +01:00
Frédéric Péters eec5780a80 misc: serve a minimalistic template if no portal have been deployed (#48737) 2020-11-27 21:41:41 +01:00
Benjamin Dauvergne 59d13b7300 misc: disable logging in runscript and shell when in command shell (#47708)
Command shell context is guessed by the presence of the TERM environment
variable (should not happen when launched by crond, initd or systemd).
2020-11-27 14:52:21 +01:00
Thomas NOËL 49691aee10 translations: typo fix 2020-11-27 11:49:34 +01:00
Valentin Deniaud 96f78fc0c7 multitenant: add portal slug in idp_registration_url (#46729) 2020-11-16 14:31:07 +01:00
Frédéric Péters 1f9e5a5a69 style: limit service title line to a single line (#48199) 2020-11-02 17:20:18 +01:00
Benjamin Dauvergne d41a4e3409 multitenant: use real tenant in migration commands (#48071) 2020-10-29 16:32:57 +01:00
Valentin Deniaud 1e492e7aba deploy: notify agents on object deletion (#7201) 2020-10-28 17:22:59 +01:00
Valentin Deniaud 62a63d3fcf tests: fix authentic tests (#48012) 2020-10-27 19:05:38 +01:00
Benjamin Dauvergne 7d0a3162f0 multitenant: dont clear the contenttype cache between requests (#47343) 2020-10-19 10:32:19 +02:00
Frédéric Péters 9d11791747 translation update 2020-10-16 14:37:39 +02:00
Frédéric Péters 9a71b5dd3e profile: add support for new address_auto kind (#47790) 2020-10-16 14:30:34 +02:00
Frédéric Péters 1e55ca160b translation update 2020-10-16 09:31:36 +02:00
Nicolas Roche 572a9f9acb environment: add missing template (#33672) 2020-10-14 17:35:50 +02:00
Nicolas Roche 60e5bd28d0 environment: import and export parameters (#33672) 2020-10-14 17:21:01 +02:00
Lauréline Guérin 3ead547aa1
settings: remove old MIDDLEWARE_CLASSES support (#45671)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head There was a failure building this commit Details
2020-10-13 09:31:15 +02:00
Frédéric Péters 6cf6d7fcf6 tests: adapt to change in authentic form field identifiers 2020-10-09 15:53:07 +02:00
Frédéric Péters 3caeeb82ed tox: limit mock version for compatibility with python 3.5 2020-10-06 09:21:26 +02:00
Frédéric Péters 474e6c0c97 misc: do not recreate ou-slug variables (#47198) 2020-10-01 20:49:31 +02:00
Nicolas Roche c9eb026682 tox: remove python2 test for passerelle (#47120) 2020-09-30 19:56:09 +02:00
Nicolas Roche b063c9cc0f tests: add manage authorizations to expected tests results (#47120) 2020-09-30 19:56:09 +02:00
Benjamin Dauvergne 4ad0ef9ef6 tox.ini: limit authentic targets to python3 (#47185) 2020-09-30 14:06:23 +02:00
Frédéric Péters 361b1617b1 tox: get additional modules using https (via #46904#note-2) 2020-09-24 20:03:17 +02:00
Frédéric Péters 151485e2f6 translation update 2020-09-18 14:37:07 +02:00
Valentin Deniaud 538963b8ba misc: add sms configuration (#46444) 2020-09-17 17:07:41 +02:00
Benjamin Dauvergne e311e2611a multitenant: prevent repeating migrations and system checks (#46561) 2020-09-11 09:31:55 +02:00
Frédéric Péters a16f4ce394 tox: limit pyrsistent version when testing against py2 2020-09-09 07:58:49 +02:00
Valentin Deniaud 66b7bc1544 tox: tell setuptools to use distutils from stdlib (#46252) 2020-09-01 14:24:39 +02:00
Benjamin Dauvergne 39241002af debian: set journald log level to INFO (#29149)
DEBUG logs must go to a local file now.
2020-08-25 10:37:36 +02:00
Benjamin Dauvergne 8c664bc035 logger: prevent RequestContextFilter multiple execution (#29149) 2020-08-25 10:37:36 +02:00
Benjamin Dauvergne 050dbcb921 logger: deprecate SettingsLogLevel (#29149) 2020-08-25 10:37:36 +02:00
Benjamin Dauvergne e1647d8f56 debian: add InternalIpMiddleware (#29149)
It sets DEBUG=True when current request IP is in settings.INTERNAL_IPS.
2020-08-25 10:37:36 +02:00
Benjamin Dauvergne afe4b98f64 debian: add debug log in /var/log/<app>/debug (#29149)
It's configured through the DEBUG_LOG settings:
* DEBUG_LOG = False, no debug log
* DEBUG_LOG = True, all debug log go to /var/log/<app>/debug
* DEBUG_LOG = app1,app2, only debug log of logger app1 and app2
  go to /var/log/<app>/debug

/var/log/<app>/debug is emptied everyday at midnight.
2020-08-25 10:37:34 +02:00