Artur Beljajev
024a993547
Use standard UI
2018-07-28 22:21:21 +03:00
Artur Beljajev
c49d626f86
Remove dead code
2018-07-28 14:27:36 +03:00
Maciej Szlosarczyk
e75d962d39
Remove inconsistent usage of error/errors
2018-07-27 11:19:18 +03:00
Maciej Szlosarczyk
b33ad0d4e8
Add show action
2018-07-27 11:00:35 +03:00
Maciej Szlosarczyk
526a9ccd58
Change test structure to follow closer newer Rails 5 rules
...
* Create new class called ApplicationIntegrationTest, so we don't have
to override ActionDispatch::IntegrationTest
* Move UI tests to inherit from ApplicationSystemTestCase
* Existing REST API or EPP tests inherit from
ApplicationIntegrationTest.
* Move `require 'application_system_test_case'` at the end of
`test_helper`
I don't particularly agree with the Rails' convention of treating UI
tests as system tests and API tests as integration tests, but I see no
benefit in actively fighting against it.
2018-07-27 09:36:27 +03:00
Timo Võhmar
fc869b167c
Merge pull request #923 from internetee/Changelog_update_180726
...
Changelog update 180726
2018-07-27 01:38:42 +03:00
Timo Võhmar
c36b780c71
Changelog update 180726
2018-07-27 01:19:18 +03:00
Maciej Szlosarczyk
0ab9f6333f
Add API/Registrant/Domains route
2018-07-26 14:46:03 +03:00
Maciej Szlosarczyk
3adb85001a
Insert space into configuration example
2018-07-26 10:39:58 +03:00
Artur Beljajev
e21d428afd
Merge branch 'master' into registry-791
2018-07-25 13:27:21 +03:00
Maciej Szlosarczyk
82d5349c02
Merge branch 'master' into registry-918
2018-07-24 16:57:26 +03:00
Maciej Szlosarczyk
aac76b333c
Revert "Use inflector rule to acronym Api to API"
...
This reverts commit 06f5eb10d4
.
2018-07-24 12:53:51 +03:00
Maciej Szlosarczyk
90b2455032
Fix codeclimate issues
2018-07-24 12:29:25 +03:00
Maciej Szlosarczyk
06f5eb10d4
Use inflector rule to acronym Api to API
2018-07-24 12:02:58 +03:00
Maciej Szlosarczyk
42004f933f
Add IP block on authentication via EID
...
Also, correct mistakenly used 403 error code.
Update aplication-example.yml to include new functionality.
2018-07-24 11:33:51 +03:00
Maciej Szlosarczyk
8f234a5852
Create base controller class
2018-07-23 16:23:56 +03:00
Maciej Szlosarczyk
65676ae637
Rename private method
2018-07-23 15:00:37 +03:00
Maciej Szlosarczyk
f92ece5467
Refactor common part of the find_or_create_by_x into a private method
2018-07-23 14:29:16 +03:00
Maciej Szlosarczyk
75119aff2e
Add registrant test class
2018-07-23 13:50:48 +03:00
Maciej Szlosarczyk
35c3f0a5bf
Change Base64 encoding to be url_safe, add crude implementation of a Controller
2018-07-20 17:29:13 +03:00
Maciej Szlosarczyk
dc8230dcc2
Create AuthTokenCreator and AuthTokenDecryptor classes
2018-07-20 15:21:10 +03:00
Timo Võhmar
311aa503b3
Merge pull request #920 from internetee/fix-typo-in-assertions-filename
...
Fix typo in assertions filename (assetions -> assertions)
2018-07-20 12:25:29 +03:00
Artur Beljajev
106592e53e
Merge branch 'master' into registry-791
...
# Conflicts:
# db/structure.sql
2018-07-19 20:40:45 +03:00
Maciej Szlosarczyk
dad57ba528
Implement the basic interface for the Authentication endpoint
...
* Handle errors as 422
* Require parameters through strong_parameters
* Use a custom rescue_from
2018-07-19 16:20:58 +03:00
Maciej Szlosarczyk
e6d3895b75
Fix typo in assertions filename
2018-07-19 10:40:42 +03:00
Maciej Szlosarczyk
1c6b838b2b
Add auth-token class
2018-07-19 10:31:31 +03:00
Maciej Szlosarczyk
1b9a504fb5
Remove country as identification parameter, restore server statuses
2018-07-18 21:22:13 +03:00
Maciej Szlosarczyk
d67e777ea8
Create a Registrant auth controller
2018-07-18 16:24:55 +03:00
Maciej Szlosarczyk
74c97eb923
Remove issuing authority as a parameter from authentication
2018-07-18 15:21:53 +03:00
Maciej Szlosarczyk
e1605f81eb
Fix error in authentication field name
2018-07-18 14:34:07 +03:00
Timo Võhmar
9ff27beba8
Merge pull request #915 from internetee/regenerate-db-structure
...
Regenerate structure.sql
2018-07-17 15:19:34 +03:00
Maciej Szlosarczyk
aa87d001d5
Remove Cache-Control headers from examples
2018-07-17 15:07:32 +03:00
Maciej Szlosarczyk
d71726c55d
Remove Content-Length header from examples
2018-07-17 15:04:55 +03:00
Maciej Szlosarczyk
f098dfd627
Merge branch 'master' into registry-902
2018-07-17 12:47:18 +03:00
Maciej Szlosarczyk
e42951bec8
Update statuses for registry lock
2018-07-17 12:46:21 +03:00
Maciej Szlosarczyk
270444b2e8
Add registry lock documentation
2018-07-16 16:03:51 +03:00
Maciej Szlosarczyk
e2d2768b6e
Update domain endpoint
2018-07-16 14:26:59 +03:00
Maciej Szlosarczyk
6aeda6444e
Change domain_names
to be an array, not a singular object
2018-07-16 13:47:55 +03:00
Maciej Szlosarczyk
2e2e5cd08d
Add GET contact info endpoint
2018-07-16 13:42:41 +03:00
Timo Võhmar
9de6c62560
Merge pull request #912 from internetee/update-grape-gem
...
Update "grape" gem
2018-07-16 11:42:53 +03:00
Maciej Szlosarczyk
f965878b42
Add contact endpoint documentation
2018-07-16 11:12:30 +03:00
Artur Beljajev
fe530f4c9f
Remove "hashie-forbidden_attributes" gem
...
Not required since Grape v1.0.0
https://github.com/ruby-grape/grape/pull/1714
2018-07-14 15:26:48 +03:00
Artur Beljajev
d09eac3fc3
Update "grape" gem
2018-07-14 15:24:01 +03:00
Artur Beljajev
5b5ed97b30
Regenerate structure.sql
...
Starting from version 9.4.17, pg_dump writes schemas explicitly
https://bucardo.org/postgres_all_versions.html#version_9.4.17
2018-07-13 21:06:28 +03:00
Maciej Szlosarczyk
d49b4b5c0f
Add domain list documentation
2018-07-13 16:19:34 +03:00
Maciej Szlosarczyk
29e06d83c0
Add description for authentication endpoint
2018-07-13 14:48:54 +03:00
Timo Võhmar
2510159c70
Merge pull request #908 from internetee/update-capybara-gem
...
Update "capybara" gem
2018-07-12 14:56:22 +03:00
Artur Beljajev
11d645bb51
Update "capybara" gem
2018-07-12 13:48:37 +03:00
Timo Võhmar
00911b0efb
Merge pull request #907 from internetee/update-webmock-gem
...
Update "webmock" gem
2018-07-12 12:50:01 +03:00
Timo Võhmar
116a9e0ab7
Merge pull request #906 from internetee/Changelog_update_180712
...
Changelog update 180712
2018-07-12 12:46:08 +03:00