Commit graph

7081 commits

Author SHA1 Message Date
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
0844c74764 Anotha shruberry² 2021-09-07 23:47:06 +02:00
ljf
b007102842 [fix] Question tests 2021-09-07 20:09:40 +02:00
Alexandre Aubin
6b3af5fa33 Anotha shruberry 2021-09-07 19:39:30 +02:00
Alexandre Aubin
0b8a62c776
Merge branch 'dev' into enh-config-panel-file 2021-09-07 18:34:28 +02:00
Alexandre Aubin
6cfefd4b9a Attempt to fix backup test 2021-09-07 18:31:37 +02:00
Alexandre Aubin
62b56d96d0
Merge pull request #1316 from ericgaspar/add-passwd-to-be-obfuscated
Add passwd to be obfuscated
2021-09-07 10:33:46 +02:00
ericgaspar
1a64a1d39a
Add passwd to be obfuscated 2021-09-07 08:24:03 +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
66fcea72e5 config: Add more tests for regular setting / bind / custom function 2021-09-06 02:10:15 +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
ba6f90d966 YunohostError -> YunohostValidationError for some stuff 2021-09-06 00:15:25 +02:00
Alexandre Aubin
a5bf5246c5 Remove i18n stale strings 2021-09-06 00:02:41 +02:00
Alexandre Aubin
acf4d1c82a i18n: 'danger' key is only defined in yunohost, not moulinette 2021-09-06 00:01:36 +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
4f0df2bcfe Define missing i18n keys 2021-09-05 22:25:06 +02:00
Alexandre Aubin
39006dbf13 tests: dunno what i'm doing but that scope=module is no good 2021-09-05 20:55:17 +02:00
Alexandre Aubin
3936589d3b Yolofactorize install/upgrade/restore error handling into a smart 'hook_exec_with_script_debug_if_failure' 2021-09-05 20:54:51 +02:00
Alexandre Aubin
56f525cf80 Typo 2021-09-05 19:42:46 +02:00
Alexandre Aubin
6f7485bf3e config tests: Add a basic tests for app config panel 2021-09-05 19:31:07 +02:00
Alexandre Aubin
c5de803531 config panels: try to improve the log and error handling: separate ask vs. actual apply 2021-09-05 19:17:17 +02:00
Alexandre Aubin
ee55b9bf42 config helpers: Semantics / comments on the validation-apply workflow 2021-09-05 19:15:52 +02:00
Alexandre Aubin
62eecb28db --mode full/export -> --full / --export 2021-09-05 18:53:39 +02:00
Alexandre Aubin
ba8b1e5b2e
Typo 2021-09-05 18:50:28 +02:00
ljf
6276385120 Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-05 17:46:16 +02:00
ljf
da44224794 [enh] Add warning if bad keys in toml format 2021-09-05 17:46:06 +02:00
Alexandre Aubin
afcf125d12 i18n fix 2021-09-05 17:39:39 +02:00
Alexandre Aubin
2a8e403092 test_parse_args_in_yunohost_format -> test_question 2021-09-05 17:36:33 +02:00
Alexandre Aubin
1b99bb8b0f app_argument_invalid: dunno why name was changed to field but this was breaking i18n consistency 2021-09-05 17:13:04 +02:00
Alexandre Aubin
4332278f07 service test conf: gotta decode the output 2021-09-05 17:13:04 +02:00
ljf
3b0bf74274 [fix] Unbound var in config panel 2021-09-05 16:19:35 +02:00
ljf
0a1e64d88f Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-05 16:08:30 +02:00
ljf
1207b54de6 [fix] ynh_read_var_in_file with endline 2021-09-05 16:08:23 +02:00
Alexandre Aubin
9fbf1a029a Merge branch 'dev' into enh-config-panel-file 2021-09-05 15:39:55 +02:00