Commit graph

483 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
tsoganov
c7d3788a36 Updated contact name data type in schemas 2024-08-22 11:25:54 +03:00
olegphenomenon
bc31a8231b get contact info through domain transferred code 2022-12-05 13:50:31 +02:00
Alex Sherman
dbe1678430 Add current limits to the error message 2022-10-28 14:00:18 +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
9c90fd4b91 refactored condition and added tests 2021-10-21 10:30:19 +03:00
olegphenomenon
b2a830981b refactored 2021-10-20 16:01:41 +03:00
olegphenomenon
b066b144e0 added condition for remove hold status if domain are renew 2021-10-20 15:49:00 +03:00
dinsmol
788af6cc5f fixed codeclimate errors 2021-09-09 21:34:56 +03:00
dinsmol
e0c47cdb35 fixed codeclimate errors 2021-09-09 14:05:29 +03:00
dinsmol
e7e3278267 fixed codeclimate errors 2021-09-09 13:06:51 +03:00
dinsmol
f4e0084895 fixed codeclimate errors (partically) 2021-09-09 09:19:09 +03:00
dinsmol
62d1ba45a2 fixed ArgumentError 2021-09-03 16:12:16 +03:00
Alex Sherman
85475f46df Fix possible transaction retries by setting idempotency 2021-08-31 12:37:59 +05:00
Oleg Hasjanov
4cf7a103c8 added response for wrong epp path 2021-06-10 14:19:14 +03:00
Karl Erik Õunapuu
88e1bc3727 parent 64e3bc885a2cb8b46a1aaa4bf4f121ee7f5d44a6
author Karl Erik Õunapuu <karlerik@kreative.ee> 1591359032 +0300
committer Alex Sherman <yul.golem@gmail.com> 1617029320 +0500

CsyncJob: Don't respect IPv6 if nessecary
2021-03-30 14:22:45 +05:00
Karl Erik Õunapuu
e2f377f1c2
Merge remote-tracking branch 'origin/master' into repp-domains 2021-03-22 14:05:42 +02:00
Alex Sherman
aae9e39d35 Add check if UpdateProhibited for domain update 2021-02-26 18:12:38 +05:00
Timo Võhmar
bd2cdc7153
Merge pull request #1856 from internetee/1849-contact-with-status-delete-prohibited-can-be-deleted
1849 contact with status delete prohibited can be deleted
2021-02-22 13:20:08 +02:00
Timo Võhmar
8bef5be869
Merge pull request #1855 from internetee/1852-no-any-confirmation-for-objects-with-identical-data
Added test for check domain status UpdatePending if registrants have …
2021-02-19 18:02:57 +02:00
Timo Võhmar
7cac3a61eb
Merge pull request #1847 from internetee/1743-keep-update-prohibited-on-renew
Keep serverUpdateProhibited status on domain renew
2021-02-19 17:44:57 +02:00
Alex Sherman
b9d57be6ab Add i18n, change error response code to 2304 2021-02-19 14:30:36 +05:00
Alex Sherman
340e1820f2 Fix contact deletion if contact *DeleteProhibited 2021-02-15 19:11:28 +05:00
Alex Sherman
69562ec2a2 Fix checking if verification needed 2021-02-15 18:27:04 +05:00
Karl Erik Õunapuu
52d575229c
Merge remote-tracking branch 'origin/master' into repp-domains 2021-02-12 10:22:05 +02:00
Karl Erik Õunapuu
44226aa5d6
Fix domain renew erros 2021-02-11 12:37:39 +02:00
Alex Sherman
47d143e6cc Undo removing serverUpdateProhibited status on domain renew 2021-02-11 15:20:57 +05:00
Karl Erik Õunapuu
1960164223
Merge branch '1832-registrar-prefix-on-contact-info-and-check-requests' of https://github.com/internetee/registry into 1832-registrar-prefix-on-contact-info-and-check-requests 2021-02-10 15:14:33 +02:00
Karl Erik Õunapuu
0b3fd56fc8
Merge branch '1832-registrar-prefix-on-contact-info-and-check-requests' of https://github.com/internetee/registry into 1832-registrar-prefix-on-contact-info-and-check-requests 2021-02-10 12:53:58 +02:00
Karl Erik Õunapuu
0617ef9d7d
Fix contact code check 2021-02-10 12:03:22 +02:00
Karl Erik Õunapuu
43e5b74668
Merge remote-tracking branch 'origin/master' into repp-domains 2021-01-29 13:35:34 +02:00
Alex Sherman
3dfb22d79d Return epp error 2306 is tech are admin contacts are duplicated 2021-01-28 16:52:21 +05:00
Alex Sherman
db729d2421 Add check if key is Base64-encoded 2021-01-27 15:37:28 +05:00
Karl Erik Õunapuu
1e1ade3def
Fix legal document assigning 2021-01-19 14:35:39 +02:00
Karl Erik Õunapuu
2b3634b048
REPP domains: Nameserver actions 2021-01-18 13:24:16 +02:00
Karl Erik Õunapuu
d4b84a58df
Fix disclosable scope when copying registrant to admin/tech 2021-01-11 16:16:07 +02:00
Karl Erik Õunapuu
e2ff5d4506
REPP: Add Domain Create endpoint 2021-01-11 15:57:23 +02:00
Karl Erik Õunapuu
d53622ebc8
Merge remote-tracking branch 'origin/master' into repp-domains 2021-01-06 11:13:38 +02:00
Karl Erik Õunapuu
b534827dc5
Fix ok/inactive state, get disclosable fields strictly from Contact class 2021-01-05 15:59:00 +02:00
Karl Erik Õunapuu
50bf708b6a
Use central method for appending legaldocs to domains/contacts 2020-12-29 16:10:17 +02:00
Karl Erik Õunapuu
7caa544c83
Fix some CC issues 2020-12-29 14:19:02 +02:00
Karl Erik Õunapuu
1fca6d907b
Fix domain update confirm tests 2020-12-18 11:27:39 +02:00
Karl Erik Õunapuu
b44ce9f752
Port domain registrant confirmation post logic to DomainUpdate action 2020-12-17 17:17:06 +02:00
Karl Erik Õunapuu
766d843597
Improve DomainUpdate logic 2020-12-16 13:11:25 +02:00
Karl Erik Õunapuu
ad2ccdba7d
Improve DomainCreate wrapper for EPP 2020-12-08 18:11:32 +02:00
Karl Erik Õunapuu
ccef1053d9
Create DomainCreate action 2020-12-08 12:00:04 +02:00
Alex Sherman
8ef748fc7d Move apply_pending_update! method from model to interactor 2020-12-08 13:15:24 +05:00
Karl Erik Õunapuu
e5a2a6cf0f
Fix CC issues 2020-11-30 17:10:04 +02:00
Karl Erik Õunapuu
dc5bbb587f
EPP: Show error when trying to remove unassigned domain status 2020-11-30 16:52:28 +02:00
Karl Erik Õunapuu
7459d7e0c5
Nameserver deserializer 2020-11-26 11:27:54 +02:00