Commit Graph

206 Commits

Author SHA1 Message Date
Benjamin Dauvergne e9929d3b5b debian: configure journald filters and formatter (#30613)
In order to get logs:
* on par with syslog for the message,
* with structured fields for requests/tenants informations.
2019-02-14 15:22:56 +01:00
Frédéric Péters 7aa49fcf12 misc: look for portal agent associated to user OU when in Authentic (#29658) 2019-02-06 10:30:11 +01:00
Benjamin Dauvergne ffaeb45057 debian: add journald support to debian_config_common (fixes #23471) 2019-01-15 00:15:18 +01:00
Frédéric Péters 2e22202dbb debian: switch to uwsgi and a systemd unit (#29472) 2019-01-14 14:25:45 +01:00
Benjamin Dauvergne 8b45ce4986 hobo: add setting loader for variables (#28930)
Variables must be prefixed with SETTING_, suffix .extend and .update are
supported.

Ex.: SETTING_LDAP_AUTH_SETTINGS.extend = [{...}]
2019-01-14 10:36:04 +01:00
Thomas NOËL 513db18396 debian_config_common: force INFO level on django.template logging (#29239) 2018-12-21 14:43:35 +01:00
Frédéric Péters 7bd28f8967 debian: send the Date header of emails in the local time zone (#28775) 2018-12-08 12:04:13 +01:00
Frédéric Péters 44dbfbeed8 multitenant: add loader to get settings from theme (#26636) 2018-11-12 20:13:34 +01:00
Frédéric Péters eef3faf448 logging: force lasso messages to be considered as debug level (#25694) 2018-11-02 09:32:43 +01:00
Frédéric Péters 9239e8d9e6 debian: force empty email prefix (#27174) 2018-10-10 09:58:17 +02:00
Frédéric Péters 6e33678cb9 debian: don't set explicit email prefix as tenant is included (#26958) 2018-10-03 18:38:54 +02:00
Christophe Siraut a6df6bdcd6 general: provide a health api (#23823) 2018-09-28 15:52:36 +02:00
Frédéric Péters b08256374d debian: add explicit dependency on python-celery-common (#26791) 2018-09-27 16:43:19 +02:00
Frédéric Péters 735b1f53e0 debian: allow django > 1.8 2018-09-26 16:10:23 +02:00
Emmanuel Cazenave 1340956832 force email socket timeout to 10 seconds (#26351) 2018-09-17 16:15:12 +02:00
Thomas NOËL a7e6c1748a debian: add memcache client in python-hobo dependancies (#26300) 2018-09-11 11:17:57 +02:00
Frédéric Péters aff40308bf multitenant: include tenant domain in logging emails (#25715) 2018-08-29 09:48:26 +02:00
Benjamin Dauvergne fe0f82ab69 debian_config_common: force mellon session backend (fixes #19243)
Also use a cached DB backend to improve performances.
2018-07-27 16:25:48 +02:00
Frédéric Péters fbd06fafe9 misc: run role provisionning job silently (#25302) 2018-07-17 06:24:45 +02:00
Christophe Siraut 46485931a3 debian/hobo-agent.cron.d: trigger roles provisionning (#24834) 2018-07-16 10:46:33 +02:00
Elias Showk e5f6593327 Revert "debian settings: better compatibility switch for > 1.8 TEMPLATES (#23035)"
This reverts commit f2389cf4dc.
2018-04-20 11:50:19 +02:00
Elias Showk f2389cf4dc debian settings: better compatibility switch for > 1.8 TEMPLATES (#23035) 2018-04-19 15:11:40 +02:00
Frédéric Péters d432df9ff5 general: add possibility to skip all cron jobs (#15470)
This is useful for load balancing as jobs should only be run on one
host.

Original was amended with a condition on "--all-tenants" and help messages.

Signed-off-by: Christophe Siraut <csiraut@entrouvert.com>
2018-04-19 14:32:00 +02:00
Thomas NOËL ebeec12cba debian/hobo-agent: add support for settings.d (#22082) 2018-03-24 01:40:31 +01:00
Thomas NOËL d647fa9511 debian: add missing import in settings.d helper (#22780) 2018-03-24 01:39:19 +01:00
Frédéric Péters 8e230861e6 debian: set CSRF_COOKIE_HTTPONLY by default (#21030) 2018-03-09 10:48:40 +01:00
Thomas NOËL c74241d420 debian: activate django-mellon AuthnRequest eo:next_url Extension option (#22352) 2018-03-07 16:39:43 +01:00
Frédéric Péters c1768632e1 general: add support for prometheus stats (#19766) 2018-02-14 11:54:23 +01:00
Frédéric Péters 62e597e157 debian: set SECURE_PROXY_SSL_HEADER for nginx/runserver integration (#16863) 2017-12-04 11:49:15 +01:00
Thomas NOËL 362a4982e2 debian: suggests postgresql instead of recommend it (#20001) 2017-11-17 11:14:33 +01:00
Frédéric Péters ce5fecc664 debian: update request context processor dotted path (#19651) 2017-11-15 18:05:06 +04:00
Frédéric Péters 652683f737 settings loaders: update settings with unique cookie names (#18550) 2017-09-09 13:49:29 +02:00
Frédéric Péters 2ddd8631f4 misc: adapt to change in wcsctl path (#18011) 2017-08-16 16:07:23 +02:00
Frédéric Péters 0f15949772 misc: adapt to wcs change of user (#17984) 2017-08-15 10:01:58 +02:00
Frédéric Péters 5b628d2d67 debian: do not load mellon middleware in wcs 2017-08-11 16:14:39 +02:00
Frédéric Péters 8be9391c19 debian: distribute debian_config_settings_d.py (#17971) 2017-08-11 15:52:55 +02:00
Frédéric Péters 7592b9a49f debian: add support for $etc_dir/settings.d/ (#17971) 2017-08-11 15:19:48 +02:00
Frédéric Péters ec8eda4609 debian: don't configure multitenant stuff for wcs (#17967) 2017-08-11 15:04:49 +02:00
Frédéric Péters fe63e7ae41 debian: regroup multitenant settings (#17967) 2017-08-11 15:04:49 +02:00
Frédéric Péters 1b306f5139 debian: add support for TEMPLATES in settings (#15958) 2017-05-02 15:56:34 +02:00
Frédéric Péters 447dad2680 general: limit to django 1.8 (#15741) 2017-04-14 14:08:16 +02:00
Thomas NOËL 86be71d084 debian: add tenant aware haystack in debian_config_common.py (#15392) 2017-03-13 09:27:22 +01:00
Frédéric Péters 9478e61b68 debian: don't collectstatic and migrate schemas on reload (#14487) 2017-01-03 11:03:56 +01:00
Frédéric Péters c96002ff6b debian: use custom hobo hobo-agent agent (#14405) 2016-12-21 17:10:26 +01:00
Frédéric Péters 1b9a95be4d debian: declare hobo user in sudoers for hobo_{notify,deploy} (#14282) 2016-12-13 11:37:49 +01:00
Frédéric Péters d077b2ac7c general: add support for deploying full publik systems (#13838) 2016-12-09 15:43:52 +01:00
Thomas NOËL fd915148e5 Django Rest Framework: only JSON views in django_config_common (#14018) 2016-12-07 17:57:33 +01:00
Thomas NOËL 17c0f375b5 secure Django Rest Framework auth in django_config_common (#13914) 2016-11-18 10:04:24 +01:00
Thomas NOËL b3de47c2f0 readd authentic role form in debian_config_common (#13548) 2016-10-12 09:06:45 +02:00
Benjamin Dauvergne ed08accd60 send provisionning messages after request treatment in a thread (fixes #9396)
All objects to provision are collected into the Provisionning singleton object
in thread local dictionnaries. When request processing is finished the
ProvisionningMiddleware launch a thread which will send provisionning messages.
2016-10-05 14:03:27 +02:00