Commit graph

1950 commits

Author SHA1 Message Date
Alexandre Aubin
72822ce987 Replace #sub_path_only and #root_path_only in the template *before* calling ynh_add_config, otherwise the it ain't in the checksum computation 2021-01-23 04:33:28 +01:00
Alexandre Aubin
c023b177fe Normalize conf template handling for nginx, php-fpm, systemd and fail2ban using ynh_add_config 2021-01-23 04:33:28 +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
75ebadfcff
Merge pull request #1090 from yalh76/composer
[enh] Adding composer helper
2021-01-23 00:13:08 +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
ericgaspar
6e9ab553b8
Add ynh_exec_as to official 2021-01-22 17:08:28 +01:00
Kay0u
0efd830743
fix can ynh-admin vuejs 2021-01-22 14:49:47 +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
1fdccb7c7a Forgot to rename function #oopsies 2021-01-21 23:30:15 +01:00
Alexandre Aubin
c7b55cdfad migrations migrate -> migrations run 2021-01-21 22:30:31 +01:00
Alexandre Aubin
e22168a98d log display -> log show (+ fix API route) 2021-01-21 21:35:37 +01:00
Alexandre Aubin
15e47b2a2b yunohost log share 2021-01-21 21:34:12 +01:00
Alexandre Aubin
fd61900352 Also complain about low rootfs total disk space during postinstall 2021-01-21 20:53:07 +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
Kayou
5c7e503316
Typo 2021-01-19 11:20:07 +01:00
Alexandre Aubin
75193337b1
Merge pull request #1136 from YunoHost/fix-ynh_check_app_version_changed
set ynh_check_app_version_changed as deprecated
2021-01-14 20:25:15 +01:00
Kayou
7f1938df6f
ynh_exec_warn_less dyndns backup 2021-01-14 15:47:10 +01:00
ericgaspar
d5efb06b62
Upgrade n to v7.0.0 2021-01-14 11:21:07 +01:00
Kay0u
090cd0b13a
copy the behavior of the old ynh_check_app_version_changed helper 2021-01-13 11:34:41 +01:00
Kayou
5b1cee4b70
One priority arg is enough 2021-01-13 11:21:41 +01:00
Kay0u
2ace0741c4
set ynh_check_app_version_changed as deprecated 2021-01-12 13:53:38 +01:00
Alexandre Aubin
c56883d027 Gotta explicitly return 0, otherwise the return code of last command is used, which in that case is 1 ... 2021-01-11 14:16:50 +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
Laurent Peuch
74d956f92b [enh] add --force to 'yunohost domain remove --remove-apps' 2021-01-10 01:17:05 +01:00
Alexandre Aubin
30dde208dc Fix ynh_replace_vars in case var is define but empty 2021-01-09 23:57:09 +01:00
Alexandre Aubin
ac4b62cebc Reduce the noise in logs because of ynh_app_setting 2021-01-09 18:16:08 +01:00
Alexandre Aubin
8f1b05f3cf [fix] Prevent info from being redacted (because of foobar_key=) by the logging system 2021-01-09 18:08:23 +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
Alexandre Aubin
35946f42d5
Merge pull request #1117 from YunoHost/new-permissions-helpers
New permissions helpers
2021-01-06 18:16:40 +01:00
Kay0u
4a0526ec91
Add doc 2021-01-06 12:04:09 +01:00
Kay0u
9d79bd8bee
readd comment of aefdd424d8 2021-01-06 01:35:02 +01:00
ljf (zamentur)
bb914db82e [fix] Work around to avoid moulinette bug 2021-01-06 01:17:47 +01:00
cricriiiiii
c2a730f26c user update -p without argument allowed
when not giving an argument (to avoid clear passwords in bash history) to "yunohost user update -p", now you are prompted for a password
2021-01-06 01:17:47 +01:00
Alexandre Aubin
57c302cb63 Merge branch 'dev' into report-backport-in-source-list 2021-01-03 21:20:07 +01:00
Laurent Peuch
865265ea54 [enh] add new option --remove-apps to 'yunohost domain remove' 2021-01-01 21:28:12 +01:00
Laurent Peuch
f2dc7bacd1 [doc] tell users how to get all permissions 2021-01-01 17:28:55 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
86a612fab1 c.f. change in the moulinette regarding call_async_output and the handling of stdinfo ... YNH_STDINFO is now a file descriptor instead of a named pipe 2021-01-01 04:04:56 +01:00
Kay0u
5c17ac5eec
[wip] add legacy permissions management 2020-12-31 18:34:37 +01:00
Kay0u
78751ac655
Move permissions helpers to a new file 2020-12-31 18:33:09 +01:00
Alexandre Aubin
6ea29d8501
Merge pull request #1110 from YunoHost/dont-mess-sury-pinning
Don't mess with Sury's pinning
2020-12-31 16:19:06 +01:00
Laurent Peuch
7e096a8aeb [mod](user_create) only ask for one letter for first/last name 2020-12-30 11:25:54 +01:00
Alexandre Aubin
b685a27481 [yolo] Detect moar hardware name 2020-12-28 22:57:52 +01:00