Commit Graph

215 Commits

Author SHA1 Message Date
Frédéric Péters df4e96f847 debian: move python-systemd to depends (#33699) 2019-06-05 12:09:04 +02:00
Frédéric Péters f0d10f92a9 misc: require django 1.11 (#33238) 2019-05-31 08:28:42 +02:00
Frédéric Péters 918a53f5cf debian: add daily job to clean sessions (#33129) 2019-05-16 17:15:02 +02:00
Christophe Siraut 1b9704742f add default_from_email checks (#24519) 2019-04-17 16:03:30 +02:00
Christophe Siraut 2e02dd0d35 debian: bump debhelper compatibility level (#32260) 2019-04-16 14:38:11 +02:00
Frédéric Péters f5495c72d0 debian: don't start hobo-agent if policy-rc.d says so (#14724) 2019-03-08 00:11:49 +01:00
Frédéric Péters 811c05bfd1 misc: remove obsolete/never used piwik support (#30973) 2019-03-04 11:19:09 +01:00
Thomas NOËL 4645073b5f debian: refine uwsgi settings (#30933) 2019-02-27 12:16:49 +01:00
Frédéric Péters 5fd3eb3998 debian: force 0644 as mode for uploaded files (#30905) 2019-02-26 14:02:00 +01:00
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