Commit graph

4018 commits

Author SHA1 Message Date
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
Josué Tille
abe421caa8
Change default value for protected permission to 'false' 2020-04-29 13:42:14 +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
Josué Tille
76c7bcc69b
Fix some typos 2020-04-28 15:11:34 +02:00
Josué Tille
c4f7fc2bac
Remove migration of legacy settings in install 2020-04-28 15:11:34 +02:00
Josué Tille
e27035f816
Fix restore 2020-04-28 15:11:33 +02:00
Josué Tille
60af7e0fe9
Fix typo 2020-04-28 15:11:33 +02:00
Josué Tille
2b3c368470
Fix app_ssowatconf 2020-04-28 15:11:33 +02:00
Josué Tille
79fb034321
Improve support of settings migrations 2020-04-28 15:11:32 +02:00
Josué Tille
d5c61f2d27
Manage skipped, unprotected uris in root path case 2020-04-28 15:11:32 +02:00
Josué Tille
fe5ca24222
Migrate old skipped,unprotected,protected_uris and create permission instead 2020-04-28 15:11:32 +02:00
Josué Tille
73e2ede910
Merge branch 'stretch-unstable' into permission_protection 2020-04-28 14:20:25 +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
e01859ffc4 Fix tests 2020-04-27 20:57:38 +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
ljf
c6c85556ac [fix] False positive on blacklist due to search in resovconf 2020-04-27 17:30:17 +02:00
Josue-T
72b412c6d3
Cleanup code indentation 2020-04-27 11:16:40 +02:00
Josue-T
01d5c91e60
Simply code
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:09:10 +02:00
Josue-T
f2791c911f
Make more rebobut version check
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:08:36 +02:00
Josue-T
ce6c33aa90
Fix version key in installed version
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:05:01 +02:00
Alexandre Aubin
69938c3feb Re-add 'app fetchlist', 'app list -i', 'app list' filter for backward compatibility... 2020-04-26 03:43:36 +02:00
Alexandre Aubin
cde68cd7cc
Make sure to strip() the path just in case
Co-Authored-By: Bram <cortex@worlddomination.be>
2020-04-25 23:52:55 +02:00
Alexandre Aubin
9ef2c60a90 Uhoh we can't call domain_list if postinstall ain't done yet 2020-04-25 05:24:27 +02:00
Alexandre Aubin
b90155423d Add a caching mechanism to get_public_ip to avoid loading requests and calling ip.yunohost.org dozens of time per minute... 2020-04-25 04:33:08 +02:00
Alexandre Aubin
319898baf7 Feed domain list to regen-conf hooks directly through env to avoid having to call 'yunohost domain list' 2020-04-25 03:49:30 +02:00
Kay0u
05734dfd7c
clean tmp backuo dir 2020-04-25 02:28:45 +02:00
Kay0u
77e124519f
add bad archive test 2020-04-25 01:54:12 +02:00