Commit graph

11 commits

Author SHA1 Message Date
olegphenomenon
e9d7b40136 added tests 2021-10-27 15:27:41 +03:00
Karl Erik Õunapuu
11ee1f9f1e
Remove ID card logic from codebase 2020-10-01 17:18:23 +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
d725960403
Fix typo in administered_domains method name 2018-08-27 09:12:47 +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
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
75119aff2e
Add registrant test class 2018-07-23 13:50:48 +03:00