Commit graph

61 commits

Author SHA1 Message Date
Maciej Szlosarczyk
d590b5d937
On status update, create WHOIS records for domains in auction
Should fix sporadic errors we are seeing with the integration
2019-04-01 10:24:54 +03:00
Artur Beljajev
daba47790c Revamp WHOIS for auctions
Fixes #1105
2019-03-24 20:14:03 +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
446b9fbf77 Complete auction integration 2019-02-18 13:54:08 +02:00
Artur Beljajev
90fd6a050f Use absolute class path in Registrant API
Otherwise Api::V1::Registrant::BaseController clashes with
Api::V1::BaseController
2019-01-23 12:54:12 +03:00
Artur Beljajev
42e8f86dae Integrate auction
Closes #874
2019-01-18 18:06:54 +02:00
Artur Beljajev
1bbf7e73d0 Improve readability 2018-12-18 15:38:08 +02:00
Artur Beljajev
d695d95ad7 Add contact disclosable attributes
Closes #992
2018-12-07 13:26:02 +02:00
Maciej Szlosarczyk
94efbbbab0
Use the same serializer for all contact related actions
Also, rerun the response with an RFC4627 formatter
2018-11-01 23:06:27 +02:00
Timo Võhmar
910753b076
Merge pull request #958 from internetee/registry-849
Registry 849
2018-10-18 15:29:44 +03: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
Artur Beljajev
b6ecae6a35 Add Registrant API contact update action
Closes #849
2018-10-09 00:09:22 +03:00
Maciej Szlosarczyk
28304559fd
Remove code duplication 2018-10-02 12:23:23 +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
e47248e5a3
Change current_user to current_registrant_user inside the Registrant API 2018-08-27 11:47:54 +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
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
Artur Beljajev
48479dd70b Integrate master 2018-08-15 16:35:17 +03:00
Artur Beljajev
60f451afcd Merge branch 'master' into refactor-devise-integration 2018-08-11 14:58:54 +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
Artur Beljajev
7e9250deb6 Use scoped current user 2018-08-10 13:12:26 +03:00
Maciej Szlosarczyk
c186929be4
Use single quote instead of double quotes 2018-08-09 15:28:43 +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
Maciej Szlosarczyk
faeeb55bc7
Add badges to locked domains 2018-08-09 13:57:31 +03:00
Maciej Szlosarczyk
abb1ad60e8
Update failing test 2018-08-07 15:09:18 +03:00
Maciej Szlosarczyk
0798001725
Make returned API errors more consistent 2018-08-07 15:04:37 +03:00
Maciej Szlosarczyk
de9b1517b0
Merge branch 'registry-918' into registrant-api-contacts-controller 2018-08-07 14:57:58 +03:00
Maciej Szlosarczyk
e3807f694d
Merge branch 'registry-918' into registry-922 2018-08-07 14:54:16 +03:00
Maciej Szlosarczyk
ad8dfcc28f
Make authentication errors more consistent with other errors 2018-08-07 14:52:33 +03:00
Maciej Szlosarczyk
3673c69319
Add Registrant/Contacts endpoint 2018-08-01 14:57:41 +03:00
Maciej Szlosarczyk
5c39cb6917
Merge branch 'registry-918' into registry-922 2018-07-31 15:29:36 +03:00
Maciej Szlosarczyk
c476680a91
Add pagination to index 2018-07-31 15:14:21 +03:00
Maciej Szlosarczyk
10d42a0d74
Add domain index action (without pagination yet) 2018-07-30 15:09:48 +03:00
Maciej Szlosarczyk
c1ea79615f
Make API return errors array 2018-07-30 11:07:44 +03:00
Maciej Szlosarczyk
b33ad0d4e8
Add show action 2018-07-27 11:00:35 +03:00
Maciej Szlosarczyk
0ab9f6333f
Add API/Registrant/Domains route 2018-07-26 14:46:03 +03:00