Commit graph

3848 commits

Author SHA1 Message Date
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
06e02de548 Add traceback for easier debugging 2019-10-10 16:09:16 +02:00
Alexandre Aubin
aafef0a8ef Add i18n messages 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
77b0920dac Forgot to change this 2019-10-10 16:02:50 +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
8a415579bf Implement diagnosis_show 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
faa4682d77 Forgot to keep the description 2019-10-10 16:02:50 +02:00
Alexandre Aubin
cb6f53fc2b Fix --force mechanism 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
b42bd20311 First draft for diagnosis_run 2019-10-10 16:02:50 +02:00
Alexandre Aubin
1d946ad073 Implement diagnosis categories listing 2019-10-10 16:02:50 +02:00
Alexandre Aubin
f987e7872c Skeleton / draft of API 2019-10-10 16:02:50 +02:00
Alexandre Aubin
5882bf89db Merge branch 'stretch-testing' into stretch-unstable 2019-10-10 00:10:11 +02:00
Alexandre Aubin
f2db3d34dd Update changelog for 3.6.5.2 2019-10-10 00:09:19 +02:00
Alexandre Aubin
2623d38567 Annnnnd Alex was drunk and released an epic stupid bug in stable 2019-10-10 00:06:36 +02:00
Alexandre Aubin
c45b0edd39 Update changelog for 3.6.5.1 2019-10-08 20:21:11 +02:00
Alexandre Aubin
8c467d6541 Merge branch 'stretch-testing' into stretch-unstable 2019-10-08 20:18:26 +02:00
Alexandre Aubin
826429cf0b Change from #802 was only about the yunohost jail ... this should be global >.> 2019-10-08 20:11:39 +02:00
Alexandre Aubin
fe8fd1b2c5 Change from #802 was only about the yunohost jail ... this should be global >.> 2019-10-08 20:04:08 +02:00
Alexandre Aubin
4eaad17019 Merge branch 'stretch-testing' into stretch-unstable 2019-10-08 19:05:41 +02:00
Alexandre Aubin
115513c650 Update changelog for 3.6.5 2019-10-08 19:03:32 +02:00
J. Doe
bf1ad164da change maxretry of fail2ban from 6 to 10 2019-10-08 18:50:29 +02:00
Alexandre Aubin
7ecefaf8dc Fixes following tests 2019-10-08 18:42:03 +02:00
Alexandre Aubin
75742216ea Improve message 2019-10-08 18:40:26 +02:00
Alexandre Aubin
5623689a27 Detect and warn early about unavailable full domain requirement... 2019-10-08 18:38:45 +02:00
Alexandre Aubin
1c5220f7cb Support logfiles not ending with .log in logrotate ... 2019-10-08 18:37:20 +02:00
Alexandre Aubin
0e3a131095 More accurate greps to identify that sury packages are installed 2019-10-08 18:37:01 +02:00
Alexandre Aubin
077e5c463c Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-10-08 18:36:50 +02:00
Alexandre Aubin
ea1fd71def
Merge pull request #798 from YunoHost/detect-and-warn-early-about-unavailable-full-domain
[fix] Detect and warn early about unavailable full domains...
2019-10-08 18:35:31 +02:00
Alexandre Aubin
873b208cd6
Merge pull request #810 from YunoHost/support-logfile-not-ending-with-dot-log
Support logfiles not ending with .log in logrotate ...
2019-10-08 18:35:19 +02:00
Alexandre Aubin
c7b3f296de
Merge pull request #809 from YunoHost/ugly-sury-workaround
[fix] Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-10-08 18:35:06 +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
fc78700904
More accurate greps to identify that sury packages are installed 2019-10-08 18:30:18 +02:00
Alexandre Aubin
c70418c4b2 Fixes following tests 2019-10-08 18:21:04 +02:00
Alexandre Aubin
342fe2d4be Add unit test for full-domain apps 2019-10-08 18:19:50 +02:00
Alexandre Aubin
0d90133bb7 Improve message 2019-10-08 18:18:27 +02:00
Alexandre Aubin
2642b64af5 Detect and warn early about unavailable full domain requirement... 2019-10-08 16:11:52 +02:00
Alexandre Aubin
34d721ccec
Merge pull request #819 from decentral1se/remove-strerrr-access-errors
Use str instead of strerror
2019-10-06 11:47:39 +02:00
Luke Murphy
a1822e2f42
Use str instead of strerror (not present)
See https://forum.yunohost.org/t/cant-create-a-user-after-post-intsallation/9190.
2019-10-06 11:25:01 +02:00
Alexandre Aubin
d063348d9b
Merge pull request #795 from YunoHost/improve-permission-interface
Polish group/permissions interface + simplify code
2019-10-04 20:02:35 +02:00