Commit Graph

67 Commits

Author SHA1 Message Date
Frédéric Péters d49e9def72 agent: adapt for python3 (#36273) 2019-09-21 18:02:37 +02:00
Benjamin Dauvergne b36e054cb0 add debug application (#29240) 2019-09-19 15:23:36 +02:00
Benjamin Dauvergne 8ced89e097 tests: coding style (#29240) 2019-09-19 15:23:36 +02:00
Nicolas Roche 090fc5b8de hobo_deploy: allow several templates for user/agent combo portals (#33876) 2019-08-22 10:27:06 +02:00
Christophe Siraut 6583fa518f environment: use current domain name for services creation form (#34212) 2019-08-12 13:44:32 +02:00
Thomas NOËL 83b285a467 signature: forbid arguments after signature (#35057) 2019-07-25 22:32:00 +02:00
Nicolas Roche e869920a9d hobo_deploy: remove dedicated hobo_deploy's for combo that is no more needed (#33594) 2019-06-28 14:40:31 +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
Frédéric Péters 157358dbef tests: adapt as "User Profile" is not always displayed anymore (#33441) 2019-06-21 11:28:49 +02:00
Frédéric Péters c83ef92a3a tests: mock more things in secondary hobo cook test 2019-06-04 15:42:03 +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 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
Nicolas Roche 2afc250a97 cook: add unit tests for cook.py (#32886) 2019-05-27 19:37:15 +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
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
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
Christophe Siraut 1b9704742f add default_from_email checks (#24519) 2019-04-17 16:03:30 +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 03a2aa8ed4 agent: add generic import_template management command (#14630) 2019-03-15 11:28:05 +01:00
Frédéric Péters 7dbb469a4f tests: don't make theme_base go through dedicated hobo code path 2019-02-08 15:09:48 +01:00
Frédéric Péters 7aa49fcf12 misc: look for portal agent associated to user OU when in Authentic (#29658) 2019-02-06 10:30:11 +01:00
Frédéric Péters 6b6f4dc4b3 tests: adapt mocked requests.get to accept all args (#30052) 2019-02-04 15:07:01 +01:00
Frédéric Péters 673f8c21e0 turn home page into a list of services + status (#26761) 2018-12-04 21:17:42 +01:00
Frédéric Péters d5984fa6c3 add caching to health API (#26836) 2018-11-29 08:13:01 +01:00
Christophe Siraut 2f6af6bd39 api: return health data as a dictionary with service slugs as keys (#26835) 2018-11-23 15:45:36 +01: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
Emmanuel Cazenave c336821d54 allow string or boolean kind for attribute definition (#23306) 2018-06-05 17:05:49 +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
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 734e0c14a4 tests: don't check for a single request as the thread may have been running 2017-09-08 14:17:41 +02:00
Frédéric Péters 8837b45973 misc: add multi-page theme skeleton cache (#17311) 2017-08-11 14:18:56 +02:00
Frédéric Péters fae9989858 tests: add required OZWILLO_SECRET to test settings 2017-06-10 21:09:18 +02:00
Frédéric Péters 4ff02f33a0 tests: include hobo.contrib.ozwillo in INSTALLED_APPS
So at least syntax errors will be spotted early on.
2017-06-10 20:54:08 +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
Benjamin Dauvergne 47f6d108b0 tox.ini: add a nomigrations option 2016-03-16 16:08:10 +01:00
Benjamin Dauvergne dc7382d828 basic tests do not need a TENANT_BASE (fixes #8956) 2015-11-16 09:52:47 +01:00