Commit graph

64 commits

Author SHA1 Message Date
axolotle
9c6a7fdf04 mv config.py to form.py 2023-04-04 15:43:46 +02:00
Alexandre Aubin
17e0a11547
Merge pull request #1629 from YunoHost/tests-cp
[tests] Rework questions/options tests
2023-04-04 13:01:35 +02:00
Alexandre Aubin
b5f3662627
Misc syntax 2023-04-04 13:01:25 +02:00
yunohost-bot
4e799bfbc3 [CI] Format code with Black 2023-04-02 18:52:32 +00:00
axolotle
2d03176c7f fix i18n panel+section names 2023-03-22 15:37:39 +01:00
axolotle
f8c1e7c168 options: misc option quick fixes 2023-03-22 14:20:50 +01:00
yunohost-bot
069b782f07 [CI] Format code with Black 2023-02-15 21:37:05 +00:00
Alexandre Aubin
c179d4b88f appsv2/group question: don't include primary groups in choices 2023-02-06 14:32:19 +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
yunohost-bot
8859038a41 [CI] Format code with Black 2023-01-10 01:30:51 +00:00
Alexandre Aubin
f21fbed2f7 configpanel: stop the madness of returning a 500 error when trying to load config panel 0.1 ... otherwise this will crash the new app info view ... 2023-01-10 00:42:40 +01:00
Alexandre Aubin
683421719f configpanel: key 'type' may not exist? 2023-01-10 00:39:54 +01:00
Alexandre Aubin
47b9b8b520 configpanels: fix inconsistent return format for boolean, sometimes 1/0, sometimes True/False -> force normalization of values when calling get() for a single setting from a config panel 2022-12-20 19:51:21 +01:00
yunohost-bot
186e61903a [CI] Format code with Black 2022-12-06 22:36:37 +00:00
Alexandre Aubin
b47d2c7476
Clarify the thing about current_value vs value 2022-12-06 23:21:28 +01:00
ljf (zamentur)
744f963508
[fix] Visible app condition not properly evaluate
If the config script returned structured data
2022-12-06 22:08:13 +01:00
ljf (zamentur)
6de36183d3
[fix] hotspot config panel fails in webadmin 2022-12-06 20:39:54 +01:00
Alexandre Aubin
372a602378
Mypy gods are unhappy 2022-10-29 18:49:25 +02:00
yunohost-bot
7c05df05b7 [CI] Format code with Black 2022-10-24 16:59:10 +00:00
Alexandre Aubin
5cfa0d3be8 questions: improve support for group question used in manifestv2 2022-10-18 20:10:42 +02:00
Alexandre Aubin
bd7081baf2 maintenance: cleanup .py file headers + automate boring copyright headers... 2022-10-09 18:38:34 +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
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
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
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
90e3f3235c configpanels: Quick and dirty POC for config panel actions 2022-09-30 15:03:03 +02:00
Alexandre Aubin
1037508fb5
Merge branch '11.1' into admins 2022-09-04 20:28:59 +02:00
Alexandre Aubin
18f33417ef Merge remote-tracking branch 'origin/dev' into manifestv2 2022-08-09 18:41:26 +02:00
Alexandre Aubin
87abbe678d Merge remote-tracking branch 'origin/dev' into admins 2022-08-09 18:29:59 +02:00
Alexandre Aubin
7fa67b2b22 Zbleuarg 2022-08-07 12:41:18 +02:00
Alexandre Aubin
92a751ed84
Merge pull request #1478 from theo-is-taken/tag-fix
App Config Panel : Don't restrict choices if there's no choices specified
2022-08-06 10:54:33 +02:00
Alexandre Aubin
d7e87b34c7 Merge remote-tracking branch 'origin/dev' into manifestv2 2022-08-03 22:11:49 +02:00
Alexandre Aubin
f6cd35d94b
configpanels: remove debug message because it floods the regenconf logs 2022-08-03 15:03:09 +02:00
theo@manjaro
31bbc026fd Don't restrict choices if there's no choices specified 2022-07-20 11:24:42 +02:00
Alexandre Aubin
3bc92abe36 Merge branch 'dev' into manifestv2 2022-04-28 00:49:53 +02:00
Tagadda
0ff9818ebf fix: config.py: add more properties for config_get?full 2022-02-16 21:06:15 +00:00
Tagadda
c99729d062 fix: config.py: Question.filter as None by default make more sense 2022-02-16 21:06:15 +00:00
Alexandre Aubin
e4863830c9 Fix call to ask_questions_and_parse_answers 2022-02-01 15:32:34 +01:00
Alexandre Aubin
05a459d4df Fix tests 2022-02-01 15:01:11 +01:00
Alexandre Aubin
8939ba66d3 Merge branch 'dev' into manifestv2 2022-02-01 14:24:21 +01:00
yunohost-bot
d28f725762 [CI] Format code with Black 2022-01-31 02:32:46 +00:00
Tagadda
3de3205648 set default filter to always return true 2022-01-30 22:39:26 +00:00
Tagadda
f2b95e5fbe configpanel: filter as a simple_js_expression 2022-01-30 20:45:06 +00:00
yunohost-bot
e1ffe57282 [CI] Format code with Black 2022-01-29 17:48:05 +00:00