Commit graph

7038 commits

Author SHA1 Message Date
Artur Beljajev
a1fb0e2e61 Introduce negative predicate 2018-08-24 14:14:29 +03:00
Artur Beljajev
9d74cd5673 Add tests 2018-08-24 14:10:16 +03:00
Maciej Szlosarczyk
fc2a4eaa9b
Update API documentation for registry locks 2018-08-24 13:48:20 +03:00
Artur Beljajev
cc0a6c229f Eliminate three-state boolean 2018-08-24 13:33:39 +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
Artur Beljajev
7ccd662d60 Do not halt in before_create 2018-08-24 11:09:26 +03:00
Artur Beljajev
757ac8f10a Add clarification 2018-08-24 10:29:53 +03:00
Artur Beljajev
7a9a7c052f Rename notifications.queued to read 2018-08-24 10:29:09 +03:00
Artur Beljajev
dfff6f6d12 Rename notifications.body to text 2018-08-23 22:33:30 +03:00
Artur Beljajev
8765baf319 Rename Message to Notification 2018-08-23 20:03:03 +03:00
Artur Beljajev
5ba2170324 Merge branch 'master' into improve-epp-poll-tests 2018-08-23 19:08:25 +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
9852b466cf Add clarification 2018-08-23 14:20:04 +03:00
Artur Beljajev
ba08856953 Improve EPP poll tests 2018-08-22 20:21:59 +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
5338e59a2e Fix tests 2018-08-21 12:48:08 +03:00
Artur Beljajev
081cf33dae Merge branch 'registry-791' into registry-790 2018-08-21 12:20:23 +03:00
Artur Beljajev
ffd389790c Merge branch 'master' into registry-791 2018-08-21 12:08:45 +03:00
Artur Beljajev
99516d87d6 Use TaskTestCase as a parent 2018-08-21 00:53:47 +03:00
Artur Beljajev
cd633d0a4b Output rake task results 2018-08-21 00:53:25 +03:00
Artur Beljajev
5e7ad95092 Merge branch 'add-task-test-case' into registry-790 2018-08-21 00:51:59 +03:00
Artur Beljajev
168010b787 Add TaskTestCase 2018-08-21 00:50:56 +03:00
Artur Beljajev
31935a933f Take NULL into account 2018-08-21 00:39:04 +03:00
Artur Beljajev
8b340cbafa Add rake task description 2018-08-20 22:45:07 +03:00
Artur Beljajev
c48cdf68b6 Merge branch 'master' into registry-790 2018-08-20 21:20:52 +03:00
Artur Beljajev
9682b5774e Fix Registrant API doc 2018-08-19 17:53:01 +03:00
Artur Beljajev
8f0f23606c Remove unused and buggy code 2018-08-17 22:23:54 +03:00
Artur Beljajev
eeec8dd331 Merge branch 'master' into improve-registrant-area 2018-08-17 22:19:07 +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
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