Commit graph

58 commits

Author SHA1 Message Date
olegphenomenon
6a050f9ce3 updated restore function 2021-10-22 14:51:58 +03:00
Alex Sherman
70a6a44525 Fix deprecated email_notification usage in tests 2021-10-07 16:18:02 +05:00
Alex Sherman
d48b0f4401 Fixed FD test for new behaviour 2021-10-07 16:18:02 +05:00
Oleg Hasjanov
458609921f remove comments 2021-07-14 12:49:47 +03:00
Oleg Hasjanov
96bc237484 implement mechanism of save statuses for force delete and lock 2021-07-14 12:04:55 +03:00
Alex Sherman
979bbddfde Change invalid email addresses used in test 2021-07-06 13:28:36 +05:00
Oleg Hasjanov
4a8bdc14a1 refactoring 2021-05-17 14:46:48 +03:00
Oleg Hasjanov
0ccfd0d8d4 added test 2021-05-17 14:24:51 +03:00
Alex Sherman
eac7dd352b Revert "Merge pull request #1902 from internetee/1900-removing-registry-lock-should-not-remove-statuses-set-prior-to-setting-it"
This reverts commit f6fcf15fff, reversing
changes made to 26618a3c90.
2021-04-14 12:31:26 +05:00
Timo Võhmar
4f4fd70573
Merge pull request #1911 from internetee/1899-add-email-to-fd-notes
Add invalid email to FD status note on auto-FD
2021-04-08 20:54:19 +03:00
Timo Võhmar
f6fcf15fff
Merge pull request #1902 from internetee/1900-removing-registry-lock-should-not-remove-statuses-set-prior-to-setting-it
implement domain statuses restore after domain locked, added test
2021-04-08 16:35:37 +03:00
Alex Sherman
3eecdd8d29 Add invalid email to FD status note 2021-04-08 13:48:50 +05:00
Oleg Hasjanov
fe97d7f35a implement state store before force delete 2021-04-06 11:04:25 +03:00
Alex Sherman
95a2b705b4 Add checking if any of domain emails still got bounce related 2021-04-06 12:36:32 +05:00
Alex Sherman
39d392696a Add a job to check if domain needs to be fd-lifted 2021-04-06 10:18:33 +05:00
Oleg Hasjanov
b2cfc90f4f added clear json history method, added failed tests for force delete 2021-04-05 18:04:29 +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
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
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
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
852d754eac Fix tests 2018-08-27 16:52:30 +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
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