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
Maciej Szlosarczyk
faeeb55bc7
Add badges to locked domains
2018-08-09 13:57:31 +03:00
Maciej Szlosarczyk
961c57563f
Merge branch 'registry-918' into registry-922
2018-08-08 09:15:40 +03:00
Maciej Szlosarczyk
06dc954167
Make tests inherit from ApplicationIntegrationTest class
2018-08-08 09:15:18 +03:00
Maciej Szlosarczyk
8736366a41
Merge branch 'registry-918' into registrant-api-contacts-controller
2018-08-08 09:14:11 +03:00
Maciej Szlosarczyk
e1881685b7
Make tests inherit from ApplicationIntegrationTest class
2018-08-08 09:13:46 +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
13562aeb06
Move file to another folder
2018-07-30 13:56:54 +03:00
Maciej Szlosarczyk
c1ea79615f
Make API return errors array
2018-07-30 11:07:44 +03:00
Maciej Szlosarczyk
ed1afb78f6
Make tests conform with #924
2018-07-30 10:30:57 +03:00