Commit graph

1054 commits

Author SHA1 Message Date
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
Alexandre Aubin
920edf8896
Merge pull request #640 from rds13/featureCipherStrategy
[enh] use setting security_ciphers_compatibility to define security configu…
2019-03-25 14:34:01 +01:00
Maniack Crudelis
ebaa16da3d
Merge pull request #683 from YunoHost/fix_getopts
Escape $ in getopts
2019-03-25 13:51:20 +01:00
Alexandre Aubin
dbafa47f88
Merge branch 'stretch-unstable' into featureCipherStrategy 2019-03-23 18:19:04 +01:00
Romuald du Song
cd9fcd265d fix conflict 2019-03-23 16:54:47 +01:00
Romuald du Song
a86c379233 fix syntax in nodejs helper 2019-03-23 16:46:40 +01:00
Alexandre Aubin
fefa44e062 Typo in previous commits 2019-03-22 17:14:48 +01:00
Alexandre Aubin
dcff10f6f8 Simplify setting usage in regenconf hooks 2019-03-22 16:31:45 +01:00
ljf (zamentur)
c8d8e0e272
[fix] Avoid potential conflict with some apps 2019-03-22 16:30:02 +01:00
ljf (zamentur)
2defd6ffa8
[fix] Keep user info in json format
Previously it was ynhpanel.json
2019-03-22 16:20:35 +01:00
Alexandre Aubin
fee79820e0 Rename nginx and ssh compatibility setting for consistency 2019-03-22 16:15:11 +01:00
Maniack Crudelis
da7b74fd22
Merge branch 'stretch-unstable' into php_versions 2019-03-21 19:50:55 +01:00
ljf (zamentur)
73d42fd51a
[enh] Avoid to send simultaneously too much emails 2019-03-19 19:30:30 +01:00
Alexandre Aubin
b99b22bb03 Propagate file renaming for semantic 2019-03-19 01:17:45 +01:00
Alexandre Aubin
3af3c2b779 Directly inject standard css + custom css and js 2019-03-18 19:37:52 +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
Alexandre Aubin
9db615936a
Merge pull request #680 from YunoHost/del_group_and_user
[fix] Delete properly group as well as user
2019-03-14 03:33:11 +01:00
Maniack Crudelis
1507e11e6e
Do not warn if group isn't exist 2019-03-13 19:32:10 +01:00
Alexandre Aubin
a8f88e7232 [yolo] gzip off in global.conf breaks everything because conflict with gzip on; in nginx.conf ... Moving it to server blocs 2019-03-13 19:11:49 +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
Alexandre Aubin
71d6f856ca
Merge pull request #675 from YunoHost/disable-gzip
[fix] Disable gzip entirely
2019-03-13 14:49:41 +01:00
Christophe Vuillot
3550be63f2 Added a python script (yunohost_completion.py) which generates a bash completion file for the yunohost command based on yunohost.yml, in data/actionsmap
Added the output of the script in data/bash-completion.d/yunohost_completion

This is probably not the correct place for the script and the generation should
be done at some other time and place also.
2019-03-11 14:53:40 +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
2818abe500
Update global.conf 2019-03-09 16:45:53 +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
Alexandre Aubin
b782b9c0ed Merge remote-tracking branch 'origin/update-dns-resolver-list' into stretch-unstable 2019-03-04 16:42:31 +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