Commit Graph

44 Commits

Author SHA1 Message Date
Valentin Deniaud cebdcf5bbf misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 14:49:55 +02:00
Valentin Deniaud a107b7ef0e misc: apply pyupgrade (#69708) 2022-09-29 15:23:49 +02:00
Frédéric Péters 9877b65265 misc: remove usage of django.utils.six (#63684) 2022-04-15 18:28:51 +02:00
Emmanuel Cazenave f8041c4457 hobo_deploy: handle url change on a service (#58908) 2022-03-31 15:20:01 +02:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Thomas NOËL e9506e6fd0 hobo_deploy: increase SAML keys size from 1024 to 2048 bits (#43121) 2020-07-17 07:24:22 +02:00
Nicolas Roche 59b3228dcb python3: celery now handle text (#40288) 2020-03-04 15:27:34 +01:00
Nicolas Roche bb2ae67c1f python3: serialize tenant idp metadata from text input (#40286) 2020-03-02 09:35:27 +01:00
Nicolas Roche e59369db0b python3: redo #36273 as bytes really wanted here (#40012) 2020-02-28 15:07:01 +01:00
Frédéric Péters 486aa8bec6 agent: skip system checks in messaging commands (#39940) 2020-02-17 15:23:44 +01:00
Frédéric Péters 0f7bffd1b2 agent: replace another occurence of file() (#36273) 2019-09-22 08:36:49 +02:00
Frédéric Péters d49e9def72 agent: adapt for python3 (#36273) 2019-09-21 18:02:37 +02:00
Frédéric Péters 872aebb0a5 misc: update various parts for Python 3 compatibility (#36093) 2019-09-13 10:08:22 +02:00
Benjamin Dauvergne 0f0043ca53 agent/authentic2: retry service's metadata retrieval (#35351) 2019-08-13 11:29:22 +02:00
Nicolas Roche e5ede8832e hobo_deploy: simplify get_theme function on hobo_deploy.py (#33592) 2019-06-28 14:32:40 +02:00
Nicolas Roche 43c082bf3b hobo_deploy: internally call import_template using tenant_command (#33873) 2019-06-28 13:23:17 +02:00
Benjamin Dauvergne 6bc71fc1b4 agent: generate RSA-SHA256 self signed certificates (#31964) 2019-04-17 17:30:35 +02:00
Frédéric Péters 2f9e3eab75 hobo_deploy: call import_template command (not import-template (#31908) 2019-04-02 09:15:27 +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
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 ac3a841256 misc: update management commands to new arg parsing (#20933) 2018-04-04 15:12:42 +02: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 9146378e0f cook: fix call to set-theme (#18580) 2017-09-11 13:47:46 +02:00
Frédéric Péters de16ec28c5 agent: consider theme variable local to a service (#18088) 2017-09-06 14:02:55 +02:00
Benjamin Dauvergne 014ac7597f hobo_deploy: call import-template with template_name (#13154)
If the current project has an import-template command and the current service
has a template_name we call the first with the second as a parameter.
2017-01-16 16:26:17 +01:00
Frédéric Péters d077b2ac7c general: add support for deploying full publik systems (#13838) 2016-12-09 15:43:52 +01:00
Frédéric Péters 0594112b70 misc: fix commands to allow positional args in django >1.8 (#10298) 2016-03-15 09:08:57 +01:00
Frédéric Péters 87e84ae8bd agent: configure tenant theme symlinks (#9446) 2016-02-26 16:53:29 +01:00
Frédéric Péters ba175565c4 agent: make it ok to pass --redeploy as single arg to hobo_redeploy (#8893) 2016-01-10 11:51:59 +01:00
Benjamin Dauvergne eadd9b0f95 agent: add a --redeploy option to hobo_deploy (#8893)
It basically does 'hobo_deploy --ignore-timestamp this['base_url'] hobo.json'
for each tenant.
2016-01-06 12:33:21 +01:00
Benjamin Dauvergne d4dc61a648 agent/common: redirect openssl outputs to /dev/null (#8768) 2015-11-03 10:21:17 +01:00
Frédéric Péters 7f06ced717 agent: don't mark a serie of instance methods as classmethods (#8388) 2015-09-27 18:44:17 +02:00
Benjamin Dauvergne b8ad89ea12 implement hobo_notify for Django projects (fixes #8271)
- introduce new model hobo.agent.common.models.Role which subclass
  django.contrib.auth.models.Group, it adds uuid and description fields
  to Group.
2015-09-23 17:57:19 +02:00
Thomas NOËL 2051856fdf multitenant: add specific create_hobo_tenant command (#7311)
This command create tenant with a service provider certificate in tenant
directory (sp-saml.{crt,key}). It can also be used after "normal" tenant
creation with create_tenant, to add certificate.

Also, settings_loaders.Mellon don't require hobo.json, it updates mellon
settings if the certificate is present.
2015-05-27 16:11:10 +02:00
Frédéric Péters 2db21453f9 agent: also generate public/private keys for service providers (#7268) 2015-05-18 15:53:32 +02:00
Serghei Mihai 16c014f5b5 agent: move tenant directory layout knowledge into tenant model 2015-02-13 11:49:50 +01:00
Frédéric Péters 801b19280c agent: finish by writing the hobo.json, so it gets the most recent timestamp 2015-02-13 11:49:50 +01:00
Serghei Mihai a42bf1e75d agent: move sso configuration to its own method
The configuration code for SSO is common to all service providers but can be
skipped in the authentic agent, making it its own method makes this possible.
2015-02-13 11:49:50 +01:00
Frédéric Péters 77875ea2be agent: add an attribute to current tenant for easier retrieval
The tenants are using domain names but the native hobo json file has base_url
(scheme + domaine name + port); an attribute is added to mark the current
tenant, to avoid having to run urlparse everytime.
2015-02-13 11:49:50 +01:00
Frédéric Péters a9c0e8e241 agent: add option to ignore timestamp 2015-02-13 11:49:49 +01:00
Frédéric Péters 835701138b agent: add downloading of idp metadata 2015-02-13 11:49:49 +01:00
Frédéric Péters 7f07faee2a agent: only read stdin if - is passed as filename
This makes it easier to use pdb to interactively debug the deployment code.
2015-02-13 11:49:49 +01:00
Frédéric Péters ed2b9a88f0 agent: write down hobo.json in tenant directory 2015-02-13 11:49:49 +01:00
Frédéric Péters a308049c34 agent: new hobo.agent.common, with hobo_deploy command (#6471) 2015-02-13 11:49:49 +01:00