Commit graph

6521 commits

Author SHA1 Message Date
Maciej Szlosarczyk
4f982d6d33
Remove fantom migration 2018-08-27 12:24:42 +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
Timo Võhmar
2dd87d9b06
Merge pull request #914 from internetee/refactor-devise-integration
Refactor devise integration
2018-08-27 11:36:50 +03:00
Maciej Szlosarczyk
d725960403
Fix typo in administered_domains method name 2018-08-27 09:12:47 +03:00
Artur Beljajev
1f78856ea9 Merge branch 'master' into refactor-devise-integration 2018-08-25 17:29:00 +03:00
Maciej Szlosarczyk
fc2a4eaa9b
Update API documentation for registry locks 2018-08-24 13:48:20 +03:00
Maciej Szlosarczyk
58fec27f72
Update array indentation to conform with Rubocop requirements 2018-08-24 13:26:31 +03:00
Maciej Szlosarczyk
c92fc25683
Fix tests that failed after merging master
Also, fix rubocop issues
2018-08-24 13:22:58 +03:00
Maciej Szlosarczyk
0dc0ac4d16
Merge branch 'master' into registry-927 2018-08-24 12:58: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
Maciej Szlosarczyk
1d53e7bb5b
Convert pending_json field to jsonb so it can be compared without typecasting 2018-08-24 12:53:29 +03:00
Maciej Szlosarczyk
b7dfc19b9f
Update domain_contacts fixtures
Previously, records were invalid according to our initial settings
2018-08-24 11:57:12 +03:00
Timo Võhmar
9775ed82e5
Merge pull request #871 from internetee/registry-791
Registry 791
2018-08-23 17:47:06 +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
b079220822 Remove unused routes 2018-08-22 00:22:07 +03:00
Artur Beljajev
211f8c9143 Fix home page link 2018-08-22 00:21:12 +03:00
Artur Beljajev
a2a67159d4 Add assertion 2018-08-21 23:51:03 +03:00
Artur Beljajev
5c00a7364d Improve readability 2018-08-21 23:50:29 +03:00
Artur Beljajev
d65186dc29 Disallow scheduling "force delete" procedure on a discarded domain 2018-08-21 18:52:27 +03:00
Artur Beljajev
ffd389790c Merge branch 'master' into registry-791 2018-08-21 12:08:45 +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
0c7c8eb480
Move domain versioning tests from RSpec to minitest 2018-08-17 15:50:21 +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
Timo Võhmar
1fd6200eef
Merge pull request #935 from internetee/disallow-deposits-with-negative-amount
Disallow deposits that are lower than 0.01 EUR
2018-08-17 02:25:57 +03:00
Maciej Szlosarczyk
066123bcf7
Replace gsub with tr for better performance 2018-08-16 13:33:09 +03:00
Maciej Szlosarczyk
c028c0e477
Add more tests to deposit handling 2018-08-15 20:18:07 +03:00
Artur Beljajev
48479dd70b Integrate master 2018-08-15 16:35:17 +03:00
Maciej Szlosarczyk
b8c082090e
Rename a variable from minimum_deposit to minimum_allowed_amount 2018-08-15 16:33:04 +03:00
Artur Beljajev
91b4f5a9dd Merge branch 'master' into refactor-devise-integration 2018-08-15 16:24:30 +03:00
Maciej Szlosarczyk
0ea1045259
Fix rubocop issues 2018-08-15 12:46:36 +03:00
Maciej Szlosarczyk
b4b404888b
Disallow deposits that are lower than 0.01 EUR 2018-08-15 12:25:19 +03:00
Timo Võhmar
646fb76007
Merge pull request #933 from internetee/update-registrant-API-documentation
Update Registrant API documentation
2018-08-14 16:45:35 +03:00
Timo Võhmar
b221169a78
Merge pull request #934 from internetee/remove-grape-vulnerability-CVE-2018-3769
Get rid of CVE-2018-3769 by updating Grape
2018-08-14 13:14:42 +03:00
Maciej Szlosarczyk
d4b0fecd40
Get rid of CVE-2018-3769 by updating Grape 2018-08-14 10:13:59 +03:00
Maciej Szlosarczyk
2f776f51ac
It seems like I made a mistake with the API URL prefix in docs
This should be fixed now. I decided on fixing the documentation
instead of the actual implementation, as it has no testing footprint
2018-08-14 09:02:25 +03:00
Artur Beljajev
60f451afcd Merge branch 'master' into refactor-devise-integration 2018-08-11 14:58:54 +03:00
Maciej Szlosarczyk
76ceefcf0b
Save 2 lines of code, lines of code are expensive 2018-08-10 15:28:00 +03:00
Maciej Szlosarczyk
a7a07ac93a
Insert whitespace for consistency, change save for save! 2018-08-10 15:25:28 +03:00
Maciej Szlosarczyk
322d931856
Further massage rubocop issues 2018-08-10 15:18:53 +03:00
Maciej Szlosarczyk
9d7dc59652
Fix rubocop issues and a stray typo spotted along the way 2018-08-10 14:43:06 +03:00
Maciej Szlosarczyk
647cb53404
Merge branch 'master' into registry-927 2018-08-10 14:30:38 +03:00
Timo Võhmar
43a70863cf
Merge pull request #917 from internetee/registry-902
Registrant portal API documentation
2018-08-10 14:27:08 +03:00
Timo Võhmar
90532761ce
Merge pull request #928 from internetee/registrant-api-contacts-controller
Registrant API contacts controller
2018-08-10 14:26:00 +03:00
Maciej Szlosarczyk
d26f073e1f
Revert indentation change 2018-08-10 14:22:50 +03:00
Maciej Szlosarczyk
0a0962e007
Write tests around API for domain lock 2018-08-10 14:18:24 +03:00