Commit graph

86 commits

Author SHA1 Message Date
Oleg Hasjanov
c46b22db78 refactoring 2021-05-10 13:09:54 +03:00
Oleg Hasjanov
13a257210b refactoring 2021-05-07 18:12:28 +03:00
Oleg Hasjanov
54f7e87370 added initializer which returns definitly count of domains 2021-05-07 17:14:14 +03:00
Karl Erik Õunapuu
63a15154cb
Registrant API: Allow tech domain query without tech flag 2021-02-26 17:25:44 +02:00
Karl Erik Õunapuu
40b7897e4b
Registrant API: Permit country_code param 2021-02-26 11:36:27 +02:00
Karl Erik Õunapuu
34e71cc2c8
Skip bearer token logging when production env 2021-02-23 15:09:50 +02:00
Karl Erik Õunapuu
f60bf4013c
Merge remote-tracking branch 'origin/add-registrant-api-token-log' into add-role-filter-to-registrant-api 2021-02-23 13:48:05 +02:00
Karl Erik Õunapuu
d864265760
Registrant API: Expose Bearer token internally 2021-02-23 13:41:17 +02:00
Karl Erik Õunapuu
d4312caa91
Registrant API: Include unscoped domain list size 2021-02-05 16:54:42 +02:00
Karl Erik Õunapuu
419396f5b4
Get admin/registrant domains when company registry is down 2021-02-04 16:09:13 +02:00
Karl Erik Õunapuu
1bb975c0cc
Exclude tech from default domain query 2021-02-04 14:22:32 +02:00
Karl Erik Õunapuu
f07f03f0f9
Registrant API: Simplify authorized contact search query 2021-01-21 16:10:12 +02:00
Karl Erik Õunapuu
15d2ffe200
Registrant API: Return associated domains for contact query 2020-12-04 14:53:55 +02:00
Karl Erik Õunapuu
c9d4aaded9
Fix registrant domain serializer 2020-12-01 12:31:28 +02:00
Karl Erik Õunapuu
3761fe7bbd
Merge remote-tracking branch 'origin/master' into registrant-api-fetch-improvements 2020-11-30 10:34:28 +02:00
Karl Erik Õunapuu
7b33613941
Reduce domains list API call 2020-11-30 10:31:46 +02:00
Karl Erik Õunapuu
556008debe
Fix CC issues 2020-11-19 16:18:25 +02:00
Karl Erik Õunapuu
ef5c4bd54e
Return total domain count in domains query 2020-11-19 16:15:23 +02:00
Karl Erik Õunapuu
60a66bc540
Registrant confirms API: Add tests 2020-11-12 15:46:55 +02:00
Karl Erik Õunapuu
c42c482d64
Fix CC issues 2020-11-12 13:38:09 +02:00
Karl Erik Õunapuu
64d35a864f
Add delete action to confirmations API endpoint 2020-11-12 13:28:07 +02:00
Karl Erik Õunapuu
6e1a836c97
Fix CC issues 2020-11-11 16:23:01 +02:00
Karl Erik Õunapuu
55e66724cf
Clean up verifications controller 2020-11-11 16:21:32 +02:00
Karl Erik Õunapuu
377a95cc76
Add experimental registrant change accept/deny API endpoint 2020-11-11 13:09:32 +02:00
Karl Erik Õunapuu
09389ea662
Registrant confirms: Poll domain change application 2020-11-09 16:24:25 +02: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
a67a0e5bf0
Registrant API: Query representable and other contacts 2020-09-22 16:41:00 +03:00
Karl Erik Õunapuu
1e1f808c8d Use PaperTrail.request.whodunnit
PaperTrail.whodunnit was removed from PaperTrail 10.x
2020-05-29 14:59:17 +03: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
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
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
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