Commit Graph

1066 Commits

Author SHA1 Message Date
Frédéric Péters 13f9d7653b misc: fix hobo_deploy argument parsing to allow for --redeploy (#23243) 2018-04-17 15:48:17 +02:00
Frédéric Péters ffda2774d8 tests: run with templates debugging turned on to get template sources 2018-04-04 15:52:15 +02:00
Frédéric Péters 05c4acd4e8 misc: mark support for django 1.11 2018-04-04 15:14:23 +02:00
Emmanuel Cazenave fe017d9deb tests: dynamically change ALLOWED_HOSTS in multitenants tests 2018-04-04 15:14:23 +02:00
Emmanuel Cazenave 2fde2a61b8 tests: update checks of response location 2018-04-04 15:14:23 +02:00
Emmanuel Cazenave 5affc1bdf5 tests: update checks for shared template source 2018-04-04 15:14:23 +02:00
Emmanuel Cazenave 8c29354aef tests: add ALLOWED_HOSTS to tests settings 2018-04-04 15:14:23 +02:00
Frédéric Péters 1dbf481fda runscript: use argparse for 1.11 compatibility (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 8177a2d399 multitenant: reset settings getattr method to a cacheless version (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 55cb014c2d multitenant: update template loader for django 1.11 (#20933)
And drop django<1.8 compatibility.
2018-04-04 15:12:42 +02:00
Frédéric Péters babe4ff193 tests: update urls.py usage in fake tests app (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 0f2f14b14d ozwillo: update urls.py usage (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters ac3a841256 misc: update management commands to new arg parsing (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 2c64e14dc8 theme: lazy load Variable model (#20933)
So the module can be used outside of Hobo.
2018-04-04 15:12:42 +02:00
Frédéric Péters d33e2b162b misc: fix migrate_schemas with django 1.11 (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters 7c44f3e19b haystack: don't declare a file storage for fake initial tenant (#20933) 2018-04-04 15:12:42 +02:00
Frédéric Péters b70c18a151 general: remove obsolete future template tag (#20933) 2018-04-04 15:12:42 +02:00
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