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
Benjamin Dauvergne
00df1122a4
signature: import signature module from passerelle ( fixes #8892 )
...
Also add tests and use SystemRandom instead of the twister PRNG.
2015-11-06 13:36:05 +01:00
Frédéric Péters
67ea16718c
general: reorg home with links to passerelle/profile/variables/sites ( #7854 )
2015-10-24 18:08:27 +02:00
Benjamin Dauvergne
0b0ef397b8
tests: add tests for the multitenant framework ( #8425 )
...
tests/test_settings.py is moved in this new test suite. Tested are the
hobo_notify script and the simple creation of user objects.
2015-10-05 19:19:33 +02:00
Benjamin Dauvergne
556b74bd12
multitenant: monkeypatch threading class directly referencing the old and new Thread class ( #7933 )
...
Those classes should use super() but are certainly older.
2015-10-05 16:36:32 +02:00
Benjamin Dauvergne
fe411a6df3
tests: test multitenant cache ( #7659 )
2015-07-23 18:57:32 +02:00
Benjamin Dauvergne
29f2cc4b71
multitenant: create a tenant aware Thread class and monkeypatch the official class ( #7659 , #7635 )
2015-07-23 18:57:32 +02:00
Benjamin Dauvergne
9467a61e3e
multitenant: implement multitenant settings wihout middleware ( fixes #7659 )
...
The new implementation places itself inside the django.conf.settings
object when the ready() method of the hobo.multitenant app object is
called. It intercepts getattr/setattr/delattr calls, retrieves the
current tenant from django.db.connection.tenant and load settings into
UserSettingsHolder() using existing settings loaders.
TenantSettingsMiddleware is removed.
2015-07-23 18:57:32 +02:00
Frédéric Péters
d1363c004c
settings: make local variables overwrite global ones ( #7771 )
2015-07-05 09:37:37 +02:00
Frédéric Péters
443b9589bc
tests: disable apt_cache when testing version middleware
2015-06-08 22:24:31 +02:00
Frédéric Péters
2a5c82e8b4
tests: add a basic test of the version middleware
2015-06-08 22:08:54 +02:00