Commit graph

125 commits

Author SHA1 Message Date
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
d0a39bf469 remove company creation validation 2024-11-25 14:48:28 +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
61497deb2a added more tests 2024-11-08 12:45:12 +02:00
Oleg Hasjanov
d3d8db2713 fixed shared market test 2024-01-24 15:05:06 +02:00
Sergei Tsoganov
7db8b5d970 Removed date_from attribute 2023-12-19 09:38:00 +02:00
Sergei Tsoganov
e73faae879 Refactored statistics caclulation 2023-12-14 13:26:31 +02: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
Sergei Tsoganov
fe6015491c Updated base_test 2023-07-10 14:40:18 +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
Sergei Tsoganov
a4d28a0ee2 Covered with tests api users and white ips 2023-06-01 16:27:34 +03:00
Sergei Tsoganov
37c16a067d Updated dependency ransack to v4 2023-03-16 11:28:25 +02:00
Sergei Tsoganov
ce7217af4d Corrected test 2023-01-10 13:57:06 +02:00
Timo Võhmar
ca5dea905e
Merge pull request #2518 from internetee/reverse-log-domains-json-data
Created migration files for log_domains table json columns
2023-01-09 10:56:22 +02:00
Sergei Tsoganov
09d4fa3ff6 Corrected stats test 2023-01-03 12:55:25 +02:00
olegphenomenon
8916bcd0d6 transfer code change during registrant change 2023-01-03 11:54:04 +02:00
dependabot[bot]
f9d4b1e9b4 Bump rails-html-sanitizer from 1.4.3 to 1.4.4
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 13:31:47 +02:00
Sergei Tsoganov
045c74b7e2 Fixed test 2022-12-07 11:45:31 +02:00
Sergei Tsoganov
2471836797 Commented out failed test 2022-11-23 16:57:20 +02:00
Sergei Tsoganov
a55a2f922a Refactored EppRequestable module 2022-11-23 16:09:14 +02:00
Sergei Tsoganov
1fba3a731c Added tests 2022-11-23 14:55:34 +02:00
Thiago Youssef
e65d55765a Fix tests 2022-10-28 14:00:18 +03:00
Thiago Youssef
2a58bf3849 Add rate limiting to all repp actions 2022-10-28 14:00:18 +03:00
Sergei Tsõganov
04b55068df Removed and updated additional files 2022-10-13 14:06:33 +03:00
olegphenomenon
f384520cbf fixed zeitwerk load file issue 2022-09-30 14:21:01 +03:00
Sergei Tsõganov
dc4c3cf616 Added market share growth rate data endpoint 2022-09-16 21:35:26 +03:00
Sergei Tsõganov
261e2d3162 Add test 2022-09-16 21:35:26 +03:00
olegphenomenon
cd81e58ff6 updated tests 2022-09-02 14:58:50 +03:00
olegphenomenon
c52da86865 remove eis-billing feature toggle 2022-09-02 13:32:02 +03:00
Sergei Tsõganov
26cb791586 Fixes after repp-apidoc update 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
363a9a7357 Updated tests after summary endpoint update 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
872c650ef7 Updated tests after summary endpoint update 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
54b96b05e8 Updated tara callback endpoint 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
de5872fb40 Moved switch user method to accounts 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
1b14a9d012 Updated tests after renaming REPP API accounts controller 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
2cdf9f8b95 Fixed summary controller 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
b502c2779e Added additional tests to REPP API 2022-07-12 15:48:43 +03:00
Sergei Tsõganov
a5ffce290d Updated REPP API for new registrar portal 2022-07-12 15:47:25 +03:00
olegphenomenon
58db467229 update validation of email when domain contacts are updated 2022-03-21 11:31:32 +02:00
olegphenomenon
d6824bf46c added tests 2021-11-11 13:10:27 +02:00
olegphenomenon
11b7a13cf3 change key token 2021-11-10 11:46:14 +02:00
Oleg Hasjanov
17850b53d7 added secret key 2021-11-08 12:16:58 +02:00