Artur Beljajev
412641cdb0
Disallow marking a notification as read again
2018-08-24 14:34:44 +03:00
Artur Beljajev
1183d06c09
Remove app-level association validation
2018-08-24 14:18:40 +03:00
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
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
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
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
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
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
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
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
Artur Beljajev
ca5edb16fa
Refactor contact list
2018-08-15 12:56:56 +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
638167e3cb
Improve registrant area
2018-08-11 18:10:08 +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