Commit graph

491 commits

Author SHA1 Message Date
oleghasjanov
98f0bb283e fix path to localize issue 2025-03-21 13:45:07 +02:00
oleghasjanov
f79f32fb5d added condition for underage 2025-03-21 12:09:47 +02:00
oleghasjanov
9fa14c0c07 added condition 2025-03-20 16:45:25 +02:00
oleghasjanov
e6cb30b599 added check 2025-03-20 16:39:20 +02:00
oleghasjanov
2d103bda99 fix: improve admin contact validation messages
- Update error message for missing admin contact to be more concise
- Standardize admin contact validation message for invalid ident type
- Remove redundant error message formatting

The changes make admin contact validation messages more consistent
throughout the application, using "Admin contact" terminology instead
of "Administrative contact" for better clarity and consistency.
2025-02-05 11:53:56 +02:00
oleghasjanov
a56237c84f fix: update admin contact validation error code
- Change error code from 2004 to 2306 for admin contact validation
- Add explicit validation check for required admin contacts
- Update tests to expect new error code

The error code 2306 better reflects the EPP standard for policy-based
validation failures. This change makes the error handling more consistent
with EPP specifications when validating admin contact requirements.
2025-02-05 10:54:21 +02:00
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
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