Maciej Szlosarczyk
b3a3a8f1a2
Rename class to avoid any future collisions
2018-08-31 14:26:06 +03:00
Maciej Szlosarczyk
2636fe2525
Merge branch 'master' into registry-927
2018-08-31 14:25:59 +03:00
Artur Beljajev
fdc77fdd30
Merge branch 'master' into registry-790
2018-08-27 21:31:31 +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
Maciej Szlosarczyk
ba01bb3dfc
Fix bug in domains not returning those where a contact was only a registrant
2018-08-27 14:34:12 +03:00
Maciej Szlosarczyk
1684c5dd34
Merge branch 'master' into registry-927
2018-08-27 12:35:35 +03:00
Timo Võhmar
3ce0ae9941
Merge pull request #939 from internetee/add-body-css-class
...
Generate <body> CSS class for every action for better styling
2018-08-27 12:18:30 +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
Artur Beljajev
1f78856ea9
Merge branch 'master' into refactor-devise-integration
2018-08-25 17:29:00 +03:00
Artur Beljajev
4b2948986b
Merge branch 'master' into registry-790
...
# Conflicts:
# test/models/domain/force_delete_test.rb
# test/system/admin_area/domains/force_delete_test.rb
2018-08-24 14:54:41 +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
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
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
Artur Beljajev
cd633d0a4b
Output rake task results
2018-08-21 00:53:25 +03:00
Artur Beljajev
31935a933f
Take NULL into account
2018-08-21 00:39:04 +03:00
Artur Beljajev
c48cdf68b6
Merge branch 'master' into registry-790
2018-08-20 21:20:52 +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
30fb22af42
Generate <body> CSS class for every action for better styling
2018-08-17 15:39:06 +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
b57adca624
Use if
modifier instead of an if
block
2018-08-17 11:24:00 +03:00
Maciej Szlosarczyk
98f55fd48a
Simplify a method to remove Rubocop violation
2018-08-17 11:19:49 +03:00
Maciej Szlosarczyk
cf16aa4039
Fix rubocop issues that are new to Ruby 2.4
2018-08-17 11:03:01 +03:00
Maciej Szlosarczyk
82dbd3e8b8
Use match? instead of match
for regex where MatchData is unused
2018-08-17 10:54:39 +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
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
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
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
Artur Beljajev
77ee9db02d
Use _path helper instead of _url
2018-08-10 13:52:46 +03:00
Artur Beljajev
ba24e42cec
Remove useless spec
2018-08-10 13:52:13 +03:00
Maciej Szlosarczyk
194adec9d3
Foo
2018-08-10 13:17:08 +03:00