Commit graph

1882 commits

Author SHA1 Message Date
Alexandre Aubin
9294664d6c Fix permission backward compatibility for the case where an app needs to make the app temporarily public during install script... 2019-10-26 17:46:51 +02:00
Alexandre Aubin
17ce7bd95c Rework depreciation warning about legacy permission stuff 2019-10-26 17:46:51 +02:00
Rafi59
89ab4bd4dc
Use ss instead of netstat 2019-10-26 13:25:38 +02:00
Kayou
6cd12d450a
Update data/helpers.d/network
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2019-10-25 19:55:33 +09:00
Kayou
7c95b8d508
fix find udp port 2019-10-25 19:39:02 +09:00
ljf
98d60a888b [fix] HTTP API for permissions 2019-10-20 02:24:54 +02:00
Alexandre Aubin
f5509b7be7 Remove app_debug, unused stuff, not really relevant, now basically superseded by the new log system... 2019-10-18 20:20:22 +02:00
Alexandre Aubin
e273195504
[fix] Bad copypasta: logger doesn't exists in that context... 2019-10-16 20:22:29 +02:00
Alexandre Aubin
5818de3a82 Remove the whole monitoring / glances stuff 2019-10-14 04:48:56 +02:00
Alexandre Aubin
0839de2d6a Switching to POST method because it's more practical than PUT, idk what im doing 2019-10-13 23:02:46 +02:00
Alexandre Aubin
51e7a56522 Improve metadata for diskusage tests 2019-10-13 18:42:45 +02:00
Alexandre Aubin
f75cd82593 First part of implementing the ignore mechanism 2019-10-11 20:05:46 +02:00
Alexandre Aubin
d6eb55d2a2 Add tmp dummy mail report so that the diagnoser kinda works instead of failing miserably 2019-10-11 20:05:10 +02:00
Alexandre Aubin
e67e9e27ba Hmm somehow there seem to be different version of ping supporting or not the -4 / -6 ... let's see if this workaroud works in all contexts 2019-10-10 16:48:58 +02:00
Alexandre Aubin
02d6a0212f Remove debug prints 2019-10-10 16:40:06 +02:00
Alexandre Aubin
3d7f37176c Remove debug prints 2019-10-10 16:23:38 +02:00
Alexandre Aubin
356f2b9ec1 Moar ideas 2019-10-10 16:16:59 +02:00
Alexandre Aubin
e0fa87cb36 Note for the future about trying to diagnose hairpinning 2019-10-10 16:16:59 +02:00
Alexandre Aubin
339b6d9cbe Moar notes about what could be implemented for mail diagnoser 2019-10-10 16:16:59 +02:00
Alexandre Aubin
d113b6a53f Adding some notes about diagnosis items to be implemented 2019-10-10 16:16:59 +02:00
Alexandre Aubin
94f3557aeb Remove old 'tools diagnosis', superseded by the new diagnosis system 2019-10-10 16:16:59 +02:00
Alexandre Aubin
47c7c72455 Add RAM and swap diagnosis + improve message for disk usage 2019-10-10 16:14:20 +02:00
Alexandre Aubin
33180d0947 Add base system diagnostic 2019-10-10 16:14:20 +02:00
Alexandre Aubin
0c232b6cb5 Implement diagnosis show --share 2019-10-10 16:13:13 +02:00
Alexandre Aubin
b81cd4fc68 Add security diagnoser with meltdown checks 2019-10-10 16:13:13 +02:00
Alexandre Aubin
cee3b4de27 Add nginx -t check to regenconf diagnoser 2019-10-10 16:13:13 +02:00
Alexandre Aubin
4cbd1b06c2 Add a regenconf diagnoser to report manually modified files... 2019-10-10 16:13:13 +02:00
Alexandre Aubin
0dc1909c68 Misc small UX stuff 2019-10-10 16:13:13 +02:00
Alexandre Aubin
612a96e1e2 Yield one item per port open to be consistent with other diagnosers 2019-10-10 16:13:13 +02:00
Alexandre Aubin
91ec775ebb Implement basic dependency system between diagnoser 2019-10-10 16:13:13 +02:00
Alexandre Aubin
f050b3c5b8 First version of http exposure diagnosis 2019-10-10 16:13:13 +02:00
Alexandre Aubin
6c48c131a8 Fix small issues in port diagnoser 2019-10-10 16:12:50 +02:00
Alexandre Aubin
f690ff6e1e First version of port exposure diagnosis 2019-10-10 16:12:50 +02:00
Alexandre Aubin
35f6b77895 Reclarify ip diagnoser 2019-10-10 16:12:33 +02:00
Alexandre Aubin
d2bbb5a2b3 This 'args' things sounds like a big YAGNI after all 2019-10-10 16:12:33 +02:00
Alexandre Aubin
24f9d475b8 Implement a first version for disk usage check 2019-10-10 16:12:32 +02:00
Alexandre Aubin
1019e95b1d Implement a first version for services status check 2019-10-10 16:12:12 +02:00
Alexandre Aubin
aed53786f2 Make the PEP8 gods less angry 2019-10-10 16:11:20 +02:00
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
1d8ba7fa95 Implement diagnosis show --full and --issues 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
bd3a378d28 Use only ipv4 resolver for DNS records diagnosis 2019-10-10 16:09:16 +02:00
Alexandre Aubin
1105b7d943 We don't need this auth madness anymore 2019-10-10 16:09:16 +02:00
Alexandre Aubin
3200fef39c Implement detail mechanism for DNS category 2019-10-10 16:07:46 +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
85930163a0 First draft of DNS diagnoser 2019-10-10 16:07:46 +02:00