Alexandre Aubin
17b726f6f3
Merge branch 'dev' into migrate_to_bullseye
2021-06-12 16:40:39 +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
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
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
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
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
ericgaspar
fc02caea2e
Yunohost -> YunoHost
2021-05-24 18:02:13 +02:00
yunohost-bot
a8b70bea71
[CI] Format code
2021-05-24 15:08:57 +00:00
Alexandre Aubin
7cceec56d8
Merge pull request #1232 from YunoHost/ci-format-dev
...
[CI] Format code
2021-05-24 16:57:03 +02:00
Alexandre Aubin
a143018abb
Merge pull request #1230 from YunoHost/fix-ldapinit
...
[fix] Be able to init slapd in a chroot
2021-05-24 16:56:20 +02:00
yunohost-bot
fbdbd9e039
[CI] Format code
2021-05-24 13:49:17 +00:00
ljf (zamentur)
75d2f71d1a
[fix] Typo in comments
2021-05-24 15:36:03 +02:00
ljf
8829e2ccce
[fix] Diagnosis dns query timeout
2021-05-24 15:30:08 +02:00
Alexandre Aubin
2d45c18961
Unused imports
2021-05-24 00:32:53 +02:00
Alexandre Aubin
c516cc8eb1
Create admin folder directly in slapd init
2021-05-24 00:03:10 +02:00
Alexandre Aubin
9dccfa721e
Fix ldap init using slapadd
2021-05-23 23:07:28 +02:00
ljf
99247e3d08
[fix] Migrations
2021-05-23 22:46:28 +02:00
Alexandre Aubin
dfb5585021
Merge pull request #1228 from YunoHost/fix-unwanted-warning
...
[fix] Remove warning to user (transfered in linter)
2021-05-23 20:15:54 +02:00
ljf (zamentur)
ea5a6d301f
[fix] Email on certificate renewing failed ( #1227 )
...
* [fix] Email on certificate renewing failed
* [enh] Use check_output instead of subprocess
* Update src/yunohost/certificate.py
Co-authored-by: Kayou <pierre.moltess@gmail.com>
* [mod] Use f-string for readability
Co-authored-by: Kayou <pierre.moltess@gmail.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-05-23 20:09:48 +02:00
ljf
d241db4c33
[fix] Be able to init slapd in a chroot
2021-05-21 00:46:31 +02:00
ljf (zamentur)
d1ea646876
[fix] Remove warning to user (transfered in linter)
2021-05-18 21:43:52 +02:00
ljf (zamentur)
0f10b91fa1
[fix] nftable migrations for python3 compatibility
2021-05-13 17:25:28 +02:00
Alexandre Aubin
4aaf015428
Also catch tarfile.ReadError as possible archive corruption error
2021-05-09 18:38:17 +02:00
yunohost-bot
b38d5eedf7
[CI] Format code
2021-05-07 18:22:04 +00:00
Alexandre Aubin
af567c6f85
python3: smtplib's sendmail miserably crashes with encoding issue if accent in mail body
2021-05-03 19:02:10 +02:00
yunohost-bot
2443b2ee1d
[CI] Format code
2021-04-26 15:10:07 +00:00
Alexandre Aubin
50af0393d1
Fix a stupid issue where an app's tmp work dir would be deleted during upgrade because of the backup process
2021-04-20 20:22:42 +02:00
Alexandre Aubin
567bdb9a15
Undefined MoulinetteError
2021-04-17 02:55:55 +02:00
Alexandre Aubin
298f8e877e
Merge branch 'dev' into ci-format-dev
2021-04-17 02:54:13 +02:00
Alexandre Aubin
92eb97042f
ynh_remove_fpm_config: we probably want to remove the conf file *before* reloading the service...
2021-04-17 02:52:56 +02:00
Alexandre Aubin
229d0ab5cb
No need to define run_before_app_restore for migration 0020, let's avoid some confusing/misleading message
2021-04-17 02:35:41 +02:00
yunohost-bot
66f2613518
[CI] Format code
2021-04-17 00:31:06 +00:00
Alexandre Aubin
27c4b33065
Merge pull request #1190 from YunoHost/remove-src_filename
...
Remove src filename
2021-04-17 01:57:41 +02:00
Alexandre Aubin
65759e978f
Merge pull request #1213 from YunoHost/app_manifest
...
Add route to fetch app manifest for custom app installs in a forge-agnostic way
2021-04-17 01:56:36 +02:00
Alexandre Aubin
931ed64e1b
Merge pull request #1214 from YunoHost/more-uniform-tmp-workdir-for-apps
...
More uniform tmp dir for apps, remove some weird 'admin' ownership
2021-04-17 01:56:28 +02:00
Alexandre Aubin
3f892c7f02
Merge pull request #1205 from YunoHost/backup-create-dry-run
...
Add a --dry-run option to backup_create to fetch an estimate of the backup size
2021-04-17 01:56:20 +02:00
Alexandre Aubin
e2ca2bf9aa
Merge pull request #606 from YunoHost/sftp_permission
...
Add SFTP / SSH permissions
2021-04-17 01:56:09 +02:00
Alexandre Aubin
daa0c95015
More stupid trick to dump what's wrong with php7.3-fpm during tests...
2021-04-17 01:18:23 +02:00
Alexandre Aubin
16e20fed77
Don't re-run migration if backup is from the same version (mainly to avoid weird stuff during tests)
2021-04-17 01:10:58 +02:00
Alexandre Aubin
3b35f61028
Fix DepreciationWarning
2021-04-17 01:00:28 +02:00
Alexandre Aubin
72e4a584ed
Be more robust against re-running the migration
2021-04-17 00:58:12 +02:00
Alexandre Aubin
6e4f1fa42e
Stupid tmp fix to try to track why the tests are failing
2021-04-17 00:49:17 +02:00
Alexandre Aubin
aae7c6e296
Unused imports
2021-04-16 22:34:39 +02:00
Alexandre Aubin
c53f5ac16a
Report an error in the diagnosis and migration if sshd config is insecure
2021-04-16 22:05:36 +02:00
Alexandre Aubin
4a0b343e5e
Fix/update migration script, handle applying the new migration during restore
2021-04-16 22:01:22 +02:00
Alexandre Aubin
eadca492f8
Merge branch 'dev' into sftp_permission
2021-04-16 17:55:54 +02:00