Alexandre Aubin
c516cc8eb1
Create admin folder directly in slapd init
2021-05-24 00:03:10 +02:00
Alexandre Aubin
8aa911b6e2
Misc renaming/tweaks for more sensible naming
2021-05-23 23:49:36 +02:00
Alexandre Aubin
9dccfa721e
Fix ldap init using slapadd
2021-05-23 23:07:28 +02:00
ljf
8efa4dce6e
[tmp] debug on ci
2021-05-23 22:54:00 +02:00
ljf
d241db4c33
[fix] Be able to init slapd in a chroot
2021-05-21 00:46:31 +02:00
Alexandre Aubin
ee83c3f9ba
Recreate the admins group which for some reason didnt exist on old setups ..
2021-04-28 17:47:22 +02:00
Alexandre Aubin
db3cc62bc7
Add ssh.app, sftp.app groups to cover my_webapp and borg needing ssh access
2021-04-24 17:26:03 +02:00
yunohost-bot
66f2613518
[CI] Format code
2021-04-17 00:31:06 +00:00
Alexandre Aubin
8f3a7067d9
Advertise the new SSH port setting for people that manually modified the SSH port
2021-04-16 22:20:06 +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
eadca492f8
Merge branch 'dev' into sftp_permission
2021-04-16 17:55:54 +02:00
Alexandre Aubin
02a30125b5
service foobar action -> systemctl action foobar
2021-04-15 14:31:33 +02:00
Alexandre Aubin
c3754dd6fa
reload fail2ban instead of restart ... restart is doing some funky stuff ...
2021-04-15 14:27:40 +02:00
Alexandre Aubin
37c0825eed
Also propagate ssh port on fail2ban config
2021-04-15 12:22:21 +02:00
Alexandre Aubin
fc818cc6a7
Merge pull request #1209 from YunoHost/add-ssh-port-setting
...
add ssh port setting
2021-04-15 00:57:07 +02:00
Alexandre Aubin
d1f0064b10
mysql regenconf: Get rid of confusing 'Access denied' message
2021-04-13 14:18:49 +02:00
Kay0u
ee31969be7
add ssh port setting
2021-04-12 18:07:36 +02:00
Alexandre Aubin
64c6d7aa64
Merge tag 'debian/4.2.1' into dev
2021-04-10 01:33:33 +02:00
Alexandre Aubin
fc26837aa7
security: Enforce permissions on /home/ so that they can't sneak in each other home
2021-04-10 01:07:36 +02:00
Alexandre Aubin
aefc100ab4
security: Enforce some permission for regular yunohost users
2021-04-10 01:07:34 +02:00
Alexandre Aubin
e3b90e6bdc
backup: Reorder hook for better readability in webadmin
2021-04-09 20:38:49 +02:00
Alexandre Aubin
82784dc45d
Merge firewall, dkim and dyndns backup hook into ynh_settings
2021-04-05 21:39:49 +02:00
Alexandre Aubin
c089d1bdcd
No need for random service reload/restart, that should be handled by the auto-regenconf of the core after the restore
2021-04-05 21:11:26 +02:00
Alexandre Aubin
93ce917e5e
Backup hooks don't need to be executable
2021-04-05 21:11:26 +02:00
Alexandre Aubin
95ed4d67a0
Also backup Yunohost settings
2021-04-05 21:11:26 +02:00
Alexandre Aubin
9f599fee4c
Re-add the certificate backup/restore hook ...
2021-04-05 21:11:26 +02:00
Alexandre Aubin
956e860ff7
Simplify ldap restore hook
2021-04-05 21:11:26 +02:00
Alexandre Aubin
8c351ad176
Fix data_xmpp backup/restore hook
2021-04-05 21:11:26 +02:00
Alexandre Aubin
5884d51b69
Typo
2021-04-05 21:11:26 +02:00
Alexandre Aubin
2be90e35eb
Backup ssowat/conf.json.persistent
2021-04-05 21:11:26 +02:00
Alexandre Aubin
7e4536752e
Backup xmpp data
2021-04-05 21:11:26 +02:00
Alexandre Aubin
ce2c608253
Do not backup ssh, ssowat, certs, nginx, xmpp confs
2021-04-05 21:11:26 +02:00
Alexandre Aubin
d750b77e46
Add backup/restore hooks for manually modified files
2021-04-05 21:11:26 +02:00
cyxae
30421954a4
Add an option to disable the 'YunoHost' panel overlay in web apps ( #1071 )
...
* Add an option to disable the 'YunoHost' panel overlay in apps
* set default value for overlay as true
* Add a hook to auto-update nginx conf + fix deprecated 'service regen-conf'
* Change name of setting to ssowat.panel_overlay.enabled
* [fix] Duplicate function
* Quote var, just in case the var is empty for some reason
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-04-02 02:21:29 +02:00
Alexandre Aubin
378cf904c8
Merge branch 'dev' into cron-legacy
2021-04-02 00:27:19 +02:00
Alexandre Aubin
37db93b49a
Typo
2021-04-01 23:27:56 +02:00
Alexandre Aubin
f0c4498c80
Merge branch 'dev' into sftp_permission
2021-03-25 14:42:30 +01:00
Alexandre Aubin
87b0b10e0e
Enforce permissions on /var/cache/yunohost
2021-03-24 20:28:42 +01:00
Alexandre Aubin
09d306924a
Fix minor issue with main_space diagnosis: duplicated error/warning, missing / partition when it's on a /dev/loop
2021-03-22 17:46:32 +01:00
Kay0u
dc6033c399
python3 way to get a list of dict keys
2021-03-15 14:10:13 +01:00
Alexandre Aubin
61feb39c96
Merge branch 'hotfixes-4.1.7.4' into dev
2021-03-11 03:10:54 +01:00
Alexandre Aubin
41b5a12393
Enforce permissions for /home/yunohost.backup and .conf
2021-03-11 03:07:16 +01:00
Alexandre Aubin
6f3df383d2
Don't backup/restore crons >_>
2021-03-10 19:06:26 +01:00
Alexandre Aubin
e639c8cd5a
Move applist refresh cron + lets encrypt renewal cron to regen conf
2021-03-10 19:00:24 +01:00
Alexandre Aubin
d763247df4
No need for mysql root password ( #912 )
...
* Get rid of /etc/yunohost/mysql
* Get rid of restore hook for mysql password
* Tab -> spaces
* declare->local lost while merging conflicts etc
* Gotta keep that var
2021-03-01 19:11:41 +01:00
Alexandre Aubin
cc6cc1860a
Do not backup damn cron jobs ... they will automatically be regenerated by the regenconf
2021-02-25 23:59:51 +01:00
Alexandre Aubin
7efc6dcd07
Handle the dyndns cron from the regenconf
2021-02-25 23:59:17 +01:00
Alexandre Aubin
29b511f5e3
Fix multimedia hook if not media directory yet
2021-02-22 23:42:52 +01:00
Alexandre Aubin
1adff77e3a
Add multimedia helpers and hooks
2021-02-22 21:01:23 +01:00
Alexandre Aubin
cd4fdb2b61
Mysql is a fucking joke (... trying to fix the mysql issue on RPi ...)
2021-02-21 05:23:52 +01:00