Commit graph

4018 commits

Author SHA1 Message Date
Alexandre Aubin
b9036abcbc Improve most used password check list 2022-10-09 19:04:58 +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
e64e5b9c14 Big oopsie 2022-10-09 18:02:45 +02:00
Alexandre Aubin
5347c6afeb Merge firstname and lastname info 2022-10-09 17:01:57 +02:00
Alexandre Aubin
a355f48580 domains: simplify domain config panel cert section 2022-10-08 19:21:36 +02:00
Alexandre Aubin
5addb2f68f Implement a new 'virtual global setting' to change root password from webadmin 2022-10-08 18:30:17 +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
Alexandre Aubin
1fe507651b
domain: i18n for config panel section 2022-10-07 17:03:07 +02:00
axolotle
5cfbcd4c49 domaindns: update _get_parent_domain_of defaults and calls to 2022-10-07 18:08:25 +02:00
axolotle
0930548640 add title to DNS registrar section 2022-10-07 18:03:51 +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
435084c20b domain: _get_parent_domain_of call tweaking 2022-10-07 14:48:02 +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
1a543fe416 Fix acme_status / ACME_eligible 2022-10-05 15:35:51 +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
031e7c482e Merge remote-tracking branch 'origin/dev' into 11.1 2022-10-05 14:25:01 +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
fe4f8b4d5e
not foo -> foo is None 2022-10-04 22:27:23 +02:00
Alexandre Aubin
463d76f867 domain/certs: fix bug where a self-signed cert would not get identified as a self-signed cert 2022-10-04 22:21:23 +02:00
Alexandre Aubin
702156554a Add more info during selsigned cert generation error to debug CI 2022-10-04 21:24:51 +02:00
Alexandre Aubin
1c06fd5017 configpanels: i18n for domain cert config panel 2022-10-04 17:29:54 +02:00
axolotle
6295374fdb configpanels: auto add i18n help for an arg if present in locales 2022-10-04 19:27:04 +02:00
axolotle
e4df838d9d cert: raise errors for cert install/renew 2022-10-04 18:12:10 +02:00
Alexandre Aubin
6fe8c1ad8f
Merge pull request #1408 from YunoHost/admins
Drop the 'admin' user, have 'admins' be a group of Yunohost users instead
2022-10-04 16:06:19 +02:00
Alexandre Aubin
35ab8a7c98 Unused imports 2022-10-04 16:05:45 +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
d7067c0b22 Friskies m0ar 2022-10-04 12:38:33 +02:00
Alexandre Aubin
ae73e94c3e Friskies pl0x? 2022-10-04 02:00:40 +02:00
Alexandre Aubin
6512bbf70c Moaaar friskies 2022-10-03 18:03:00 +02:00
Alexandre Aubin
aad576fdd0 mypy won't guess that 'question' does have an 'enabled' attr in that context é_è 2022-10-03 17:12:53 +02:00
Alexandre Aubin
18f64ce80b Moar friskies 2022-10-03 17:03:13 +02:00
axolotle
f1003939a9 configpanel: add 'enabled' prop evaluation for button 2022-10-03 16:13:30 +02:00
axolotle
3d4909bbf5 configpanel: misc fix + add section visible evaluation 2022-10-02 17:10:05 +02:00
axolotle
9a3d65c313 update arg 'time' validation regex to allow 24 hours format 2022-10-01 20:19:51 +02:00
axolotle
35bac35bb0 add readonly prop for config panel arg to display a value 2022-10-01 20:18:32 +02:00
Alexandre Aubin
acb0993bc9 Unhappy linter gods are unhappy 2022-09-30 19:35:15 +02:00
Alexandre Aubin
87447def38 admins/ldapauth: attempt to fix tests, root auth gets broken during slapd restart test 2022-09-30 19:31:04 +02:00
Alexandre Aubin
2199d60732 admins: change migration strategy, recreate 'admin' as a legacy regular user that will be encouraged to manually get rid of 2022-09-30 19:22:29 +02:00
Alexandre Aubin
14fb1cfd8d backup: Try to fix again the infamous issue where from_yunohost_version gets filled with 'BASH_XTRACEFD' 2022-09-30 16:20:52 +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