Commit graph

101 commits

Author SHA1 Message Date
Oleg Hasjanov
dad4790ccc fix: made admin status store, related to lock feature 2021-04-07 14:46:40 +03:00
Oleg Hasjanov
fe97d7f35a implement state store before force delete 2021-04-06 11:04:25 +03:00
Oleg Hasjanov
b2cfc90f4f added clear json history method, added failed tests for force delete 2021-04-05 18:04:29 +03:00
Oleg Hasjanov
28a54d6612 implement domain statuses restore after domain locked, added test 2021-04-05 15:36:24 +03:00
Oleg Hasjanov
137e2a3170 refactoring: changed constants format 2021-04-01 13:58:48 +03:00
Oleg Hasjanov
1c50c73d45 fixed registry lock issue 2021-03-31 15:17:07 +03:00
Oleg Hasjanov
d6ecf3558d Tests: added tests lockable behaviour if status was removed and if status will be added 2021-03-31 15:17:07 +03:00
Alex Sherman
91093b274d Add notification on autoFD 2021-03-22 14:54:24 +05:00
Alex Sherman
81c21db392 Add FD if email belongs to registant 2021-03-22 14:31:47 +05:00
Alex Sherman
a8e3d67556 Add forceDelete on email_verification failed 2021-03-22 14:31:47 +05:00
Alex Sherman
c0282660d9 Add tests for FD to be set 2021-03-22 14:31:47 +05:00
Alex Sherman
ffde929540 Set validation to prohibit ManualInzone with any of the *Hold statuses 2021-02-12 16:10:22 +05:00
Alex Sherman
b60a7e571f Delete original WhoisRecord after domain deletion 2021-01-05 17:21:13 +05:00
Alex Sherman
0c5ef72c7d Add logging & domain lock on release 2021-01-05 15:10:17 +05:00
Alex Sherman
d35042a1be Add test to check if Whois::Record saved 2021-01-04 18:49:07 +05:00
Timo Võhmar
ee6836eb07
Merge pull request #1752 from internetee/1751-refactor-client-hold
Move ClientHold procedure to interactor
2020-12-01 09:58:58 +02:00
Alex Sherman
8ff8aa78c8 Move interactor to namespace 2020-11-30 16:08:32 +05:00
Alex Sherman
5363c546a5 Move all the existing interactors to Domains namespace 2020-11-30 13:50:26 +05:00
Alex Sherman
a40116e05e Move ClientHold procedure to interactor
Closes #1751
2020-11-23 14:01:39 +05:00
Alex Sherman
3d01cbb6aa Add test to be sure if emails are sent 2020-11-19 13:40:49 +05:00
Alex Sherman
e62f0a077a Remove domain namespace 2020-11-11 21:16:27 +05:00
Alex Sherman
bce39e3404 Move interactor from Interactor gem to ActiveInteraction 2020-11-11 21:07:22 +05:00
Alex Sherman
3c7fa88463 Inherit all the interactors from base one 2020-11-10 15:08:10 +05:00
Alex Sherman
f97dff6002 Fix tests & interactor process 2020-11-10 14:56:25 +05:00
Alex Sherman
20d5ab9ebf Fix statuses processing for ForceDelete 2020-11-04 14:26:54 +05:00
Timo Võhmar
ec38ad0057
Merge pull request #1732 from internetee/1135-fix-forcedelete-double-statuses
Fix ForceDelete possible statuses doubling
2020-11-03 18:35:39 +02:00
Alex Sherman
b148816949 Fix ForceDelete possible statuses doubling 2020-11-03 14:22:12 +05:00
Alex Sherman
269c5c284f Remove ForceDelete from statuses blocking confirmation 2020-11-02 16:35:12 +05:00
Alex Sherman
9503850d71 Remove extra day from soft delete years
Closes #1720
2020-10-26 14:04:36 +05:00
Karl Erik Õunapuu
3808c8cd9e
DomainCron: Test expire pending with forceDelete 2020-10-09 15:36:48 +03:00
Karl Erik Õunapuu
4917539a7d
Return pending_update? value based on status, regardless of force delete state 2020-10-09 15:16:04 +03:00
Karl Erik Õunapuu
1e1f808c8d Use PaperTrail.request.whodunnit
PaperTrail.whodunnit was removed from PaperTrail 10.x
2020-05-29 14:59:17 +03:00
Alex Sherman
a1651ca1b9 Fix double versioning on Domain & Contact models 2020-02-12 18:51:48 +05:00
Alex Sherman
a18f7b1605 Pump papertrail version to 6.0.2 2020-02-05 12:43:25 +05:00
Alex Sherman
363a74248f Fix purge_date format to fast/soft forcedelete domains 2020-01-21 22:25:17 +05:00
Alex Sherman
e7581246d6 Add test for clear force delete on registrar change 2020-01-17 20:09:48 +05:00
Alex Sherman
c252d801f9 Add mail notification on soft force delete 2020-01-15 16:23:13 +05:00
Alex Sherman
c863cb2678 Move force delete dates to one day ahead 2020-01-14 17:58:55 +05:00
Alex Sherman
d20821dd38 Add tests for clientHold status 2020-01-14 17:58:27 +05:00
Alex Sherman
a815e943d3 Modify force_delete procedure to set clientHold only by job 2020-01-14 17:58:27 +05:00
Alex Sherman
0e1542609e Fix local conflict 2020-01-14 17:57:46 +05:00
Alex Sherman
550d020229 Add force_delete_start field to ForceDelete & add tests
Add new test file new_force_delete_test.rb to check if new ForceDeleteProcedures are correct.
ATM it's just a scaffold of some sort, all tests are red, magic numbers and so - just a proof of concept.

See #1428
2020-01-14 17:57:46 +05:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
5d5c2ed925 Notify registrar about domain deletion when auction feature is on
Fixes #1196
2019-05-10 14:48:50 +03:00
Artur Beljajev
cea834d5b7 Change domains.delete_at database column type to date, rename to
`delete_date`

Closes #1125
2019-05-02 16:32:44 +03:00
Artur Beljajev
6d40e9ec6a Support "force delete" procedure when releasing a domain
- `DomainCron.destroy_delete_candidates` runner is removed from
`config/schedule.rb` with `domains:release` rake task as a replacement

Closes #1119
2019-03-28 18:19:55 +02:00
Artur Beljajev
5107d2d3a9 Refactor force delete procedure
- Change `domains.force_delete_at` database column type to date,
rename to `force_delete_date`
- Save `force_delete_date` in application timezone
- Improve tests

Fixes #812, #253
2019-03-28 18:19:51 +02:00
Artur Beljajev
daba47790c Revamp WHOIS for auctions
Fixes #1105
2019-03-24 20:14:03 +02:00
Artur Beljajev
e6405c5fc8 Skip auction for blocked and reserved domains
Closes #1120
2019-03-22 16:26:55 +02:00
Artur Beljajev
98c415f672 Fix WHOIS update for a domain being sent to an auction 2019-03-08 12:38:49 +02:00