Commit graph

329 commits

Author SHA1 Message Date
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
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
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
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
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
Alexandre Aubin
8533103788
Merge pull request #803 from YunoHost/burn-etckeeper
Get rid of etckeeper
2019-10-08 18:33:12 +02:00
Alexandre Aubin
eb57a4ad9e Get rid of etckeeper 2019-09-19 19:51:27 +02:00
Alexandre Aubin
ec5069b71c Propagate changes on backup tests + fixes bugs found in the process 2019-09-13 16:33:25 +02:00
Étienne Mollier
f0440fbd6b Dynamically evaluate proper mariadb-server-<version> 2019-08-15 15:12:06 +02:00
Alexandre Aubin
2dc809548b Fixing again the whole permission / cert situation for slapd ... for good this time hopefully 2019-08-13 17:32:55 +02:00
Alexandre Aubin
6f48d1d855 Get rid of those sudo's ... otherwise, because sudo is in fact sudo-ldap, might create weird errors or stuck situation where everything is broken because slapd is stopped and the regenconf can't restart it 2019-08-12 11:16:07 +02:00
Alexandre Aubin
0a2d1c7eb6 We need this also to have proper permissions on certs 2019-08-12 11:16:04 +02:00
Alexandre Aubin
dde3a19350 Fix some critical permissions issues with ssl / slapd configuration 2019-08-12 01:56:24 +02:00
Alexandre Aubin
10f1651022
Moving to the post-regen part because the pre-regen part should touch as little as possible of the actual system config 2019-08-03 21:00:44 +02:00
yalh76
bae6fe86f3 spelling 2019-08-01 22:28:55 +02:00
yalh76
577d8f477f Add openldap user in the ssl-cert grou 2019-07-14 14:25:09 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission 2019-07-05 20:59:10 +02:00
Alexandre Aubin
b9197b6269 Fix 'unable to write random state in SSL init (same patch as for yunohost-admin) 2019-06-27 00:57:28 +02:00
Alexandre Aubin
d8b086a06a [fix] Running slapindex seems to fix the previous issues about LDAP indexing stuff 2019-06-06 19:26:49 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +02:00