Commit graph

4152 commits

Author SHA1 Message Date
axolotle
ec5da99a79 form: rework pre + post options validators 2023-10-22 15:07:54 +02:00
axolotle
3943774811 form: add dynamic annotation getters 2023-10-22 15:07:52 +02:00
axolotle
89ae5e654d form: update asking flow, separate form and options 2023-10-22 15:06:51 +02:00
axolotle
f5c56db10e form: use pydantic BaseModel in Options and add some validators 2023-10-22 15:02:10 +02:00
axolotle
5bd8680847 domain:config: restrict portal options to topest domains 2023-10-19 18:39:15 +02:00
axolotle
163dd4d359 domain:config: remove 'portal_logo' for now 2023-10-19 18:28:29 +02:00
axolotle
2b5726f4a8 portal: update settings reading from new config file 2023-10-18 18:36:07 +02:00
axolotle
9d21501648 domain:config: update portal option saving 2023-10-18 18:34:25 +02:00
axolotle
8d366e67b0 app_ssowatconf: generate per domain portal config with available apps 2023-10-18 18:29:55 +02:00
axolotle
c577125363 portal: temp disable 'show_other_domains_apps' settings due to missing domain info in ldap 2023-10-17 14:46:16 +02:00
axolotle
d65cca5ab1 portal: fix decode error 2023-10-17 14:15:59 +02:00
axolotle
089e0001c2 portal: retreive app permissions from ldap 2023-10-17 14:15:22 +02:00
Alexandre Aubin
662998a1ab
Update src/utils/resources.py 2023-10-16 15:49:12 +02:00
tituspijean
23cdf91b01
Restore deleted line 2023-10-15 16:49:55 +02:00
tituspijean
dc362dd636
Revert packages_from_raw_bash test
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-10-15 16:48:59 +02:00
tituspijean
a69b80972e
Improve support for packages_from_raw_bash
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-10-15 16:46:24 +02:00
tituspijean
96e99459e6
Support packages_from_raw_bash in extra packages 2023-10-15 16:31:14 +02:00
yunohost-bot
f003565074 [CI] Format code with Black 2023-10-10 02:31:47 +00:00
Alexandre Aubin
a0ce7c2d28 ssowatconf: drop unused redirected_regex mechanism + we don't need the label+show_tile info in ssowat conf anymore 2023-10-07 17:40:06 +02:00
Alexandre Aubin
8036226935 Typo 2023-10-07 17:12:26 +02:00
Alexandre Aubin
2fc2acea51 portalapi: misc fixes related to logging, edgecases 2023-10-06 14:11:38 +02:00
Alexandre Aubin
c6633873ba
Merge pull request #1715 from YunoHost/dyndns
enh: Handle dyndns subscribe/unsubscribe in web admin
2023-09-29 21:35:20 +02:00
axolotle
a457f8dbcb app: add "support_purge" to app info 2023-09-29 16:43:29 +02:00
Alexandre Aubin
814696e9c1 portal: redirect to $host/yunohost/admin by default (cf recent commit in ssowat) 2023-09-29 14:34:33 +02:00
tituspijean
bb097fedca
Add home.arpa as special TLD (#1718)
* Add home.arpa as special TLD

* Update dns.py
2023-09-29 12:05:48 +02:00
axolotle
253a042314 test:domains: dyndns_recovery mock as api call to avoid cli prompts 2023-09-28 17:23:51 +02:00
axolotle
c019f7f24a test:domains: remove sleep 2023-09-28 16:48:31 +02:00
axolotle
4a7b2b2cbf domains: unique i18n key for dyndns too many requests 2023-09-28 15:54:57 +02:00
axolotle
ca1e088f29 test:domains: add complex recovery password test 2023-09-28 15:41:57 +02:00
Alexandre Aubin
0f109db6ca dyndns/domain_remove: be paranoid and keep the dyndns unsubscribe + cert/dyndns/setting cleanup before the regenconf 2023-09-28 14:29:53 +02:00
Alexandre Aubin
53ffe3c1c0 dyndns: fix tests 2023-09-28 14:25:36 +02:00
Alexandre Aubin
82affd2984 dyndns: fix availability check, polish UX 2023-09-28 14:19:00 +02:00
Alexandre Aubin
127b6121d1 meh 2023-09-27 22:29:27 +02:00
Alexandre Aubin
d3418479a2 fix remaining log.getActionLogger 2023-09-27 22:25:44 +02:00
Alexandre Aubin
2e4f2e8e3a quality: unused import 2023-09-27 20:57:16 +02:00
Alexandre Aubin
cd079459b9 dyndns: fix import typo 2023-09-27 20:47:17 +02:00
Alexandre Aubin
a0dbf6a5b0 portal: improve domain setting fetch + set show_other_domains_apps to false by default ? 2023-09-27 20:40:50 +02:00
axolotle
2e86bae4ef domain: make sure of it 2023-09-27 19:58:52 +02:00
axolotle
e9802ce2dc domain dyndns: do not save recovery password 2023-09-27 19:31:50 +02:00
Alexandre Aubin
9e87ea88df portal-api: improve semantic for yunohost public portal stuff 2023-09-27 19:30:55 +02:00
Alexandre Aubin
db30b3acb8
Merge branch 'bookworm' into portal-api 2023-09-27 18:57:02 +02:00
Alexandre Aubin
883bb2b498 Merge remote-tracking branch 'origin/dev' into bookworm 2023-09-27 17:56:48 +02:00
Alexandre Aubin
8a72bac884
Merge pull request #1692 from YunoHost/logging-is-a-mess
Moulinette logging is an unecessarily complex mess, episode 57682
2023-09-27 17:45:21 +02:00
axolotle
fc68f769f9 domain: add recovery passoword in config panel 2023-09-25 14:37:18 +02:00
axolotle
97c2cdc593 domain: move domain files removal so dyndns API key still exists while trying to unsubscribe 2023-09-25 13:55:01 +02:00
axolotle
65843bda6d dyndns: add postinstall recovery password handling 2023-09-24 18:11:50 +02:00
axolotle
67e28567ff dyndns: switch to ValidationError for some service response 2023-09-24 17:19:24 +02:00
axolotle
322fc3b712 dyndns: try to unsubscribe with password before subscribing if domain is not available 2023-09-24 17:15:56 +02:00
axolotle
cbb85f8c3b dyndns: handle too many requests in availability testing 2023-09-24 17:13:33 +02:00
stanislas
df1f3149ea The p value of a DMARC record can take the values none, quarantine or reject
The validation is no more about the being similar to the expected config. Now wre check that the value of the p parameter of a DMARC record has the value none, quarantine or reject. No check for other parameters but it could be improved
2023-09-12 00:37:47 +02:00