Commit graph

1983 commits

Author SHA1 Message Date
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
Laurent Peuch
82c4357421 [fix] handle new auto restart of ldap in moulinette 2020-05-04 14:00:22 +02:00
Laurent Peuch
e80fe075e6 [tests/mod] auto clone/pull the test app when running tests 2020-05-03 23:08:52 +02:00
Laurent Peuch
f760d6aa0f [mod] remove unused import 2020-05-03 20:15:33 +02:00
Laurent Peuch
67fe8545dc [mod] remove useless import 2020-05-03 20:14:54 +02:00
Laurent Peuch
b4447bf2b7 [pep8] black test_apps.py 2020-05-03 20:14:42 +02:00
Alexandre Aubin
9c0ccd0b4f That whole thing about Specifier is completely overengineered, let's have a more simple check for version requirements... 2020-05-03 19:46:21 +02:00
Alexandre Aubin
71e30f5b1b Simplify / improve robustness of backup list, follow-up of issue reported on the forum... 2020-05-03 00:55:53 +02:00
Alexandre Aubin
fc07468051 Simplify / optimize reading version of yunohost packages... 2020-05-02 06:08:54 +02:00
Alexandre Aubin
e85a29fbf3
Typo zblerg ~.~ 2020-05-02 02:34:28 +02:00
Alexandre Aubin
a7d52af77e
Merge pull request #960 from YunoHost/smarter-debug-logs
Try to show smarter / more useful logs by filtering irrelevant lines like set +x etc
2020-05-02 02:14:52 +02:00
Alexandre Aubin
6bd7eb64bd Assert slapd is running to avoid miserably crashing with weird ldap errors 2020-05-01 17:53:07 +02:00
Kay0u
fd5ba7b1e5
test custom hooks 2020-04-30 19:08:41 +02:00
Alexandre Aubin
15807c411c Bad parenthesis positioning 2020-04-30 18:05:55 +02:00
Kay0u
5901cb9993
remove the path of the tarfile 2020-04-30 17:46:26 +02:00
Kay0u
7de8417fb2
update comments + fix mock 2020-04-30 17:46:17 +02:00
Kay0u
e63679684a
rework backup 2020-04-30 17:39:52 +02:00
ljf
65d54ba6b9 [fix] Blacklist false positive 2020-04-30 17:16:20 +02:00
Alexandre Aubin
bb82c41db6 Apparently set +x is set +o xtrace now ;P 2020-04-30 05:21:42 +02:00
Alexandre Aubin
a51478dc40 declare -Ar -> local -A 2020-04-30 05:09:56 +02:00
Alexandre Aubin
9a7b9b0b32 declare -Ar -> local -A 2020-04-30 05:09:56 +02:00
Alexandre Aubin
1cb330823d Try to show smarter / more useful logs by filtering irrelevant lines like 'set +x' etc 2020-04-30 05:09:56 +02:00
Alexandre Aubin
3d4ef03ad2 Dirty hack to check status of ynh-vpnclient for real 2020-04-29 22:03:58 +02:00
Alexandre Aubin
822c731086 Improve default IPv6 route check to cover stuff happening on internet cube 2020-04-29 21:48:22 +02:00
Alexandre Aubin
426d93825d Add a tip about not having IPv6 2020-04-29 19:20:54 +02:00
Alexandre Aubin
e236a2872a Lul I fuckedup import refactoring 2020-04-29 18:22:38 +02:00
Alexandre Aubin
ab33da5178
Merge pull request #954 from YunoHost/fix-helper-patching
Fix helper patching + patch usage of old 'yunohost tools diagnosis'
2020-04-29 18:14:41 +02:00
Alexandre Aubin
d8c2f436f9
Merge branch 'stretch-unstable' into misc-optimizations 2020-04-29 18:14:05 +02:00
Alexandre Aubin
b78d722785 Dirty hack to automatically find custom SSH port 2020-04-29 18:01:40 +02:00
Alexandre Aubin
ae98ec1aa7 Trailing slash in ssowat uris cause issues to access app installed on root, we only need it for app_map ... 2020-04-28 18:55:39 +02:00
Alexandre Aubin
196a3d4d47 Refactor check about apps being installed on domain when trying to remove a domain 2020-04-28 05:36:11 +02:00
Alexandre Aubin
cb223be4d1
Merge pull request #953 from YunoHost/fix-app-map-with-app-on-root
[fix] Make sure to return '/' and not empty string for stuff on domain root
2020-04-27 23:24:55 +02:00
Alexandre Aubin
902dd0a548
Merge pull request #946 from YunoHost/be-more-robust-against-manually-modified-domain-conf
[fix] Be more robust against manually modified domain conf
2020-04-27 23:24:30 +02:00
Alexandre Aubin
7e4f3b6f29
Merge pull request #956 from YunoHost/be-more-robust-against-corrupted-backup-archives
Be more robust against some situation where archive is corrupted
2020-04-27 23:24:03 +02:00
Alexandre Aubin
311835b1b5
Add name of the exceptions that can be raised to docstring.. 2020-04-27 23:23:31 +02:00
Alexandre Aubin
ceab9bd1b3
Merge branch 'stretch-unstable' into fix-1516-separate-xmpp-vhosts 2020-04-27 18:03:34 +02:00
Alexandre Aubin
32c300e627 Reorganize import, make linter happier 2020-04-27 18:01:09 +02:00
Alexandre Aubin
c1262ab9a9 Fix acme challenge code snippet detection for this domain 2020-04-27 18:01:09 +02:00
Alexandre Aubin
17d3ec5ad3 Improve new dig() helper, and use it in dnsrecords diagnosis as well 2020-04-27 17:30:17 +02:00