Commit graph

2782 commits

Author SHA1 Message Date
tituspijean
f14dcec711 Remove mDNS setting
now we use our own setting file, not a system setting
2021-07-11 15:20:35 +00:00
tituspijean
654690b427 Add interfaces selection for mDNS broadcast
- System setting added
- Loop through list of interfaces
2021-07-11 14:17:15 +00:00
Tagada
cc3c9dfcd7
[fix] set .ssh folder permissions to 600
Fix YunoHost/issues#1770
2021-07-10 23:17:58 +02:00
Alexandre Aubin
a2009d6a9a Propagate changes from moulinette : get rid of msettings, and prompt/display are also wrapped in a 'Moulinette' object 2021-07-09 21:49:12 +02:00
Alexandre Aubin
5e2478d309 Propagate change from the moulinette (no more msignals madness) 2021-07-09 20:43:52 +02:00
Le Libre Au Quotidien
75ab54ee14 Improve disk space left verification 2021-07-07 19:36:58 +02:00
Kay0u
96e67ef145
monkey patch get_setting_description 2021-07-06 12:14:46 +02:00
Kay0u
f097f0d224
add user in hook exec again 2021-07-05 16:43:39 +02:00
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
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
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
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
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
ljf
8cf151668f [fix] CI test 2021-05-11 12:08:00 +02:00
Alexandre Aubin
4aaf015428
Also catch tarfile.ReadError as possible archive corruption error 2021-05-09 18:38:17 +02:00
ljf
ad73c29dad [fix] Error in import user tests 2021-05-09 01:08:43 +02:00
ljf
6e880c8219 [fix] Avoid password too small error during import operation 2021-05-09 01:02:51 +02:00
ljf
91e7e5e1c8 [fix] Python3 migration: File args with log 2021-05-08 23:58:36 +02:00
ljf
1d33f333cd [fix] Python3 migration for export user feature 2021-05-08 23:39:33 +02:00
ljf
a78e4c8eac [fix] 1 letter firstname or lastname 2021-05-08 23:31:07 +02:00
ljf
a07314e661 [fix] Download CSV from webadmin - missing commit 2021-05-08 23:31:07 +02:00
ljf
8e2f1c696b [fix] Home not created 2021-05-08 23:31:07 +02:00
ljf
57dcf45a7c [fix] User import unit test 2021-05-08 23:29:52 +02:00
ljf
fd06430e8f [fix] Import user with update mode some unit test 2021-05-08 23:28:49 +02:00
ljf
9e2f4a56f3 [enh] Add export feature and refactor user_list 2021-05-08 23:26:43 +02:00
ljf
3e047c4b94 [fix] CSV import 2021-05-08 23:19:28 +02:00