Commit graph

4187 commits

Author SHA1 Message Date
Alexandre Aubin
50129f3a29
Sometimes metadata ends up being empty for some reason and ends up being loaded as None, making the "in" operator crash :| 2021-06-21 19:00:26 +02:00
Alexandre Aubin
c3e7587766 Propagate change from the moulinette: authenticate -> _authenticate_credentials 2021-06-19 17:17:08 +02:00
Paco
22c9edb7d7 fix new _load_domain_settings bug 2021-06-19 03:01:28 +02:00
Paco
ab86d13b1e Update _load_domain_settings to load only requested domains 2021-06-18 19:14:51 +02:00
Paco
7f76f0a613 fix new locales 2021-06-18 14:46:46 +02:00
MercierCorentin
208df9601f Add domain registrar catalog cli command 2021-06-18 13:39:22 +02:00
Alexandre Aubin
1fcfe734e9 Add test-ldapauth to ci 2021-06-14 18:23:55 +02:00
Alexandre Aubin
11325c95cc Merge branch 'dev' into rework-authenticator-system 2021-06-14 18:16:58 +02:00
Alexandre Aubin
52920cc52f password -> credentials, pave the way to multi-admins 2021-06-14 17:36:12 +02:00
Alexandre Aubin
075526303e Misc tweaks and fixes, port ldap auth test from moulinette 2021-06-14 17:36:12 +02:00
Alexandre Aubin
624ce3462b Merge branch 'migrate_to_bullseye' into bullseye 2021-06-12 19:05:44 +02:00
Alexandre Aubin
0843d35cc5 Remove old hack for vpnclient 2021-06-12 18:02:16 +02:00
Alexandre Aubin
82812bac2f Change service status hack for postgresql, 11 -> 13 2021-06-12 18:01:43 +02:00
Alexandre Aubin
17b726f6f3 Merge branch 'dev' into migrate_to_bullseye 2021-06-12 16:40:39 +02:00
Alexandre Aubin
653d7e8127 Switch to backups from 4.2 2021-06-12 16:23:40 +02:00
Paco
b082f0314c Split registrar settings to /etc/yunohost/registrars/{dns_zone}.yml 2021-06-11 16:01:04 +02:00
Paco
c87a7b66e6 Merge branch 'dev' of https://github.com/YunoHost/yunohost into enh-dns-autoconf 2021-06-11 15:17:55 +02:00
ljf
4a22f6b390 [fix] yunohost user list --fields mail-alias 2021-06-10 19:28:49 +02:00
Alexandre Aubin
c8d4bbf82b Case-incensitive search are likely to catch too mnuch legitimate stuff resulting in redacting a shitload of stuff 2021-06-10 15:44:00 +02:00
ljf (zamentur)
dbe5e51ef1
[fix] Capture PASSPHRASE
See https://github.com/YunoHost-Apps/borg_ynh/issues/87
2021-06-10 14:47:13 +02:00
Alexandre Aubin
8e19eabe16
Merge pull request #1239 from tofbouf/patch-1
Apply realpath to find mounted points to unmount
2021-06-07 23:41:08 +02:00
Alexandre Aubin
c32305234c
Merge branch 'bullseye' into bullseye-legacy-cleanup 2021-06-07 22:09:02 +02:00
Alexandre Aubin
f6857625de Stupid encoding issue in migration 0023 2021-06-07 22:06:54 +02:00
Alexandre Aubin
8952c0d7ea Merge branch 'migrate_to_bullseye' into bullseye 2021-06-07 18:16:34 +02:00
Alexandre Aubin
43d924252f Fix patch of security repo in sources.list 2021-06-07 17:41:57 +02:00
Alexandre Aubin
14d4cec844
Python3: fix string split in postgresql migration 2021-06-04 21:44:14 +02:00
Alexandre Aubin
918d462946 Merge branch 'migrate_to_bullseye' into bullseye 2021-06-04 18:32:24 +02:00
Alexandre Aubin
11a638ed70 Fix 'apps' undefined 2021-06-04 18:22:48 +02:00
Alexandre Aubin
923f703ea0
tools_upgrade with apps : 'apps' undefined (well, it was defined, but not with the appropriate content) 2021-06-04 18:22:32 +02:00
Alexandre Aubin
4e2e54676a Yolo postgresql 11 -> 13 cluster migration 2021-06-04 17:23:09 +02:00
Alexandre Aubin
24211a90bc Yolo php7.3 -> php7.4 migration 2021-06-04 17:17:27 +02:00
Paco
3812dcd7af setting owned_dns_zone (Bool) → dns_zone (String) 2021-06-04 16:04:40 +02:00
MercierCorentin
06dcacbe8b Fix import issue in utils/dns 2021-06-04 09:52:10 +02:00
MercierCorentin
4b9dbd92eb Moved get_dns_zone_from_domain from utils/network to utils/dns 2021-06-04 09:42:04 +02:00
MercierCorentin
008baf1350 Add network util to get dns zone from domain name 2021-06-04 09:28:10 +02:00
MercierCorentin
97d68f85ad Add domain registrar info 2021-06-03 15:01:40 +02:00
Alexandre Aubin
da57653a01 Misc fixes after tests on the battlefield 2021-05-31 19:12:08 +02:00
Alexandre Aubin
473bff6e5d Draft for bullseye migration 2021-05-31 18:46:28 +02:00
Alexandre Aubin
5046e49c8b Many app explicitly specify YNH_PHP_VERSION=7.3, then trying to install php7.3-foo which doesn't exist ... so gotta yolopatch that definition ... 2021-05-30 19:03:44 +02:00
Alexandre Aubin
e2a3a0bedf Fix 'from_version' issue because of ~alpha in current bullseye version name 2021-05-30 17:55:39 +02:00
Paco
3022a47560 Now using Dict.update() when loading settings
Settings not anticipated will be loaded.
They will not be removed on write.
Original behavior: not anticipated keys are removed.
2021-05-29 19:39:59 +02:00
Paco
00098075fd Split domains.yml into domains/{domain}.yml 2021-05-29 19:15:13 +02:00
Alexandre Aubin
1051dbb3cc Misc legacy cleanup 2021-05-28 02:17:40 +02:00
Kay0u
8aae994720 dirty patch to wait for services to finish reloading 2021-05-28 01:03:30 +02:00
Kay0u
a27a4c26df yaml load -> safe_load 2021-05-28 01:02:38 +02:00
Kay0u
1f284d74c4 php 7.3 -> 7.4 2021-05-28 01:02:10 +02:00
tofbouf
f0ae164afe
Apply realpath to find mounted points to unmount
Bindings created by some backup methods appears with their 'real' path in /etc/mtab, that may differ from the original /home/yunohost.backup/tmp/auto_xxx that is passed to _recursive_umount().
This fix applies realpath to the 'directory' parameter passed to _recursive_umount().

Tested OK on my own instance, where backups with Borg were failing (except the first one after a reboot) because of this issue (it was unable to clean temporary dir).
2021-05-27 14:28:48 +02:00
Paco
ced4da4171 Run black & revert misguidedly cosmetic changes
An obscur plugin must have done this...
2021-05-25 16:27:05 +02:00
Corentin Mercier
e40f8fb861
Apply easy fixes from code review
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2021-05-25 13:46:09 +02:00
ericgaspar
fc02caea2e
Yunohost -> YunoHost 2021-05-24 18:02:13 +02:00