Commit graph

15 commits

Author SHA1 Message Date
oleghasjanov
f2978599b4 feat: add admin contact ident type validation
- Add new setting for allowed admin contact ident types
- Add validation for admin contact ident types on domain create/update
- Add UI controls for managing allowed ident types
- Add tests for new validation rules
- Update domain model to respect new settings

The changes allow configuring which identification types (private person,
organization, birthday) are allowed for administrative contacts. This is
enforced when creating new domains or adding new admin contacts.
2025-02-03 13:59:03 +02:00
Karl Erik Õunapuu
75181f5bea Test boolean setting returns false for nil value 2020-08-18 12:15:35 +03:00
Karl Erik Õunapuu
1732d6551a Always return true/false for boolean Setting entries 2020-08-18 11:31:19 +03:00
Karl Erik Õunapuu
8683964d22 Disallow instance method names as Setting code 2020-08-12 17:48:18 +03:00
Karl Erik Õunapuu
abea8abe84 Allow only letters and underscores in Setting code 2020-08-12 17:25:55 +03:00
Karl Erik Õunapuu
c977872c44 Add audit for Settings 2020-08-12 16:10:12 +03:00
Karl Erik Õunapuu
37ae30b637 Refactor get/set method for EntrySetting.var 2020-08-12 15:42:32 +03:00
Karl Erik Õunapuu
558faf4934 Move Setting::Migratable concern to data_migration instead 2020-08-12 15:28:16 +03:00
Karl Erik Õunapuu
b7f03dfa69 Fix some CC issues 2020-08-12 12:31:11 +03:00
Karl Erik Õunapuu
e7eaba7963 Allow nil values for settings 2020-08-12 12:11:03 +03:00
Karl Erik Õunapuu
6361a6ff49 Allow to update SettingEntry via SettingEntry.code= 2020-08-11 17:09:14 +03:00
Karl Erik Õunapuu
b3941a373c Create action to migrate settings to new model 2020-08-11 14:57:05 +03:00
Karl Erik Õunapuu
950bdc6256 Modify Settings UI to read values from SettingEntry model 2020-08-11 12:29:13 +03:00
Karl Erik Õunapuu
4f59900367 Add grouping feature to SettingEntries 2020-08-11 12:09:01 +03:00
Karl Erik Õunapuu
a0c21d005e Create SettingEntry model 2020-08-11 12:03:30 +03:00