Commit graph

29 commits

Author SHA1 Message Date
Martin
9202031bf6
Update set_status.rb 2025-05-30 15:33:20 +03:00
Martin
8410ef451b
Merge branch 'master' into 2781-improvements-for-daily-FD-domains-report 2025-05-30 15:09:50 +03:00
tsoganov
3e3c42ce7e Optimized PaperTrail Versions in Domain Force Delete Process 2025-05-21 15:50:48 +03:00
oleghasjanov
56e0b1909d Add company register deletion reason to force delete notes
Update schedule_force_delete to include kandeliik_tekstina as a parameter
Modify soft_delete_company to include kandeliik_tekstina parameter
Append company registry deletion reason to force delete notes when available
Pass nil to schedule_force_delete when company details response is empty
2025-05-05 14:20:25 +03:00
oleghasjanov
bfecc3c40e refactor: improve force delete domain status tracking
- Add force_delete_domain_statuses_history_data to store force delete metadata
- Update force delete queries to use new JSON status history
- Refactor force delete tests to use travel_to helper
- Remove direct force_delete_start field usage
- Update status notes to include company identification number
2025-04-01 13:52:43 +03:00
oleghasjanov
ebff7a8321 fix: handle missing force_delete_start date
Update `force_delete_start_date` method to handle cases where `domain.force_delete_start` is not present:
- Return formatted current date plus expire warning period if `force_delete_start` is missing
- Ensure consistent date formatting across scenarios

This change prevents errors when `force_delete_start` is nil and provides a fallback date based on the current date and configured warning period.
2025-02-21 10:40:39 +02:00
oleghasjanov
be5bba09fb Refactor force delete notifications and improve status handling
- Add force delete type and start date to notifications
- Extract company status notes logic into separate method
- Standardize status message formatting for both soft and fast track deletes
- Update translation templates to include force delete type and start date info
- Add Estonian translation for new notification fields
2025-02-17 12:31:51 +02:00
oleghasjanov
bbdf44583c updated WhoisUpdateJob condition for running 2025-02-03 14:08:50 +02:00
oleghasjanov
9d036f9af3 added virtual attribute for skip whois update 2025-02-03 14:08:50 +02:00
oleghasjanov
2ec545b3aa feat: add status notes to force delete notifications
- Add notes parameter to force delete interactions to provide more context
- Include company registry status in force delete notifications
- Add status mapping constants for better readability
- Move status note assignment before save in force delete process

Technical details:
- Add notes field to Domains::ForceDelete::Base interaction
- Update force delete notifications to include status notes
- Add REGISTRY_STATUSES mapping in CompanyRegisterStatusJob
- Update tests to verify new notification format
2025-02-03 14:08:50 +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
ba9aeb437d remove logs, fixed company register status job 2024-11-08 12:46:17 +02:00
oleghasjanov
b3ac165bd3 added logs 2024-11-08 12:46:17 +02:00
oleghasjanov
6ff5e55a24 business contact validation + tests 2024-11-08 12:45:12 +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
23b2136949 added checker for nil value 2022-09-05 14:33:40 +03:00
Thiago Youssef
943dedd194 Remove deprecated statuses_before_force_delete field 2022-05-24 16:36:21 +03:00
olegphenomenon
e320a7ced1 fix poll message spam after validation email 2022-04-12 15:32:21 +03:00
olegphenomenon
6a050f9ce3 updated restore function 2021-10-22 14:51:58 +03:00
olegphenomenon
f65063f6a5 removed delete prohibited remover 2021-10-22 12:15:38 +03:00
Oleg Hasjanov
96bc237484 implement mechanism of save statuses for force delete and lock 2021-07-14 12:04:55 +03:00
Alex Sherman
c6f0c3f6a7 Fix some interaction calls 2021-04-26 14:03:41 +05:00
Alex Sherman
eac7dd352b Revert "Merge pull request #1902 from internetee/1900-removing-registry-lock-should-not-remove-statuses-set-prior-to-setting-it"
This reverts commit f6fcf15fff, reversing
changes made to 26618a3c90.
2021-04-14 12:31:26 +05:00
Oleg Hasjanov
da3172169a formatted refactoring 2021-04-06 15:41:40 +03:00
Alex Sherman
91093b274d Add notification on autoFD 2021-03-22 14:54:24 +05:00
Karl Erik Õunapuu
38cefe7255
Allow explicit reason for force delete mail template 2020-12-28 12:57:06 +02:00
Alex Sherman
5363c546a5 Move all the existing interactors to Domains namespace 2020-11-30 13:50:26 +05:00