Commit Graph

1164 Commits

Author SHA1 Message Date
Frédéric Péters 3817f20dae api: provide service slugs (#26834) 2018-10-01 09:18:25 +02:00
Frédéric Péters 5253066f5d api: limit health API results to primary services (#26833) 2018-10-01 09:18:25 +02:00
Frédéric Péters e84ba975b4 tests: add missing global fixtures 2018-09-28 16:07:19 +02:00
Christophe Siraut a6df6bdcd6 general: provide a health api (#23823) 2018-09-28 15:52:36 +02:00
Frédéric Péters 23735f44bc versions middleware: always convert + to - (#26811) 2018-09-28 11:41:44 +02:00
Frédéric Péters fab9a4f56f variables: don't treat invalid json as formatted values (#26703) 2018-09-28 11:41:44 +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
Benjamin Dauvergne bfe041158c ozwillo: keep deployment request state (#23885)
Fields added to OzwilloInstance:
* state
* deploy_data
* created
* modified

First migration initialize all instances with the state DEPLOYED but new
instance will get the state NEW (change done in second migration).

OzwilloInstance was registered in the admin for managing deployments.
2018-09-24 17:01:46 +02:00
Frédéric Péters abfdd3d528 tox: limit Markdown version 2018-09-23 08:59:43 +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 0e184a8aae settings loaders: don't use string serialization of A2_IDP_OIDC_JWKSET (#25686) 2018-09-06 13:35:25 +02:00
Frédéric Péters 01da77f564 settings loaders: provide A2_IDP_OIDC_JWKSET to authentic (#25686) 2018-09-06 13:10:06 +02:00
Frédéric Péters 0b6b9e313b tox: run tests against django 1.11 (#25658) 2018-09-06 11:24:11 +02:00
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