Commit graph

246 commits

Author SHA1 Message Date
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
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
Artur Beljajev
52feefeb79 Merge branch 'master' into refactor-messages
# Conflicts:
#	app/controllers/epp/polls_controller.rb
#	test/fixtures/messages.yml
#	test/integration/epp/poll_test.rb
#	test/models/message_test.rb
2018-09-17 13:31:21 +03:00
Artur Beljajev
1679e4b72e Merge branch 'master' into refactor-messages
# Conflicts:
#	app/views/epp/poll/poll_req.xml.builder
#	test/fixtures/messages.yml
#	test/integration/epp/poll_test.rb
2018-09-17 13:23:59 +03:00
Artur Beljajev
00f3a01e5c Define message order explicitly, improve EPP poll tests 2018-09-17 12:46:27 +03:00
Timo Võhmar
4bf24d8ba7
Merge pull request #949 from internetee/registry-948
Return UTC date in EPP poll response
2018-09-17 11:58:04 +03:00
Artur Beljajev
056c57530c Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-09-01 19:40:13 +03:00
Maciej Szlosarczyk
2636fe2525
Merge branch 'master' into registry-927 2018-08-31 14:25:59 +03:00
Artur Beljajev
aff5b68a2f Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-08-28 14:28:45 +03:00
Artur Beljajev
1bfdf899a0 Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-08-27 20:55:44 +03:00
Artur Beljajev
a7f15c46eb Improve rake task output 2018-08-27 16:17:21 +03:00
Artur Beljajev
3d51a93f95 Merge branch 'master' into registry-790 2018-08-27 15:24:05 +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
8aa8aea24e
Merge branch 'master' into registry-927 2018-08-27 11:40:28 +03:00
Artur Beljajev
7368d1d756 Return UTC date in EPP poll response
Closes #948
2018-08-27 01:45:53 +03:00
Artur Beljajev
4ac992f619 Reformat 2018-08-26 22:37:45 +03:00
Artur Beljajev
4a8c39e33f Improve readability 2018-08-26 22:36:07 +03:00
Artur Beljajev
a1fb0e2e61 Introduce negative predicate 2018-08-24 14:14:29 +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
Artur Beljajev
7a9a7c052f Rename notifications.queued to read 2018-08-24 10:29:09 +03:00
Artur Beljajev
8765baf319 Rename Message to Notification 2018-08-23 20:03:03 +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
Artur Beljajev
9852b466cf Add clarification 2018-08-23 14:20:04 +03:00
Artur Beljajev
ba08856953 Improve EPP poll tests 2018-08-22 20:21:59 +03:00
Artur Beljajev
99516d87d6 Use TaskTestCase as a parent 2018-08-21 00:53:47 +03:00
Artur Beljajev
c48cdf68b6 Merge branch 'master' into registry-790 2018-08-20 21:20: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
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
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
Artur Beljajev
1d79f6548d Merge branch 'master' into registry-790
# Conflicts:
#	test/integration/epp/domain/domain_delete_test.rb
#	test/integration/epp/domain/domain_update_test.rb
#	test/integration/epp/domain/transfer/request_test.rb
#	test/system/admin_area/domains_test.rb
2018-08-09 15:01:23 +03:00
Artur Beljajev
dbace4cbc5 Merge branch 'master' into refactor-devise-integration 2018-08-09 14:51: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
Artur Beljajev
6de31605d9 Integrate master branch 2018-08-08 19:36:14 +03:00