Commit graph

67 commits

Author SHA1 Message Date
olegphenomenon
a896e78e51 updated tests 2021-09-24 14:18:39 +03:00
olegphenomenon
4d64ee21a1 refactoring 2021-09-22 11:21:49 +03:00
olegphenomenon
81b476f37f updated tests 2021-09-22 10:40:01 +03:00
olegphenomenon
1bb5dddd58 added abbility for added extenstions prohibited status 2021-09-21 17:15:01 +03:00
Oleg Hasjanov
0c22107b12 Tests: fixed exptected values 2021-03-09 13:03:11 +02:00
Oleg Hasjanov
951d95a3e8 added test for total count 2021-02-10 10:17:50 +02:00
Oleg Hasjanov
d19bb69342 added test for total count 2021-02-10 09:58:22 +02:00
Oleg Hasjanov
e488c839dd added tests for api endpoint 2021-02-09 16:59:58 +02:00
Karl Erik Õunapuu
84755226a3
Reflect new keys in registrant API tests 2021-02-05 12:11:36 +02:00
Karl Erik Õunapuu
1d1c336117
Registrant API: Verify new contact link(s) structure 2021-01-21 13:18:47 +02:00
Karl Erik Õunapuu
92b294e81b
Reflect new behaviour of registrant API in tests 2020-12-04 15:24:14 +02:00
Karl Erik Õunapuu
54eb1e91de
Fix CC issues 2020-11-13 12:31:55 +02:00
Karl Erik Õunapuu
60a66bc540
Registrant confirms API: Add tests 2020-11-12 15:46:55 +02:00
Alex Sherman
f58659041d Fix company contacts stub 2020-10-19 18:08:21 +05:00
Alex Sherman
c09e08c61e Change error handling to more humane 2020-10-15 16:16:44 +05:00
Alex Sherman
c43ae63521 Fix output format & format test 2020-10-13 15:07:44 +05:00
Alex Sherman
c79042f789 Add registrant api companies endpoint 2020-10-12 16:32:37 +05:00
Karl Erik Õunapuu
552e1e7b1e
Fix tests 2020-09-22 17:11:40 +03:00
Alex Sherman
c4de5655e1 Add company controlled contacts to registrant API
Fix tests.
2020-07-15 15:11:51 +05:00
Maciej Szlosarczyk
74a9d59753
Add DNS keys to domain API response
It is fairly similar to what we do for WHOIS records, but one query is
slightly rewritten with removal of try-catch block
2020-06-18 10:42:39 +03:00
Maciej Szlosarczyk
28695f4c22
add email field to contact serializer 2020-06-12 14:32:53 +03:00
Alex Sherman
a1651ca1b9 Fix double versioning on Domain & Contact models 2020-02-12 18:51:48 +05:00
Alex Sherman
a18f7b1605 Pump papertrail version to 6.0.2 2020-02-05 12:43:25 +05:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
4d0117431c Use contact serializer
Closes #1090
2019-03-19 19:35:01 +02:00
Artur Beljajev
83f8a9fb6a Extract company register
Closes #1079, #916, #1077
2019-03-15 17:33:07 +02:00
Artur Beljajev
ad9a58a17d Fix fixture
Otherwise HTML validation fails
2019-03-08 13:31:44 +02:00
Artur Beljajev
e3276d288c Fix copy-paste error 2019-02-21 15:53:59 +02:00
Maciej Szlosarczyk
966d668ac8
Return Origin url instead of, as requested by ops 2018-10-17 11:38:12 +03:00
Maciej Szlosarczyk
09e0a96b70
Ensure cors headers are also returned for other requests 2018-10-17 11:25:44 +03:00
Maciej Szlosarczyk
e3c83c601c
Return empty body in OPTIONS requests 2018-10-16 09:47:33 +03:00
Maciej Szlosarczyk
58c928226d
Add handling of OPTIONS request to /api namespace
* It allows access from anywhere via wildcard origin
* It sets the timeout to an hour
* It allows all standard HTTP verbs + OPTIONS
2018-10-16 09:32:49 +03:00
Maciej Szlosarczyk
61d659cde9
Fix broken test introduced by latest merge 2018-10-04 11:32:49 +03:00
Maciej Szlosarczyk
f551140a0d
Fix #1000
* Return contacts inside domain object
* Return registrant uuid and name inside domain object
2018-10-04 09:54:52 +03:00
Maciej Szlosarczyk
2a4995226f
Expand on the response about registrar and nameservers
* Return website for registrar
* Return IPv4 and IPv6 addresses for nameservers
2018-10-03 16:34:26 +03:00
Maciej Szlosarczyk
5e5162e44e
Update registry lock controller to also return special serialization 2018-10-02 11:57:52 +03:00
Maciej Szlosarczyk
ce8451d004
Update domains controller to return serialized domains now 2018-10-02 11:36:44 +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
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
9f7fc47f19
Make contact fixtures have unique ident numbers 2018-08-23 15:40:52 +03:00
Maciej Szlosarczyk
ec5e4fe356
Add count check to registry lock test 2018-08-17 16:11:39 +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
647cb53404
Merge branch 'master' into registry-927 2018-08-10 14:30:38 +03:00
Maciej Szlosarczyk
0a0962e007
Write tests around API for domain lock 2018-08-10 14:18:24 +03:00
Maciej Szlosarczyk
194adec9d3
Foo 2018-08-10 13:17:08 +03:00
Maciej Szlosarczyk
256d2b7de4
Add test for error in business registry 2018-08-09 15:24:21 +03:00
Maciej Szlosarczyk
4cc0669286
Add business registry support for contacts controller 2018-08-09 15:04:22 +03:00
Maciej Szlosarczyk
9dd9d4b1d6
Merge branch 'master' into registrant-api-contacts-controller 2018-08-09 14:05:27 +03:00