Commit Graph

1099 Commits

Author SHA1 Message Date
Frédéric Péters 2bb09b4c70 general: update settings for Django 1.11 (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 5a15dd034a general: update urls.py for django 1.11 (#20933) 2018-04-04 15:12:42 +02:00
Emmanuel Cazenave 4dda39a6bf set TENANT_BASE to a non exisiting path (#22892) 2018-03-30 10:25:46 +02:00
Emmanuel Cazenave 8775faab27 correct typo in logger call (#22894) 2018-03-29 16:05:02 +02:00
Frédéric Péters 661fd751a6 tests: use Attribute.all_objects to get all fields (#22751) 2018-03-29 15:48:25 +02:00
Benjamin Dauvergne 411e94363a agent/authentic2: fix provisionning of attributes when an attribute is disabled (#22751)
Attribute.objects.get_or_create() can fail on an existing attribute as
the default "objects" manager of the Attribute model hide disabled
attributes, so the get() can fail but won't be able to create the
attribute.
2018-03-29 15:45:04 +02:00
Benjamin Dauvergne 79da1603bd agent/authentic2: use Attribute.disabled field to disable an attribute (#22751) 2018-03-29 15:09:32 +02:00
Thomas NOËL f3a2cb269b never fallback to public on migrate_schemas (#22873) 2018-03-29 10:41:44 +02:00
Frédéric Péters 3218eb5339 settings: quote sender (#22837) 2018-03-27 17:25:11 +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 9f4ad342e8 misc: update rest-framework user look up for new _meta API (#21098) 2018-03-22 08:15:18 +01:00
Frédéric Péters 456ca1b8e3 authentic agent: respect profile field order (#22645) 2018-03-20 16:02:15 +01:00
Frédéric Péters c46b9b1f82 misc: sort items in variables screen (#22593) 2018-03-18 18:31:33 +01:00
Benjamin Dauvergne a50f2f1dfa ozwillo: add primary=True to create-hobo (#22496)
As cook is launched from a thread inside a tenant, we must force
primary=True or cook will try to create a secondary hobo.
2018-03-13 17:12:59 +01:00
Benjamin Dauvergne 72ca424f10 multitenant: shorten schema names to stay within postgresql limits (#22494) 2018-03-13 16:57:50 +01:00
Frédéric Péters b75755ffe8 profile: switch birth date field to the new birthdate field type (#22443) 2018-03-12 09:27:11 +01:00
Frédéric Péters 93eacef399 authentic agent: do not alter type of attributes (#22437) 2018-03-12 09:27:07 +01:00
Frédéric Péters 3491269db8 agent: ignore all errors when retrieving idp metadata (#21931) 2018-03-09 11:00:08 +01:00
Frédéric Péters 3b36c4fcd3 settings loaders: include global title in email from (#22262) 2018-03-09 10:50:31 +01:00
Frédéric Péters b7b7a84879 misc: don't use settings in async/thread theme update (#22325) 2018-03-09 10:49:28 +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
Elias Showk 67e421e2db authentic hobo_deploy use email and first_name from hobo.json and settings.ADMINS for superusers (#21888) 2018-03-05 15:52:55 +01:00
Josue Kouka 0962606c02 fix piwik manage command path (#21474) 2018-02-15 17:18:55 +01:00
Frédéric Péters cc724cfc87 cook: allow setting first and last names of superusers (#21889) 2018-02-15 15:50:15 +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 f4310f4cdc tox: limit pytest version (#21628) 2018-02-04 17:13:09 +01:00
Frédéric Péters c25b14cf25 cook: add cook step, to run "sub-"recipes (#15797)
{
     "cook": {
       "filename": "secondary-recipe.json"
    }}
2018-01-03 12:40:23 +01:00
Frédéric Péters f9424f64d9 cook: add support for creating secondary hoboes (#15797)
{
     "create-hobo": {
       "url": "https://hobo.second.example.net",
       "title": "Secondary Publik"
    }},
2018-01-03 12:40:23 +01:00
Frédéric Péters a81cdb0280 multitenant: inherit from TenantStorageMixin to avoid a warning (#18180) 2018-01-03 12:40:23 +01:00
Frédéric Péters 835fde9f78 misc: configure authentic not to reset passwords (#20277) 2017-12-04 12:12:51 +01:00
Frédéric Péters a9840d1aa5 authentic agent: set email to be unique by default (#19839) 2017-12-04 12:12:51 +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
Frédéric Péters ff5a70550f tests: add some audience before testing provisionning (#20309) 2017-12-03 19:26:17 +01:00
Frédéric Péters 6a324c5296 authentic: do not send provisionning messages to empty audience (#20309) 2017-12-03 19:06:28 +01:00
Frédéric Péters 9dd347f926 misc: update for pytest 3.3, pytest-catchlog is no longer required 2017-11-29 23:50:11 +01:00
Frédéric Péters a97caa8543 misc: include status code in message logged on theme retrieval errors (#20194) 2017-11-22 09:38:49 +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 00ac96cfdf multitenant: adapt BaseLoader import for Django >= 1.9 (#19648) 2017-11-15 18:05:06 +04: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 2589c13f46 misc: use requests instead of urlopen to check services (#20096) 2017-11-15 18:04:09 +04:00
Benjamin Dauvergne 67514efa64 multitenant: index settings and cache by tenant.domain_url not .schema_name (fixes #19520)
Two tenants can have the same schema but have differents settings.
2017-10-18 14:30:06 +02:00
Benjamin Dauvergne 861b63d18a ozwillo: validate destruction requests using OZWILLO_DESTRUCTION_SECRET (#18785) 2017-09-21 16:21:28 +02:00
Benjamin Dauvergne 4d1aafbed4 ozwillo: rename check_call() to run_command() (#18785) 2017-09-19 16:47:25 +02:00
Benjamin Dauvergne d90b1ab48a ozwillo: include README.rst, scripts and site templates in distribution (#18785) 2017-09-19 15:54:34 +02:00
Benjamin Dauvergne 0eb9d90fc7 ozwillo: improve README.txt (#18785)
- give a clear installation procedure.
- improve formatting.
2017-09-19 15:54:34 +02:00
Benjamin Dauvergne 84e96dc891 ozwillo: use NamedTemporaryFile for the recipe file (#18785) 2017-09-19 15:54:34 +02:00
Benjamin Dauvergne 30bbc4e0f7 ozwillo: log subprocess status, stdout and stderr on failures (#18785)
Also do not create the admin if the OIDC provider creation failed.
2017-09-19 15:54:34 +02:00
Benjamin Dauvergne 450a8e2e68 ozwillo: augment debug logs (#18785) 2017-09-19 15:54:34 +02:00