Commit graph

51 commits

Author SHA1 Message Date
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
Tagadda
9486931674 Hydrate manifest with choices 2022-01-28 02:39:20 +00:00
Tagadda
740eaa43ae typos 2022-01-28 02:39:02 +00:00
yunohost-bot
71e73c7cf2 [CI] Format code with Black 2022-01-24 18:16:08 +00:00
Alexandre Aubin
fde01fafd7 app questions in config panel: handle choices with nice display names for webadmin 2022-01-24 18:40:20 +01:00
Alexandre Aubin
8836fdeeaa Merge branch 'dev' into enh-domain-default-app 2022-01-24 18:40:10 +01:00
Alexandre Aubin
2f7ec5b368 configpanels: config_get should return possible choices for domain, user questions (and other dynamic-choices questions) 2022-01-22 15:44:28 +01:00
Tagadda
cb7bfe7a66 fix for bullseye 2022-01-20 22:54:48 +00:00
Tagada
30983a4efd [enh] Manage default applications with DomainConfigPanel
[enh] makedefault with domain_config_set()

[enh] Allow webadmin to reverse makedefault

[legacy] translate legacy redirections to new domain config
2022-01-19 23:04:24 +00:00
Alexandre Aubin
6cae524910 Drop the 'admin' user, have 'admins' be a group of Yunohost users instead 2022-01-11 14:53:04 +01:00
Alexandre Aubin
858370dced Merge branch 'bullseye' into manifestv2 2021-12-31 15:27:42 +01:00
Kay0u
fc0cf79123
Merge branch 'dev' into bullseye 2021-12-30 15:29:16 +01:00
Alexandre Aubin
c8d4e4853b Merge branch 'bullseye' into manifestv2 2021-12-04 01:01:00 +01:00
Alexandre Aubin
05f25fa85f Propagate dir structure change to scripts etc 2021-11-10 18:25:37 +01:00