internetee-registry/app/models/concerns
oleghasjanov 7799727867 feat: add age validation for admin contacts
- Add AgeValidation module for consistent age checks
- Validate admin contacts must be at least 18 years old
- Move age validation logic from Domain to shared module
- Add tests for admin contact age validation
- Fix JSON format for admin_contacts_allowed_ident_type setting

This change ensures that administrative contacts must be adults (18+),
using the same age validation logic as for registrants. The validation
works with both birthday and Estonian ID formats. Settings are now
properly stored as JSON strings for consistent parsing.
2025-03-20 16:37:38 +02:00
..
billing/price Fix namespaces for Zeitwerk class loader 2021-03-05 19:09:24 +05:00
certificate Fixed codeclimate issue 2023-06-28 16:20:28 +03:00
contact Deleted disclosable concern from contact 2022-04-13 15:59:01 +03:00
csync_record parent 64e3bc885a2cb8b46a1aaa4bf4f121ee7f5d44a6 2021-03-30 14:22:45 +05:00
domain feat: add status notes to force delete notifications 2025-02-03 14:08:50 +02:00
invoice fixed tests 2023-02-06 10:44:17 +02:00
registrar Merge branch 'master' into monthly-invoices-fix 2022-12-01 14:36:20 +02:00
white_ip Fixed codeclimate issues 2023-07-04 12:35:31 +03:00
zone update status 2024-10-21 14:25:12 +03:00
age_validation.rb feat: add age validation for admin contacts 2025-03-20 16:37:38 +02:00
email_verifable.rb added filter for domains with fd 2024-02-08 15:12:15 +02:00
epp_errors.rb Updated contact name data type in schemas 2024-08-22 11:25:54 +03:00
remove_hold.rb Add remove clientHold to registrar UI 2020-02-19 14:51:53 +05:00
roids.rb Add tests & fixes for epp contact 2021-06-17 13:38:02 +05:00
transaction_paid_invoices.rb refactoring: separate methods from bank_transaction model to concern 2021-04-22 16:02:03 +03:00
user_events.rb fixed codeclimate errors 2021-09-09 13:06:51 +03:00
version_session.rb Refactored contact with ability 2015-02-17 11:21:23 +02:00
versions.rb Did some more refactoring 2022-01-12 15:19:53 +02:00
whois_status_populate.rb Remove redundant functionality 2020-05-19 16:13:12 +03:00