olegphenomenon
e9d7b40136
added tests
2021-10-27 15:27:41 +03:00
olegphenomenon
b0ed6167f5
added updated method
2021-10-25 16:29:21 +03:00
olegphenomenon
b0ca5ddec0
added another breakpoints
2021-10-25 15:35:00 +03:00
olegphenomenon
a896e78e51
updated tests
2021-09-24 14:18:39 +03:00
olegphenomenon
419e5a587d
refactoring
2021-09-23 16:54:41 +03:00
olegphenomenon
4501463434
added new task and test for replace new status for locked domains
2021-09-23 16:54:41 +03:00
Karl Erik Õunapuu
1999493bac
Skip company query if ident is eIDAS UUID
2021-02-26 14:02:42 +02:00
Karl Erik Õunapuu
ea2f9dcbb6
Registrant User: Fix UUID ident parsing
2021-02-26 13:50:18 +02:00
Karl Erik Õunapuu
40b7897e4b
Registrant API: Permit country_code param
2021-02-26 11:36:27 +02:00
Karl Erik Õunapuu
419396f5b4
Get admin/registrant domains when company registry is down
2021-02-04 16:09:13 +02:00
Karl Erik Õunapuu
1bb975c0cc
Exclude tech from default domain query
2021-02-04 14:22:32 +02:00
Karl Erik Õunapuu
3444c4e021
Add registrar poll message after updateing registrant contact(s) names
2020-11-03 16:14:01 +02:00
Karl Erik Õunapuu
89154c4fe2
Use predefined methods to determine country and ident
2020-10-30 11:56:07 +02:00
Karl Erik Õunapuu
2f259982da
Find related contacts via ident and ident_country_code
2020-10-30 11:51:20 +02:00
Karl Erik Õunapuu
e1d2fb45d5
Fix tests
2020-10-29 11:56:33 +02:00
Karl Erik Õunapuu
7b258f8e79
Don't force RegistrantUser name to be uppercase
2020-10-28 17:07:35 +02:00
Karl Erik Õunapuu
c1bba784d6
Update contact(s) name based on eIdentity data from Registrant API
2020-10-28 16:35:35 +02: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
Karl Erik Õunapuu
a67a0e5bf0
Registrant API: Query representable and other contacts
2020-09-22 16:41:00 +03:00
Karl Erik Õunapuu
4f9fa88bd4
Registrant: Only show domains that user is connected with personally / via company
2020-09-22 16:09:35 +03:00
Karl Erik Õunapuu
572510d7b0
Find contact/registrar directly via domain or via relations
2020-05-20 11:10:01 +03:00
Artur Beljajev
a08f063640
Refactor ID card sign-in
...
- Extract to Devise custom strategy
- Use `SSL_CLIENT_S_DN_CN` env variable instead of `SSL_CLIENT_S_DN` to
get ID card data
- Remove `database_authenticatable` strategy from `RegistrantUser`
Closes #1047
2019-03-19 19:37:36 +02:00
Artur Beljajev
83f8a9fb6a
Extract company register
...
Closes #1079 , #916 , #1077
2019-03-15 17:33:07 +02:00
Artur Beljajev
b6ecae6a35
Add Registrant API contact update action
...
Closes #849
2018-10-09 00:09:22 +03:00
Maciej Szlosarczyk
ba01bb3dfc
Fix bug in domains not returning those where a contact was only a registrant
2018-08-27 14:34:12 +03:00
Maciej Szlosarczyk
8aa8aea24e
Merge branch 'master' into registry-927
2018-08-27 11:40:28 +03:00
Maciej Szlosarczyk
d725960403
Fix typo in administered_domains method name
2018-08-27 09:12:47 +03:00
Maciej Szlosarczyk
c92fc25683
Fix tests that failed after merging master
...
Also, fix rubocop issues
2018-08-24 13:22:58 +03:00
Maciej Szlosarczyk
a64b03d204
Make sure that only admin contacts and registrants can lock a domain
2018-08-24 12:54:05 +03:00
Maciej Szlosarczyk
9623e2fb97
Refactor RegistrantUser class
...
* Extract frequently used country_code and ident methods
* Refactor domain query
* Add contact query method
* Add adminstrated_domains query method. Name will most likely change
in the future developments
* Change registry locks integration test name
2018-08-23 16:00:44 +03:00
Artur Beljajev
dbace4cbc5
Merge branch 'master' into refactor-devise-integration
2018-08-09 14:51:22 +03:00
Maciej Szlosarczyk
90b2455032
Fix codeclimate issues
2018-07-24 12:29:25 +03:00
Maciej Szlosarczyk
65676ae637
Rename private method
2018-07-23 15:00:37 +03:00
Maciej Szlosarczyk
f92ece5467
Refactor common part of the find_or_create_by_x into a private method
2018-07-23 14:29:16 +03:00
Maciej Szlosarczyk
dad57ba528
Implement the basic interface for the Authentication endpoint
...
* Handle errors as 422
* Require parameters through strong_parameters
* Use a custom rescue_from
2018-07-19 16:20:58 +03:00
Maciej Szlosarczyk
1c6b838b2b
Add auth-token class
2018-07-19 10:31:31 +03:00
Artur Beljajev
c31f507c25
Specify Devise modules for each type of user
2018-06-19 22:20:52 +03:00
Vladimir Krylov
5e2e7d3ed2
story#116954569 - Parse id-card data in new apache
2016-04-05 15:38:54 +03:00
Vladimir Krylov
79b435cef2
Story#105846070 - load domains by registrant_ident
2016-01-25 15:09:33 +02:00
Matt Farnsworth
05c4aaf3f1
Story #105846070 - do not allow user to see other user's domains if their ident values have the same code
2015-12-14 16:55:22 +02:00
Vladimir Krylov
da910bc660
Story#105842700 - Login user with ID card
2015-12-01 18:15:27 +02:00
Martin Lensment
8f109718c7
Add mid login to registrant
2015-05-26 18:01:09 +03:00
Martin Lensment
27a71f02a3
Catch PKI errors
2015-05-25 11:50:00 +03:00
Martin Lensment
de60ad8e76
Add more logging
2015-05-20 18:19:15 +03:00
Martin Lensment
4cd8df079f
Return user from id card parser method
2015-05-19 11:07:21 +03:00
Martin Lensment
b3fc3ce915
Use first name and last name in registrant portal
2015-05-19 11:00:49 +03:00
Martin Lensment
a52e76e319
Read IDC data and create user
2015-05-14 19:02:33 +03:00
Martin Lensment
ca2183817a
Add Registrant User
2015-05-14 18:02:31 +03:00
Priit Tark
688a71ebf1
Added basic Registrant portal
2015-05-13 13:02:08 +03:00