Commit graph

190 commits

Author SHA1 Message Date
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
Oleg Hasjanov
b5b59026b9 added deadline registration condition during domain registration from auction 2024-01-24 15:17:11 +02:00
olegphenomenon
8916bcd0d6 transfer code change during registrant change 2023-01-03 11:54:04 +02:00
Thiago Youssef
fb60466194 Add rate limiting to all EPP actions 2022-10-28 14:00:18 +03:00
Alex Sherman
dbe1678430 Add current limits to the error message 2022-10-28 14:00:18 +03:00
Alex Sherman
f17ef17d16 Move throttling feature from gem back to the app 2022-10-28 14:00:18 +03:00
Alex Sherman
83413213d9 Add shunter gem support & tests 2022-10-28 14:00:18 +03:00
Thiago Youssef
f8612d687f Remove email verification legacy code 2022-04-13 11:51:08 +03:00
olegphenomenon
287c4ea5d6 remove nameserver validation from update and create interactions, refactored tests, job and move validator to services scoup 2022-01-06 14:25:12 +02:00
olegphenomenon
66c5b3b6ae updated tests 2022-01-06 13:45:42 +02:00
olegphenomenon
d9f6274258 updated tests 2021-12-23 15:14:36 +02:00
olegphenomenon
4981e3fe50 updated tests 2021-11-29 11:32:38 +02:00
olegphenomenon
9c90fd4b91 refactored condition and added tests 2021-10-21 10:30:19 +03:00
Timo Võhmar
d94689bc79
Merge pull request #2175 from internetee/2174-fix-for-dnssec-updating
Fix for DNSSEC keys updating
2021-10-08 10:47:06 +03:00
dinsmol
aafefe507e removed dublicate code 2021-10-08 09:35:22 +03:00
dinsmol
e9fc932777 fixed tests 2021-10-07 17:47:35 +03:00
Alex Sherman
763c91a9fe Fix email validation in test 2021-10-07 16:47:49 +05:00
dinsmol
1c25a06931 added tests 2021-09-28 18:05:32 +03:00
olegphenomenon
285c0e78a2 added test for feature absctraction 2021-09-10 15:58:03 +03:00
olegphenomenon
00aae6b51f added customization feature for enable new statuses 2021-09-10 12:58:00 +03:00
olegphenomenon
2dc0f03856 updated tests 2021-09-10 09:03:21 +03:00
olegphenomenon
825f813437 updated tests 2021-09-08 14:22:12 +03:00
olegphenomenon
49fc79244f updated schemas 2021-09-08 13:52:28 +03:00
Oleg Hasjanov
9bffb09e34 added dnskey update prohibited status 2021-09-07 16:45:16 +03:00
Alex Sherman
86c7496add Fix empty statuses_before_force_delete error 2021-07-07 17:52:26 +05:00
Oleg Hasjanov
4c5e4d7898 made support test schema domain version 1.2 2021-06-28 13:44:13 +03:00
Oleg Hasjanov
8ef0692ca9 added tests 2021-06-25 14:57:03 +03:00
Oleg Hasjanov
1665e6e71e make supporting version for schema 2021-06-25 14:27:40 +03:00
Timo Võhmar
2ce12bd543
Merge pull request #2057 from internetee/2046-request-and-response-should-have-same-schema
request and response have the same domain schema
2021-06-22 14:25:29 +03:00
Oleg Hasjanov
6f431232f4 request and response have the same domain schema 2021-06-22 13:55:15 +03:00
Timo Võhmar
33bbc0ed42
Merge pull request #2047 from internetee/2033-adding-unsupported-dnskey-alg-response
fixed dnskey invalid alg response
2021-06-21 15:52:04 +03:00
Alex Sherman
c531769151 Add support of bulk removing of dnskeys 2021-06-21 16:04:49 +05:00
Oleg Hasjanov
d79d1fbeb1 fixed dnskey invalid alg response 2021-06-21 13:50:45 +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
Alex Sherman
f2f56d8350 Add base tests & make domain crID optional 2021-06-17 13:23:10 +05:00
Alex Sherman
3eb645a590 Refactor schema checking to custom assertion 2021-06-17 13:19:48 +05:00
Oleg Hasjanov
b7c0a6c4c9 added test, connect epp-xml another branch in gemfile, made domain object as array 2021-06-15 09:35:27 +03:00
Oleg Hasjanov
4cf7a103c8 added response for wrong epp path 2021-06-10 14:19:14 +03:00
Oleg Hasjanov
9e8f760fc4 updated prefixes 2021-06-04 17:07:56 +03:00
Oleg Hasjanov
177ddf0a72 updated schemas 2021-06-04 16:45:50 +03:00
Oleg Hasjanov
539cebe7ec refactoring 2021-06-01 15:33:11 +03:00
Oleg Hasjanov
20123c1618 added method in test_helper & updated method for compare schema version 2021-05-26 14:42:00 +03:00
Oleg Hasjanov
ec97e45921 added test 2021-05-26 12:04:55 +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