Commit graph

4228 commits

Author SHA1 Message Date
axolotle
2a28e289ad form: rework 'hydrate_questions...' with a new 'parse_raw_options' that parse and validate options 2023-10-22 15:48:07 +02:00
axolotle
37b4eb956d typing: add missing type + misc typing fixes 2023-10-22 15:48:06 +02:00
axolotle
54cc23c90c config: update SettingsConfigPanel.reset 2023-10-22 15:46:57 +02:00
axolotle
b45515049d config: fix wrong diff logic on settings apply 2023-10-22 15:46:57 +02:00
axolotle
98ec5448f2 form: cli retries as variable to be patched in tests 2023-10-22 15:46:57 +02:00
axolotle
98d3b4ffc8 form: rework context/values/hooks in prompt_or_validate_form 2023-10-22 15:46:57 +02:00
axolotle
73b795be1d config: readd value has been initialized + change test removed value from settings since boolean has a native default value 2023-10-22 15:46:57 +02:00
axolotle
f087a6b967 config: normalize get option value 2023-10-22 15:46:57 +02:00
axolotle
25ccbd5f78 configpanel: quickly update list_actions 2023-10-22 15:46:57 +02:00
axolotle
15c827908f configpanel: update run_action 2023-10-22 15:46:57 +02:00
axolotle
6b3691ce53 configpanel: update set 2023-10-22 15:46:57 +02:00
axolotle
5f9ea58313 configpanel: update _apply 2023-10-22 15:46:55 +02:00
axolotle
7a60703ef5 configpanel: update _ask 2023-10-22 15:30:02 +02:00
axolotle
2c35dcbb24 configpanel: update _reload_services 2023-10-22 15:29:13 +02:00
axolotle
f1038de56d form: fix entities validators order for filter and apply the right default 2023-10-22 15:29:12 +02:00
axolotle
dbaea019fe form+config: replace _parse_pre_answered method with generic function 2023-10-22 15:28:14 +02:00
axolotle
a92e22b653 config: rework get method 2023-10-22 15:27:16 +02:00
axolotle
80dbd6dac4 form: rework entities validators to avoid multiple calls to them 2023-10-22 15:21:21 +02:00
axolotle
02948ad49c config: rework config+settings getter methods 2023-10-22 15:19:32 +02:00
axolotle
564a66de2f configpanel: add config panel models 2023-10-22 15:15:14 +02:00
axolotle
bec34b92b0 form: add reserved "id" validator 2023-10-22 15:13:13 +02:00
axolotle
774b11cbbe form: add legacy "name" attr 2023-10-22 15:13:13 +02:00
axolotle
a574855a03 form: fix forbidden readonly type 2023-10-22 15:13:13 +02:00
axolotle
582b1ed311 form: add translating method 2023-10-22 15:13:13 +02:00
axolotle
3ff6e6ed96 app: update app_install 2023-10-22 15:13:12 +02:00
axolotle
c428ba616a test:options: update tests results to pydantic parsing 2023-10-22 15:07:54 +02:00
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