Custom form configuration #268

Merged
tobru merged 34 commits from 165-form-configuration into main 2025-11-10 14:49:33 +00:00

34 commits

Author SHA1 Message Date
ffed6139cd Do not save empty form_config entries
All checks were successful
Tests / test (push) Successful in 30s
2025-11-10 14:53:23 +01:00
45f17cabaa Update schema to make label and type optional
All checks were successful
Tests / test (push) Successful in 28s
2025-11-10 14:33:41 +01:00
f3e14b4c85 Fix tabs for custom fieldsets
All checks were successful
Tests / test (push) Successful in 30s
2025-11-10 14:15:22 +01:00
9ac9f5e1c9 Add print debugging to tab setup
All checks were successful
Tests / test (push) Successful in 29s
2025-11-10 14:04:42 +01:00
7a8dc91afe Make sure max length applies to textarea 2025-11-10 14:02:40 +01:00
c7c22aa265 Add default config 2025-11-10 14:02:34 +01:00
228ab9bc0d Make fqdn generator fail silently 2025-11-10 13:36:09 +01:00
985e4b47c0 Make expert mode toggle less prominent
All checks were successful
Tests / test (push) Successful in 28s
2025-11-07 11:41:08 +01:00
6182b36daf Implicitly fix admin choices configuration 2025-11-07 11:36:28 +01:00
1ed261d4b2 Coerce string-numbers to numbers in admin form 2025-11-07 11:28:49 +01:00
ece60ad3b1 Implement default values in custom forms
All checks were successful
Tests / test (push) Successful in 28s
2025-11-06 16:14:02 +01:00
bab9d636ee Fix missing number validators on custom form widgets 2025-11-06 15:58:56 +01:00
089dbb663a Fix custom choices not being used 2025-11-06 15:55:27 +01:00
b3bb41b322 Fix tabs on custom instance forms 2025-11-06 15:40:16 +01:00
68dce4c5fb Make form_config integers optional 2025-11-06 15:07:14 +01:00
7fbd57d1b1 Add basic form generation tests 2025-11-06 14:53:58 +01:00
16d8ac0c6d Fix missing form when no custom form is present 2025-11-06 14:52:13 +01:00
9e1804a141 Split up crd.py into module 2025-11-06 14:32:16 +01:00
5b496ec5b2 Fix migration story 2025-11-06 14:22:50 +01:00
ca485978b9 Code style
All checks were successful
Tests / test (push) Successful in 28s
2025-11-05 10:45:37 +01:00
59e7a75c51 Simplify form configuration, remove generators reference 2025-11-05 10:42:41 +01:00
a5d46b696f Code style
All checks were successful
Tests / test (push) Successful in 26s
2025-11-05 10:37:11 +01:00
5cc582b638 Validate fields used in custom form config 2025-11-05 10:37:01 +01:00
aa77a10de2 Implement instance creation from custom form
All checks were successful
Tests / test (push) Successful in 28s
2025-11-05 10:19:56 +01:00
7f99c78084 Fix array widget container ID 2025-11-05 10:18:46 +01:00
2931315b96 Remove org field from generated form 2025-11-05 10:15:23 +01:00
63039171c1 Fix FQDN generation 2025-11-05 10:14:52 +01:00
652e0798f4 Make sure FQDN generation works with custom form 2025-11-05 10:12:34 +01:00
9e7330e24d Fix form display details 2025-11-05 10:11:56 +01:00
cedcab85c4 Use custom forms in instance update 2025-11-05 10:11:56 +01:00
0045e532ee Generate custom service form from config 2025-11-05 10:11:56 +01:00
357e39b543 Remove expert fields, add form config 2025-11-05 10:11:56 +01:00
1cf1947539 Provide form building schema 2025-11-05 10:11:56 +01:00
880d10c5e5 Remove Advanced Fields feature
we don't need it, as the new expert mode will be just the full current
form
2025-11-05 10:11:56 +01:00