Commit graph

3345 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
Alexandre Aubin
bd02678275 Refuse to add visitors to mail / xmpp / ... permission as it doesnt make sense 2019-10-24 17:47:43 +02:00
Alexandre Aubin
9beeb16077 Don't sync permission right away when deleting them, otherwise we get annoying warning because app_map thinks the app is still installed and expected a main permission 2019-10-20 04:17:25 +02:00
Alexandre Aubin
e005d94f82 Messed up the message UX with a previous PR (did not have the message explaining how to debug at the very end) 2019-10-20 04:17:25 +02:00
Alexandre Aubin
9362261d34 Ugh some apps uses skipped_uris sometimes instead of unprotected_uris... 2019-10-19 18:05:32 +02:00
Alexandre Aubin
7c99aff94e Forgot the i18n 2019-10-19 18:04:55 +02:00
Alexandre Aubin
b8ce8e9392 Try to make those debug messages sound less like an error 2019-10-19 05:34:42 +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
d9990cd818
Smarter regex to avoid redacting all --key=stuff when using setting helpers for example 2019-10-16 18:59:23 +02:00
Alexandre Aubin
a0fd531ef9
Merge branch 'stretch-unstable' into more-accurate-tests 2019-10-15 23:27:45 +02:00
Alexandre Aubin
cd89f119ff
Merge branch 'stretch-unstable' into permission-visitors 2019-10-15 23:23:56 +02:00
Alexandre Aubin
4def4dfa6a
[yolofix] Should have a list of string to be able to join() later 2019-10-15 14:54:52 +02:00
Alexandre Aubin
6dc720f3cf [yolo] Use read_json / write_to_json helpers to read/write ssowat conf.json.persistent 2019-10-15 02:36:12 +02:00
Alexandre Aubin
7d0119ade4 Fix backup info.json format... 2019-10-15 01:06:04 +02:00
Alexandre Aubin
61931f2c4b We don't want this to call .error() for legit logs already completed 2019-10-14 20:28:16 +02:00
Alexandre Aubin
08d9717236 Improve test accuracy for apps 2019-10-14 20:26:59 +02:00
Alexandre Aubin
3bc65ddc34 Merge branch 'stretch-unstable' into more-accurate-tests 2019-10-14 19:09:48 +02:00
Alexandre Aubin
1f2da5c26b
Merge branch 'stretch-unstable' into better-handling-of-app-install-and-remove-failures 2019-10-14 19:08:15 +02:00
Alexandre Aubin
5818de3a82 Remove the whole monitoring / glances stuff 2019-10-14 04:48:56 +02:00
Alexandre Aubin
c7ff6cb682
Merge branch 'permission-visitors' into more-accurate-tests 2019-10-13 22:03:55 +02:00
Alexandre Aubin
97f9d3ea37 Integrate the ignore mechanism with the rest of the code 2019-10-11 22:42:21 +02:00
Alexandre Aubin
f75cd82593 First part of implementing the ignore mechanism 2019-10-11 20:05:46 +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
33180d0947 Add base system diagnostic 2019-10-10 16:14:20 +02:00
Alexandre Aubin
c4ba8534c5 Implement i18n stuff 2019-10-10 16:13:13 +02:00
Alexandre Aubin
0c232b6cb5 Implement diagnosis show --share 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
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
d2bbb5a2b3 This 'args' things sounds like a big YAGNI after all 2019-10-10 16:12:33 +02:00
Alexandre Aubin
aed53786f2 Make the PEP8 gods less angry 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
9405362caf Cooler messages summarizing what's found, instead of displaying a huge unreadable wall of json/yaml 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
06e02de548 Add traceback for easier debugging 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
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
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
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