Commit Graph

1099 Commits

Author SHA1 Message Date
Frédéric Péters c0b8e258d9 misc: update appbar actions to new markup (#25999) 2018-08-31 17:16:55 +02:00
Frédéric Péters d26f13e9ec multitenant: sync management command base classes with upstream (#25656) 2018-08-29 09:48:26 +02:00
Frédéric Péters aff40308bf multitenant: include tenant domain in logging emails (#25715) 2018-08-29 09:48:26 +02:00
Frédéric Péters a0eda9e2f2 multitenant: remove django < 1.8 compatibility code from commands (#25538) 2018-08-17 09:35:04 +02:00
Frédéric Péters 67f126f9a0 authentic: update to "new" _meta.get_fields method (#25671) 2018-08-17 09:35:04 +02:00
Frédéric Péters ecfd2d6584 authentic: handle role emails being None (#25670) 2018-08-17 09:35:04 +02:00
Frédéric Péters f5a58b2472 multitenant: fix verbosity check 2018-08-17 09:14:22 +02:00
Frédéric Péters e64a0743bc multitenant: add filtering to interactive tenant selection (#25677) 2018-08-16 17:22:20 +02:00
Frédéric Péters 68de10779d misc: display tenant names when using --all-tenants in verbose mode (#17459) 2018-08-16 13:59:39 +02:00
Frédéric Péters e85adbed3a multitenant: always sort tenants (#25673) 2018-08-16 12:11:04 +02:00
Frédéric Péters 3189d84f06 tests: don't use call_command('tenant_command', <command>...) (#25657)
https://github.com/bernardopires/django-tenant-schemas/issues/495
2018-08-16 12:06:24 +02:00
Frédéric Péters fec8dabd5f provisionning: use explicit __in lookup (#25646) 2018-08-16 11:41:04 +02:00
Frédéric Péters 2b04f55fcd multitenant: use current tenant (if set) in interactive tenant option (#25647) 2018-08-16 11:41:04 +02:00
Frédéric Péters baac0efd69 tox: force django-tables2<1.1 for authentic with django 1.8 2018-08-13 09:59:23 +02:00
Frédéric Péters cfe13ee5da tox: use python2 as base version 2018-08-13 09:59:23 +02:00
Frédéric Péters 5c6b0738ec multitenant: expose user profile definition in settings (#25634) 2018-08-13 09:32:13 +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
Benjamin Dauvergne a5410340fe provisionning: prevent ValueError on a user.roles.clear() (fixes #24949) 2018-07-17 01:02:17 +02:00
Frédéric Péters e4db0f38d3 add python 3 support to signature check (#25296) 2018-07-16 17:18:00 +02:00
Christophe Siraut 46485931a3 debian/hobo-agent.cron.d: trigger roles provisionning (#24834) 2018-07-16 10:46:33 +02:00
Benjamin Dauvergne c37e528757 multitenant: implement .extend and .update suffix for key in settings.json (#24700) 2018-07-03 16:14:01 +02:00
Frédéric Péters cf70b636e0 general: update for python 3 (#22981) 2018-06-20 10:37:44 +02:00
Frédéric Péters e57b51ef9a multitenant: redefine shell as tenant aware (#24661) 2018-06-20 10:23:13 +02:00
Benjamin Dauvergne f31d522206 agent/authentic2: add an hobo_provision command (#19853)
To provision all users or roles, the role provisionning is full, i.e. it
removes old roles. The user provisionning is not currently.
2018-06-18 15:53:29 +02:00
Benjamin Dauvergne ffa42d25cf Revert "misc: update for pytest 3.3, pytest-catchlog is no longer required"
pytest 3.4 restored previous behaviour of having only one root logger
handler.

This reverts commit 9dd347f926.
2018-06-18 11:48:18 +02:00
Frédéric Péters b06859be97 translation update 2018-06-10 09:31:18 +02:00
Emmanuel Cazenave c336821d54 allow string or boolean kind for attribute definition (#23306) 2018-06-05 17:05:49 +02:00
Benjamin Dauvergne 557685af63 agent: truncate SAML certificate subject (fixes #24187)
The common name of a certificat cannot have more than 64 characters,
subject alternative name should be used when it is the case and the
common name left empty (here the CN is just useless).
2018-05-30 21:57:44 +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
Frédéric Péters 6df2bbe13c remove obsolete test file 2018-04-19 09:52:47 +02:00
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