Commit graph

6830 commits

Author SHA1 Message Date
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
Maciej Szlosarczyk
db08ad7125
Use Ruby 2.4.4 instead of 2.4.3 2018-08-17 10:21:12 +03:00
Maciej Szlosarczyk
0962ea3fd0
Merge branch 'master' into update-ruby-to-2-4 2018-08-17 10:00:12 +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
Artur Beljajev
4a43b49929 Quote value in fixture 2018-08-16 16:34:54 +03:00
Artur Beljajev
6ebb77fb5c Change contacts.email to NOT NULL 2018-08-16 16:09:07 +03:00
Artur Beljajev
c89cce6287 Do not show contact if given domain does not belong to the current user 2018-08-16 14:49:12 +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