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
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
Alexandre Aubin
c7c1eaca4e
Mysql is a fucking joke (... trying to fix the mysql issue on RPi ...)
2021-02-21 05:04:06 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests
2021-02-02 16:16:07 +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
yunohost-bot
c4439110e1
[CI] Format code
2021-02-02 03:37:40 +00:00
Alexandre Aubin
536fd9be9e
diagnosis: Ignore /dev/loop devices in systemresources
2021-02-02 04:13:42 +01:00
Alexandre Aubin
4b876ff07f
Handle case where DKIM record is split into several pieces
2021-02-02 04:13:42 +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
2758c1636b
Merge branch 'dev' into report_low_total_space_for_rootfs
2021-01-31 14:38:34 +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
8b3ec8a137
Diagnosis: report low total space for rootfs
2021-01-21 20:34:43 +01:00
Alexandre Aubin
21a0c65ed6
diagnosis: Ignore /dev/loop devices in systemresources
2021-01-21 20:03:59 +01:00
Alexandre Aubin
c8a23f26bb
Handle case where DKIM record is split into several pieces
2021-01-21 16:25:58 +01:00
Alexandre Aubin
b98dd8585b
Merge pull request #1116 from YunoHost/enh-python3
...
Python2 -> Python3
2021-01-19 23:06:57 +01:00