Commit graph

611 commits

Author SHA1 Message Date
Alexandre Aubin
2426a786c3
Merge branch 'stretch-unstable' into use_ynh_systemd_action 2019-04-25 13:48:43 +02:00
Alexandre Aubin
fdcf934638
Merge pull request #712 from YunoHost/use_printers
Use printers in helpers
2019-04-25 13:47:18 +02:00
Alexandre Aubin
1cefbcca34
Merge pull request #713 from yalh76/stretch-unstable
Force disconnection of all clients connected to the database
2019-04-25 13:47:01 +02:00
Alexandre Aubin
c55afa44ac
Merge pull request #715 from YunoHost/expected_progression
[enh] Add the current work to the progression bar
2019-04-25 13:46:48 +02:00
Alexandre Aubin
96150455b9
Merge pull request #703 from YunoHost/ynh_setup_source-restore_support
Add support in restore script of ynh_setup_source
2019-04-22 14:39:41 +02:00
Alexandre Aubin
dc19e579ff
Add comment explaining the mystic incantation 2019-04-22 14:31:38 +02:00
Maniack Crudelis
d11d31dbf2
Fix ynh_use_logrotate with getopts
$1 contains --logfile=

Merged as a micro decision.
2019-04-22 00:27:01 +02:00
Maniack Crudelis
4ed252e894
Fix behavior with --last 2019-04-17 20:37:19 +02:00
Maniack Crudelis
fc9ad45bee
[enh] Add the current work to the progression bar 2019-04-17 20:24:38 +02:00
ljf (zamentur)
251a338f93
[fix] ynh_psql_remove_db fail 2019-04-17 15:02:59 +02:00
Alexandre Aubin
955f8c1605
Merge branch 'stretch-unstable' into use_printers 2019-04-16 17:01:16 +02:00
yalh76
06a066fe17 Force disconnection of all clients connected to the database 2019-04-15 14:18:04 +02:00
Maniack Crudelis
30c776702f Use printers in helpers 2019-04-13 18:21:15 +02:00
Maniack Crudelis
ebb32f0d9c Use ynh_systemd_action 2019-04-13 17:42:47 +02:00
Maniack Crudelis
1220a366ce
Add a comment about --time argument 2019-04-13 17:28:40 +02:00
Maniack Crudelis
2dd48e2e7e
[fix] Fix extraction of weight value for ynh_script_progression 2019-04-13 17:12:12 +02:00
Maniack Crudelis
ec48edfef8
[fix] No fucking uppercase !
Uppercase variables are for environment variables.
Fix line 80: SRC_PATH: unbound variable
2019-04-13 10:44:48 +02:00
Maniack Crudelis
55f8ffb2c9
[enh] Double brackets not needed 2019-04-09 19:13:14 +02:00
Maniack Crudelis
e9aed65b0c
[Fix] src_id doesn't exist 2019-04-09 19:12:05 +02:00
Alexandre Aubin
a9761d356b Update script to automatically generate helper documentation 2019-04-08 18:59:04 +02:00
Josue-T
214d1ce8fc
Add support in restore script of ynh_setup_source
Actually the path to the app.src file in the helper ynh_setup_source work only in install and upgrade script.
Add the support for restore script.
2019-04-07 11:27:38 +02:00
yalh76
1f1173ad0c
Use YNH_APP_INSTANCE_NAME instead of YNH_APP_ID
when using YNH_APP_ID, if you install two time the same application, when removing one of them, nodejs is uninstalled
2019-04-03 13:46:37 +02:00
Maniack Crudelis
92b5777aff
Fix missing legacy_args
Merged as a micro decision
2019-04-02 12:36:17 +02:00
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
650232b1c3
Merge branch 'stretch-unstable' into group_permission 2019-03-05 02:59:05 +01:00
Alexandre Aubin
e3dfd63481
Replace hard-corded value with constant defined above 2019-03-04 22:54:02 +01:00