Commit Graph

1353 Commits

Author SHA1 Message Date
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
Benjamin Dauvergne 90a954b45e misc: provision user.is_active (#44896) 2020-07-10 21:01:34 +02:00
Valentin Deniaud 88c06f1df0 agent: save role emails during provisionning (#44754) 2020-07-10 16:26:36 +02:00
Nicolas Roche 3d632d370c tests: use a random free port for smtp server (#44890) 2020-07-09 16:21:11 +02:00
Valentin Deniaud eb22673ee5 tests: use reliable references to objects (#44861) 2020-07-07 14:17:37 +02:00
Valentin Deniaud f833a08358 tests: switch to postgresql (#44861) 2020-07-07 14:17:37 +02:00
Frédéric Péters c00779e7ab translation update 2020-06-30 17:45:07 +02:00
Nicolas Roche 02052aff40 emails: allow user to define email sender name (#44411) 2020-06-29 17:08:04 +02:00
Nicolas Roche b314c1f9a8 emails: correct help text on email prefix field (#44565) 2020-06-29 16:12:54 +02:00
Thomas NOËL ab3d543997 cook: add auto flag in set-variable action (#44325) 2020-06-26 15:32:15 +02:00
Benjamin Dauvergne 0a476f2b33 misc: do not wait already deployed SP (#43035) 2020-06-26 11:46:56 +02:00
Benjamin Dauvergne bad0618e16 tests_authentic2: verify calls to sleep() on redeploy (#43035) 2020-06-26 11:46:56 +02:00
Frédéric Péters e99dc29f4e emails: order options to have prefix before signature (#44409) 2020-06-26 10:08:01 +02:00
Frédéric Péters 858521f6c4 provisionning: get all roles (#19516) 2020-06-23 10:18:15 +02:00
Benjamin Dauvergne c448546dbe py3: adapt support of multitenant in threads (#44021) 2020-06-15 16:17:00 +02:00
Benjamin Dauvergne 6361be78c9 tests_multitenant: test threading.Timer (#44021) 2020-06-15 11:56:59 +02:00
Frédéric Péters 502759f0d7 translations: typo fix (#44026) 2020-06-12 15:16:18 +02:00
Frédéric Péters 83e6d3ef17 tox: limit django-filter to <2.3
pkg_resources.ContextualVersionConflict: (Django 1.11.29 (...),
Requirement.parse('Django>=2.2'), {'django-filter'})
-- https://jenkins.entrouvert.org/job/hobo/2776/console
2020-06-05 20:44:01 +02:00
Frédéric Péters 0012761656 general: use HTTP API to provision users & groups (#43245) 2020-05-29 12:24:18 +02:00
Frédéric Péters e5cea48f38 emails: use correct variable name for global email prefix (#43064) 2020-05-19 10:20:56 +02:00