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
Thiago Youssef
fb60466194
Add rate limiting to all EPP actions
2022-10-28 14:00:18 +03:00
dinsmol
1c25a06931
added tests
2021-09-28 18:05:32 +03:00
olegphenomenon
825f813437
updated tests
2021-09-08 14:22:12 +03:00
Oleg Hasjanov
4c5e4d7898
made support test schema domain version 1.2
2021-06-28 13:44:13 +03:00
Oleg Hasjanov
1665e6e71e
make supporting version for schema
2021-06-25 14:27:40 +03:00
Alex Sherman
860c3c8008
Add domain base & auction tests
...
Add tests for domain create, delete, renew, transfer, update
2021-06-17 13:38:02 +05:00
Oleg Hasjanov
9e8f760fc4
updated prefixes
2021-06-04 17:07:56 +03:00
Alex Sherman
00a0be2341
Replace some hardcoded schema paths for method calls
2021-05-21 16:47:20 +05:00
Alex Sherman
a0d0ce3e00
Rename util class, add first usage
2021-05-21 14:38:31 +05:00
Alex Sherman
c52c669339
Fix error code/message
2021-04-28 14:02:31 +05:00
Alex Sherman
0f58e47513
Fix test to have file at Base64, fix size validation
2021-04-28 13:50:23 +05:00
Alex Sherman
31a463c587
Move size constant to LegalDocument class
2021-04-28 13:50:23 +05:00
Alex Sherman
9f21b1704c
Change error type if legaldoc file is more than 8 MB
2021-04-28 13:50:23 +05:00
Oleg Hasjanov
3b11f0bc20
Test: Added test for legal doc sizes
2021-04-28 13:50:23 +05:00
Oleg Hasjanov
18c994256f
xml padding changed
2021-01-28 14:16:39 +02:00
Oleg Hasjanov
2648f66e78
made refactoring: remove paddings and line breaks
2021-01-28 14:09:07 +02:00
Alex Sherman
3dfb22d79d
Return epp error 2306 is tech are admin contacts are duplicated
2021-01-28 16:52:21 +05:00
Oleg Hasjanov
560d9111ce
added tests for not unique contacts
2021-01-28 16:44:07 +05:00
Oleg Hasjanov
cdf1721ba2
changed test name
2021-01-27 13:59:50 +05:00
Oleg Hasjanov
b3df3590b7
Test for Illegal chars in DNSkey
2021-01-27 13:59:50 +05:00
Oleg Hasjanov
54da4c9914
Test for Illegal chars in DNSkey
2021-01-27 13:59:50 +05:00
Karl Erik Õunapuu
49f11cce0b
Remove occurrencies of Setting.x
2020-08-12 11:53:52 +03:00
Alex Sherman
4a2176d5d7
Flush settings cache on legal doc mandatority check
2020-07-02 16:59:00 +05:00
Alex Sherman
206704fee7
Add check if legal doc mandatory & tests
2020-06-30 18:43:35 +05:00
Alex Sherman
934033cfbc
Add test & validation to not to register blocked IDN domains via EPP
...
Fixes https://github.com/internetee/registry/issues/1142#issuecomment-581889350
2020-02-04 19:50:28 +05:00
Artur Beljajev
fa52001be6
Upgrade to Rails 5.0
...
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
558261c047
Add tests
2019-10-19 13:08:00 +03:00
Artur Beljajev
cb3bf7ffdc
List EPP routes explicitly
2019-10-14 14:51:24 +03:00
Artur Beljajev
54577b530b
Remove specs
2019-10-07 15:44:14 +03:00
Artur Beljajev
348e6e5d7a
Introduce custom assertion
2019-09-03 23:43:30 +03:00
Artur Beljajev
9cf5137c75
Add tests
2019-01-06 21:50:00 +02:00