Commit graph

41 commits

Author SHA1 Message Date
axolotle
3a31984e3c configpanel: allow other ConfigPanels to have no settings defined 2023-10-22 17:51:04 +02:00
axolotle
e7b43c763c configpanel: do not raise error if no settings file 2023-10-22 17:49:08 +02:00
axolotle
6953a8bf15 configpanel: quick fix option typing 2023-10-22 15:50:30 +02:00
axolotle
51d302bf18 configpanel: is_action_section as attr 2023-10-22 15:49:29 +02:00
axolotle
d370cb0b24 configpanel: add value in options dict for config get --full 2023-10-22 15:49:29 +02:00
axolotle
48f882ecd3 form+configpanel: reflect Section optional value to all its Options 2023-10-22 15:49:29 +02:00
axolotle
37b4eb956d typing: add missing type + misc typing fixes 2023-10-22 15:48:06 +02:00
axolotle
b45515049d config: fix wrong diff logic on settings apply 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
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
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
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
5562b61db0 add 'list_portal' AppOption modifier to add portal as a possible choice 2023-09-04 16:20:29 +02:00
Alexandre Aubin
b0fe49ae83 configpanels/forms : more edge cases with some questions not implementing some methods/attributes 2023-08-22 17:36:12 +02:00
axolotle
e1ceb084c3 fix config panel readonly .value 2023-07-18 15:07:31 +02:00
Alexandre Aubin
2ece3b65f6 Moulinette logging is an unecessarily complex mess, episode 57682 2023-07-18 00:19:16 +02:00
axolotle
c1f0ac04c7 rename Option.name to Option.id 2023-04-19 20:27:17 +02:00
axolotle
e87f8ef93a form: use Enum for Option's type 2023-04-19 20:27:17 +02:00
axolotle
fe2761da4a configpanel: fix choices 2023-04-19 20:27:17 +02:00
axolotle
9e8e0497dd form: fix readonly prompting + + choices + tests 2023-04-19 20:27:17 +02:00
axolotle
fe5c73b4ed form+configpanel: sort imports 2023-04-19 20:27:17 +02:00
axolotle
ba32078180 configpanel: rename data methods 2023-04-19 20:27:17 +02:00
axolotle
67687b7cff configpanel: reorder ConfigPanel methods 2023-04-19 20:27:17 +02:00
axolotle
5351698230 form: rename ARGUMENTS_TYPE_PARSERS to OPTIONS 2023-04-19 20:27:17 +02:00
axolotle
f9fd379997 form: rename Questions to Options 2023-04-19 20:27:17 +02:00
axolotle
bee218e560 fix configpanel.py and form.py imports 2023-04-04 16:05:36 +02:00
axolotle
b688944d11 remove form related code from configpanel.py 2023-04-04 15:54:28 +02:00
axolotle
478291766e mv config.py to configpanel.py 2023-04-04 15:51:55 +02:00
Renamed from src/utils/config.py (Browse further)