Commit graph

13 commits

Author SHA1 Message Date
Alexandre Aubin
5f4450ab87 Add DNS resolution tests 2019-10-10 16:11:20 +02:00
Alexandre Aubin
4d5ace06db Add test that we can ping outside before talking to ip.yunohost.org 2019-10-10 16:11:20 +02:00
Alexandre Aubin
41c3b054ba Fix semantic, way too many things called 'report' ... 2019-10-10 16:11:20 +02:00
Alexandre Aubin
af23f53d82 Simplify / reorganize i18n management for report and description 2019-10-10 16:11:20 +02:00
Alexandre Aubin
0ce4eb0a27 Fix the return interface of diagnosis hooks 2019-10-10 16:09:16 +02:00
Alexandre Aubin
2b2ff08f08 Fix error handling (Yunohost / Moulinette / Asserts) 2019-10-10 16:07:46 +02:00
Bram
ded4895b7e [mod] misc, better error message
I'm using repr to be able to detect if it's a string or a number since it's an error I'm expecting
2019-10-10 16:07:46 +02:00
Alexandre Aubin
b03e3a487e Handle cases where some category might fail for some reason 2019-10-10 16:02:50 +02:00
Alexandre Aubin
abffba9607 Remove the priority in the id of the diagnoser 2019-10-10 16:02:50 +02:00
Alexandre Aubin
12df96f33e Wrap the report with meta infos 2019-10-10 16:02:50 +02:00
Alexandre Aubin
f11206c0fa Turns out it's not really a good idea to do the internationalization right here as the strings will be kept already translated in the cache 2019-10-10 16:02:50 +02:00
Alexandre Aubin
d34ddcaaf2 Implement caching mechanism 2019-10-10 16:02:50 +02:00
Alexandre Aubin
7fb694dbcc Add diagnoser example for ip 2019-10-10 16:02:50 +02:00