Commit graph

806 commits

Author SHA1 Message Date
Alexandre Aubin
8cc229e19b Zblerg propagate changes on tests 2021-09-23 20:05:52 +02:00
Alexandre Aubin
6b8cb0c005 Hmpf refactor moar stuff but does this ever ends 2021-09-23 18:57:01 +02:00
Alexandre Aubin
26a4992961 Refactor _normalize_domain_path into DomainQuestion + PathQuestion normalizers 2021-09-23 05:33:20 +02:00
Alexandre Aubin
430f53aa73 Semantic, simplify code... 2021-09-23 03:39:43 +02:00
Alexandre Aubin
f9b3265f71 Merge branch 'dev' into enh-dns-autoconf 2021-09-19 20:48:09 +02:00
Alexandre Aubin
1f6fb31121
Merge pull request #1328 from YunoHost/add-YNH_APP_BASEDIR-in-the-env-var
add YNH_APP_BASEDIR in the env var
2021-09-19 20:46:38 +02:00
Alexandre Aubin
ae03be3bad i18n tests: simplify hardcoded stuff 2021-09-19 17:10:14 +02:00
Alexandre Aubin
52b3cb5622 app config panel: Add supports_config_panel in app_info for webadmin 2021-09-19 01:57:00 +02:00
Alexandre Aubin
0d881fe008 app.py: No need to define Question.operation_logger anymoar 2021-09-17 19:56:24 +02:00
Kay0u
c1eecd5eb3
moar YNH_APP_BASEDIR 2021-09-17 18:38:00 +02:00
ljf
03e378786a Merge branch 'dev' of github.com:YunoHost/yunohost into dev 2021-09-17 18:32:11 +02:00
ljf
aeed9f897b [fix] Redact password in app install 2021-09-17 18:32:06 +02:00
Kay0u
ddd522ac54
add YNH_APP_BASEDIR in the env var 2021-09-17 18:24:50 +02:00
Kay0u
c53a6006ce
Remove unused import 2021-09-17 14:47:12 +02:00
Alexandre Aubin
12bc94f76e config/question: broadcast data to redact to all OperationLogger instances 2021-09-17 12:55:23 +02:00
yunohost-bot
a631261cff [CI] Format code 2021-09-17 03:33:35 +00:00
Alexandre Aubin
23ab7776ce Merge branch 'dev' into enh-dns-autoconf 2021-09-16 20:57:18 +02:00
Alexandre Aubin
a4526da4f2 install questions: domain/user/password don't need default or example values 2021-09-16 20:12:33 +02:00
Kay0u
acb40424a6
avoid to retrieve final path in the config panel scripts 2021-09-15 16:40:47 +02:00
Kayou
e15763f97b
Update src/yunohost/app.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-09-14 19:11:05 +02:00
Kay0u
0d702ed31c
run actions in tmp dir 2021-09-14 18:57:08 +02:00
Alexandre Aubin
ee2a7347a0 Merge remote-tracking branch 'origin/dev' into enh-dns-autoconf 2021-09-13 02:58:06 +02:00
yunohost-bot
869eb33e04 [CI] Format code 2021-09-13 00:38:23 +00:00
Alexandre Aubin
ba2fc82246 Merge branch 'enh-config-panel-file' into enh-dns-autoconf 2021-09-12 16:04:08 +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
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
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
62eecb28db --mode full/export -> --full / --export 2021-09-05 18:53:39 +02:00
Alexandre Aubin
b06570fb88 Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-04 20:27:36 +02:00
Alexandre Aubin
778c67540c Misc fixes, try to implement locale strings 2021-09-04 20:22:28 +02:00
Alexandre Aubin
c8791a9834 Add config check during service_reload_or_restart 2021-09-04 20:21:57 +02:00
ljf
4c9fcdc9e4 [fix] Get / set app config panel 2021-09-04 20:12:56 +02:00
ljf
9f9dfdbea7 Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-04 19:11:41 +02:00
ljf
b5aca9895d [enh] yes/no args on boolean aquestion + semantic 2021-09-04 19:05:32 +02:00
ljf
97c0a74f8f [enh] yes/no args on boolean aquestion + semantic 2021-09-04 19:03:11 +02:00
Alexandre Aubin
aeeac12309 Flake8 2021-09-04 18:45:45 +02:00
Alexandre Aubin
0a52430186 Black 2021-09-04 18:39:39 +02:00
ljf
0da2f137ca Merge branch 'enh-config-panel-file' into enh-dns-autoconf 2021-09-03 14:36:07 +02:00
ljf
b28cf8cbce [enh] Prepare config panel for domain 2021-09-03 14:26:34 +02:00
ljf (zamentur)
e0fe82f566
[fix] Some service has no test_conf
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-09-02 20:09:41 +02:00
ljf
edef077c74 (enh] Config panel helpers wording 2021-09-02 17:19:30 +02:00
ljf
7d26b1477f [enh] Some refactoring for config panel 2021-09-02 02:27:22 +02:00
Alexandre Aubin
d5b1eecd07 Add a small _assert_domain_exists to avoid always repeating the same code snippet 2021-09-01 17:13:47 +02:00
ljf
6d16e22f87 [enh] VisibleIf on config panel section 2021-08-31 17:45:13 +02:00
ljf
bb11b5dcac [enh] Be able to delete source file 2021-08-31 04:20:21 +02:00
ljf
c20226fc54 [enh] Move prefill feature into moulinette 2021-08-30 19:41:30 +02:00
ljf
8d9f8c7123 [fix] Bad call to Moulinette.interface 2021-08-30 14:04:12 +02:00
ljf
766711069f [fix] Bad call to Moulinette.get 2021-08-30 13:25:32 +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