Maciej Szlosarczyk
e47248e5a3
Change current_user to current_registrant_user inside the Registrant API
2018-08-27 11:47:54 +03:00
Maciej Szlosarczyk
d725960403
Fix typo in administered_domains method name
2018-08-27 09:12:47 +03:00
Maciej Szlosarczyk
58fec27f72
Update array indentation to conform with Rubocop requirements
2018-08-24 13:26:31 +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
97617764fb
Update documentation for registry lock.
...
Also, make rewrite the return error message using better grammar
2018-08-17 16:00:43 +03:00
Maciej Szlosarczyk
3ee5291b57
Add handling of PaperTrail.whodunnit to Registrant API controllers
2018-08-17 13:31:53 +03:00
Maciej Szlosarczyk
0a0962e007
Write tests around API for domain lock
2018-08-10 14:18:24 +03:00
Maciej Szlosarczyk
faeeb55bc7
Add badges to locked domains
2018-08-09 13:57:31 +03:00