Commit graph

2782 commits

Author SHA1 Message Date
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
Alexandre Aubin
a20fd04955
Remove tmp debug print()
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-25 01:27:20 +02:00
pitchum
b9e226caed Remove deprecated docstrings. 2020-04-24 19:07:05 +02:00
Josué Tille
c34de0b792
Improve version management in catalog 2020-04-24 14:36:06 +02:00
Alexandre Aubin
54cc684a35 Keep track of yunohost version a backup was made from, for possible future uses 2020-04-24 03:33:59 +02:00
Alexandre Aubin
5baadd1fa1 Be more robust against some situation where archive is corrupted 2020-04-24 03:08:31 +02:00
Josué Tille
e36e5ea89c
Improve label 2020-04-23 22:10:34 +02:00
Alexandre Aubin
cb0a87de25 Patch usage of old in apps 'yunohost tools diagnosis' 2020-04-23 18:59:12 +02:00
Alexandre Aubin
f68ae4561f Patch files earlier to avoid raising an exception is setting folder already exists 2020-04-23 18:00:46 +02:00
Alexandre Aubin
755ba61b32 Moar tests to check the content of app_map 2020-04-23 17:44:01 +02:00
Alexandre Aubin
e79f73d463 Make sure to return / and not empty string for stuff on domain root 2020-04-23 17:02:58 +02:00
Josué Tille
1826e3c5b6
Make more robust version management in upgrade 2020-04-23 14:56:16 +02:00
Josué Tille
e7970d8571
Check settings 'upgrade_only_if_version_changes' before to check update availability 2020-04-23 14:56:15 +02:00
Alexandre Aubin
9eef8af53d Fix improper use of logger.exception in app.py 2020-04-23 04:18:23 +02:00
Josué Tille
98223a7db3
Fix tests for regex 2020-04-22 22:30:23 +02:00
Josué Tille
84e275ea97
Merge branch 'stretch-unstable' into permission_protection 2020-04-22 21:59:06 +02:00
Josué Tille
1ed21beb87
Fix restore permission 2020-04-22 21:54:49 +02:00
Josué Tille
0ab3192b81
Improve regex management and simplify urls check 2020-04-22 21:54:48 +02:00
Josué Tille
73a6eef6e3
Fix permission_list 2020-04-22 14:45:16 +02:00
pitchum
c42f7172f7
Do not include xmpp-upload in certificates of "child" domains
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-22 10:34:40 +02:00
Alexandre Aubin
cc5dc0e7a7
How did we not find out about this huge typo earlier :| 2020-04-22 02:21:28 +02:00
Josué Tille
6eab62ceb1
Fix show_tile settings 2020-04-21 11:19:39 +02:00
Alexandre Aubin
56a1fba297 Add regenconf tests for previous commits 2020-04-21 04:48:26 +02:00
Alexandre Aubin
99ad8cc492 Force-flush the regen-conf for nginx domain conf when adding/removing a domain... 2020-04-21 04:45:16 +02:00
Alexandre Aubin
b392efdf85 Also anonymize folder name containing %2e instead of dot 2020-04-21 02:42:46 +02:00
Alexandre Aubin
3b0bd2e8f2
Merge pull request #923 from YunoHost/misc-enh-diagnosis
[enh] Misc improvements for diagnosis
2020-04-19 05:34:27 +02:00
Alexandre Aubin
7c758b72c9
Merge branch 'misc-enh-diagnosis' into enh-diagnosis-mail 2020-04-19 04:06:44 +02:00
ljf
40141c84f3 [enh] Auto update postfix on smtp.allow_ipv6 change 2020-04-19 03:55:50 +02:00
ljf
e6f0091f59 [fix] Rename ipv6 mail settings + desc 2020-04-19 03:45:59 +02:00
Alexandre Aubin
f78af06a35 Lazy loading for performance, possibly 2020-04-19 02:59:16 +02:00
Alexandre Aubin
da112a3668 Let's push also CAA for nohost.me ... Assuming dynette will eventually allow it .. 2020-04-19 02:44:39 +02:00
Alexandre Aubin
a33ae634c3 We need those quotes around spf 2020-04-19 02:39:36 +02:00
ljf
4686673bb5 [enh] Be able to disable ipv6 for smtp 2020-04-19 02:30:23 +02:00
Alexandre Aubin
7818eb3946 Better handling of failure to use the remote-diagnosis 2020-04-19 00:26:33 +02:00
Alexandre Aubin
a30ed783da Improve message about error 500 2020-04-18 20:34:34 +02:00
Alexandre Aubin
e880e775c1 No need to display this message in webadmin (we're already on the diagnosis script when this happens ...) + in CLI we want to have it as a warning so that it's displayed in cron email 2020-04-18 03:09:43 +02:00
Alexandre Aubin
301ced9d6e Hmf I dunno let's have this weird option if we really want to have a special case for first-run ... 2020-04-18 02:54:16 +02:00