Commit graph

25 commits

Author SHA1 Message Date
axolotle
4df7e4681d form: force option type to 'select' if there's 'choices' + add test 2023-04-30 17:15:40 +02:00
axolotle
c1f0ac04c7 rename Option.name to Option.id 2023-04-19 20:27:17 +02:00
axolotle
f0f89d8f2a form: restrict choices to select, tags, domain, app, user + group 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
4261317e49 form: separate BaseOption into BaseReadonlyOption + BaseInputOption 2023-04-19 20:27:17 +02:00
axolotle
91497afbfe form: move option asking+prompt in external function 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
f8c1e7c168 options: misc option quick fixes 2023-03-22 14:20:50 +01:00
axolotle
8e6178a863 options:tests: add missing types tests 2023-03-22 14:11:00 +01:00
axolotle
f4b7906811 options:tests: replace file tests 2023-03-21 21:15:29 +01:00
axolotle
eacb7016e2 options:tests: replace display_text tests 2023-03-21 19:03:09 +01:00
axolotle
af0cd78fcc options:tests: replace number tests 2023-03-21 19:01:45 +01:00
axolotle
af77e0b62f options:tests: replace user tests 2023-03-21 18:58:25 +01:00
axolotle
db1710a0a9 options:tests: replace domain tests 2023-03-21 18:56:02 +01:00
axolotle
df6bb22820 options:tests: replace boolean tests 2023-03-21 18:53:55 +01:00
axolotle
70149fe41d options:tests: replace path tests 2023-03-21 18:50:23 +01:00
axolotle
38381b8149 options:tests: replace some password tests 2023-03-21 18:47:04 +01:00
axolotle
26ca9e5c69 options:tests: replace some string tests 2023-03-21 18:38:53 +01:00
axolotle
c211b75279 options:tests: add base class Test 2023-03-21 18:31:24 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
Alexandre Aubin
05a459d4df Fix tests 2022-02-01 15:01:11 +01:00
Kay0u
fc0cf79123
Merge branch 'dev' into bullseye 2021-12-30 15:29:16 +01:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Renamed from src/yunohost/tests/test_questions.py (Browse further)