oleghasjanov
ae96863b88
feat: Implement P12 certificate generation improvements
...
- Replace hardcoded P12 password with randomly generated one
- Add p12_password column to certificates table
- Update certificate serializer to include p12 password in response
- Remove deprecated certificate revocation logic
- Add tests for certificate revocation functionality
- Implement async P12 generation via Sidekiq job
- Add job uniqueness to prevent parallel certificate generation
Migration changes:
- Replace p12_password_digest with p12_password column
- Add safety measures for column removal
2025-04-16 11:47:52 +03:00
oleghasjanov
7799727867
feat: add age validation for admin contacts
...
- Add AgeValidation module for consistent age checks
- Validate admin contacts must be at least 18 years old
- Move age validation logic from Domain to shared module
- Add tests for admin contact age validation
- Fix JSON format for admin_contacts_allowed_ident_type setting
This change ensures that administrative contacts must be adults (18+),
using the same age validation logic as for registrants. The validation
works with both birthday and Estonian ID formats. Settings are now
properly stored as JSON strings for consistent parsing.
2025-03-20 16:37:38 +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
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
oleghasjanov
4e6865332e
update status
2024-10-21 14:25:12 +03:00
oleghasjanov
08ce8dbbb3
updated zone domain status
2024-10-21 14:05:52 +03: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
7e6dee7f10
added filter for domains with fd
2024-02-08 15:12:15 +02:00
Oleg Hasjanov
34c14e5bef
changed count of contact validations
2024-02-08 15:00:41 +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
1b8640966c
added callback force delete check after email update
2024-02-02 09:08:02 +02:00
Sergei Tsoganov
311834c085
Fixed codeclimate issues
2023-07-04 12:35:31 +03:00
Sergei Tsoganov
5716a536ca
Corrected ip addresses comparison
2023-07-04 12:31:36 +03:00
Sergei Tsoganov
537315a8a9
Fixed codeclimate issues
2023-07-04 11:36:26 +03:00
Sergei Tsoganov
97c11f5dfd
Added error messages translations to white ips
2023-07-04 11:33:06 +03:00
Sergei Tsoganov
e00213ef1c
Fixed codeclimate issue
2023-06-28 16:20:28 +03:00
Sergei Tsoganov
d3bca1434c
Refactored and corrected code for domain force delete
2023-05-17 16:04:40 +03:00
olegphenomenon
c9ed31771b
fixed tests
2023-02-06 10:44:17 +02:00
olegphenomenon
36d629fe2b
fixed status handlers
2023-02-06 10:44:17 +02:00
olegphenomenon
1b377dadcd
added more conditions for unpaid and cancelled statuses
2023-02-06 10:44:17 +02:00
olegphenomenon
0a4444b556
creating sync with billing
2023-02-06 10:44:17 +02:00
Sergei Tsõganov
3ae24f2f68
Merge branch 'master' into monthly-invoices-fix
2022-12-01 14:36:20 +02:00
Thiago Youssef
942cfe82b5
DRY registrant contact update action
2022-11-25 09:31:50 +02:00
Thiago Youssef
5c70e9f38b
Add registrant phone to whois record json
2022-11-25 09:31:50 +02:00
Sergei Tsoganov
9a08091572
Fixed codeclimate issue
2022-11-24 14:10:55 +02:00
Sergei Tsoganov
591dc58083
Fixed codeclimate issue
2022-11-24 14:09:02 +02:00
Sergei Tsoganov
df332e4012
Fixed codeclimate issue
2022-11-24 14:00:12 +02:00
Sergei Tsoganov
03778ee842
Added overwrite feature to SendMonthlyInvoicesJob
2022-11-24 13:49:54 +02:00
Sergei Tsoganov
7e80221aa1
Fixed dates for yearly domains in monthly invoices
2022-11-18 10:34:13 +02:00
Sergei Tsõganov
51066fe4b4
Handling of cancelled monthly invoices
2022-10-13 09:02:48 +03:00
Sergei Tsõganov
59ecfa8e2f
Fixed codeclimate issues
2022-10-12 10:40:03 +03:00
Sergei Tsõganov
5e6dbac462
Refactored monthly invoice generation job
2022-10-12 09:59:21 +03:00
olegphenomenon
6c66ba7383
returned back missing peace of code from #2349 branch
2022-09-02 12:39:00 +03:00
Sergei Tsõganov
a03fb140a3
Fixed codeclimate issues
2022-08-31 14:27:43 +03:00
Sergei Tsõganov
80c4057b8f
Corrected monthly invoices for sending to omniva
2022-08-31 14:22:01 +03:00
Sergei Tsõganov
14a9b5b709
Modifications for monthly invoices
2022-08-29 14:06:04 +03:00
Sergei Tsõganov
a21e5c1954
Modified views for monthly invoices
2022-08-23 09:20:39 +03:00
Sergei Tsõganov
72022aab8d
Refactored code
2022-08-22 10:23:14 +03:00
Sergei Tsõganov
d589aa1681
Created job for sending monthly invoices
2022-08-21 19:11:39 +03:00
Sergei Tsõganov
a5ffce290d
Updated REPP API for new registrar portal
2022-07-12 15:47:25 +03:00
Thiago Youssef
944aba563c
Fix tests
2022-05-02 12:52:32 +03:00
Thiago Youssef
e159821a86
Create check force delete rake task
2022-05-02 11:50:03 +03:00
Timo Võhmar
364954ecfa
Merge pull request #2355 from internetee/2340-fix-contact-update-fails
...
Deleted disclosable concern from contact
2022-04-20 16:02:03 +03:00
Sergei Tsõganov
41a3c661aa
Deleted disclosable concern from contact
2022-04-13 15:59:01 +03:00
Thiago Youssef
d0d40cc792
Fix tests
2022-04-13 13:45:58 +03:00
Thiago Youssef
f8612d687f
Remove email verification legacy code
2022-04-13 11:51:08 +03:00