Commit graph

1292 commits

Author SHA1 Message Date
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
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
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
f987e7872c Skeleton / draft of API 2019-10-10 16:02:50 +02:00
Alexandre Aubin
e7d1cc5f94 Allow to specify right away what groups to allow for a permission when creating it 2019-10-09 23:02:57 +02:00
Alexandre Aubin
88794805eb We probably don't need to have multiple urls per permissions ... 2019-10-09 23:02:37 +02:00
Alexandre Aubin
795cae1a4b
Merge branch 'stretch-unstable' into permission-visitors 2019-10-09 18:57:23 +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
J. Doe
bf1ad164da change maxretry of fail2ban from 6 to 10 2019-10-08 18:50:29 +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
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
Laurent Peuch
1584c90700 [ux] more useful deprecated warning that mention the new command 2019-10-05 04:24:32 +02:00
Laurent Peuch
f732085d3f [ux] rename 'yunohost domain maindomain' to 'yunohost domain main-domain' 2019-10-05 04:24:32 +02:00
Laurent Peuch
877cfc1fe5 [ux] move 'maindomain' command from 'tools' to 'domain' section 2019-10-05 04:24:32 +02:00
Laurent Peuch
3bc4945ccf [ux] 'new-domain' argument of maindomain command was confusing 2019-10-05 04:24:32 +02:00
Alexandre Aubin
24cc26d85a Support logfiles not ending with .log in logrotate ... 2019-09-26 14:23:01 +02:00
Alexandre Aubin
ea9a93cec0
Update data/actionsmap/yunohost.yml
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-25 00:07:50 +02:00
Alexandre Aubin
50fbfb0372
Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-09-24 23:18:05 +02:00
Alexandre Aubin
93d383b957
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-22 18:38:15 +02:00
Alexandre Aubin
c7c4d93968
Merge pull request #802 from doxxfr/fail2ban_10-maxretry
change maxretry of fail2ban from 6 to 10
2019-09-22 13:02:01 +02:00
Alexandre Aubin
2a5053b66b
Misc wording and orthotypography...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:32:40 +02:00
Alexandre Aubin
e2e960175b
Apply suggestions from code review
Update descriptions for action map

Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:16:28 +02:00
Alexandre Aubin
f0e8ef8456
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-21 12:16:04 +02:00
Alexandre Aubin
2b51d247fb Propagate changes on app helpers + tests 2019-09-20 20:14:14 +02:00
Alexandre Aubin
a48e3b2246
Merge pull request #792 from YunoHost/fix_helpers_ynh_backup_if_checksum_is_different
Check that  exist before the calculate the checksum
2019-09-20 13:53:52 +02:00
Alexandre Aubin
eb57a4ad9e Get rid of etckeeper 2019-09-19 19:51:27 +02:00