Commit Graph

1079 Commits

Author SHA1 Message Date
Frédéric Péters c83ef92a3a tests: mock more things in secondary hobo cook test 2019-06-04 15:42:03 +02:00
Frédéric Péters f57c8a7718 cook: wait for secondary hobo to be deployed (#33653) 2019-06-04 15:19:29 +02:00
Frédéric Péters e70d32b5a6 multitenant: use unique name for authentic opened session cookie (#33603) 2019-06-04 15:19:29 +02:00
Nicolas Roche 76ce7c38f3 tests: add unit tests for import_template.py (#33333) 2019-05-31 10:48:01 +02:00
Nicolas Roche 7dcc824782 tests: add unit tests for hobo_deploy.py (#33224) 2019-05-31 10:47:09 +02:00
Nicolas Roche cbd08f81b7 doc: typo into README file (#33224) 2019-05-31 10:35:51 +02:00
Nicolas Roche 6bb4f07ba3 tests: really assert cook's generated environment is as expected (#33536) 2019-05-31 10:25:08 +02:00
Nicolas Roche eca3d26b3e matomo: do not abort if simulated first tracking visit fails (#32796) 2019-05-31 10:14:55 +02:00
Nicolas Roche 8118976981 matomo: manage http status codes (#32796) 2019-05-31 10:14:55 +02:00
Nicolas Roche a218eef30f matomo: rewrite managing exceptions into tests (#32796) 2019-05-31 10:14:55 +02:00
Nicolas Roche 3dcdf9552a matomo: simulate first tracking visit (#32796) 2019-05-31 10:14:55 +02:00
Frédéric Péters a8670a2197 multitenant: drop 1.8 compatibility from template loader (#33238) 2019-05-31 08:28:42 +02:00
Frédéric Péters f0d10f92a9 misc: require django 1.11 (#33238) 2019-05-31 08:28:42 +02:00
Nicolas Roche f035e6a2cf cook: remove redondant instructions (#33457) 2019-05-27 19:45:07 +02:00
Nicolas Roche 2afc250a97 cook: add unit tests for cook.py (#32886) 2019-05-27 19:37:15 +02:00
Frédéric Péters 918a53f5cf debian: add daily job to clean sessions (#33129) 2019-05-16 17:15:02 +02:00
Benjamin Dauvergne 8e0ca0e8eb agent: adapt to authentic2 spring cleaning (#33120)
See #32934.
2019-05-16 09:19:21 +02:00
Nicolas Roche 985ffb9e48 matomo: adapt translations (#32940) 2019-05-09 15:42:48 +02:00
Frédéric Péters 5c551291bc misc: ship matomo integration templates 2019-05-02 17:33:23 +02:00
Nicolas Roche 3f29b2d33d matomo: french translation (#31778) 2019-05-02 10:53:29 +02:00
Nicolas Roche 2ffbf9ec43 matomo: views form manual and automatic configuration (#31778) 2019-05-02 10:53:29 +02:00
Nicolas Roche 71fdf9f7c5 matomo: manage matomo's webservices (#31778) 2019-05-02 10:53:29 +02:00
Nicolas Roche 95e60632ab matomo: correct README file (#31778) 2019-05-02 10:53:29 +02:00
Benjamin Dauvergne 01a24f29a5 multitenant: load multitenant thread classes early on (#32685)
Also do not keep a tenant around if current database wrapper is not
multitenant aware.
2019-04-30 18:19:54 +02:00
Thomas NOËL 7447b01045 emails: do not check SPF if ALLOWED_SPF_RECORDS is empty (#32712) 2019-04-30 16:05:23 +02:00
Nicolas Roche f3feefca2b cook: correct reression on cook action using several args (#32687) 2019-04-29 19:26:01 +02:00
Frédéric Péters 362af52cdd combo: add custom import_template to ignore errors with some names (#32495) 2019-04-19 16:21:42 +02:00
Nicolas Roche 6eb6a6c525 add tests on import-template query (#32469) 2019-04-19 10:05:08 +02:00
Emmanuel Cazenave aefff59310 declare dnspython dependency in setup.py (#32471) 2019-04-18 20:00:50 +02:00
Nicolas Roche 261de0d17b make effective tests from the tests_schemas directory (#32468) 2019-04-18 18:27:21 +02:00
Christophe Siraut 9924c83c5f environment: enable ServiceBase validation when performing cook (#32454) 2019-04-18 17:26:36 +02:00
Frédéric Péters 442c39f999 translations: fill header 2019-04-18 15:28:40 +02:00
Frédéric Péters 4321f433d8 translations: use non breaking spaces before colons 2019-04-18 15:27:57 +02:00
Christophe Siraut 5231bc878c translation update 2019-04-18 14:28:52 +02:00
Christophe Siraut 4a5b60a95a emails/validators: miscellaneous adjustments (#32435)
* address preferred mx server
 * set connection timeout
 * do not raise validation error on temporary failures
 * add an option to bypass smtp validation
 * catch all dns exceptions
2019-04-18 14:28:52 +02:00
Christophe Siraut 133bd51350 emails/validators: ugettext_lazy uses named arguments, validation error wording (#32426) 2019-04-18 14:28:52 +02:00
Benjamin Dauvergne 6bc71fc1b4 agent: generate RSA-SHA256 self signed certificates (#31964) 2019-04-17 17:30:35 +02:00
Christophe Siraut 1b9704742f add default_from_email checks (#24519) 2019-04-17 16:03:30 +02:00
Christophe Siraut 9f715b356a cook : perform clean_fields() validations 2019-04-17 11:54:52 +02:00
Christophe Siraut e2ffab609d ServiceBase: validate base_url (#31384) 2019-04-17 11:54:48 +02:00
Christophe Siraut 73848f82f3 commands/cook: add prechecks on recipe (#16599) 2019-04-16 18:05:02 +02:00
Christophe Siraut 2e02dd0d35 debian: bump debhelper compatibility level (#32260) 2019-04-16 14:38:11 +02:00
Frédéric Péters c4c0c24ad8 import_template: don't error out in case of missing template (#31958) 2019-04-03 09:40:38 +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
Frédéric Péters 0dfe3a1733 typo fix (#31357) 2019-03-19 08:24:03 +01: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
Benjamin Dauvergne 16f9122b7b logger: improve logic in RequestContextFilter (#31108)
Previous logic forbid  passing explicit user and request in the log call
like that :

   logger.info('message', extra={'request': request, 'user': user})
2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 1c39894527 logger: PEP8ness (#31108) 2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 118ee9b613 logger: add copyright notice (#31108) 2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 2263f59679 multitenant: wrap schema creation in atomic() (#23119) 2019-03-18 15:01:11 +01:00