internetee-registry/app
oleghasjanov 3c169bb00b Make admin contacts optional for private registrants
This change makes admin contacts optional for private registrants while keeping them mandatory for organizations. The changes include:

- Updated Domain model validations to make admin and tech contacts optional (min=0) for private registrants
- Added validation rules methods to handle different requirements based on registrant type
- Modified EPP domain creation to support domains without admin contacts for private registrants
- Updated attach_default_contacts to skip adding contacts for private registrants
- Added comprehensive test coverage for:
  - Domain model validations with private/org registrants
  - EPP domain creation without admin contacts for private registrants
  - REPP API contact management for private registrants

This implements the requirement to make admin contacts optional for private registrations of .ee domains while maintaining the existing validation rules for organizations.
2025-01-07 12:24:57 +02:00
..
assets removed banklinks, addede everypay banner 2022-06-02 09:37:20 +03:00
controllers Modified identification request webhook 2024-11-14 08:37:09 +02:00
helpers Removed and updated additional files 2022-10-13 14:06:33 +03:00
interactions Remove debug output from force delete process 2024-12-19 14:27:47 +02:00
jobs Remove debug output from force delete process 2024-12-19 14:27:47 +02:00
lib fixed tests 2022-11-07 15:59:48 +02:00
mailers Remove debug output from force delete process 2024-12-19 14:27:47 +02:00
models Make admin contacts optional for private registrants 2025-01-07 12:24:57 +02:00
presenters Removed and updated additional files 2022-10-13 14:06:33 +03:00
services Modified identification request webhook 2024-11-14 08:37:09 +02:00
validators Fixed ransack admin search 2023-04-06 13:54:03 +03:00
views Remove debug output from force delete process 2024-12-19 14:27:47 +02:00