Commit graph

61 commits

Author SHA1 Message Date
axolotle
bee218e560 fix configpanel.py and form.py imports 2023-04-04 16:05:36 +02:00
Alexandre Aubin
4dee434e71 domains: add missing logic to inject translated 'help' keys in config panel like we do for global settings 2023-02-05 18:31:36 +01:00
Alexandre Aubin
ba4f192557 maintenance: new year, update copyright header 2023-02-02 23:51:14 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
Alexandre Aubin
4d211335ed
Merge branch 'dev' into dev_on_muc 2022-12-04 18:36:25 +01:00
Alexandre Aubin
9ac7c32393
Merge pull request #1541 from YunoHost/disable-unecessary-domain-features
domains: propagate mail/xmpp enable/disable toggle to actual system configs
2022-12-03 12:38:21 +01:00
yunohost-bot
36d2456a87 [CI] Format code with Black 2022-12-01 21:18:47 +00:00
Alexandre Aubin
0f9d938853
groups: add mail-aliases management (#1539) 2022-12-01 21:34:36 +01:00
Alexandre Aubin
30a18a4ec0 domains: propagate mail/xmpp enable/disable toggle to actual system configurations 2022-11-27 15:51:20 +01:00
Alexandre Aubin
a5a2a15351 Merge branch 'dev_on_muc' of github.com:larchange/yunohost into larchange-dev_on_muc 2022-11-27 03:02:42 +01:00
Alexandre Aubin
867632d355 domains: propagate mail/xmpp enable/disable toggle to actual system configurations 2022-11-27 02:54:35 +01:00
yunohost-bot
a2f82aba12 [CI] Format code with Black 2022-10-27 16:00:06 +00:00
Félix Piédallu
f952c4bcf7 domain_info: Some apps don't have path (non-web apps like synapse/borg), it triggers a KeyError. 2022-10-26 20:45:49 +02:00
yunohost-bot
7c05df05b7 [CI] Format code with Black 2022-10-24 16:59:10 +00:00
Alexandre Aubin
aaa3a901d0 domain: don't assert domain exists in _get_parent_domain_of 2022-10-10 16:47:45 +02:00
Alexandre Aubin
bd7081baf2 maintenance: cleanup .py file headers + automate boring copyright headers... 2022-10-09 18:38:34 +02:00
Alexandre Aubin
f03b992c6a Friskies 2022-10-09 18:03:18 +02:00
Alexandre Aubin
a355f48580 domains: simplify domain config panel cert section 2022-10-08 19:21:36 +02:00
Alexandre Aubin
43b7a1a9a0
Merge pull request #1514 from YunoHost/get-parent
call _get_parent_domain_of to ensure getting any level parent
2022-10-07 17:03:18 +02:00
axolotle
5cfbcd4c49 domaindns: update _get_parent_domain_of defaults and calls to 2022-10-07 18:08:25 +02:00
Alexandre Aubin
ef742124ea
Merge pull request #1434 from YunoHost/enh-domains
Ability to "list" domain as a tree structure, + add a new domain_info endpoint
2022-10-07 15:25:51 +02:00
Alexandre Aubin
b30962a44f domain_info: add 'topest_parent' info + fix small bug with return_self option for _get_parent_domain_of 2022-10-07 15:07:48 +02:00
Alexandre Aubin
73a7f93740 domains: make the domain cache expire after 15 seconds to prevent inconsistencies between CLI and API 2022-10-07 14:19:15 +02:00
Alexandre Aubin
23b83b5ef7 Unused import 2022-10-07 13:59:54 +02:00
Alexandre Aubin
96233ea600 Rework domain_info 2022-10-05 15:07:03 +02:00
axolotle
81b90d79cb remove previous _get_parent_domain_of() 2022-10-05 16:14:07 +02:00
axolotle
7b7c5f0b13 changed cert acme status to a string to add 'unknown' status (when not diagnosed) 2022-10-05 16:14:07 +02:00
axolotle
d848837bc6 add new domain_info() command to get a domain's dns, certs and apps infos 2022-10-05 16:14:07 +02:00
axolotle
77471c4140 add tree option on domain_list() 2022-10-05 16:14:07 +02:00
axolotle
6001b0f7af rework domains cache logic 2022-10-05 16:14:07 +02:00
Alexandre Aubin
e2838455e0 Moar i18n friskies 2022-10-05 14:18:21 +02:00
Alexandre Aubin
d1d203726b Merge remote-tracking branch 'origin/enh-actions' into 11.1 2022-10-04 22:33:28 +02:00
Alexandre Aubin
1c06fd5017 configpanels: i18n for domain cert config panel 2022-10-04 17:29:54 +02:00
Alexandre Aubin
85b6d8554d Fix i18n issues / also we don't need operation logger for domain_action_run, already handled in subcalls 2022-10-04 13:04:30 +02:00
Alexandre Aubin
0dc08c8f8c Apply suggestions from code review
Co-authored-by: Axolotle <nchesnais@mailoo.org>
2022-09-30 15:03:03 +02:00
Alexandre Aubin
40ad8ce25e configpanel: Implement 'hidden' domain_action_run route 2022-09-30 15:03:03 +02:00
Alexandre Aubin
47543b19b7 configpanels: Iterating on action POC to create a certificat section in domain config panels 2022-09-30 15:03:03 +02:00
Alexandre Aubin
38234c9501
Merge branch 'dev' into enh-global-settings-configpanel 2022-09-03 22:33:46 +02:00
Alexandre Aubin
efe0e60182 [fix] defaultapp: domain may not exist in app_map dict output 2022-08-28 17:25:31 +02:00
Alexandre Aubin
76238db4bb config_settings.toml -> config_global.toml 2022-08-04 19:09:47 +02:00
Alexandre Aubin
97e17bbddb
Merge pull request #1424 from YunoHost/ci-format-dev
[CI] Format code with Black
2022-01-29 19:13:33 +01:00
Alexandre Aubin
0a59f86329 configpanel: oopsies, super()._apply() was only called when changing the default app :P 2022-01-29 19:10:28 +01:00
yunohost-bot
e1ffe57282 [CI] Format code with Black 2022-01-29 17:48:05 +00:00
Alexandre Aubin
adb0e67b25 Aaand hasattr not working as expected 2022-01-29 18:28:07 +01:00
Alexandre Aubin
e46fe6b77b Typo: self.hasattr is not a thing /o\ 2022-01-29 18:05:23 +01:00
Alexandre Aubin
7377798385 Revert "Tmp fix to try to debug the CI @_@"
This reverts commit 3ca302b85d.
2022-01-29 17:50:03 +01:00
Alexandre Aubin
74e73c470f Revert "Moar tmp tweaks to try to debug the CI"
This reverts commit 16946372cc.
2022-01-29 17:49:59 +01:00
Alexandre Aubin
bf6252ac1d configpanels: optimize _get_toml for domains to not load the whole DNS section stuff when just getting a simple info from another section 2022-01-29 17:49:45 +01:00
Alexandre Aubin
16946372cc Moar tmp tweaks to try to debug the CI 2022-01-29 17:18:24 +01:00
Alexandre Aubin
3ca302b85d Tmp fix to try to debug the CI @_@ 2022-01-29 16:54:27 +01:00