oleghasjanov
54aefe4a2c
update regex
2025-03-10 15:13:09 +02:00
oleghasjanov
f866b549b5
# Improve email validation regex pattern and add comprehensive tests
...
This commit updates the email validation pattern in Truemail configuration to better handle various email format edge cases. The changes include:
Refine email regex pattern in config/initializers/truemail.rb to properly validate:
RFC compliant local parts with allowed special characters
Proper domain name formatting
Prevention of consecutive dots in both local part and domain
Leading and trailing dots in local part
Add comprehensive test cases in test/interactions/email_check_test.rb to verify:
Valid email formats like standard addresses, underscore usage, and dot-atom formats
Invalid email formats including consecutive dots, leading/trailing dots, and invalid characters
These changes ensure our email validation is more RFC-compliant while still being strict enough to catch common errors. The test suite now explicitly validates both positive and negative test cases for email format validation.
2025-03-10 14:24:02 +02:00
oleghasjanov
19611fe429
updated logs sidekiq handling
2025-02-03 14:08:50 +02:00
Sergei Tsoganov
a682681625
Added indexes to log_domains table
2022-12-07 11:22:42 +02:00
olegphenomenon
021d8eebc6
changed truemail logs configs
2022-11-29 11:38:53 +02:00
Sergei Tsõganov
2061a5562e
Updated truemail initializer
2022-10-12 10:58:10 +03:00
Sergei Tsõganov
532b9039d2
Modified files after rebase
2022-10-12 10:44:15 +03:00
Thiago Youssef
a6a3f72032
Merge branch 'master' into 2334-remove-que
2022-09-28 07:40:02 -03:00
Sergei Tsõganov
a5ffce290d
Updated REPP API for new registrar portal
2022-07-12 15:47:25 +03:00
Thiago Youssef
f9be2152e6
Remove legacy que
2022-04-06 11:20:27 +03:00
olegphenomenon
e129128a2a
changed regex condition for punicodes
2021-12-27 14:31:51 +02:00
olegphenomenon
956f95ac98
update truemail config
2021-12-27 13:05:42 +02:00
olegphenomenon
ef933b0106
changed regex truemail config
2021-12-27 12:58:06 +02:00
olegphenomenon
1ec79afb11
updated time of response from truemail
2021-12-17 10:50:08 +02:00
Alex Sherman
70a6a44525
Fix deprecated email_notification usage in tests
2021-10-07 16:18:02 +05:00
Alex Sherman
550c5abd6c
Add punycode email support
2021-10-07 16:13:48 +05:00
olegphenomenon
49fc79244f
updated schemas
2021-09-08 13:52:28 +03:00
Oleg Hasjanov
cd1f9c12c3
updated linked schemas
2021-06-02 15:03:59 +03:00
Alex Sherman
a0d0ce3e00
Rename util class, add first usage
2021-05-21 14:38:31 +05:00
Alex Sherman
45dfa57529
Move class to lib, add sugar, add tests
2021-05-20 17:13:26 +05:00
Alex Sherman
b18f1bff3d
Remove Sidekiq::Web setup deprecated in next version of Sidekiq
2021-04-21 13:54:44 +05:00
Alex Sherman
7210140de6
Bring back Que gem for painless migration
2021-04-12 17:22:36 +05:00
Alex Sherman
929ada8fd0
Add sidekiq as a job backend
2021-04-12 17:22:36 +05:00
Karl Erik Õunapuu
42adaa7159
Merge remote-tracking branch 'origin/master' into repp-domains
2021-02-11 10:29:38 +02:00
Karl Erik Õunapuu
2af0bfdda0
BouncedMailAddress: Remove from AWS suppression list upon destroy
2021-02-08 16:52:31 +02:00
Karl Erik Õunapuu
9305602c5f
Merge remote-tracking branch 'origin/master' into repp-domains
2021-02-03 10:59:57 +02:00
Alex Sherman
7e76d65293
Resolve issue with possible freezes on nil raw_frame
2021-01-28 14:52:48 +05:00
Karl Erik Õunapuu
454433cf10
REPP: Update ApiDoc
2021-01-21 11:29:00 +02:00
Karl Erik Õunapuu
2b3634b048
REPP domains: Nameserver actions
2021-01-18 13:24:16 +02:00
Karl Erik Õunapuu
c58b4fb2e9
Hash: select entries by keys
2021-01-11 14:32:10 +02:00
Timo Võhmar
7f81883e7b
Merge pull request #1698 from internetee/add-tara-to-registrant
...
Expand TARA auth logic to registrant portal
2020-10-15 16:58:12 +03:00
Karl Erik Õunapuu
2ed6370efe
Merge branch 'add-tara-to-registrant' of https://github.com/internetee/registry into add-tara-to-registrant
2020-10-15 15:09:26 +03:00
Karl Erik Õunapuu
a154b0599f
Registrant: Generate TARA state via gem
2020-10-15 11:32:52 +03:00
Alex Sherman
a92c1dfb74
Quickfix truemail init file
2020-10-08 12:34:10 +05:00
Karl Erik Õunapuu
e61eee242b
Merge branch 'master' into add-tara-to-registrant
2020-10-08 10:33:55 +03:00
Timo Võhmar
039ed3798f
Merge pull request #1675 from internetee/external-mail-validation-settings
...
Add default email validation type to application.yml
2020-10-06 16:19:19 +03:00
Karl Erik Õunapuu
f83e532fb1
Make Registrant/Registrar use same TARA controller
2020-10-01 18:37:04 +03:00
Karl Erik Õunapuu
11ee1f9f1e
Remove ID card logic from codebase
2020-10-01 17:18:23 +03:00
Karl Erik Õunapuu
04f0ef9a93
Expand TARA auth flow to registrant portal
2020-10-01 17:01:54 +03:00
Alex Sherman
6e99521d59
Fix mess with registrant user routes
2020-09-30 13:37:58 +05:00
Alex Sherman
a3042c39ee
Try to set callback_path explicitly
2020-09-28 14:48:23 +05:00
Alex Sherman
227c2f100d
Set OmniAuth on failure config
2020-09-25 16:20:01 +05:00
Alex Sherman
d256aa357e
Hardcode test tara creds to check on staging
2020-09-25 11:25:46 +05:00
Alex Sherman
3e67ff4d65
Add Omniauth-Tara gem/initializer
2020-09-23 13:23:38 +05:00
Alex Sherman
87fe230035
Add default email validation type to application.yml
2020-09-07 16:12:47 +05:00
Alex Sherman
87f586587e
Fix truemail log storage
2020-07-17 17:01:16 +05:00
Alex Sherman
d4f49e6556
Revert "Introduce log_dir env variable for truemail and require it with figaro."
...
This reverts commit 76eed1ef08
.
2020-07-17 16:58:42 +05:00
Georg Kahest
76eed1ef08
Introduce log_dir env variable for truemail and require it with figaro.
...
Use log_dir in truemail initializer.
2020-07-17 16:44:31 +05:00
Alex Sherman
481bb34e67
Hotfix truemail log storage
2020-07-17 16:36:44 +05:00
Alex Sherman
600541c4a1
Add truemail logging
2020-07-17 15:22:59 +05:00