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
24b87d8592
Merge branch 'master' into registry-887-revoke-certificate-before-removing-it
2018-09-20 16:08:18 +03:00
Maciej Szlosarczyk
d77bdee599
Only revoke registrar certificates
2018-09-20 16:08:00 +03:00
Timo Võhmar
74a94ef10c
Merge pull request #971 from internetee/fix-method-name
...
Fix method name
2018-09-19 17:13:45 +03:00
Timo Võhmar
64d8be029c
Merge pull request #932 from internetee/improve-registrant-area
...
Improve registrant area
2018-09-19 14:06:11 +03:00
Maciej Szlosarczyk
240bcf7911
Revoke, and then delete a certificate
...
This functionality is manually tested. because of heavy reliance on
server configuration and bash commands.
Ruby OpenSSL library lacks a good way to manage revocation list
programatically, which would be the best option to work with. We might
still use command line tools in the end.
2018-09-18 17:49:12 +03:00
Artur Beljajev
1b16c92835
Merge branch 'master' into improve-registrant-area
2018-09-18 13:04:35 +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
Artur Beljajev
0fef419799
Fix redirection after sign-in
...
Closes #973
2018-09-12 13:55:22 +03:00
Artur Beljajev
de83755fc9
An addition to 840b6da1be
2018-09-06 12:29:12 +03:00
Maciej Szlosarczyk
840b6da1be
Change callback method to fix 401 reported by a user
2018-09-06 11:54:06 +03:00
Artur Beljajev
056c57530c
Merge branch 'master' into refactor-messages
...
# Conflicts:
# db/structure.sql
2018-09-01 19:40:13 +03:00
Artur Beljajev
3ca95364ef
Merge branch 'master' into improve-registrant-area
...
# Conflicts:
# test/fixtures/contacts.yml
2018-09-01 19:37:44 +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
c1e60f663e
Merge branch 'master' into improve-registrant-area
2018-08-27 21:51:10 +03:00
Artur Beljajev
fdc77fdd30
Merge branch 'master' into registry-790
2018-08-27 21:31:31 +03:00
Artur Beljajev
1bfdf899a0
Merge branch 'master' into refactor-messages
...
# Conflicts:
# db/structure.sql
2018-08-27 20:55:44 +03:00
Maciej Szlosarczyk
08c15f095f
Merge branch 'master' into update-ruby-to-2-4
2018-08-27 17:07:49 +03:00
Artur Beljajev
3d51a93f95
Merge branch 'master' into registry-790
2018-08-27 15:24:05 +03:00
Artur Beljajev
034e8e9d11
Integrate master
2018-08-27 12:27:45 +03:00
Artur Beljajev
d27443277f
Merge branch 'master' into improve-registrant-area
2018-08-27 12:23:09 +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
Artur Beljajev
7a9a7c052f
Rename notifications.queued
to read
2018-08-24 10:29:09 +03:00
Artur Beljajev
dfff6f6d12
Rename notifications.body
to text
2018-08-23 22:33:30 +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
Artur Beljajev
211f8c9143
Fix home page link
2018-08-22 00:21:12 +03:00
Artur Beljajev
c48cdf68b6
Merge branch 'master' into registry-790
2018-08-20 21:20:52 +03:00
Artur Beljajev
eeec8dd331
Merge branch 'master' into improve-registrant-area
2018-08-17 22:19:07 +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
Artur Beljajev
773b2116ef
Merge branch 'master' into refactor-devise-integration
2018-08-17 14:54:23 +03:00
Maciej Szlosarczyk
3ee5291b57
Add handling of PaperTrail.whodunnit to Registrant API controllers
2018-08-17 13:31:53 +03:00
Maciej Szlosarczyk
07072ec6cb
Merge branch 'master' into registry-927
2018-08-17 11:28:41 +03:00
Maciej Szlosarczyk
cf16aa4039
Fix rubocop issues that are new to Ruby 2.4
2018-08-17 11:03:01 +03:00