Commit graph

875 commits

Author SHA1 Message Date
ljf
79126809eb [enh] Bind function for hotspot 2021-09-23 18:39:36 +02:00
Alexandre Aubin
e7844ef09e
Simplify YNH_APP_BASEDIR definition
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-19 20:46:32 +02:00
Alexandre Aubin
991eea447c
[fix] YNH_APP_BASEDIR may not exist, set -eu etc 2021-09-17 22:23:08 +02:00
Kay0u
c20ac160cc
do not use ynh_print_warn here 2021-09-17 18:49:33 +02:00
Kay0u
efdd287bff
define a default YNH_APP_BASEDIR 2021-09-17 18:47:47 +02:00
Kay0u
ddd522ac54
add YNH_APP_BASEDIR in the env var 2021-09-17 18:24:50 +02:00
ljf
a0ee39a038 Merge branch 'dev' of github.com:YunoHost/yunohost into dev 2021-09-17 03:15:06 +02:00
ljf
4a1d6f2257 [fix] Small fixes about file questions in config panel 2021-09-17 03:15:01 +02:00
Alexandre Aubin
88da178cb7 Fix tests: unbound variable during backup/restore 2021-09-16 20:56:06 +02:00
Alexandre Aubin
2181bc1bab log: Improve filtering of boring/irrelevant lines 2021-09-16 20:34:24 +02:00
Alexandre Aubin
47db3e798e config helpers: Disable bash xtrace during ynh_read/write_var_from_file to avoid an horrendous amount of debug logs 2021-09-16 18:52:21 +02:00
Kay0u
eb5cb1311e
fix YNH_APP_BASEDIR during actions 2021-09-14 18:55:27 +02:00
Alexandre Aubin
968cac32d1
new config helpers: use $() instead of backticks
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-13 01:55:57 +02:00
Kayou
6d1e392634
Update data/helpers.d/config 2021-09-09 10:50:49 +02:00
ljf (zamentur)
924df9733e
[enh] Use named args in helpers calls
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 16:49:42 +02:00
ljf (zamentur)
f2b779c962
[enh] Use named args in helpers calls
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:45:39 +02:00
ljf (zamentur)
b487fbbe00
[enh] Use named args in helpers calls
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:45:24 +02:00
ljf (zamentur)
a205015f0d
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:44:47 +02:00
ljf (zamentur)
d360363251
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:44:35 +02:00
ljf (zamentur)
62875c30da
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:43:59 +02:00
ljf (zamentur)
df20a54013
[enh] Avoid bad deletion
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:43:50 +02:00
ljf (zamentur)
33505bff5f
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:43:15 +02:00
ljf (zamentur)
8efbc736d4
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:42:56 +02:00
ljf (zamentur)
85b7239a4b
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
2021-09-08 15:42:45 +02:00
Alexandre Aubin
050185a0c2 config panel: fix file type returning weird value 2021-09-06 21:32:52 +02:00
ljf
f2d0732825 [fix] Missing call to --after args 2021-09-06 04:28:30 +02:00
ljf
60c2e146a1 Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-06 04:21:46 +02:00
ljf
060d5b6dc5 [fix] ynh_write_var_in_file and after option 2021-09-06 04:20:35 +02:00
Alexandre Aubin
0789eca4e0 config: Tweak logic to return a validation error when custom validation fails 2021-09-06 02:10:45 +02:00
Alexandre Aubin
e60804a69f config helpers: misc syntax issues 2021-09-06 02:07:56 +02:00
ljf
4a3d6e53c6 [fix] ynh_read_var_in_file with ini file 2021-09-06 00:58:46 +02:00
Alexandre Aubin
552db2e21d config helpers: misc style + check if file exists 2021-09-06 00:01:14 +02:00
Alexandre Aubin
74714d0a62 config panels: bind='' -> bind='null' 2021-09-05 23:59:41 +02:00
Alexandre Aubin
c55b96b94b config panel: rename source into bind 2021-09-05 23:08:48 +02:00
Alexandre Aubin
ee55b9bf42 config helpers: Semantics / comments on the validation-apply workflow 2021-09-05 19:15:52 +02:00
ljf
1207b54de6 [fix] ynh_read_var_in_file with endline 2021-09-05 16:08:23 +02:00
Alexandre Aubin
3163179464 config helpers: get_var / set_var -> read/write_var_in_file 2021-09-03 17:13:31 +02:00
ljf
b28cf8cbce [enh] Prepare config panel for domain 2021-09-03 14:26:34 +02:00
ljf
c5885000ec [enh] Better upgrade management 2021-09-02 19:46:33 +02:00
ljf
ea2026a029 (enh] Config panel helpers wording 2021-09-02 17:15:38 +02:00
ljf
60564d55c8 (enh] Config panel helpers wording 2021-09-02 17:14:27 +02:00
ljf
7d26b1477f [enh] Some refactoring for config panel 2021-09-02 02:27:22 +02:00
ljf
bb11b5dcac [enh] Be able to delete source file 2021-08-31 04:20:21 +02:00
ljf
969564eec6 [fix] simple/double quotes into source 2021-08-30 19:41:07 +02:00
ljf
8e2cf58862 Merge branch 'dev' into enh-config-panel-file 2021-08-30 13:21:53 +02:00
ljf
f1e5309d40 Multiline, file, tags management + prefilled cli 2021-08-30 13:14:17 +02:00
ljf
b0f6a07372 [fix] Source getter for config panel 2021-08-27 01:05:20 +02:00
ljf
4547a6ec07 [fix] Multiple fixes in config panel 2021-08-25 18:13:17 +02:00
ljf
0de69104b1 [fix] Bad merge 2021-08-24 16:06:46 +02:00
ljf
8cbe884609 Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-08-21 08:59:41 +02:00