Commit graph

384 commits

Author SHA1 Message Date
Maniack Crudelis
0c67559c43
Fix missing legacy_args
Merged as a micro decision
2019-04-02 12:33:49 +02:00
Maniack Crudelis
26e77b77ff
Force stdout to stderr in ynh_debug
Merge as a micro decision.
2019-04-01 21:24:15 +02:00
Alexandre Aubin
8571ad874f
Merge pull request #685 from randomstuff/shell_escape
Avoid having to shell-escape arguments in ynh_handle_getopts_args
2019-04-01 16:02:11 +02:00
Maniack Crudelis
8b8df94bef
Keep useful comments...
We still use eval, comment about its usage is still relevant...
2019-03-28 19:37:23 +01:00
Alexandre Aubin
f5f2a18ec3
Merge pull request #674 from YunoHost/php_versions
[enh] Support php versions in ynh_add_fpm_config
2019-03-28 01:40:21 +01:00
Gabriel Corona
84c66990c3 Avoid having to shell-escape arguments in ynh_handle_getopts_args
Fixes $ ` and \ injections.
2019-03-25 19:09:00 +01:00
Maniack Crudelis
ebaa16da3d
Merge pull request #683 from YunoHost/fix_getopts
Escape $ in getopts
2019-03-25 13:51:20 +01:00
Maniack Crudelis
da7b74fd22
Merge branch 'stretch-unstable' into php_versions 2019-03-21 19:50:55 +01:00
Maniack Crudelis
18e7be1bc1
Update psql 2019-03-18 07:57:28 +01:00
Maniack Crudelis
e8da94ddf0
Merge branch 'stretch-unstable' into helpers_min_version 2019-03-18 07:56:12 +01:00
Maniack Crudelis
f71117b401
Support yunohost-api.log 2019-03-17 23:30:57 +01:00
Maniack Crudelis
c21a455909
Dump ynh log if an app script fails 2019-03-17 22:23:16 +01:00
Maniack Crudelis
652edc204c
Syntax fix 2019-03-16 16:53:07 +01:00
Maniack Crudelis
ad748a75f6
eval is useful and working before being evil... 2019-03-16 16:15:54 +01:00
Maniack Crudelis
23d7a0005d
Escape $ in getopts 2019-03-16 16:05:32 +01:00
Alexandre Aubin
0a51dcca0b
Merge pull request #681 from YunoHost/reload-or-restart
[enh] reload-or-restart instead of reload
2019-03-14 03:33:24 +01:00
Maniack Crudelis
1507e11e6e
Do not warn if group isn't exist 2019-03-13 19:32:10 +01:00
Maniack Crudelis
ab574bb218
[enh] reload-or-restart instead of reload 2019-03-13 18:57:27 +01:00
Maniack Crudelis
485cb4b5c7
[fix] Delete properly group as well as user 2019-03-13 18:42:07 +01:00
Maniack Crudelis
945912cc98
[fix] ynh_app_setting_get and ynh_app_setting_delete don't have a fourth argument. 2019-03-10 13:22:07 +01:00
Alexandre Aubin
2d086c400e
Merge pull request #657 from kay0u/patch-2
[enh] Update psql helper
2019-03-09 15:34:52 +01:00
Alexandre Aubin
696d15789d
Merge pull request #663 from YunoHost/optimize-app-setting-helpers
[enh] Optimize app setting helpers
2019-03-09 15:34:43 +01:00
Alexandre Aubin
a0986f2377
Merge pull request #633 from YunoHost/add_ynh_systemd_action
[enh] Add ynh_systemd_action helper
2019-03-09 15:34:33 +01:00
Maniack Crudelis
ea8605db5c
[enh] Support php versions in ynh_add_fpm_config 2019-03-08 23:32:23 +01:00
Kayou
f1e097a5bd
Fix tab 2019-03-07 11:25:32 +01:00
Alexandre Aubin
e3dfd63481
Replace hard-corded value with constant defined above 2019-03-04 22:54:02 +01:00
Maniack Crudelis
08e51f2680
Do not show errors about log not existing yet. 2019-03-03 18:58:38 +01:00
Maniack Crudelis
337a065b4a
Print progression only after 3s 2019-03-03 18:57:41 +01:00
Maniack Crudelis
58af343a84
Add warning about exec_* printers 2019-03-03 17:25:07 +01:00
Maniack Crudelis
12c61eeb65
Use printers 2019-03-03 16:38:54 +01:00
Alexandre Aubin
078b9b90bc
Drunk commits were made >.> 2019-03-03 00:50:36 +01:00
Alexandre Aubin
4a8563ed9e
Clarify the if case for 'get' 2019-03-01 01:43:16 +01:00
Maniack Crudelis
f51101152a
Missing } 2019-02-26 15:37:50 +01:00
Maniack Crudelis
b3edc2a63c
Fix ynh_add_fail2ban_config legacy mode
Merged as a micro decision
Fix https://github.com/YunoHost/issues/issues/1313
2019-02-26 01:59:03 +01:00
Alexandre Aubin
ac6f24671c In case no file in dir, still an empty string will be read, which matches [[:digit:]]* (but won't with +) 2019-02-26 00:59:31 +01:00
Alexandre Aubin
990eeb76e1 Missing space breaks bash parsing of the whole file 2019-02-26 00:40:16 +01:00
Maniack Crudelis
873bf4ae37 Add min version for all helpers 2019-02-25 18:44:21 +01:00
Alexandre Aubin
fa4023283b
Merge pull request #660 from yalh76/patch-1
[enh] Add the arch argument to ynh_install_nodejs
2019-02-25 00:52:08 +01:00
Alexandre Aubin
ec72a8d632
Merge pull request #648 from YunoHost/diff_backup_file
[enh] Print diff of files when backup by ynh_backup_if_checksum_is_different
2019-02-25 00:49:31 +01:00
Alexandre Aubin
f17f51f3f6 Add ynh_app_setting helper to optimize app setting interface 2019-02-24 03:32:14 +01:00
yalh76
dd28717308
Fix $uname 2019-02-23 01:23:02 +01:00
yalh76
81178e0841
remove arguments
and let ynh_install_nodejs manage the issue
2019-02-22 17:55:42 +01:00
Maniack Crudelis
0a84e2f226
Default value for $arch 2019-02-22 15:38:04 +01:00
yalh76
7342f894e5
add the arch argument to ynh_install_nodejs
CF https://github.com/YunoHost/issues/issues/1311#issuecomment-466379366
2019-02-22 14:28:08 +01:00
Alexandre Aubin
9cb71e61f4
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-22 12:38:43 +01:00
Kayou
abc091911c
User ynh_replace_string, add postgresql in the admin panel 2019-02-22 01:13:23 +01:00
Kayou
d7f3815183
For your eyes 2019-02-22 00:58:12 +01:00
Alexandre Aubin
fdbffe9590
Merge pull request #643 from YunoHost/get-rid-of-frontend-warnings
[fix] Get rid of annoying 'unable to initialize frontend' messages
2019-02-21 14:32:34 +01:00
Kayou
c24d45beff
remove false promises 2019-02-21 01:39:15 +01:00
Kayou
49ec93a9c5
default argument for a optional argument 2019-02-21 01:31:31 +01:00