Commit graph

3345 commits

Author SHA1 Message Date
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
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