Commit graph

264 commits

Author SHA1 Message Date
Artur Beljajev
f0a7edd6d8 Ignore legacy database columns
Closes #1377
2019-12-15 18:27:01 +02:00
Artur Beljajev
22c6fd61e3 Change contacts.name database column to NOT NULL 2019-12-02 16:39:21 +02:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
67985ff1e9 Fix contact deletion 2019-06-21 18:04:00 +03:00
Artur Beljajev
7c768616a2 Introduce Contact#deletable? 2019-06-21 18:01:56 +03:00
Artur Beljajev
d14fa5b701 Rename method 2019-06-21 18:00:16 +03:00
Artur Beljajev
6fbadaf7f8 Do not send notification email on EPP contact:update if contact does not
act as a registrant

Fixes #1161
2019-04-18 17:46:50 +03:00
Artur Beljajev
5674071838 Refactor contact mailer
- Send single email with new email in `to` and old email in `bcc` fields
- Remove `Que::Mailer` (#895)
- Add preview
- DRY templates
- Add tests
- Extract translations
- Remove useless specs
2019-04-11 17:42:59 +03:00
Artur Beljajev
0f4a67d696 Remove delegations 2019-04-03 17:17:27 +03:00
Artur Beljajev
5d63feb0a5 Update emails' content
Closes #1127
2019-03-28 15:22:46 +02:00
Artur Beljajev
83f8a9fb6a Extract company register
Closes #1079, #916, #1077
2019-03-15 17:33:07 +02:00
Timo Võhmar
6e7d523dc4
Merge pull request #1053 from internetee/add-clarifying-comment
Clarify intention
2018-12-12 15:39:35 +02:00
Artur Beljajev
8fc0a1fbc7 Clarify intention 2018-12-10 12:08:13 +02:00
Artur Beljajev
d695d95ad7 Add contact disclosable attributes
Closes #992
2018-12-07 13:26:02 +02:00
Artur Beljajev
b6ecae6a35 Add Registrant API contact update action
Closes #849
2018-10-09 00:09:22 +03:00
Artur Beljajev
4934a0c8e6 Remove unused method 2018-06-18 15:05:02 +03:00
Timo Võhmar
8ec6b80794
Merge pull request #857 from internetee/remove-rubocop-gem
Remove "rubocop" gem
2018-06-14 13:35:25 +03:00
Artur Beljajev
c44f3df7f5 Remove Rubocop inline directives 2018-06-07 19:17:16 +03:00
Artur Beljajev
9b316b6a49 Remove deprecation message
- Then setting `config.active_support.deprecation` to `raise`
does not clutter test results
2018-06-05 17:32:49 +03:00
Timo Võhmar
7f2ad25ee6
Merge pull request #760 from internetee/registry-756
Remove unused database tables
2018-03-07 18:01:17 +02:00
Artur Beljajev
ed0af5033e Remove unused database tables
#756
2018-03-07 08:31:13 +02:00
Artur Beljajev
afd135ff15 Remove unused method
#746
2018-03-06 18:05:30 +02:00
Artur Beljajev
046b9e96ce Improve readability
#746
2018-03-06 13:11:22 +02:00
Artur Beljajev
bfbee65a49 Remove duplicate method
#746
2018-03-06 12:26:35 +02:00
Artur Beljajev
53a34ee2d6 Reuse identical contacts
#746
2018-03-05 10:59:14 +02:00
Artur Beljajev
3e2a24ca62 Do not validate Contact#country_code if address processing is off
#731
2018-03-01 10:46:21 +02:00
Artur Beljajev
762f891b84 Add old attribute names aliases for PaperTrail
#660
2018-01-30 19:31:49 +02:00
Artur Beljajev
0e828afa15 Improve readability
#660
2018-01-26 13:04:16 +02:00
Artur Beljajev
7ab68032ea Remove commented code
#660
2018-01-25 12:29:30 +02:00
Artur Beljajev
326ded8010 Extract contact transferable module
#660
2018-01-25 12:29:08 +02:00
Artur Beljajev
51243c5983 Extract contact Transferable concern
#660
2018-01-23 18:41:49 +02:00
Artur Beljajev
44332ffb1f Rename contacts.copy_from_id to original_id
Add association

#660
2018-01-23 17:49:03 +02:00
Artur Beljajev
d801e18299 Remove unused attribute
#660
2018-01-23 16:19:28 +02:00
Artur Beljajev
2da578a437 Migrate fabricators to factory bot factories (#626)
* Remove factory_girl include from dev rake task

No longer needed after 92b125b4a7

* Add missing factories

* Use FactoryBot factories instead of fabricators

* Remove all fabricators

* Remove unused method

* Remove fabrication gem

* Rename FactoryGirl to FactoryBot

https://robots.thoughtbot.com/factory_bot
2017-11-16 10:18:53 +02:00
Artur Beljajev
d520b5b157 Revert "Revert "Registry 569""
This reverts commit 4786dbb
2017-10-22 23:57:11 +03:00
Timo Võhmar
4786dbb943 Revert "Registry 569" 2017-10-05 16:08:47 +03:00
Artur Beljajev
7147144894 Fix code climate offences
#569
2017-09-04 10:57:27 +03:00
Artur Beljajev
d4176b6979 Remove unused code
#569
2017-08-21 02:03:49 +03:00
Artur Beljajev
feb8d83a26 Improve Ident validation, extract Ident from Contact
#569
2017-08-18 13:24:56 +03:00
Artur Beljajev
bc3962cdfa Improve contact phone number validation
#569
2017-08-08 15:13:13 +03:00
Artur Beljajev
71b92afba3 Refactor contact phone validation
#569
2017-08-05 19:21:32 +03:00
Artur Beljajev
a77ccf72bf Fix WHOIS update of linked domains of a contact if Que.mode = :sync
#569
2017-07-19 13:54:48 +03:00
Artur Beljajev
49552fc67e Improve ContactMailer
- Add detailed registrar info
- Refactor contact domain list
- Fix english translation

#480
2017-06-08 02:06:00 +03:00
Artur Beljajev
821fabd083 Always require contact.registrar 2017-06-07 22:49:13 +03:00
Artur Beljajev
bfc0c0b74f Improve RegistrantChangeMailer
- Do not show registrant address unless "address_processing" is enabled
- Add missing registrant state and zip attributes

#480
2017-05-18 15:59:06 +03:00
Artur Beljajev
bacf5f8d64 Validate contact phone for zeros
#386
2017-03-06 07:27:11 +02:00
Artur Beljajev
e08afe0983 Return contact's id code if it is private entity
#268
2017-01-18 11:46:12 +02:00
Artur Beljajev
e6069e06a9 Introduce kind and reg_no contact's attributes
#266
2016-12-22 16:34:29 +02:00
Artur Beljajev
68c3f0c338 Remove contact's address on domain transfer unless address_processing is enabled
#251
2016-12-14 05:49:13 +02:00
Artur Beljajev
d3b1a23e92 Take into account address_processing setting when creating and updating the contact via EPP
#251
2016-12-14 00:38:20 +02:00