Commit graph

289 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
oleghasjanov
cd5de3bd14 commit
feat: make technical contacts optional for all domains

- Remove automatic tech contact assignment from admin contacts
- Set minimum tech contacts to 0 for all registrant types
- Update tests to reflect optional tech contacts
- Keep max tech contacts limit from settings

This change implements the requirement to make technical contacts optional
for all domain types while maintaining the maximum limit from settings.
Previously tech contacts were required for organizations and automatically
copied from admin contacts.
2025-01-31 15:49:35 +02:00
oleghasjanov
863dcce647 Add admin contact validation rules based on registrant type and age
- Add validation requiring admin contacts for legal entity registrants
- Add validation requiring admin contacts for underage private registrants:
  - Under 18 years old for birthday-based identification
  - Under 18 years old for Estonian ID numbers
- Make admin contacts optional for:
  - Adult private registrants (18+ years)
  - Adult Estonian ID holders
  - Non-Estonian private registrants
- Add tests covering all new validation scenarios
- Add helper methods to calculate age and parse Estonian ID birth dates
2025-01-31 12:49:14 +02:00
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
olegphenomenon
88ed185558 added shunter to test 2022-12-05 15:12:19 +02:00
olegphenomenon
2ee77fc8e9 added test 2022-12-05 14:59:07 +02:00
Thiago Youssef
e65d55765a Fix tests 2022-10-28 14:00:18 +03: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
Sergei Tsõganov
a5ffce290d Updated REPP API for new registrar portal 2022-07-12 15:47:25 +03:00
Timo Võhmar
a580c22d71
Merge pull request #2375 from internetee/2374-deprecated-validation-events
Prevent deprecated validation events
2022-05-17 13:58:12 +03:00
olegphenomenon
ac2e851695 comment out related tests 2022-05-17 12:20:34 +03:00
Thiago Youssef
ec71ae1137 Prevent deprecated validations when email is changed 2022-05-12 13:50:58 +03:00
Thiago Youssef
f8612d687f Remove email verification legacy code 2022-04-13 11:51:08 +03:00
Sergei Tsõganov
216048463d Moved notifications about automatic contact name update to bulk change poll message 2022-03-25 18:08:55 +02: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
fc338dea16
Merge pull request #2081 from internetee/1796-contact-birthday-field-validation
Fix for contact birth date validation
2021-07-15 12:34:17 +05:00
Alex Sherman
cfb74cc7da
Revert "Mark orphan notification as read" 2021-07-14 16:43:16 +05:00
dinsmol
addeebfeb3 created birth date validator 2021-07-14 12:40:49 +03:00
Timo Võhmar
1ef6f7b9cd
Merge pull request #2078 from internetee/2077-registrant-change-fix
Fix empty statuses_before_force_delete error
2021-07-08 19:41:57 +03:00
dinsmol
5bed817c35 fixes by review and codeclimat 2021-07-08 17:07:43 +03:00
dinsmol
77d2e402b4 added validation and tests 2021-07-08 15:49:31 +03:00
Alex Sherman
86c7496add Fix empty statuses_before_force_delete error 2021-07-07 17:52:26 +05:00
Alex Sherman
9c6527d6d3 Mask orphan notification as read 2021-07-07 15:39:05 +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