Commit graph

19 commits

Author SHA1 Message Date
yunohost-bot
aac8b8d460 [CI] Format code 2021-08-26 20:09:57 +00:00
tituspijean
842783f64c Accomodate mDNS feature in diagnosis 2021-07-11 15:20:14 +00:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00
Alexandre Aubin
7818eb3946 Better handling of failure to use the remote-diagnosis 2020-04-19 00:26:33 +02:00
Alexandre Aubin
db347115fc In fact we can't have a hard dependency on dnsrecords here, otherwise no check are performed until the dnsrecords have no important issue ... 2020-04-18 03:24:31 +02:00
Alexandre Aubin
749ca54a34 More sensible cache_duration for diagnosis categories 2020-04-18 02:53:15 +02:00
Alexandre Aubin
be0da3b9dc Only report an INFO is domain ain't accessible in IPv6 and there's in fact no AAAA record set yet 2020-04-17 03:20:40 +02:00
Alexandre Aubin
e8730ad92b Correctly handle cases where domain works in IPv4 but not IPv6 or viceversa 2020-04-17 03:20:40 +02:00
Alexandre Aubin
7f3cc33487 Add a static method to call remote diagnosis and supports ipv4-only or ipv6-only check 2020-04-17 03:20:40 +02:00
Alexandre Aubin
16b2340441 Uhoh typo again 2020-04-17 03:20:40 +02:00
Alexandre Aubin
42293fcce3 Attempt to detect hairpinning 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f9dd634ebe Detect if nginx conf does not include well-known diagnosis location 2020-04-17 03:20:40 +02:00
Alexandre Aubin
3cff370c62 Add some bits of magic to simplify the way we yield test items 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f0c0f63bb4 Let's use dict for details data, much better for semantic when defining strings etc... 2020-04-17 03:20:40 +02:00
Alexandre Aubin
526a3a25c9 Remote diagnoser also returns code 400 or 418 when port / http ain't correctly exposed 2020-03-26 19:38:34 +01:00
Alexandre Aubin
de879e1d30 Merge branch 'fix-diagnosis-server-bad-response' into stretch-unstable 2020-03-22 01:46:06 +01:00
Alexandre Aubin
cc2288cc21 Rename http diagnoser to web, should feel slightly less technical 2020-03-21 23:10:56 +01:00
Renamed from data/hooks/diagnosis/16-http.py (Browse further)