Commit graph

338 commits

Author SHA1 Message Date
tituspijean
99aacd8b51 Do not rely on Moulinette, integration with Yunohost of mDNS broadcast 2021-07-11 14:24:50 +00:00
Alexandre Aubin
d4b69527e7
Merge pull request #1235 from YunoHost-Apps/typos
Yunohost -> YunoHost
2021-05-26 16:48:56 +02:00
Alexandre Aubin
806b7acfb3 nscd -i won't work in chroot ... also 'groups' was a typo, actual name is 'group' 2021-05-24 22:10:56 +02:00
ericgaspar
fc02caea2e
Yunohost -> YunoHost 2021-05-24 18:02:13 +02:00
Alexandre Aubin
74054f721a Manually create /home/admin with cp and chown instead of relying on mkhomedir_helper, to cover running the procedure in a chroot 2021-05-24 16:05:45 +02:00
Alexandre Aubin
9574fd4777 Gotta restart slapd first to prevent admin user not being known when initializing home 2021-05-24 00:20:53 +02:00
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
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
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
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
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
7efc6dcd07 Handle the dyndns cron from the regenconf 2021-02-25 23:59:17 +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
Alexandre Aubin
c7c1eaca4e Mysql is a fucking joke (... trying to fix the mysql issue on RPi ...) 2021-02-21 05:04:06 +01:00
Kayou
ce1045a26a
fix the postinstall with double quotes 2021-02-02 11:10:52 +01:00
Alexandre Aubin
6500ac01ae Make sure that dir exists :/ 2021-02-02 05:55:19 +01:00
Alexandre Aubin
071d8c4cbe Misc fixes for cert / local CA management 2021-01-31 18:15:51 +01:00
Alexandre Aubin
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall 2021-01-31 16:21:23 +01:00
Alexandre Aubin
3c0649f1e3
Merge branch 'dev' into folder-init-in-regenconf 2021-01-31 16:19:03 +01:00
Alexandre Aubin
68e24c986a
Merge pull request #1062 from YunoHost/move-local-ca-mangement-to-regenconf
Refactor local CA management for more consistency and simpler postinstall
2021-01-31 16:17:20 +01:00
Alexandre Aubin
46138e9e73 We need that file for the first domain_add during postinstall 2021-01-23 01:27:14 +01:00
Alexandre Aubin
ed35915e7f Move ldap initialization before the postinstall 2021-01-23 00:03:25 +01:00
Alexandre Aubin
f755259790 Initialize folders during .deb install instead of regen conf 2021-01-23 00:01:26 +01:00
Alexandre Aubin
25f2bdf83a Refactor local CA management for more consistency and simpler postinstall 2021-01-22 23:58:12 +01:00
Alexandre Aubin
148bfdac0d Also ban bind9 2021-01-21 23:59:22 +01:00
Alexandre Aubin
3e290d5c37 Prevent the installation of apache2 ... 2021-01-21 23:55:37 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
a665c702d0 Annnd of course we have references to python2 in bash stuff and other misc scripts 2021-01-10 02:07:24 +01:00
Alexandre Aubin
b25cde0b67
[fix] Make sure relay_user var exists in all cases (otherwise in the jinja template later, relay_user != "" is True if the var doesn't exists...) 2021-01-08 15:57:41 +01:00