Commit graph

3514 commits

Author SHA1 Message Date
Artur Beljajev
c49d626f86 Remove dead code 2018-07-28 14:27:36 +03:00
Artur Beljajev
4b30234c86 Merge branch 'registry-791' into registry-790 2018-07-27 16:18:28 +03:00
Maciej Szlosarczyk
b33ad0d4e8
Add show action 2018-07-27 11:00:35 +03:00
Maciej Szlosarczyk
0ab9f6333f
Add API/Registrant/Domains route 2018-07-26 14:46:03 +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
Artur Beljajev
07bc0546bb Handle past domains.delete_at 2018-07-22 23:58:25 +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
Artur Beljajev
abe3df24e2 Extract translations 2018-07-19 21:57:27 +03:00
Artur Beljajev
b9d431427a Convert HAML to ERB 2018-07-19 21:52:02 +03:00
Artur Beljajev
c1066f12c6 Fix registrar area authenticated root path 2018-07-19 21:50:03 +03:00
Artur Beljajev
106592e53e Merge branch 'master' into registry-791
# Conflicts:
#	db/structure.sql
2018-07-19 20:40:45 +03:00
Artur Beljajev
e4305e7865 Merge branch 'master' into registry-790 2018-07-19 17:28:56 +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
1c6b838b2b
Add auth-token class 2018-07-19 10:31:31 +03:00
Artur Beljajev
2374d94714 Remove unneeded condition 2018-07-19 00:24:10 +03:00
Artur Beljajev
e369d90e20 Make UI consistent 2018-07-19 00:23:17 +03:00
Artur Beljajev
2e1ed2733a Extract translation 2018-07-18 23:24:56 +03:00
Artur Beljajev
5561825584 Use standard Devise sessions controller in admin area
Fixes a bug when retrying to login with correct credentials
2018-07-18 20:02:05 +03:00
Maciej Szlosarczyk
d67e777ea8
Create a Registrant auth controller 2018-07-18 16:24:55 +03:00
Artur Beljajev
989bb32548 Improve readability 2018-07-16 01:31:36 +03:00
Artur Beljajev
f1cbdec8e7 Supply PaperTrail with current user 2018-07-16 01:06:30 +03:00
Artur Beljajev
a651ac8cab Fix Rubocop warnings 2018-07-15 19:50:15 +03:00
Artur Beljajev
84bf967780 Fix template 2018-07-15 19:01:33 +03:00
Artur Beljajev
f6ad22156e Supply PaperTrail with current user 2018-07-13 23:13:58 +03:00
Artur Beljajev
32ecf36057 Rename users.password to users.plain_text_password
Otherwise it conflicts with Devise
2018-07-13 23:09:21 +03:00
Artur Beljajev
e5cdb2e8db Merge branch 'master' into refactor-devise-integration
# Conflicts:
#	app/controllers/registrant/contacts_controller.rb
#	config/routes.rb
2018-07-10 18:09:03 +03:00
Maciej Szlosarczyk
4d5dd1dae7
Fix rubocop issues 2018-07-05 17:58:22 +03:00
Maciej Szlosarczyk
6fb1e44cca
Move affected domains to the top of the hash, update integration test 2018-07-05 17:53:03 +03:00
Maciej Szlosarczyk
3e81366cfc
Add affected domain parameter to REST API response 2018-07-05 17:24:32 +03:00
Maciej Szlosarczyk
b5f07682f4
Make replace_nameservers return an array of domain names 2018-07-05 16:15:32 +03:00
Maciej Szlosarczyk
278522cfc3
Revert to old flash behavior 2018-06-26 15:52:46 +03:00
Maciej Szlosarczyk
3c44472ea8
Revert flash_messages to shared/flash 2018-06-26 15:44:34 +03:00
Timo Võhmar
68faff40cc
Merge pull request #894 from internetee/registry-757
Registry 757
2018-06-26 14:28:05 +03:00
Maciej Szlosarczyk
8fb3d511c2
Remove clean_pendings_lowlevel method 2018-06-26 11:37:31 +03:00
Timo Võhmar
5e7934d00d
Merge pull request #890 from internetee/change-directo-date-format
Change date format
2018-06-25 12:38:48 +03:00
Maciej Szlosarczyk
c3c1619238
Fix rubocop array issue 2018-06-22 13:39:45 +03:00
Timo Võhmar
ea3f3ac43a
Merge pull request #888 from internetee/improve-registrant-area
Improve registrant area
2018-06-22 13:13:58 +03:00
Timo Võhmar
9630a2d5ec
Merge pull request #882 from internetee/remove-dead-code
Remove unused code
2018-06-22 12:43:54 +03:00
Artur Beljajev
f299241b28 Merge branch 'master' into registry-791
# Conflicts:
#	db/structure.sql
2018-06-21 17:38:38 +03:00
Timo Võhmar
8c7b2e0a79
Merge pull request #877 from internetee/fix-country-dropdown
Fix country drop-down UI
2018-06-21 15:51:44 +03:00
Timo Võhmar
81f70c7d64
Merge pull request #873 from internetee/add-uuid-db-columns
Add UUID db columns
2018-06-21 15:22:11 +03:00
Artur Beljajev
d84d7cf772 Do not use bang version of methods 2018-06-20 15:17:27 +03:00
Artur Beljajev
1091fe7109 Change date format 2018-06-20 14:44:34 +03:00