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
Julien Rabier
7ccd6e1348
fix destination concurrency
...
Hi,
Postfix has this very peculiar behavior where the target of some config keys changes depending on the value.
Here, if `smtp_destination_concurrency_limit` is set to 1, then according to http://www.postfix.org/postconf.5.html#default_destination_concurrency_limit it doesn't mean "1 concurrent mail per domain, but per recipiend address".
So, if set to 1, it means we can send any volume of e-mails concurrently (with a 5s delay) if all recipient addresses are different.
In order to avoid this, we should increase the value to restore the expected behavior (concurrency per domain, not per recipient).
2020-05-11 21:37:17 +00: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
Alexandre Aubin
355ed7fd94
Merge pull request #986 from autra/fix_service_add_log_type_default_value
...
Fix service add log type default value
2020-05-08 23:40:09 +02:00
Alexandre Aubin
33caf9cf33
Cleanup, we don't really need this anymore
2020-05-08 21:50:41 +02:00
Alexandre Aubin
713d4926c9
Fix the way we check the A record for xmpp
2020-05-08 21:50:23 +02:00
Alexandre Aubin
333347dbcd
Clarify the steps : first validate, then start logger, then run the actual install/renew
2020-05-08 21:48:41 +02:00
Alexandre Aubin
03de14df53
Tweak test if domain is ready for ACME challenge
2020-05-08 21:45:11 +02:00
Augustin Trancart
a8d52eb1d4
Avoid crashing when service name is not provided as log source
2020-05-08 18:05:49 +02:00
Augustin Trancart
bcb16416b2
Remove default value for deprecated log_type args
...
The service_add method check if the argument is empty, but what it
really wants to do is checking if the args is not systemd (as far as I
understand). As this value is deprecated, better remove the default to
fix this logic.
2020-05-08 17:59:46 +02:00
Alexandre Aubin
ba709be534
Merge pull request #963 from YunoHost/enforce-permissions-in-etc-yunhost
...
[fix] Enforce permissions for stuff in /etc/yunohost/
2020-05-08 04:15:10 +02:00
Alexandre Aubin
4100ebeb31
Merge pull request #979 from YunoHost/service_cleanup
...
[enh] service.py cleanup + add tests for services
2020-05-08 03:16:55 +02:00
Bram
10946c3bf8
Merge pull request #980 from YunoHost/check-for-fatal-code-errors
...
Check for fatal code errors
2020-05-08 00:08:20 +02:00
Alexandre Aubin
2f31cb6463
Make sure to handle symlinks when fetching logfiles
2020-05-07 22:37:57 +02:00
Alexandre Aubin
6434fad965
Merge pull request #975 from YunoHost/auto-restart-ldap
...
[fix] handle new auto restart of ldap in moulinette
2020-05-07 22:18:18 +02:00