Commit graph

10 commits

Author SHA1 Message Date
oleghasjanov
c77a4d494d feat: add ability to skip business contact validation
- Add environment variable 'allow_validate_business_contacts' to control business contact validation
- Remove redundant company_is_relevant? method
- Add integration test for skipping company validation
2025-04-01 12:26:53 +03:00
oleghasjanov
89097bfabe feat: restore company validation for Estonian organizations
- Re-enable company validation logic for Estonian organization contacts
- Update company_register gem to use master branch
- Restore and update company validation tests
- Add additional check for Estonian country code in validation

This change ensures that only registered or liquidated Estonian companies
can be used when creating organizational contacts.
2025-02-03 14:08:18 +02:00
oleghasjanov
803276d8c8 Add phone number validation for Estonian organization contacts
- Add OrgRegistrantPhoneCheckerJob execution for contact creation and update
- Rename validate_* methods to maybe_validate_* for consistency
- Add tests for phone number validation in REPP API
- Fix method naming and add proper job arguments

This ensures phone numbers are validated against company register data
for Estonian organization contacts after creation or update.
2025-01-30 12:49:20 +02:00
oleghasjanov
d0a39bf469 remove company creation validation 2024-11-25 14:48:28 +02:00
oleghasjanov
61497deb2a added more tests 2024-11-08 12:45:12 +02:00
Sergei Tsoganov
37c16a067d Updated dependency ransack to v4 2023-03-16 11:28:25 +02:00
Thiago Youssef
2a58bf3849 Add rate limiting to all repp actions 2022-10-28 14:00:18 +03:00
Sergei Tsõganov
a5ffce290d Updated REPP API for new registrar portal 2022-07-12 15:47:25 +03:00
Karl Erik Õunapuu
ddc26b81b1
REPP:: Contact create/update legaldoc test 2020-10-20 15:59:05 +03:00
Karl Erik Õunapuu
9cfa1c2989
REPP: Contact create test 2020-10-20 11:52:56 +03:00