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
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
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
966cd2ff16
helper doc fixes : hardware
2021-03-03 11:17:59 +01:00
8f294916d9
helper doc fixes : fail2ban
2021-03-03 11:06:54 +01:00
d69f031d8f
helper doc fixes : backup
2021-03-03 11:06:54 +01:00
e6f3adfa08
helper doc fixes : apt
2021-03-03 11:06:51 +01:00
4603697ac5
helper doc fixes : permission
2021-03-03 11:06:43 +01:00
Alexandre Aubin
9b13c95f77
Re-add --others_var in fail2ban and systemd helpers for backward compatibility...
2021-03-02 19:54:24 +01:00
Alexandre Aubin
6ce02270ae
Gotta escape \ during ynh_replace_vars
2021-03-02 02:02:10 +01:00
Kay0u
05969184fe
fix ynh_systemd_action in case of service fails
2021-03-02 02:02:10 +01:00
Alexandre Aubin
d12f403fe3
Fix permission helper doc format
2021-03-02 02:02:10 +01:00
yalh76
2402a1db39
Fixing ___APP__
2021-03-02 02:02:09 +01:00
yalh76
9bbc3b72ae
Make grep lazy
2021-03-02 02:02:09 +01:00
yalh76
2728801d17
Force destination to be replaced
2021-03-02 02:02:08 +01:00
Alexandre Aubin
a43cd72c72
Fix ynh_replace_vars again, mystical bash is mystic...
2021-03-02 02:00:45 +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