Commit graph

615 commits

Author SHA1 Message Date
Timo Võhmar
98bf7fb594
Merge pull request #2751 from internetee/2742-clienthold-status-must-not-me-reset-unless-the-forcedelete-status-is-reset
fix: prevent client_hold status from returning after manual removal
2025-02-19 15:38:17 +02:00
Timo Võhmar
38dc5466e9
Merge pull request #2723 from internetee/company-validator-during-creation
feat: restore company validation for Estonian organizations
2025-02-12 10:33:28 +02:00
oleghasjanov
6194c5c58a fix: prevent client_hold status from returning after manual removal
- Add flag in force_delete_data to track manual client_hold removal
- Update ProcessClientHold to respect manual status removal
- Add test to verify client_hold doesn't return after admin removes it

When an admin manually removes the client_hold status from a domain,
it should not be automatically re-added by the ProcessClientHold job.
This change tracks manual removals and prevents the status from being
re-added while maintaining the force delete process.
2025-02-10 13:42:19 +02:00
oleghasjanov
19df0cd57f fix tests -> count of running jobs were decreased 2025-02-03 14:08:50 +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
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
oleghasjanov
61497deb2a added more tests 2024-11-08 12:45:12 +02:00
Oleg Hasjanov
34c14e5bef changed count of contact validations 2024-02-08 15:00:41 +02:00
Timo Võhmar
d47b3f233e
Merge pull request #2625 from internetee/reference-data-get-update
updated request for get reference user data
2024-02-06 15:26:31 +02:00
Oleg Hasjanov
8eee65579b move validator from callback to action interactor and to the api controller 2024-02-02 09:08:04 +02:00
Oleg Hasjanov
f4d276fc44 comment out not relevant tests 2024-02-02 09:08:04 +02:00
Oleg Hasjanov
736d935e3e added test 2024-02-02 09:08:04 +02:00
Oleg Hasjanov
6c7abf1123 updated request for get reference user data 2023-10-31 12:42:40 +02:00
Sergei Tsoganov
66a8ea111f Updated tests 2023-06-29 13:01:57 +03:00
Sergei Tsoganov
9cbf9f88bf Corrected failed test 2023-05-31 16:08:50 +03:00
Sergei Tsoganov
6bf3819894 Fixed test 2023-05-29 14:56:09 +03:00
Sergei Tsoganov
d3bca1434c Refactored and corrected code for domain force delete 2023-05-17 16:04:40 +03:00
olegphenomenon
fecc3061c8 comment out payment check verification 2023-05-05 16:05:53 +03:00
Timo Võhmar
da514f9a50
Merge pull request #2531 from internetee/68-creating-syncronization-of-invoice-changes
creating sync with billing
2023-04-20 16:08:47 +03:00
Sergei Tsoganov
ec203df164 Corrected test errors 2023-03-16 11:50:50 +02:00
olegphenomenon
d28afca00f change logic, added tests 2023-02-07 16:10:20 +02:00
olegphenomenon
0a4444b556 creating sync with billing 2023-02-06 10:44:17 +02:00
olegphenomenon
51dd9dc112 added condition for send expired email 2022-12-02 12:41:55 +02:00
olegphenomenon
17b9cf0ffc send expire email for multiyear domains 2022-12-02 11:12:48 +02:00
olegphenomenon
f3b3eee9a2 fixed test 2022-11-08 10:59:56 +02:00
olegphenomenon
7aa02f3541 updated test 2022-11-08 10:27:52 +02:00
olegphenomenon
48c14b8a39 fixed tests 2022-11-07 15:59:48 +02:00
olegphenomenon
f5d3a0d9a9 fixed tests 2022-11-07 11:55:57 +02:00
Alex Sherman
dbe1678430 Add current limits to the error message 2022-10-28 14:00:18 +03:00
Timo Võhmar
4a31cc3b15
Merge pull request #2403 from internetee/exceptions-for-registered-domains-and-no-bids-auctions
added exception for auctions with no-bids and registred-domains statuses
2022-10-20 09:18:32 +03:00
Thiago Youssef
62f18c0358 fix test 2022-10-16 07:55:24 -03:00
Sergei Tsõganov
04b55068df Removed and updated additional files 2022-10-13 14:06:33 +03:00
Timo Võhmar
4a0dc8e159
Merge pull request #2418 from internetee/2413-force-delete-lift-bug
Fix check force delete lift bug
2022-10-12 13:54:55 +03:00
Thiago Youssef
ae738aa11e Merge branch 'master' into enable-trimming-dnskey 2022-10-06 06:57:47 -03:00
Thiago Youssef
a380668d3a enable trimming for dnskey and email values 2022-10-05 08:07:31 -03:00
Timo Võhmar
8528a5bab1
Merge pull request #2443 from internetee/prohibition-bank-transaction-over-paid-invoice
protected public method account activity create
2022-10-03 15:29:29 +03:00
Timo Võhmar
c2cea06060
Merge pull request #2393 from internetee/fix-plarform-indicator-for-next-rounds
fixed type of auction for next rounds
2022-09-29 15:17:13 +03:00
Thiago Youssef
9d7bf049e6 Delete duplicate test 2022-09-25 11:13:23 -03:00
Thiago Youssef
39022eab9e Fix tests 2022-09-25 11:06:16 -03:00
Thiago Youssef
71d1e9bf47 Migrate refresh status notes to CheckForceDeleteLift job 2022-09-25 10:31:31 -03:00
olegphenomenon
3bdd5aab2e updated test 2022-09-21 11:28:34 +03:00
Thiago Youssef
c6ff1ad300 fix tests 2022-09-18 17:56:05 -03:00
Thiago Youssef
929ccf6985 Migrate force delete refresh status notes to a job 2022-09-18 13:37:16 -03:00
Thiago Youssef
7328ea24c3 Merge branch 'master' into 2413-force-delete-lift-bug 2022-09-15 07:21:45 -03:00
Timo Võhmar
f77883b266
Merge pull request #2433 from internetee/remove-feature-toggle
remove eis-billing feature toggle
2022-09-13 14:58:10 +03:00
olegphenomenon
c52da86865 remove eis-billing feature toggle 2022-09-02 13:32:02 +03:00
olegphenomenon
00d97aac06 fixed tests 2022-09-01 15:04:04 +03:00
Thiago Youssef
70ff87bd20 Add tests 2022-08-15 06:34:37 -03:00