Commit graph

2018 commits

Author SHA1 Message Date
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
Alexandre Aubin
86f22d1b46 Fix warning when there's no patches folder 2021-04-05 18:39:08 +02:00
Alexandre Aubin
42f8c9dcc1 Fix ynh_requirement parsing 2021-04-05 18:35:42 +02:00
Alexandre Aubin
4607d57512
Merge pull request #1188 from YunoHost/sane-default-permission-for-files
Sane default permissions for files added using ynh_add_config and ynh_setup_source
2021-04-05 18:09:58 +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
4acfbdeade Fix oopsies, fix and add test for ynh_setup_source with patch 2021-04-01 18:26:18 +02:00
Alexandre Aubin
45b55d1050
Add --keep to ynh_setup_source to keep files that may be overwritten during upgrade (#1200) 2021-03-31 17:41:20 +02:00
Alexandre Aubin
514112a538 Misc permission tweak, set everything as owned by root by default 2021-03-25 16:03:18 +01:00
Alexandre Aubin
e27ac6ff2c Rely on YNH_APP_BASEDIR to check the sources/ dir 2021-03-24 20:28:42 +01:00
Alexandre Aubin
d98ec6ce35 Download ynh_setup_source stuff to /var/cache/yunohost/download 2021-03-24 20:28:42 +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
Alexandre Aubin
f84b6535f3
Merge pull request #1167 from Salamandar/fix_helper_doc
helper doc : Fix all doc (mostly)
2021-03-17 15:41:26 +01:00
Kay0u
dc6033c399
python3 way to get a list of dict keys 2021-03-15 14:10:13 +01:00
Alexandre Aubin
07f8d6d7af
ynh_clean_check_starting: Let's not trigger an error when vars aren't set 2021-03-14 18:47:33 +01:00
Alexandre Aubin
ac26925b91 Sane default permissions for files added using ynh_add_config and ynh_setup_source 2021-03-13 00:18:17 +01:00
Alexandre Aubin
ce04570bfd helpers: Simplify manifest path / parsing 2021-03-12 23:18:25 +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
b85d959d7e ynh_install_n: No need to mkdir ../conf 2021-03-08 20:56:32 +01:00
Éric Gaspar
ad602ee0a1
Upgrade n (#1178)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-08 20:55:45 +01:00
Alexandre Aubin
db93b82b23 ynh_setup_source: add a check that we could actually parse SOURCE_URL 2021-03-08 18:41:54 +01:00
Alexandre Aubin
9e7eda681b ynh_install_n: put the source descriptor file in the appropriate dir during backup/restore 2021-03-08 18:37:53 +01:00
Kay0u
5539751ca4
fix others_var 2021-03-08 17:38:10 +01:00
72da2ad8e3 helper doc fixes : utils 2021-03-03 11:17:59 +01:00
3699648265 helper doc fixes : user 2021-03-03 11:17:59 +01:00
f0d7eba64a helper doc fixes : systemd 2021-03-03 11:17:59 +01:00
d7fc5d31ec helper doc fixes : string 2021-03-03 11:17:59 +01:00
305a70a8d5 helper doc fixes : setting 2021-03-03 11:17:59 +01:00
dc27fd3ec3 helper doc fixes : postgresql 2021-03-03 11:17:59 +01:00
706dbe723e helper doc fixes : php 2021-03-03 11:17:59 +01:00
3844b48962 helper doc fixes : nodejs 2021-03-03 11:17:59 +01:00
52cc5949da helper doc fixes : nginx 2021-03-03 11:17:59 +01:00
94097d1153 helper doc fixes : network 2021-03-03 11:17:59 +01:00
75539472ea helper doc fixes : mysql 2021-03-03 11:17:59 +01:00
27caab7234 helper doc fixes : multimedia 2021-03-03 11:17:59 +01:00
0dde41fe4a helper doc fixes : logrotate 2021-03-03 11:17:59 +01:00
33f8337f11 helper doc fixes : logging 2021-03-03 11:17:59 +01:00