Commit Graph

1372 Commits

Author SHA1 Message Date
Valentin Deniaud fc91120734 multitenant: add statistics providers setting (#49685)
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
2020-12-22 16:18:54 +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
Benjamin Dauvergne 0c023195ce tests: sort None values as empty list (#46007) 2020-08-22 11:31:52 +02:00
Benjamin Dauvergne 29e398577d tests: adapt to change in authentic default permissions (#46007) 2020-08-22 11:31:48 +02:00
Frédéric Péters 8b40112c35 middleware: transform cookies to have SameSite=None (#45667) 2020-08-03 09:36:10 +02:00
Nicolas Roche 7ce95390ac tests: insert log filter on correct handler (#45615) 2020-07-31 17:12:46 +02:00
Nicolas Roche 754d207de0 tests: skip pytest 6.0.0 release to keep caplog tests working (#45556) 2020-07-29 16:14:28 +02:00
Thomas NOËL ad23d09e3a multitenant: show domain and schema in tenant object str method (#45343) 2020-07-28 15:18:08 +02:00
Frédéric Péters a8c3eaf395 hobo agent: notify subservices on profile changes (#43553) 2020-07-27 16:06:24 +02:00
Frédéric Péters 9aa26aca45 matomo: detect bad tracking for hotjar and xiti (#45488) 2020-07-27 14:50:12 +02:00
Frédéric Péters fd1c99f073 debian: use cheaper uwsgi subsystem (#45456) 2020-07-24 15:23:26 +02:00
Thomas NOËL e9506e6fd0 hobo_deploy: increase SAML keys size from 1024 to 2048 bits (#43121) 2020-07-17 07:24:22 +02:00
Valentin Deniaud 10181c8333 common: use a callable as default in ArrayField (#45100) 2020-07-15 14:52:46 +02:00
Frédéric Péters 9b1012b223 translation update 2020-07-14 09:33:21 +02:00
Nicolas Roche be3ffd83a6 misc: ask for most important parameters on home page (#44413) 2020-07-13 19:05:39 +02:00