Commit graph

1838 commits

Author SHA1 Message Date
Timo Võhmar
a9b341ebfe
Merge pull request #2730 from internetee/2702-optional-admin-contact-for-private-registrations
Make admin contacts optional for private registrants
2025-01-28 10:15:33 +02:00
Timo Võhmar
8dcc287d60
Merge pull request #2737 from internetee/improve-verification-translations
Improved verification email translations
2025-01-15 16:45:44 +02:00
tsoganov
5cf18bd9e5 Corrected tests 2025-01-14 15:52:33 +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
Timo Võhmar
e38c46757b
Merge pull request #2718 from internetee/daily-fd-domains-subscription
Daily email notification to admins about new FD statuses
2024-12-31 10:56:52 +02:00
oleghasjanov
4b52284a86 Remove debug output from force delete process
WHAT:
- Removed debug output line from PostSetProcess
- Fixed force_delete_start date comparison in admin notifier job

WHY:
- Debug output was adding noise to logs and wasn't necessary

HOW:
- Removed puts statement for domain status debugging
- Changed query to use exact timestamp comparison for force_delete_start
2024-12-19 14:27:47 +02:00
oleghasjanov
6facbc8302 updated poll message 2024-12-19 11:15:23 +02:00
oleghasjanov
b229613b8a feat: Add invalid ident notification for company register status checks
- Add notification system for invalid company identifications
- Update force delete notifications to handle invalid company cases
- Add translations for invalid ident messages (ET/EN)
- Add test coverage for invalid ident scenarios
- Remove debug logging from force delete process
- Clean up unused CSV templates

This change improves handling of invalid company identifications in the
Estonian business registry by providing proper notifications to registrars
and ensuring appropriate status updates.
2024-12-17 14:08:57 +02:00
oleghasjanov
d0a39bf469 remove company creation validation 2024-11-25 14:48:28 +02:00
Timo Võhmar
5d454febb3
Merge pull request #2696 from internetee/verify-contacts
Handling contact verifications
2024-11-19 10:34:53 +02:00
oleghasjanov
35eb60a5d8 removed extra line 2024-11-14 10:16:24 +02:00
oleghasjanov
da17294836 feat: add company register status job tests
- Add test for checking companies with status K (DELETED) that should be scheduled for force delete
- Add test for checking companies that are not found in register and should be deleted
- Add company_details method to CompanyRegisterClientStub for mocking API responses

The tests verify that:
1. Companies with DELETED status are properly marked for force delete
2. Companies not found in register are marked as deleted and scheduled for force delete
3. Proper mocking of company_details API responses
2024-11-14 10:13:01 +02:00
tsoganov
af46be8d0f Corrected tests 2024-11-14 08:37:09 +02:00
tsoganov
0085f99e02 Modified identification request webhook 2024-11-14 08:37:09 +02:00
tsoganov
637cabf95f Handling contact verifications 2024-11-14 08:37:09 +02:00
oleghasjanov
292a4fddc5 fixed tests: updated gems; improve company register status job and test stability
- Refactor CompanyRegisterStatusJob for better readability and error handling
- Update whitelisted_companies to use JSON parsing with fallback
- Fix company register status check in tests with proper mock data
- Remove debug logging statements
- Add null check for domain status notes
- Update test dependencies (Capybara and Selenium) for better stability
2024-11-13 15:04:39 +02:00
oleghasjanov
61497deb2a added more tests 2024-11-08 12:45:12 +02:00
oleghasjanov
6ff5e55a24 business contact validation + tests 2024-11-08 12:45:12 +02:00
Timo Võhmar
6c9ce3a7a1
Merge pull request #2647 from internetee/change-count-of-validation-contacts
changed count of contact validations
2024-09-04 16:19:35 +03:00
tsoganov
c7d3788a36 Updated contact name data type in schemas 2024-08-22 11:25:54 +03: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
b5b59026b9 added deadline registration condition during domain registration from auction 2024-01-24 15:17:11 +02:00
Sergei Tsoganov
31fac9eadf Fixed fixture 2023-12-21 17:35:38 +02:00
Sergei Tsoganov
c67a21c7ba Improved stats query 2023-12-21 17:26:01 +02:00
Sergei Tsoganov
7db8b5d970 Removed date_from attribute 2023-12-19 09:38:00 +02:00
Sergei Tsoganov
639da20cc6 Updated fixtures 2023-12-14 15:46:37 +02:00
Sergei Tsoganov
e73faae879 Refactored statistics caclulation 2023-12-14 13:26:31 +02:00
Oleg Hasjanov
6c7abf1123 updated request for get reference user data 2023-10-31 12:42:40 +02:00
Sergei Tsoganov
b7c06a4f26 Removed webdrivers gem 2023-09-12 12:13:16 +03:00
Oleg Hasjanov
f8fcf0e456 added test 2023-08-22 15:36:11 +03:00
Sergei Tsoganov
7863322c9d Registrar ip restriction on every request 2023-08-04 13:43:02 +03:00
Sergei Tsoganov
b86fac03b5 Corrected integration tests 2023-08-04 12:46:56 +03:00
Sergei Tsoganov
597766dba0 Corrected integration test 2023-07-13 13:12:46 +03:00
Sergei Tsoganov
52b3b3a6cf Added integration tests for user certificate validation 2023-07-13 13:03:10 +03:00
Sergei Tsoganov
684f80891a Corrected integration test 2023-07-13 12:41:38 +03:00
Sergey Tsyganov
3784677af2 Updated white_ips_test.rb integration test 2023-07-11 11:04:35 +03:00
Sergei Tsoganov
fe6015491c Updated base_test 2023-07-10 14:40:18 +03:00
Sergei Tsoganov
52405e1796 Updated admin integration test 2023-07-10 12:14:03 +03:00
Sergei Tsoganov
f5ed46c9a3 Updated admin integration test 2023-07-10 12:07:03 +03:00
Sergei Tsoganov
c5dc81ede9 Updated admin integration test 2023-07-10 11:35:40 +03:00
Sergei Tsoganov
b7f31ea7e2 Updated admin integration test 2023-07-10 10:37:35 +03:00
Sergei Tsoganov
43e088e852 Updated admin integration test 2023-07-10 10:32:38 +03:00
Sergei Tsoganov
f68d8e91c2 Add admin mailers and tests to white_ips 2023-07-10 09:51:56 +03:00
Sergei Tsoganov
e00e44c9b8 Modified white ip form and created mailer 2023-07-05 15:28:43 +03:00
Sergei Tsoganov
c234449dae Modified white ip form 2023-07-03 15:43:30 +03:00
Sergei Tsoganov
c9bd4a3037 Added certificate REPP integration tests 2023-06-29 15:27:47 +03:00