Commit graph

4997 commits

Author SHA1 Message Date
Alexandre Aubin
94ea826518 Most of the time there's no .ini file and it still displays an info about the file not existing when attempting to remove it 2020-05-18 01:31:37 +02:00
Alexandre Aubin
f73c34bfc1 Tell systemctl to stfu when enabling/disabling services, just do it 2020-05-17 17:00:33 +02:00
Alexandre Aubin
7b4a9b57bc Stewpeed typo :| 2020-05-17 04:22:15 +02:00
Alexandre Aubin
086db7a94b Need to explicitly convert info from dbusthingy to str :/ 2020-05-17 04:10:19 +02:00
Alexandre Aubin
5c8c07b8c9 More cleaning of app install logs: we don't really care about debug for ynh_wait_dpkg_free 2020-05-17 03:24:26 +02:00
Kayou
108a3ca498
Update .gitlab-ci.yml 2020-05-16 13:31:41 +02:00
Alexandre Aubin
f8e5ea4652 Fix tests, rely on _get_service_information_from_systemd to fetch service info during service add 2020-05-16 00:53:49 +02:00
Bram
6a75716fb5
Merge pull request #989 from YunoHost/test-for-args-parsing
Test for args parsing
2020-05-16 00:41:40 +02:00
Alexandre Aubin
1cd7ffea66 Report unknown status for services as just a warning 2020-05-16 00:21:01 +02:00
Alexandre Aubin
dd608baec5 Small simplification? 2020-05-16 00:21:01 +02:00
Alexandre Aubin
1244241b3f Have an independant function for building the service status 2020-05-16 00:21:01 +02:00
Alexandre Aubin
dd09758fb5 Report the service status as unknown if service type is oneshot and status exited 2020-05-16 00:21:01 +02:00
Alexandre Aubin
c9b2213817 Don't miserably crash if doveadm fails to run 2020-05-15 17:08:23 +02:00
Laurent Peuch
fd358fdfcc [enh] start writting test for arguments parsing 2020-05-15 05:21:36 +02:00
Alexandre Aubin
413778d2bc Check if app broke something important only if install succeeded (if install fails, this check only matters *after* we remove the app which is already done) 2020-05-15 04:23:58 +02:00
Alexandre Aubin
5850bf610f Get rid of those damn warnings about file descriptors 2020-05-15 04:00:58 +02:00
Laurent Peuch
c600b3b53e [mod] rename everything in _parse_args_in_yunohost_format because I'm too old and too tired for shitty variable name, also docstring 2020-05-15 03:23:12 +02:00
Laurent Peuch
757cef32b3 [mod] remove unused import 2020-05-14 21:30:00 +02:00
Alexandre Aubin
4cd4938eb4 Change logic of --email to avoid sending empty mail is some issues are found but ignored 2020-05-14 19:32:45 +02:00
Alexandre Aubin
e140546092 Hmgn need to make sure to write this on a new line 2020-05-14 19:13:08 +02:00
Alexandre Aubin
9cbd368dca Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs 2020-05-14 04:46:18 +02:00
Alexandre Aubin
65c87d55df Try to not have weird warnings if no diagnosis ran yet... 2020-05-14 03:56:32 +02:00
Alexandre Aubin
97199d1961 Sometimes dpkg --configure -a ain't enough... 2020-05-14 03:25:24 +02:00
Alexandre Aubin
e67dc79197 Add the damn short hostname to /etc/hosts automagically 2020-05-14 01:47:34 +02:00
Alexandre Aubin
c6f184960c We don't need to display hostname when fetching logs with journalctl 2020-05-13 16:59:59 +02:00
Alexandre Aubin
09d8500fda Also run dpkg --audit to check if dpkg is in a broken state 2020-05-13 16:38:27 +02:00
Alexandre Aubin
4d734a27a0 Forcing unicode creates issue with non-ascii strings or whatever.. 2020-05-13 16:18:23 +02:00
Alexandre Aubin
26fcfed7fb Only mention packages that couldn't be upgraded during failed apt upgrades 2020-05-13 15:20:49 +02:00
Alexandre Aubin
b0136bd1aa Update changelog for 3.8.4.1 2020-05-11 00:51:01 +02:00
Alexandre Aubin
429df8c43f Ugh smaller treshold because people have exactly 500MB ... 2020-05-11 00:44:37 +02:00
Alexandre Aubin
2205515d35 Add a dummy description to avoid warning 2020-05-11 00:37:25 +02:00
Alexandre Aubin
b6631b4882 Add a test for service_log 2020-05-11 00:37:12 +02:00
Alexandre Aubin
afbeb145b6 Make sure we have a list for log_list 2020-05-11 00:36:46 +02:00
Alexandre Aubin
43facfd5b5 Again here, list.remove(foo) fails if foo ain't in list :[ 2020-05-11 00:21:25 +02:00
Alexandre Aubin
c346f5f1df This file sometimes has stupid \x00 inside ~.~ 2020-05-09 22:08:49 +02:00
Alexandre Aubin
f8154fe23a Update changelog for 3.8.4 2020-05-09 21:21:50 +02:00
Alexandre Aubin
a6a3ec29d2
Merge pull request #983 from yunohost-bot/weblate-yunohost-core
Update from Weblate
2020-05-09 20:40:22 +02:00
Alexandre Aubin
72d4460bb4
Typo / wording / grammar ? 2020-05-09 20:39:50 +02:00
Alexandre Aubin
1577d0e843
Stupid spaces issues 2020-05-09 20:35:33 +02:00
clecle226
d3252a1739 Translated using Weblate (French)
Currently translated at 100.0% (641 of 641 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2020-05-09 18:19:27 +00:00
xaloc33
da7d0d0561 Translated using Weblate (Catalan)
Currently translated at 98.3% (630 of 641 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2020-05-09 18:19:27 +00:00
Idafe Hernández
31426c5469 Translated using Weblate (Spanish)
Currently translated at 92.7% (586 of 632 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/es/
2020-05-09 18:19:27 +00:00
amirale qt
ff0dca4773 Translated using Weblate (Esperanto)
Currently translated at 100.0% (632 of 632 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/eo/
2020-05-09 18:19:27 +00:00
xaloc33
232c5f3d6b Translated using Weblate (Catalan)
Currently translated at 100.0% (632 of 632 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2020-05-09 18:19:27 +00:00
Alexandre Aubin
8998334251
Merge pull request #985 from YunoHost/rely-on-diagnosis-for-letsencrypt-elligibility
Rely on diagnosis for letsencrypt elligibility
2020-05-09 18:09:57 +02:00
Alexandre Aubin
c8625858e2 Fetch xmpp-upload DNS record status from diagnosis directly 2020-05-09 18:01:16 +02:00
Alexandre Aubin
d8dfa1c5d5
We gotta trash the error stream because gzip complains about broken pipe when ran in python subprocess ~.~ 2020-05-09 15:58:40 +02:00
Alexandre Aubin
aecbb14aa4 Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job 2020-05-09 01:46:28 +02:00
Alexandre Aubin
23147161d6 Change warning/errors about swap as info instead ... add a tip about the fact that having swap on SD or SSD is dangerous 2020-05-08 23:56:23 +02:00
Alexandre Aubin
a799740afa Move meltdown check to base system 2020-05-08 23:47:18 +02:00