Commit Graph

116 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
Benjamin Dauvergne 645d6566f1 environment: initialize title from slug on save (#73207)
To simplify tests, slug is always globally unique for the model, using
it for title will always work.
2023-03-16 16:30:50 +01:00
Benjamin Dauvergne ea8a633d29 environment: ensure slug and title are unique for their scope (#73207)
* slug must be globally unique
* title must be locally unique, i.e. unique for primary services
* also there must be only one Hobo service with local=True
2023-03-16 16:30:50 +01:00
Paul Marillonnet 3e6d5eaaf5 environment: allow templated sites variable values (#74500)
gitea-wip/hobo/pipeline/pr-main This commit looks good Details
2023-02-14 11:54:41 +01:00
Agate 4a1cfa5a16 django32: do not instanciate ServiceBase abstract model (#67760) 2023-01-30 14:53:15 +01:00
Frédéric Péters 7cece8ce44 misc: make sure identical hobo in different db have the same key (#72264) 2022-12-17 09:00:50 +01:00
Benjamin Dauvergne 12b1b5096b hobo: add setting to disable/enable a type of service (#72335)
HOBO_SERVICES_DISABLED is used in hobo/settings.py to list deprecated or
services still not in production.
HOBO_SERVICES_ENABLED is used through config.json to enable a new
service.

ServiceBase.is_enabled() is modified to use those settings
2022-12-15 15:57:20 +01:00
Valentin Deniaud a107b7ef0e misc: apply pyupgrade (#69708) 2022-09-29 15:23:49 +02:00
Thomas NOËL f51adbe4e3 environment: allow long slug in services (#66583)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
2022-06-24 11:12:12 +02:00
Frédéric Péters 8da569728c general: add support for lingo (#65372)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
2022-05-17 23:26:18 +02:00
Emmanuel Cazenave a6e871d60c environment: store legacy urls timestamp as a strftime output (#63621) 2022-04-20 14:00:43 +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
Emmanuel Cazenave 577438f7fa environment: store local hobo info in Hobo model (#61944) 2022-03-15 12:32:56 +01:00
Frédéric Péters 578e4c007e misc: restore migrations and model change (#61944) 2022-02-18 08:47:20 +01:00
Frédéric Péters 700e91af3d Revert "environment: store local hobo info in Hobo model (#60572)"
This reverts commit 00f897753b.
2022-02-18 08:47:20 +01:00
Emmanuel Cazenave 00f897753b environment: store local hobo info in Hobo model (#60572) 2022-02-16 16:40:08 +01:00
Frédéric Péters 872f39774a trivial: apply black 2021-05-14 18:40:09 +02:00
Frédéric Péters fefdc80bb0 general: remove corbo & mandaye support (#51513) 2021-03-01 10:27:08 +01:00
Frédéric Péters e0607bfa58 general: consider null variable value as None (#49146) 2020-12-11 09:11:35 +01:00
Valentin Deniaud 538963b8ba misc: add sms configuration (#46444) 2020-09-17 17:07:41 +02:00
Nicolas Roche 02052aff40 emails: allow user to define email sender name (#44411) 2020-06-29 17:08:04 +02:00
Thomas NOËL ab3d543997 cook: add auto flag in set-variable action (#44325) 2020-06-26 15:32:15 +02:00
Frédéric Péters 0012761656 general: use HTTP API to provision users & groups (#43245) 2020-05-29 12:24:18 +02:00
Thomas NOËL 51078a11de environment: autorize secondary Service title homonymy (#41984) 2020-04-22 17:56:50 +02:00
Frédéric Péters 8a727ac703 misc: give timeout to all health requests (#41703) 2020-04-14 16:56:48 +02:00
Frédéric Péters 49575cffc6 misc: add details about security headers in health info (#41630) 2020-04-14 14:20:20 +02:00
Lauréline Guérin 6123b1bce2
environment: Service title unicity (#35392) 2020-02-14 10:25:32 +01:00
Benjamin Dauvergne 8471bf5e32 dj22: add on_delete=CASCADE to migrations (#36707) 2019-10-07 11:39:24 +02:00
Benjamin Dauvergne 09588c0de6 environment: add a setter for Variable.json (#29240) 2019-09-19 15:23:36 +02:00
Benjamin Dauvergne 9bf094388a environment: coding style (#29240) 2019-09-19 15:23:36 +02:00
Frédéric Péters 63a9936f64 misc: change welco description and default slug to be about mails (#33702) 2019-06-05 13:01:12 +02:00
Christophe Siraut e2ffab609d ServiceBase: validate base_url (#31384) 2019-04-17 11:54:48 +02:00
Benjamin Dauvergne a396773103 environment: parse float value as json integers in variables (#31332)
If you need a real integer you must always put a decimal point, i.e.
write 1.0 not 1.
2019-03-18 15:51:54 +01:00
Frédéric Péters 811c05bfd1 misc: remove obsolete/never used piwik support (#30973) 2019-03-04 11:19:09 +01:00
Frédéric Péters c6d4361d84 misc: don't follow redirects when checking service status (#30052) 2019-02-04 14:30:29 +01:00
Frédéric Péters 48b16b1a9d misc: don't expose Corbo/Mandayejs/Piwik in UI (#29092) 2018-12-21 20:56:08 +01:00
Frédéric Péters d5984fa6c3 add caching to health API (#26836) 2018-11-29 08:13:01 +01:00
Christophe Siraut a6df6bdcd6 general: provide a health api (#23823) 2018-09-28 15:52:36 +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 2589c13f46 misc: use requests instead of urlopen to check services (#20096) 2017-11-15 18:04:09 +04:00
Thomas NOËL 53bd444fcc add menu.json URL for Passerelle service, removed from homepage (#17513) 2017-07-29 18:37:28 +02:00
Frédéric Péters 4f7e29776c misc: allow boolean json values in variables (#15970) 2017-05-02 15:56:34 +02:00
Jean-Baptiste Jaillet 1875f739a9 environment: ignore SSLError timeout in check_operational (#15572) 2017-04-03 10:20:53 +02:00
Jean-Baptiste Jaillet 5c37a4a6bc environment: test slugs are unique (#9154)
test if slugs are unique between different services
2017-03-23 14:14:23 +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
Serghei Mihai 6ec820d87f mandayejs: fix admin zone url (#14208) 2016-12-07 13:52:05 +01:00
Frédéric Péters 415e780de7 misc: change bijoe admin zone to point to root (#13580) 2016-10-13 10:01:00 +02:00
Serghei Mihai 55232b400d mandayejs: metadata url finish with slash (#13531) 2016-10-10 16:41:20 +02:00
Frédéric Péters 6d66c9d33d environment: define common default slug value for services (#13070) 2016-09-20 15:15:12 +02:00