Commit graph

2782 commits

Author SHA1 Message Date
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
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
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
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
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
63ff02be50 Keep track of 'parent' operation in operation loggers 2020-05-07 22:23:38 +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
Alexandre Aubin
d8be90165c Propagate changes from moulinette/simplify-interface-init 2020-05-07 22:16:22 +02:00
Alexandre Aubin
96e115c609 Use 'init' helper from tests! 2020-05-07 22:16:22 +02:00
Alexandre Aubin
84e39a416a Add an 'init' helper for scripts/tests to initialize everything needed... 2020-05-07 22:15:51 +02:00
Alexandre Aubin
7df8e8421d Forgot to set interface as api for init logging 2020-05-07 22:15:51 +02:00
Alexandre Aubin
69a520657c Add init_i18n for convenience when using yunohost as a lib... 2020-05-07 22:15:51 +02:00
Alexandre Aubin
dee08a16fe Move moulinette initialization and other stuff to src/yunohost/__init__.py 2020-05-07 22:15:51 +02:00
Bram
9962fd610e
Merge pull request #968 from YunoHost/simplify-and-optimize-yunohost-version
Simplify / optimize reading version of yunohost packages...
2020-05-07 21:47:45 +02:00
Alexandre Aubin
8bcf753081 Also split + and - 2020-05-07 18:34:51 +02:00
Alexandre Aubin
3a62d828ba version was not defined... 2020-05-07 18:18:59 +02:00
Alexandre Aubin
15060df0ad
Merge pull request #927 from YunoHost/fix-backup-tests
[fix] Restoration of custom hooks / missing restore hooks
2020-05-07 04:35:59 +02:00
Alexandre Aubin
9bea7d9daf
Merge pull request #976 from YunoHost/fix-multi-instance-upgrade
[fix] multi instance upgrade
2020-05-07 00:42:56 +02:00
Alexandre Aubin
882b003bd7 Fix i18n string test 2020-05-07 00:07:10 +02:00
Alexandre Aubin
49c4324ee1 During app installs, set default answer for user-type args to main user 2020-05-06 22:17:39 +02:00
Alexandre Aubin
c7dd881774 Default 'ask' questions for common app manifest args 2020-05-06 21:41:54 +02:00
Bram
0b035782d0 Update src/yunohost/domain.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-06 20:46:34 +02:00
Laurent Peuch
9e86014636 [mod] improve error message when apps are still installed on a domain 2020-05-06 20:20:38 +02:00
Alexandre Aubin
f25e07fd82
Update src/yunohost/service.py 2020-05-06 20:18:49 +02:00
Alexandre Aubin
58a29f218e
Update src/yunohost/service.py
Co-authored-by: Kayou <pierre@kayou.io>
2020-05-06 20:06:16 +02:00
Alexandre Aubin
40eaec605e Make flake8 happy (c.f. previous commit) 2020-05-06 19:45:16 +02:00
Alexandre Aubin
c721aaf258 version was not defined... 2020-05-06 19:01:07 +02:00
Alexandre Aubin
6fc5b41302 Add a few tests for services add/remove/status ... 2020-05-06 18:53:51 +02:00
Alexandre Aubin
e74f49f001 Simplify log list management because log type is deprecated now that we always fetch journalctl 2020-05-06 18:46:44 +02:00
Alexandre Aubin
95dd1e2707 service -> infos ... + misc small syntax improvements 2020-05-06 18:20:03 +02:00
Alexandre Aubin
199258166e services[name] -> service 2020-05-06 18:12:55 +02:00
Kayou
a11654e0cf
[fix] domain remove if an app without a domain is installed 2020-05-06 11:57:28 +02:00
Kay0u
cf57b77d6a
[fix] multi instance upgrade 2020-05-04 18:28:05 +02:00
ljf
ff0a2192b9 [enh] Automatic regenconf after editing smtp settings 2020-05-04 14:45:47 +02:00
ljf
64066f85b0 [enh] Allow admin to specify an smtp relay 2020-05-04 14:45:47 +02:00